CivArchive
    FLUX-Advanced-Img2Img workflow. Rectified flow Inversion [RF inversion] [Ref2Img] - V2 - v2.0
    NSFW
    Preview 36751306
    Preview 36751321
    Preview 36750861
    Preview 36750887
    Preview 36753038
    Preview 36753056
    Preview 36754765
    Preview 36755064
    Preview 36755159
    Preview 36755164
    Preview 36806414
    Preview 36755433
    Preview 36806416
    Preview 36806419
    Preview 36806427

    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.

    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 28*2 steps you can do 12*2 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.

    Description

    Minor reworks, added Florence2 for attention prompt, optional Controlnet, guidlines

    FAQ

    Comments (3)

    blobby99Oct 27, 2024· 1 reaction
    CivitAI

    So what's new with this version? Got the previous one working on my AMD 5700 RDNA1 (for those who mistakenly believe AMD has fatal issues beyond slowness), and apart from ComfyUI's dreadfully broken VRAM memory-management code, it works well enough.

    blobby99Oct 27, 2024· 1 reaction

    OK, to answer my own question, the screenshot of the workflow shows the changes BUT even on my large monitor at 1440P, the text in the screenshots is so tiny, I doubt many people will use them to understand the version changes.

    Nexssar
    Author
    Oct 27, 2024

    @blobby99 my bad, updated screenshots. It's fairly the same, just added some notes, controlnet and florence2. You can set clip encoders to cpu and\or try fp8 variants to save vram.

    Workflows
    Flux.1 D

    Details

    Downloads
    521
    Platform
    CivitAI
    Platform Status
    Available
    Created
    10/27/2024
    Updated
    5/13/2026
    Deleted
    -

    Files

    fluxAdvancedImg2imgWorkflow_v20.zip

    Mirrors