Showing posts with label stablediffusion. Show all posts
Showing posts with label stablediffusion. Show all posts

Sunday, 27 October 2024

ComfyUI & Stable Diffusion: The Ultimate Resource Hack - 1 Minute to Sync Models and Nodes - ComfyUI & Stable Diffusion:资源黑客终极指南 - 1分钟同步模型和节点

Stop Wasting, Start Syncing! - 停止浪费,开始同步!

Fed up with the hassle of double-dipping into model installations? Dive into our 60-second hack to sync ComfyUI with your local Stable Diffusion WebUI, sparing you the agony of redundant setups. We'll show you how to effortlessly glide through model, node, CLIP, VAE, and Lora configurations, turning your dual UI woes into a thing of the past. Plus, for path-confused AI artists, we've got the config file right here, ready for a quick tweak and roll.

Ready to unleash the power of your AI art tools without the clutter? First, hunt down that hidden gem in your ComfyUI folder—the 'extra_model_paths.yaml.example' file. Change its file name to ‘extra_model_paths.yaml’, and boom, you're in the game. Fire up your favorite text editor, or if you're feeling commando, dive into the terminal (Mac/Linux) or command prompt (Windows). Tweaking this configuration file to harness the magic of Stable Diffusion WebUI models, nodes, CLIP, VAE, and Lora, all from the cozy confines of your ComfyUI. The specific configuration file can refer to the following example.
# Rename this to extra_model_paths.yaml and ComfyUI will load it


# config for a1111 ui

a111:

    base_path: /Users/your_username/stable-diffusion-webui/  # 指向Stable Diffusion WebUI的安装路径

    checkpoints: models/Stable-diffusion  # Stable Diffusion模型的路径

    configs: models/Stable-diffusion  # Stable Diffusion配置文件的路径

    vae: models/VAE  # VAE模型路径

    loras: |

         models/Lora  # Lora模型路径

         models/LyCORIS  # LyCORIS模型路径(如果有的话)

    upscale_models: |

         models/ESRGAN  # ESRGAN模型路径

         models/RealESRGAN  # RealESRGAN模型路径

         models/SwinIR  # SwinIR模型路径

    embeddings: embeddings  # 文本嵌入路径

    hypernetworks: models/hypernetworks  # 超网络模型路径

    controlnet: models/ControlNet  # ControlNet模型路径


# config for comfyui

comfyui:

    base_path: /Users/your_username/ComfyUI/  # ComfyUI的安装路径

    checkpoints: /Users/your_username/stable-diffusion-webui/models/Stable-diffusion  # 指向A1111安装目录下的Stable Diffusion模型

    clip: /Users/your_username/stable-diffusion-webui/models/clip/  # 指向A1111的CLIP模型路径

    clip_vision: /Users/your_username/stable-diffusion-webui/models/clip_vision/  # CLIP视觉模型路径

    configs: /Users/your_username/stable-diffusion-webui/models/configs/  # Stable Diffusion的配置文件路径

    controlnet: /Users/your_username/stable-diffusion-webui/models/ControlNet/  # 指向ControlNet模型的路径

    embeddings: /Users/your_username/stable-diffusion-webui/embeddings/  # 嵌入模型路径

    loras: /Users/your_username/stable-diffusion-webui/models/Lora/  # Lora模型路径

    upscale_models: /Users/your_username/stable-diffusion-webui/models/upscale_models/  # 指向超分辨率模型路径

    vae: /Users/your_username/stable-diffusion-webui/models/VAE/  # VAE模型路径


All paths must be absolute paths to where the actual files are located on your system. - 所有路径必须是你系统上实际文件所在的绝对路径。


Sunday, 20 October 2024

Level Up Your AI Art Game: A Beginner's Guide to ComfyUI Manager - ComfyUI Manager:小白也能轻松玩转AI绘画的秘密武器

Ditch the command line, embrace the visual! - 告别枯燥命令行,用可视化方式释放你的创造力



Are you dreaming of creating a one-of-a-kind AI artwork but feel overwhelmed by the hassle of installing plugins? Don’t worry—ComfyUI Manager is here to save the day! Think of it as your personal AI art assistant, taking care of all the boring stuff so you can focus on being creative.

Why do you need ComfyUI Manager?

No more download confusion: Still struggling with where to put your downloaded plugins? ComfyUI Manager organizes everything for you—hassle-free.

Say goodbye to waiting: It supports downloading multiple plugins at once, so no more tedious one-by-one downloads.

One-click updates: Plugin updates used to be a headache, but now it’s as simple as hitting a button. Stay up-to-date with ease!

How to use ComfyUI Manager:

1.Installation: Download ComfyUI Manager and place it in the ComfyUI/custom_nodes folder, then restart ComfyUI.

2.Launch: Find the Manager button in ComfyUI’s toolbar and click to open.

3.Install plugins:

Custom Nodes Manager: Install all sorts of custom nodes to expand ComfyUI’s functionality.

Model Manager: Install models and VAEs to enrich your creative toolbox.

Install via Git URL: Directly install plugins from GitHub—quick and easy.

      4. Batch install: When importing a new workflow, ComfyUI Manager automatically detects missing plugins and offers a one-click installation option.

5. One-click updates: Regularly click the “Update All” button to keep everything fresh and current.

Pro tips:

What’s a VAE? VAE stands for Variational Autoencoder, a neural network that generates new images (basically, a model for making art).

What’s a GitHub URL? GitHub is a code hosting platform where many ComfyUI plugins are stored.
By the way, if you install models or VAEs using ComfyUI Manager, you don’t need to restart ComfyUI. Just click the Refresh button in the main menu to use them.

In summary:

ComfyUI Manager is like the ultimate toolbox for your AI art journey, making everything smoother and more enjoyable. Whether you’re a newbie or a pro, you’ll find it incredibly helpful. So what are you waiting for? Give it a try now!

Tuesday, 15 October 2024

ComfyUI AnimateDiff: Magic in Motion - ComfyUI AnimateDiff安装指南:AI动画真香

Unleash your creativity or waste your time? You decide! - 释放你的创意还是浪费生命,你说了算!

Introduction - 简介

Imagine a world where your wildest dreams come to life, frame by frame. That's the magic of AnimateDiff in ComfyUI! But wait, is it really magic, or just another tech rabbit hole? Picture this: you're sipping coffee, casually typing nonsense, and boom! Your AI-generated cat is doing the Macarena. Sounds ridiculous? That's because it is! But here's the kicker – it's ridiculously awesome. AnimateDiff isn't just about making pretty moving pictures; it's about bringing the 'comfy' back to creativity. With faster render times and mind-bending possibilities, it's like having a Hollywood studio in your pajamas. So, are you ready to animate your imagination, or are you too scared of what your subconscious might cook up?

Installation - 安装

Please install it step by step as shown in the following figure.


Tuesday, 8 October 2024

GPU Not Required: 2 Free Online Tools to Unleash Your Inner Artist with Flux - 没GPU也能玩转Flux!两款免费在线工具助你实现艺术梦

 

Video - 视频

Dream it, Flux it, for free! - 想画啥画啥,Flux帮你实现!


Introduction - 序言

Flux, a darling of the digital art world, lets creators build stunning visuals and animations, but not everyone has a high-end GPU to power it. Here’s the good news—no GPU, no problem! Many budding artists face the frustrating gap between creativity and hardware, but today I’m revealing two free online Flux tools that let you bypass that expensive GPU. These tools are like handing paintbrushes to someone without an easel—art will happen regardless! Ready to unleash your inner artist? Let’s dive in and break those GPU chains!


Tool1: huggingface flux space

No GPU? No problem! Welcome to the Hugging Face Flux space, where your artistic dreams come true faster than you can say "starving artist". Just mosey on over to https://huggingface.co/spaces/black-forest-labs/FLUX.1-dev and let the magic begin. Enter your prompt like you're whispering sweet nothings to your muse. Feeling adventurous? Pop open those Advanced Settings and play God with seeds, image sizes, and guidance scales. Crank up that Guidance Scale if you want your art so real it'll make Mona Lisa jealous, or dial it down for a cartoon vibe that'd make Picasso proud. Once you've tweaked to your heart's content, hit that Run button and voila! In less time than it takes to microwave a burrito, you'll have art that'll make your fridge proud. Who needs a fancy GPU when you've got the power of the cloud and a dash of imagination?



Tool2: deep dream generator

Deep Dream Generator is your ticket to AI-powered artistry, no fancy GPU required. Just hop onto their website, click "Try it without registration," and voila! You're ready to paint with pixels faster than you can say "starry night". Next, enter the prompt, select the AI model below, and click ‘Generate’ to start generating images.

So grab your digital paintbrush and dive into the world of AI art. Who knows? You might just create the next Mona Lisa... or at least a funky profile pic that'll make your friends go "Huh?"


Tuesday, 1 October 2024

Cloud GPU for ComfyUI: No More Tears Over Weak Local Hardware! - 云端GPU玩转ComfyUI:告别本地弱鸡显卡的眼泪!

From Potato to Powerhouse: Your ComfyUI Dreams, Now Served in the Cloud! - 从土豆变超算:你的ComfyUI梦想,云端助力实现!



The ComfyUI Conundrum: No GPU in local - ComfyUI 的难题:本地没有 GPU

Ah, the classic tale of David and Goliath, but in this case, David's slingshot is a potato masquerading as a GPU. Picture this: you're all set to create the next Mona Lisa of AI art, but your laptop's idea of heavy lifting is opening two Chrome tabs. You've got dreams of crafting masterpieces with ComfyUI's high-end models, maybe even some "creative" pieces that would make your grandma blush. But alas, your GPU-less reality hits harder than a rendered error message. Fear not, fellow potato-PC warriors! The cloud GPU cavalry is here to save the day. Who needs a beefy local setup when you can borrow muscles from the internet? It's like having a gym membership for your computer, minus the awkward locker room encounters.

Cloud GPU Solution #1: BizyAir - 云端解方1: BizyAir

Don't have GUP locally? Perfect! Let me introduce you to BizyAir, the fairy godmother of weak hardware. Just follow the yellow brick road (aka GitHub instructions) to install this magical plugin. Don't panic when it asks for an API key for the first time implementation – check Github instructions, step by step, this API key is easy to get! Once installed, restart ComfyUI faster than you can say "abracadabra," and voila! You're now the proud owner of cloud-powered nodes. It's like having a bodybuilder GPU living in your potato PC. There's more! BizyAir comes with a Flux node and workflow – it's like finding an extra fry at the bottom of your takeout bag. So, ready to turn your local ComfyUI into a cloud-surfing superhero? Let's ride this pixel wave!


Cloud GPU Solution #2: ComfyUI-Cloud - 云端解方2: ComfyUI-Cloud

ComfyUI-Cloud Cloud arithmetic is another solution! Imagine this: you, chilling with your favorite cup of cocoa, while ComfyUI effortlessly conjures your artistic dreams in the cloud. No more wrestling with hardware limitations, just pure creative bliss.

Intrigued? Setting up ComfyUI-Cloud is easier than teaching a parrot to say "banana." Just head over to their GitHub page, scroll down (don't worry, it's not that deep!), and find the installation instructions. See? Cloud power for your ComfyUI, made easy-peasy!