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...
Laufzeitprofil
Quellenbeschreibung
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.
KI-generierter Kommentar
KI-generierte Erklärung auf Grundlage von Quellen- und Konfigurationsdetails. Vorschläge sind klar gekennzeichnet.
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.
Vorschlag · nicht geprüft
Consider Hyper and Turbo merged models or LoRAs of Flux, which the description recommends.
Vorschlag · nicht geprüft
Before use, verify that PromptBuilder //Inspire, RepeatLatentBatch, OverrideCLIPDevice, and ImageResizeKJ are available in ComfyUI.
Vorschlag · nicht geprüft
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.
Vorschlag · nicht geprüft
Muss das bearbeitet werden?
Melden Sie sich an, um eine Änderungsanfrage zu senden.
Quellen
1 QuelleQuellenauszüge
1 AuszugSource 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.
Geschätzter VRAM Bedarf
Schätzung nicht verfügbar
4,79 GB über 2 von 11 Modell-Dateien. Gesamtmodell-Dateien + 25% Ladeaufwand + 2 GB Ausführungs-Puffer, aufgerundet.
Anforderungen
51 AnforderungenText encoder · 235 MB · SAFETENSORS · Unknown
DualCLIPLoader
Nicht aufgelöstText encoder · Unknown
Flux.1-dev-Controlnet-Depth.safetensors
Nicht aufgelöstControlNet · Unknown
Flux.1-dev-Controlnet-Upscaler.safetensors
Nicht aufgelöstUpscaler · Unknown
flux1-dev-turbo8-fp8.safetensors
Nicht aufgelöstCheckpoint · Unknown
Vision model · Hugging Face · microsoft/Florence-2-base
OverrideVAEDevice
Nicht aufgelöstVAE · Unknown
Text encoder · 4.56 GB · SAFETENSOR · fp8 · Unknown
VAEDecode
Nicht aufgelöstVAE · Unknown
VAEEncode
Nicht aufgelöstVAE · Unknown
VAELoader
Nicht aufgelöstVAE · Unknown
AIO_Preprocessor
Nicht aufgelöstKnotenpaket · Unknown
Anything Everywhere3
Nicht aufgelöstKnotenpaket · Unknown
BasicGuider
Nicht aufgelöstKnotenpaket · Unknown
Knotenpaket · Unknown
ConditioningZeroOut
Nicht aufgelöstKnotenpaket · Unknown
ControlNetApplyAdvanced
Nicht aufgelöstKnotenpaket · Unknown
ControlNetLoader
Nicht aufgelöstKnotenpaket · Unknown
CR Simple Image Compare
Nicht aufgelöstKnotenpaket · Unknown
CR Text Input Switch
Nicht aufgelöstKnotenpaket · Unknown
DisableNoise
Nicht aufgelöstKnotenpaket · Unknown
DownloadAndLoadFlorence2Model
Nicht aufgelöstKnotenpaket · Unknown
easy imageSize
Nicht aufgelöstKnotenpaket · Unknown
Fast Groups Bypasser (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
Fast Groups Muter (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
FlipSigmas
Nicht aufgelöstKnotenpaket · Unknown
Florence2Run
Nicht aufgelöstKnotenpaket · Unknown
FluxDeGuidance
Nicht aufgelöstKnotenpaket · Unknown
FluxForwardODESampler
Nicht aufgelöstKnotenpaket · Unknown
FluxReverseODESampler
Nicht aufgelöstKnotenpaket · Unknown
Image Comparer (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
Image Inset Crop (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
ImageResizeKJ
Nicht aufgelöstKnotenpaket · Unknown
ImageScaleToTotalPixels
Nicht aufgelöstKnotenpaket · Unknown
InFluxModelSamplingPred
Nicht aufgelöstKnotenpaket · Unknown
INTConstant
Nicht aufgelöstKnotenpaket · Unknown
iToolsPromptStylerExtra
Nicht aufgelöstKnotenpaket · Unknown
Load image with metadata [Crystools]
Nicht aufgelöstKnotenpaket · Unknown
OutFluxModelSamplingPred
Nicht aufgelöstKnotenpaket · Unknown
OverrideCLIPDevice
Nicht aufgelöstKnotenpaket · Unknown
Power Lora Loader (rgthree)
Nicht aufgelöstKnotenpaket · Unknown
Preview from metadata [Crystools]
Nicht aufgelöstKnotenpaket · Unknown
PreviewImage
Nicht aufgelöstKnotenpaket · Unknown
PromptBuilder //Inspire
Nicht aufgelöstKnotenpaket · Unknown
RepeatLatentBatch
Nicht aufgelöstKnotenpaket · Unknown
SamplerCustomAdvanced
Nicht aufgelöstKnotenpaket · Unknown
SaveImage
Nicht aufgelöstKnotenpaket · Unknown
Seed Everywhere
Nicht aufgelöstKnotenpaket · Unknown
ShowText|pysssss
Nicht aufgelöstKnotenpaket · Unknown
Text to Conditioning
Nicht aufgelöstKnotenpaket · Unknown
UNETLoader
Nicht aufgelöstKnotenpaket · Unknown