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...
Perfil de execução
Descrição da fonte
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.
Comentário gerado por IA
Explicação gerada por IA com base nos detalhes da fonte e da configuração. As sugestões são claramente identificadas.
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.
Sugestão · não verificado
Consider Hyper and Turbo merged models or LoRAs of Flux, which the description recommends.
Sugestão · não verificado
Before use, verify that PromptBuilder //Inspire, RepeatLatentBatch, OverrideCLIPDevice, and ImageResizeKJ are available in ComfyUI.
Sugestão · não verificado
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.
Sugestão · não verificado
Isso precisa ser editado?
Faça login para enviar uma solicitação de edição.
Fontes
1 fonteTrechos de fonte
1 trechoSource 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.
Estimativa de requisito VRAM
Estimativa indisponível
4,79 GB distribuídos em 2 de 11 arquivos de modelo. Total de arquivos do modelo + 25% de overhead de carregamento + 2 GB de buffer de execução, arredondado para cima.
Requisitos
Requisitos 51Text encoder · 235 MB · SAFETENSORS · Unknown
DualCLIPLoader
Não resolvidoText encoder · Unknown
Flux.1-dev-Controlnet-Depth.safetensors
Não resolvidoControlNet · Unknown
Flux.1-dev-Controlnet-Upscaler.safetensors
Não resolvidoUpscaler · Unknown
flux1-dev-turbo8-fp8.safetensors
Não resolvidoCheckpoint · Unknown
Vision model · Hugging Face · microsoft/Florence-2-base
OverrideVAEDevice
Não resolvidoVAE · Unknown
Text encoder · 4.56 GB · SAFETENSOR · fp8 · Unknown
VAEDecode
Não resolvidoVAE · Unknown
VAEEncode
Não resolvidoVAE · Unknown
VAELoader
Não resolvidoVAE · Unknown
AIO_Preprocessor
Não resolvidoPacote de nós · Unknown
Anything Everywhere3
Não resolvidoPacote de nós · Unknown
BasicGuider
Não resolvidoPacote de nós · Unknown
Pacote de nós · Unknown
ConditioningZeroOut
Não resolvidoPacote de nós · Unknown
ControlNetApplyAdvanced
Não resolvidoPacote de nós · Unknown
ControlNetLoader
Não resolvidoPacote de nós · Unknown
CR Simple Image Compare
Não resolvidoPacote de nós · Unknown
CR Text Input Switch
Não resolvidoPacote de nós · Unknown
DisableNoise
Não resolvidoPacote de nós · Unknown
DownloadAndLoadFlorence2Model
Não resolvidoPacote de nós · Unknown
easy imageSize
Não resolvidoPacote de nós · Unknown
Fast Groups Bypasser (rgthree)
Não resolvidoPacote de nós · Unknown
Fast Groups Muter (rgthree)
Não resolvidoPacote de nós · Unknown
FlipSigmas
Não resolvidoPacote de nós · Unknown
Florence2Run
Não resolvidoPacote de nós · Unknown
FluxDeGuidance
Não resolvidoPacote de nós · Unknown
FluxForwardODESampler
Não resolvidoPacote de nós · Unknown
FluxReverseODESampler
Não resolvidoPacote de nós · Unknown
Image Comparer (rgthree)
Não resolvidoPacote de nós · Unknown
Image Inset Crop (rgthree)
Não resolvidoPacote de nós · Unknown
ImageResizeKJ
Não resolvidoPacote de nós · Unknown
ImageScaleToTotalPixels
Não resolvidoPacote de nós · Unknown
InFluxModelSamplingPred
Não resolvidoPacote de nós · Unknown
INTConstant
Não resolvidoPacote de nós · Unknown
iToolsPromptStylerExtra
Não resolvidoPacote de nós · Unknown
Load image with metadata [Crystools]
Não resolvidoPacote de nós · Unknown
OutFluxModelSamplingPred
Não resolvidoPacote de nós · Unknown
OverrideCLIPDevice
Não resolvidoPacote de nós · Unknown
Power Lora Loader (rgthree)
Não resolvidoPacote de nós · Unknown
Preview from metadata [Crystools]
Não resolvidoPacote de nós · Unknown
PreviewImage
Não resolvidoPacote de nós · Unknown
PromptBuilder //Inspire
Não resolvidoPacote de nós · Unknown
RepeatLatentBatch
Não resolvidoPacote de nós · Unknown
SamplerCustomAdvanced
Não resolvidoPacote de nós · Unknown
SaveImage
Não resolvidoPacote de nós · Unknown
Seed Everywhere
Não resolvidoPacote de nós · Unknown
ShowText|pysssss
Não resolvidoPacote de nós · Unknown
Text to Conditioning
Não resolvidoPacote de nós · Unknown
UNETLoader
Não resolvidoPacote de nós · Unknown