Nodes/ComfyUI-Fluxtapoz/Flow Edit Sampler
ComfyUI Node Runs on cloud

Flow Edit Sampler

The sampler that skips the inversion and goes straight to the edit

By logtd·Created 2 years ago·Updated 2 years ago· 1,392
Flow Edit Sampler
    • SAMPLER
    skip_steps4
    refine_steps0
    seed0

    FlowEditSampler is the workhorse of the pack's FlowEdit mode, the inversion-free way to edit images with Flux. It pairs with FlowEditGuider (which holds the source and target prompts) and produces the SAMPLER that actually walks from noise to your edited image. If you've bounced off RF-Inversion because of identity drift or unsampling artifacts, FlowEdit is the faster, less fiddly cousin - and this node is where you tune it.

    How it works

    Because rectified-flow trajectories are nearly straight, FlowEdit defines an edit as a path that starts on the source image's trajectory and shifts onto the target's. This sampler walks that path. Its three inputs control the split:

    • skip_steps (INT, default 4) - how many early steps run on the source conditioning before the sampler hands over to the target conditioning. This is your main editing-strength dial. Small value = the edit takes over almost immediately (big change, more drift); large value = the source structure locks in first (safer, subtler).
    • refine_steps (INT, default 0) - extra steps at the end dedicated to refining the result. Leave at 0 to start; if the final image has rough edges or the edit looks half-applied, bump it.
    • seed (INT, default 0) - reproducibility, and useful for A/B testing skip_steps on a fixed seed.

    Output and wiring

    One SAMPLER, into SamplerCustomAdvanced. The guider wiring matters more than the sampler alone: model → ConfigureModifiedFlux → OutFluxModelSamplingPred → FlowEditGuider (source_cond + target_cond) → FlowEditSampler → SamplerCustomAdvanced, with DisableNoise on since you're not adding fresh noise. The README's example_flow_edit.json is exactly this chain, and it's the quickest win in the whole pack to reproduce.

    Installation

    Standard for the pack: ComfyUI Manager → search "ComfyUI-Fluxtapoz" → install → restart, or git clone https://github.com/logtd/ComfyUI-Fluxtapoz into custom_nodes. Only einshape, no model downloads.

    Common issues

    • Nothing changes / everything changes are the same knob in two directions. If the edit barely appears, lower skip_steps so target conditioning gets more steps; if it blows away the source, raise it. People tend to tweak the prompt first and this slider second, which is backwards.
    • "I connected it to KSampler and it's ignoring me." The sampler port is SamplerCustomAdvanced's, not KSampler's - a recurring theme across this pack.
    • If output looks blurry or unfinished, refine_steps is the lever, and checking you haven't left noise enabled.

    FlowEdit is the pack's "try this first" for quick semantic edits, and skip_steps is the only input you'll actually live on.

    Categoryfluxtapoz

    Inputs (3)

    NameTypeDefaultDescription
    skip_stepsINT40–18446744073709550000
    refine_stepsINT00–18446744073709550000
    seedINT00–18446744073709550000

    Outputs (1)

    NameTypeDescription
    SAMPLERSAMPLER