Comfyui load workflow example
Comfyui load workflow example
Comfyui load workflow example. Img2Img works by loading an image like this example image open in new window, converting it to latent space with the VAE and then sampling on it with a denoise lower than 1. Use ComfyUI Manager to install the missing nodes. Check my ComfyUI Advanced Understanding videos on YouTube for example, part 1 and part 2. The only way to keep the code open and free is by sponsoring its development. This image has had part of it erased to alpha with gimp, the alpha channel is what we will be using as a mask for the inpainting. You can load this image in ComfyUI (opens in a new tab) to get the workflow. Jul 6, 2024 · You can construct an image generation workflow by chaining different blocks (called nodes) together. Some commonly used blocks are Loading a Checkpoint Model, entering a prompt, specifying a sampler, etc. Hunyuan DiT 1. Open the YAML file in a code or text editor Jun 23, 2024 · Despite significant improvements in image quality, details, understanding of prompts, and text content generation, SD3 still has some shortcomings. Load workflow: Ctrl + A: Select Here is a workflow for using it: Save this image then load it or drag it on ComfyUI to get the workflow. inputs. For some workflow examples and see what ComfyUI can do you can check out: Workflow examples can be found on the Examples page. You signed in with another tab or window. The default workflow is a simple text-to-image flow using Stable Diffusion 1. Img2Img ComfyUI workflow. All LoRA flavours: Lycoris, loha, lokr, locon, etc… are used this way. This should update and may ask you the click restart. Flux. Create animations with AnimateDiff. ControlNet Depth ComfyUI workflow. Aug 16, 2024 · Workflow. Basic Vid2Vid 1 ControlNet - This is the basic Vid2Vid workflow updated with the new nodes. Video Examples Image to Video. There should be no extra requirements needed. You can Load these images in ComfyUI open in new window to get the full workflow. To build a workflow for image generation in ComfyUI, you’ll have to ComfyUI . Sep 7, 2024 · Lora Examples. SDXL works with other Stable Diffusion interfaces such as Automatic1111 but the workflow for it isn’t as straightforward. In this example this image will be outpainted: Using the v2 inpainting model and the “Pad Image for Outpainting” node (load it in ComfyUI to see the workflow): Sep 7, 2024 · SDXL Examples. Apr 8, 2024 · Your prompts text file should be placed in your ComfyUI/input folder; Logic Boolean node: Used to restart reading lines from text file. 1. Start with the default workflow. All the images in this page contain metadata which means they can be loaded into ComfyUI with the Load button (or dragged onto the window) to get the full workflow that was used to create the image. Save workflow: Ctrl + O: Load workflow: Ctrl + A: Select all nodes Outpainting is the same thing as inpainting. This repo contains examples of what is achievable with ComfyUI. This guide is about how to setup ComfyUI on your Windows computer to run Flux. The name of the VAE. All LoRA flavours: Lycoris, loha, lokr, locon, etc are used this way. The way ComfyUI is built up, every image or video saves the workflow in the metadata, which means that once an image has been generated with ComfyUI, you can simply drag and drop it to get that complete workflow. For some workflow examples and see what ComfyUI can do you can check An All-in-One FluxDev workflow in ComfyUI that combines various techniques for generating images with the FluxDev model, including img-to-img and text-to-img. Please note that in the example workflow using the example video we are loading every other frame of a 24 frame video and then turning that into at 8 fps animation (meaning things will be slowed compared to the original video) Workflow Explanations. Here is a workflow for using it: Example. English. ComfyUI dissects a workflow into adjustable components, enabling users to customize their own unique processes. Support for SD 1. Manual way is to clone this repo to the ComfyUI/custom_nodes-folder. Think Diffusion's Stable Diffusion ComfyUI Top 10 Cool Workflows. Then I created two more sets of nodes, from Load Images to the IPAdapters, and adjusted the masks so that they would be part of a specific section in the whole image. It covers the following topics: Introduction to Flux. Download workflow here: Load LoRA. This is the default setup of ComfyUI with its default nodes already placed. Click Queue Prompt and watch your image generated. Share, discover, & run thousands of ComfyUI workflows. Reload to refresh your session. ComfyUI IPAdapter Plus; ComfyUI InstantID (Native) ComfyUI Essentials; ComfyUI FaceAnalysis; Not to mention the documentation and videos tutorials. 1; Overview of different versions of Flux. Upscaling ComfyUI workflow. Once loaded go into the ComfyUI Manager and click Install Missing Custom Nodes. The workflow is like this: If you see red boxes, that means you have missing custom nodes. The models are also available through the Manager, search for "IC-light". Hypernetworks are patches applied on the main MODEL so to use them put them in the models/hypernetworks directory and use the Hypernetwork Loader node like this: Jul 18, 2024 · Assuming you have ComfyUI properly installed and updated, download the workflow liveportrait_example_01. Goto ComfyUI_windows_portable\ComfyUI\ Rename extra_model_paths. Aug 5, 2024 · The Tex2img workflow is as same as the classic one, including one Load checkpoint, one postive prompt node with one negative prompt node and one K Sampler. Comfy Workflows Comfy Workflows. You signed out in another tab or window. Sep 7, 2024 · Hypernetwork Examples. I then recommend enabling Extra Options -> Auto Queue in the interface. Here’s a simple example of how to use controlnets, this example uses the scribble controlnet and the AnythingV3 model. This will automatically parse the details and load all the relevant nodes, including their settings. Depending on your frame-rate, this will affect the length of your video in seconds. ComfyUI breaks down a workflow into rearrangeable elements so you can easily make your own. Put it under ComfyUI/input . You can load this image in ComfyUI to get the full workflow. I made this using the following workflow with two images as a starting point from the ComfyUI IPAdapter node repository. Hunyuan DiT is a diffusion model that understands both english and chinese. Sep 7, 2024 · Is an example how to use it. Next, use the ComfyUI-Manager to install the missing custom node ComfyUI Examples; 2 Pass Txt2Img (Hires fix) Examples Here is an example: Example. Always refresh your browser and click refresh in the ComfyUI window after adding models or custom_nodes. 1; Flux Hardware Requirements; How to install and use Flux. Load VAE node. To load a workflow, simply click the Load button on the right sidebar, and select the workflow . Put them in the models/upscale_models folder then use the UpscaleModelLoader node to load them and the ImageUpscaleWithModel node to use them. For some workflow examples and see what ComfyUI can do you can check out: ComfyUI Examples. Img2Img works by loading an image like this example image (opens in a new tab), converting it to latent space with the VAE and then sampling on it with a denoise lower than 1. This first example is a basic example of a simple merge between two different checkpoints. safetensors. Users have the ability to assemble a workflow for image generation by linking various blocks, referred to as nodes. 5. Dec 10, 2023 · Progressing to generate additional videos. Download this lora and put it in ComfyUI\models\loras folder as an example. 1-schnell on hugging face (opens in a new tab) Load the workflow, in this example we're using Basic Text2Vid. Apr 26, 2024 · Workflow. The denoise controls the amount of noise added to the image. This example is an example of merging 3 different checkpoints using simple block merging where the input, middle and output blocks of the unet can have a Recommended way is to use the manager. Img2Img Examples. Upscale Model Examples. You can load this image in ComfyUI open in new window to get the workflow. safetensors and put it in your ComfyUI/checkpoints directory. Some workflows alternatively require you to git clone the repository to your ComfyUI/custom_nodes folder, and restart ComfyUI. Drag the full size png file to ComfyUI’s canva. SDXL Default ComfyUI workflow. FLUX. SD3 Controlnets by InstantX are also supported. But let me know if you need help replicating some of the concepts in my process. If you need an example input image for the canny, use this . Run any ComfyUI workflow w/ ZERO setup (free & open source) Try now Load the . This workflow can use LoRAs, ControlNets, enabling negative prompting with Ksampler, dynamic thresholding, inpainting, and more. To use your LoRA with ComfyUI you need this node: Load LoRA node in ComfyUI. It will always be this frame amount, but frames can run at different speeds. Download hunyuan_dit_1. I then recommend enabling Extra Options -> Auto Examples of what is achievable with ComfyUI open in new window. The easiest way to get to grips with how ComfyUI works is to start from the shared examples. Here is an example of how to use upscale models like ESRGAN. Save this image then load it or drag it on ComfyUI to get the workflow. outputs. That’s because I have installed additional ComfyUI extensions which we’ll get to later in this guide. json file. Here are the official checkpoints for the one tuned to generate 14 frame videos and the one for 25 frame videos. Each ControlNet/T2I adapter needs the image that is passed to it to be in a specific format like depthmaps, canny maps and so on depending on the specific model if you want good results. Set your number of frames. You switched accounts on another tab or window. Feb 24, 2024 · Load Default: Load the default ComfyUI workflow ; In the above screenshot, you’ll find options that will not be present in your ComfyUI installation. In the Load Checkpoint node, select the checkpoint file you just downloaded. All the images in this repo contain metadata which means they can be loaded into ComfyUI with the Load button (or dragged onto the window) to get the full workflow that was used to create the image. Download it and place it in your input folder. These are examples demonstrating how to do img2img. The SDXL base checkpoint can be used like any regular checkpoint in ComfyUI. You can Load these images in ComfyUI to get the full workflow. Img2Img works by loading an image like this example image, converting it to latent space with the VAE and then sampling on it with a denoise lower than 1. These nodes include common operations such as loading a model, inputting prompts, defining samplers and more. com 6 min read. This example is an example of merging 3 different checkpoints using simple block merging where the input, middle and output blocks of the unet can have a Many of the workflow guides you will find related to ComfyUI will also have this metadata included. [Last update: 01/August/2024]Note: you need to put Example Inputs Files & Folders under ComfyUI Root Directory\ComfyUI\input folder before you can run the example workflow Load Diffusion Model Workflow Example | UNET Loader Guide UNET-Loader Workflow. Here is the input image I used for this workflow: Lora Examples. yaml. Examples of ComfyUI workflows. Let's get started! Hunyuan DiT Examples. Users can drag and drop nodes to design advanced AI art pipelines, and also take advantage of libraries of existing workflows. json and load it in the UI. ComfyUI Workflow Examples; Online Resources; Let's go through a simple example of a text-to-image workflow using ComfyUI: Step1: Selecting a Model Start by selecting a Stable Diffusion Checkpoint model in the Load Checkpoint node. 1 with ComfyUI See full list on github. 1 UNET Model. Install the UNET models; Dwonload the workflow file; Import workflow in comfyUI; Chose the UNET model and run the workflow; Download FLux. Restart ComfyUI; Note that this workflow use Load Lora node to load a Can load ckpt, safetensors and diffusers models/checkpoints. To load a workflow from an image: Click the Load button in the menu; Or drag and drop the image into the ComfyUI window; The associated workflow will automatically load, complete with all nodes and settings. Merging 2 Images together. SD3 performs very well with the negative conditioning zeroed out like in the following example: SD3 Controlnet. Then press “Queue Prompt” once and start writing your prompt. This model is used for image generation. It’s one that shows how to use the basic features of ComfyUI. In ComfyUI the saved checkpoints contain the full workflow used to generate them so they can be loaded in the UI just like images to get the full workflow that was used to create them. Thanks to the incorporation of the latest Latent Consistency Models (LCM) technology from Tsinghua University in this workflow, the sampling process Dec 4, 2023 · It might seem daunting at first, but you actually don't need to fully learn how these are connected. Here is a basic example how to use it: As a reminder you can save these image files and drag or load them into ComfyUI to get the workflow. vae_name. Table of contents. If you have a previous installation of ComfyUI with Models, or would like to use models stored in an external location, you can use this method to reference them instead of re-downloading them. There is a “Pad Image for Outpainting” node to automatically pad the image for outpainting while creating the proper mask. ComfyUI provides a powerful yet intuitive way to harness Stable Diffusion through a flowchart interface. Feb 7, 2024 · Why Use ComfyUI for SDXL. The only important thing is that for optimal performance the resolution should be set to 1024x1024 or other resolutions with the same amount of pixels but a different aspect ratio. 2. To load the associated flow of a generated image, simply load the image via the Load button in the menu, or drag and drop it into the ComfyUI window. ControlNet and T2I-Adapter - ComfyUI workflow Examples Note that in these examples the raw image is passed directly to the ControlNet/T2I adapter. SDXL Examples. Although the Load Checkpoint node provides a VAE model alongside the diffusion model, sometimes it can be useful to use a specific VAE model. You can take many of the images you see in this documentation and drop it inside ComfyUI to load the full node structure. A Dec 19, 2023 · Here's a list of example workflows in the official ComfyUI repo. Image to Video. 0. Load LoRA. Here are the official checkpoints for the one tuned to generate 14 frame videos open in new window and the one for 25 frame videos open in new window. Standalone VAEs and CLIP models. These are examples demonstrating how to use Loras. In this example we will be using this image. Here is an example: You can load this image in ComfyUI to get the workflow. 1 ComfyUI install guidance, workflow and example. Sep 7, 2024 · Img2Img Examples. Since SDXL requires you to use both a base and a refiner model, you’ll have to switch models during the image generation process. To review any workflow you can simply drop the JSON file onto your ComfyUI work area, also remember that any image generated with ComfyUI has the whole workflow embedded into itself. safetensors, stable_cascade_inpainting. You can Load these images in ComfyUI (opens in a new tab) to get the full workflow. x, 2. As of writing this there are two image to video checkpoints. json workflow file from the C:\Downloads\ComfyUI\workflows folder. My actual workflow file is a little messed up at the moment, I don't like sharing workflow files that people can't understand; my process is a bit particular to my needs and the whole power of ComfyUI is for you to create something that fits your needs. x, SDXL, LoRA, and upscaling makes ComfyUI flexible. You can then load up the following image in ComfyUI to get the workflow: Try an example Canny Controlnet workflow by dragging in this image into ComfyUI. VAE Aug 1, 2024 · For use cases please check out Example Workflows. For example, errors may occur when generating hands, and serious distortions can occur when generating full-body characters. For example, 50 frames at 12 frames per second will run longer than 50 frames at 24 frames per For these examples I have renamed the files by adding stable_cascade_ in front of the filename for example: stable_cascade_canny. Here is an example for how to use the Canny Controlnet: Here is an example for how to use the Inpaint Controlnet, the example input image can be found here. The Load VAE node can be used to load a specific VAE model, VAE models are used to encoding and decoding images to and from latent space. Set boolean_number to 1 to restart from the first line of the prompt text file. For loading a LoRA, you can utilize the Load LoRA node. Discover the Ultimate Workflow with ComfyUI in this hands-on tutorial, where I guide you through integrating custom nodes, refining images with advanced tool Sep 7, 2024 · Inpaint Examples. The SDXL base checkpoint can be used like any regular checkpoint in ComfyUI (opens in a new tab). Connecting Nodes. Aug 16, 2023 · ComfyUI wildcards in prompt using Text Load Line From File node; ComfyUI load prompts from text file workflow; Allow mixed content on Cordova app’s WebView; ComfyUI migration guide FAQ for a1111 webui users; ComfyUI workflow sample with MultiAreaConditioning, Loras, Openpose and ControlNet; Change output file names in ComfyUI Click Load Default button to use the default workflow. example to extra_model_paths. . xcqbi hzh txxsts lxb eoekq qaqw uvgy zkp fdbuchew kamkqr