This is an Advanced Img2Img workflow for ComfyUI based on google's rectified flow inversion. It allows you to change your image , transfer style, inpaint, face swap etc... only by using prompts . No manual inpainting...
Profil d'exécution
Description de la source
This is an Advanced Img2Img workflow for ComfyUI based on google's rectified flow inversion. It allows you to change your image , transfer style, inpaint, face swap etc... only by using prompts . No manual inpainting and controlnets.
To simplify: imagine basic img2img workflow, where you send input image -> make random noise from it -> send it to sampler and get output image, but in that case you can control what kind of noise you are getting from input image, depending on your settings. For instance, you can change either, part of image(inpainting) or transfer image style(ip-adapter).
So it looks like this: input image -> unsample image to noise (with additional "textual attention mask" a.k.a prompt input for img2noise unsampler. It should work good enough even without prompt, but you can specify what part of image you want to get "masked" for denoising) -> noise from unsampler goes to the sampler and you get output image edited with unsampled noise.
Commentaire généré par l’IA
Explication générée par l’IA à partir des détails de la source et de la configuration. Les suggestions sont clairement signalées.
This ComfyUI image-to-image workflow uses Google's rectified-flow inversion to edit an input image with prompts, including style transfer, inpainting, and face swaps; it takes an image, a standard prompt, and an optional unsampling prompt, and produces an edited output image.
The workflow first unsamples the input image into noise, optionally using a textual attention prompt, then sends that noise to a sampler with a standard prompt.
The added unsampling step lets you control the noise derived from the input image before sampling.
The optional unsampling prompt can indicate which part of the image to mask for denoising, and the result is an edited image.
Use it in ComfyUI; additional instructions are provided within the workflow.
Its listed base model is Flux.1 D.
The workflow names these model files and models: clip_l.safetensors, Flux.1-dev-Controlnet-Depth.safetensors, Flux.1-dev-Controlnet-Upscaler.safetensors, flux1-dev-turbo8-fp8.safetensors, microsoft/Florence-2-base, and t5xxl_fp8_e4m3fn.safetensors.
It names these ComfyUI nodes: PromptBuilder //Inspire, RepeatLatentBatch, OverrideCLIPDevice, ImageResizeKJ, ControlNetApplyAdvanced, ConditioningZeroOut, VAELoader, Seed Everywhere, Power Lora Loader (rgthree), Image Comparer (rgthree), FluxForwardODESampler, DisableNoise,
It also names these ComfyUI nodes: ShowText|pysssss, iToolsPromptStylerExtra, Fast Groups Bypasser (rgthree), CR Simple Image Compare, PreviewImage, Florence2Run, OutFluxModelSamplingPred, InFluxModelSamplingPred, Fast Groups Muter (rgthree), DownloadAndLoadFlorence2Model, Image
Use the optional unsampling prompt when you want to identify which part of the image should be masked for denoising.
Suggestion · non vérifié
Consider Hyper and Turbo merged models or LoRAs of Flux, which the description recommends.
Suggestion · non vérifié
Before use, verify that PromptBuilder //Inspire, RepeatLatentBatch, OverrideCLIPDevice, and ImageResizeKJ are available in ComfyUI.
Suggestion · non vérifié
Before use, verify that the named model files and models are available: clip_l.safetensors, Flux.1-dev-Controlnet-Depth.safetensors, Flux.1-dev-Controlnet-Upscaler.safetensors, flux1-dev-turbo8-fp8.safetensors, microsoft/Florence-2-base, and t5xxl_fp8_e4m3fn.safetensors.
Suggestion · non vérifié
Faut-il modifier cela ?
Connectez-vous pour envoyer une demande de modification.
Sources
1 sourceExtraits de sources
1 extraitSource context: 665 downloads · Type Workflows · Base model Flux.1 D
In other words it's almost like basic img2img wflow, but with additional "unsampling" step that provides more controled noise. [input image -> unsampler (with optional prompt)-> sampler (with standart prompt)->output image ]
I recommend to use Hyper and Turbo merged models or loras of Flux, so instead of 282 steps you can do 122 with similar quiality.
RF-Inversion
GitHub - logtd/ComfyUI-Fluxtapoz: Nodes for image juxtaposition for Flux in ComfyUI
Some stuff from youtube: (1) Turbo-Powered Unsampler & Inpainting with Flux.1 in SECONDS with ComfyUI! - YouTube
(1) Google RF Inversion: Image Editing with Prompting! - YouTube
More instructions provided in the workflow itself.
Estimation des besoins VRAM
Estimation indisponible
4,79 GB sur 2 de 11 fichiers de modèle. Total des fichiers du modèle + 25 % de surcharge de chargement + 2 Go de tampon d'exécution, arrondi à l'unité supérieure.
Exigences
Exigences 51Text encoder · 235 MB · SAFETENSORS · Unknown
DualCLIPLoader
Non résoluText encoder · Unknown
Flux.1-dev-Controlnet-Depth.safetensors
Non résoluControlNet · Unknown
Flux.1-dev-Controlnet-Upscaler.safetensors
Non résoluUpscaler · Unknown
flux1-dev-turbo8-fp8.safetensors
Non résoluCheckpoint · Unknown
Vision model · Hugging Face · microsoft/Florence-2-base
OverrideVAEDevice
Non résoluVAE · Unknown
Text encoder · 4.56 GB · SAFETENSOR · fp8 · Unknown
VAEDecode
Non résoluVAE · Unknown
VAEEncode
Non résoluVAE · Unknown
VAELoader
Non résoluVAE · Unknown
AIO_Preprocessor
Non résoluPack de nœud · Unknown
Anything Everywhere3
Non résoluPack de nœud · Unknown
BasicGuider
Non résoluPack de nœud · Unknown
Pack de nœud · Unknown
ConditioningZeroOut
Non résoluPack de nœud · Unknown
ControlNetApplyAdvanced
Non résoluPack de nœud · Unknown
ControlNetLoader
Non résoluPack de nœud · Unknown
CR Simple Image Compare
Non résoluPack de nœud · Unknown
CR Text Input Switch
Non résoluPack de nœud · Unknown
DisableNoise
Non résoluPack de nœud · Unknown
DownloadAndLoadFlorence2Model
Non résoluPack de nœud · Unknown
easy imageSize
Non résoluPack de nœud · Unknown
Fast Groups Bypasser (rgthree)
Non résoluPack de nœud · Unknown
Fast Groups Muter (rgthree)
Non résoluPack de nœud · Unknown
FlipSigmas
Non résoluPack de nœud · Unknown
Florence2Run
Non résoluPack de nœud · Unknown
FluxDeGuidance
Non résoluPack de nœud · Unknown
FluxForwardODESampler
Non résoluPack de nœud · Unknown
FluxReverseODESampler
Non résoluPack de nœud · Unknown
Image Comparer (rgthree)
Non résoluPack de nœud · Unknown
Image Inset Crop (rgthree)
Non résoluPack de nœud · Unknown
ImageResizeKJ
Non résoluPack de nœud · Unknown
ImageScaleToTotalPixels
Non résoluPack de nœud · Unknown
InFluxModelSamplingPred
Non résoluPack de nœud · Unknown
INTConstant
Non résoluPack de nœud · Unknown
iToolsPromptStylerExtra
Non résoluPack de nœud · Unknown
Load image with metadata [Crystools]
Non résoluPack de nœud · Unknown
OutFluxModelSamplingPred
Non résoluPack de nœud · Unknown
OverrideCLIPDevice
Non résoluPack de nœud · Unknown
Power Lora Loader (rgthree)
Non résoluPack de nœud · Unknown
Preview from metadata [Crystools]
Non résoluPack de nœud · Unknown
PreviewImage
Non résoluPack de nœud · Unknown
PromptBuilder //Inspire
Non résoluPack de nœud · Unknown
RepeatLatentBatch
Non résoluPack de nœud · Unknown
SamplerCustomAdvanced
Non résoluPack de nœud · Unknown
SaveImage
Non résoluPack de nœud · Unknown
Seed Everywhere
Non résoluPack de nœud · Unknown
ShowText|pysssss
Non résoluPack de nœud · Unknown
Text to Conditioning
Non résoluPack de nœud · Unknown
UNETLoader
Non résoluPack de nœud · Unknown