Comfyui load workflow example

Comfyui load workflow example. 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. Although the Load Checkpoint node provides a VAE model alongside the diffusion model, sometimes it can be useful to use a specific VAE model. Once loaded go into the ComfyUI Manager and click Install Missing Custom Nodes. 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. Jul 6, 2024 · You can construct an image generation workflow by chaining different blocks (called nodes) together. Video Examples Image to Video. Standalone VAEs and CLIP models. vae_name. It’s one that shows how to use the basic features of ComfyUI. SD3 Controlnets by InstantX are also supported. 1-schnell on hugging face (opens in a new tab) Load the workflow, in this example we're using Basic Text2Vid. Here is an example: You can load this image in ComfyUI to get the workflow. SD3 performs very well with the negative conditioning zeroed out like in the following example: SD3 Controlnet. Load LoRA. 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. ControlNet and T2I-Adapter - ComfyUI workflow Examples Note that in these examples the raw image is passed directly to the ControlNet/T2I adapter. ComfyUI provides a powerful yet intuitive way to harness Stable Diffusion through a flowchart interface. 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. To load a workflow, simply click the Load button on the right sidebar, and select the workflow . This first example is a basic example of a simple merge between two different checkpoints. Examples of ComfyUI workflows. Here is an example of how to use upscale models like ESRGAN. The models are also available through the Manager, search for "IC-light". The denoise controls the amount of noise added to the image. There should be no extra requirements needed. Here is the input image I used for this workflow: Lora Examples. Feb 7, 2024 · Why Use ComfyUI for SDXL. These are examples demonstrating how to use Loras. 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. You can Load these images in ComfyUI to get the full workflow. In this example we will be using this image. Check my ComfyUI Advanced Understanding videos on YouTube for example, part 1 and part 2. json and load it in the UI. 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. 1. To use your LoRA with ComfyUI you need this node: Load LoRA node in ComfyUI. 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. For example, errors may occur when generating hands, and serious distortions can occur when generating full-body characters. This repo contains examples of what is achievable with ComfyUI. Dec 10, 2023 · Progressing to generate additional videos. For loading a LoRA, you can utilize the Load LoRA node. Load VAE node. Depending on your frame-rate, this will affect the length of your video in seconds. Download workflow here: Load LoRA. ControlNet Depth ComfyUI workflow. There is a “Pad Image for Outpainting” node to automatically pad the image for outpainting while creating the proper mask. 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. Then press “Queue Prompt” once and start writing your prompt. json file. I then recommend enabling Extra Options -> Auto Queue in the interface. The only way to keep the code open and free is by sponsoring its development. Apr 26, 2024 · Workflow. You can Load these images in ComfyUI open in new window to get the full workflow. Restart ComfyUI; Note that this workflow use Load Lora node to load a Can load ckpt, safetensors and diffusers models/checkpoints. It will always be this frame amount, but frames can run at different speeds. 1 ComfyUI install guidance, workflow and example. Hunyuan DiT is a diffusion model that understands both english and chinese. Reload to refresh your session. Since SDXL requires you to use both a base and a refiner model, you’ll have to switch models during the image generation process. You switched accounts on another tab or window. Manual way is to clone this repo to the ComfyUI/custom_nodes-folder. 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. 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. Sep 7, 2024 · Img2Img Examples. 1; Flux Hardware Requirements; How to install and use Flux. Some commonly used blocks are Loading a Checkpoint Model, entering a prompt, specifying a sampler, etc. Here are the official checkpoints for the one tuned to generate 14 frame videos and the one for 25 frame videos. . VAE Aug 1, 2024 · For use cases please check out Example Workflows. Img2Img ComfyUI workflow. 2. Aug 16, 2024 · Workflow. 0. safetensors. It covers the following topics: Introduction to Flux. Create animations with AnimateDiff. 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. Put them in the models/upscale_models folder then use the UpscaleModelLoader node to load them and the ImageUpscaleWithModel node to use them. Support for SD 1. SDXL Default ComfyUI workflow. 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. But let me know if you need help replicating some of the concepts in my process. Use ComfyUI Manager to install the missing nodes. SDXL works with other Stable Diffusion interfaces such as Automatic1111 but the workflow for it isn’t as straightforward. Next, use the ComfyUI-Manager to install the missing custom node ComfyUI Examples; 2 Pass Txt2Img (Hires fix) Examples Here is an example: Example. 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. Sep 7, 2024 · Lora Examples. 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. Download this lora and put it in ComfyUI\models\loras folder as an example. That’s because I have installed additional ComfyUI extensions which we’ll get to later in this guide. Flux. This should update and may ask you the click restart. Share, discover, & run thousands of ComfyUI workflows. Connecting Nodes. yaml. Always refresh your browser and click refresh in the ComfyUI window after adding models or custom_nodes. Install the UNET models; Dwonload the workflow file; Import workflow in comfyUI; Chose the UNET model and run the workflow; Download FLux. Sep 7, 2024 · Is an example how to use it. This will automatically parse the details and load all the relevant nodes, including their settings. 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. Basic Vid2Vid 1 ControlNet - This is the basic Vid2Vid workflow updated with the new nodes. FLUX. x, SDXL, LoRA, and upscaling makes ComfyUI flexible. ComfyUI breaks down a workflow into rearrangeable elements so you can easily make your own. 1; Overview of different versions of Flux. inputs. The workflow is like this: If you see red boxes, that means you have missing custom nodes. Drag the full size png file to ComfyUI’s canva. 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. json workflow file from the C:\Downloads\ComfyUI\workflows folder. 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. I made this using the following workflow with two images as a starting point from the ComfyUI IPAdapter node repository. All LoRA flavours: Lycoris, loha, lokr, locon, etc are used this way. 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. All LoRA flavours: Lycoris, loha, lokr, locon, etc… are used this way. The easiest way to get to grips with how ComfyUI works is to start from the shared examples. This model is used for image generation. 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. I then recommend enabling Extra Options -> Auto Examples of what is achievable with ComfyUI open in new window. 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. outputs. You can load this image in ComfyUI (opens in a new tab) to get the workflow. You can take many of the images you see in this documentation and drop it inside ComfyUI to load the full node structure. You can load this image in ComfyUI open in new window to get the workflow. As of writing this there are two image to video checkpoints. 5. Merging 2 Images together. Think Diffusion's Stable Diffusion ComfyUI Top 10 Cool Workflows. This guide is about how to setup ComfyUI on your Windows computer to run Flux. To build a workflow for image generation in ComfyUI, you’ll have to ComfyUI . For some workflow examples and see what ComfyUI can do you can check out: Workflow examples can be found on the Examples page. com 6 min read. In the Load Checkpoint node, select the checkpoint file you just downloaded. Put it under ComfyUI/input . ComfyUI IPAdapter Plus; ComfyUI InstantID (Native) ComfyUI Essentials; ComfyUI FaceAnalysis; Not to mention the documentation and videos tutorials. 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. 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. Users can drag and drop nodes to design advanced AI art pipelines, and also take advantage of libraries of existing workflows. Some workflows alternatively require you to git clone the repository to your ComfyUI/custom_nodes folder, and restart ComfyUI. example to extra_model_paths. 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. 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. Sep 7, 2024 · Hypernetwork Examples. Upscale Model Examples. Image to Video. Run any ComfyUI workflow w/ ZERO setup (free & open source) Try now Load the . You signed out in another tab or window. Set your number of frames. Save this image then load it or drag it on ComfyUI to get the workflow. 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. ComfyUI dissects a workflow into adjustable components, enabling users to customize their own unique processes. Let's get started! Hunyuan DiT Examples. 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. 1 UNET Model. 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. Here is a workflow for using it: Example. Table of contents. 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. This workflow can use LoRAs, ControlNets, enabling negative prompting with Ksampler, dynamic thresholding, inpainting, and more. 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. If you need an example input image for the canny, use this . Hunyuan DiT 1. Save workflow: Ctrl + O: Load workflow: Ctrl + A: Select all nodes Outpainting is the same thing as inpainting. safetensors, stable_cascade_inpainting. 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. 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. A Dec 19, 2023 · Here's a list of example workflows in the official ComfyUI repo. Upscaling ComfyUI workflow. The SDXL base checkpoint can be used like any regular checkpoint in ComfyUI. The SDXL base checkpoint can be used like any regular checkpoint in ComfyUI (opens in a new tab). 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. This is the default setup of ComfyUI with its default nodes already placed. You can load this image in ComfyUI to get the full workflow. Users have the ability to assemble a workflow for image generation by linking various blocks, referred to as nodes. Here’s a simple example of how to use controlnets, this example uses the scribble controlnet and the AnythingV3 model. These are examples demonstrating how to do img2img. Img2Img Examples. 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. 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. Set boolean_number to 1 to restart from the first line of the prompt text file. x, 2. safetensors and put it in your ComfyUI/checkpoints directory. SDXL Examples. For some workflow examples and see what ComfyUI can do you can check out: ComfyUI Examples. The name of the VAE. Download hunyuan_dit_1. English. Start with the default workflow. Goto ComfyUI_windows_portable\ComfyUI\ Rename extra_model_paths. Click Queue Prompt and watch your image generated. These nodes include common operations such as loading a model, inputting prompts, defining samplers and more. 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. The default workflow is a simple text-to-image flow using Stable Diffusion 1. Comfy Workflows Comfy Workflows. [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. 1 with ComfyUI See full list on github. Download it and place it in your input folder. You can Load these images in ComfyUI (opens in a new tab) to get the full workflow. You signed in with another tab or window. 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 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. brrl cftmqtc gdctu tvgp cciug cqos hcjsf lizbnpb chr ovnqna