Back to Invokeai

ComfyUI to InvokeAI

docs/nodes/comfyToInvoke.md

6.12.04.2 KB
Original Source

ComfyUI to InvokeAI

If you're coming to InvokeAI from ComfyUI, welcome! You'll find things are similar but different - the good news is that you already know how things should work, and it's just a matter of wiring them up!

Some things to note:

  • InvokeAI's nodes tend to be more granular than default nodes in Comfy. This means each node in Invoke will do a specific task and you might need to use multiple nodes to achieve the same result. The added granularity improves the control you have have over your workflows.
  • InvokeAI's backend and ComfyUI's backend are very different which means Comfy workflows are not able to be imported into InvokeAI. However, we have created a list of popular workflows for you to get started with Nodes in InvokeAI!

Node Equivalents:

Comfy UI CategoryComfyUI NodeInvoke Equivalent
SamplingKSamplerDenoise Latents
SamplingKsampler AdvancedDenoise Latents
LoadersLoad CheckpointMain Model Loader or SDXL Main Model Loader
LoadersLoad VAEVAE Loader
LoadersLoad LoraLoRA Loader or SDXL Lora Loader
LoadersLoad ControlNet ModelControlNet
LoadersLoad ControlNet Model (diff)ControlNet
LoadersLoad Style ModelReference Only ControlNet will be coming in a future version of InvokeAI
LoadersunCLIPCheckpointLoaderN/A
LoadersGLIGENLoaderN/A
LoadersHypernetwork LoaderN/A
LoadersLoad Upscale ModelOccurs within "Upscale (RealESRGAN)"
ConditioningCLIP Text Encode (Prompt)Compel (Prompt) or SDXL Compel (Prompt)
ConditioningCLIP Set Last LayerCLIP Skip
ConditioningConditioning (Average)Use the .blend() feature of prompts
ConditioningConditioning (Combine)N/A
ConditioningConditioning (Concat)See the Prompt Tools Community Node
ConditioningConditioning (Set Area)N/A
ConditioningConditioning (Set Mask)Mask Edge
ConditioningCLIP Vision EncodeN/A
ConditioningunCLIPConditioningN/A
ConditioningApply ControlNetControlNet
ConditioningApply ControlNet (Advanced)ControlNet
LatentVAE DecodeLatents to Image
LatentVAE EncodeImage to Latents
LatentEmpty Latent ImageNoise
LatentUpscale LatentResize Latents
LatentUpscale Latent ByScale Latents
LatentLatent CompositeBlend Latents
LatentLatentCompositeMaskedN/A
ImageSave ImageImage
ImagePreview ImageCurrent
ImageLoad ImageImage
ImageEmpty ImageBlank Image
ImageInvert ImageInvert Lerp Image
ImageBatch ImagesLink "Image" nodes into an "Image Collection" node
ImagePad Image for OutpaintingOutpainting is easily accomplished in the Unified Canvas
ImageImageCompositeMaskedPaste Image
ImageUpscale ImageResize Image
ImageUpscale Image ByUpscale Image
ImageUpscale Image (using Model)Upscale Image
ImageImageBlurBlur Image
ImageImageQuantizeN/A
ImageImageSharpenN/A
ImageCannyCanny Processor
MaskLoad Image (as Mask)Image
MaskConvert Mask to ImageImage
MaskConvert Image to MaskImage
MaskSolidMaskN/A
MaskInvertMaskInvert Lerp Image
MaskCropMaskCrop Image
MaskMaskCompositeCombine Mask
MaskFeatherMaskBlur Image
AdvancedLoad CLIPMain Model Loader or SDXL Main Model Loader
AdvancedUNETLoaderMain Model Loader or SDXL Main Model Loader
AdvancedDualCLIPLoaderMain Model Loader or SDXL Main Model Loader
AdvancedLoad CheckpointMain Model Loader or SDXL Main Model Loader
AdvancedConditioningZeroOutN/A
AdvancedConditioningSetTimestepRangeN/A
AdvancedCLIPTextEncodeSDXLRefinerCompel (Prompt) or SDXL Compel (Prompt)
AdvancedCLIPTextEncodeSDXLCompel (Prompt) or SDXL Compel (Prompt)
AdvancedModelMergeSimpleModel Merging is available in the Model Manager
AdvancedModelMergeBlocksModel Merging is available in the Model Manager
AdvancedCheckpointSaveModel saving is available in the Model Manager
AdvancedCLIPMergeSimpleN/A