Flux.1 Fill outpaint

Extend the borders of any image seamlessly using Flux.1 Fill Dev, differential diffusion, and feathering.

Collected by Comfy-Org, added Nov 28, 2026

Download JSON
  • Outpainted result generated with Flux.1 Fill Dev
  • Original input image before outpainting
PromptStep 1 - Load modelsStep 2 - Load imageDualCLIPLoaderCLIPclip_l.safetensorst5xxl_fp16.safetensorsfluxdefaultUNETLoaderMODELflux1-fill-dev.safetensorsdefaultCLIP Text Encode (Positive Prompt)clipCONDITIONINGbeautiful sceneryVAELoaderVAEae.safetensorsConditioningZeroOutconditioni…CONDITIONI…FluxGuidanceconditioningCONDITIONING30DifferentialDiffusionmodelMODEL1ImagePadForOutpaintimageIMAGEMASK400040040024VAEDecodesamplesvaeIMAGEInpaintModelConditioningpositivenegativevaepixelsmaskpositivenegativelatentfalseKSamplermodelpositivenegativelatent_imageLATENT164211176398261randomize201eulernormal1SaveImageimagesComfyUILoadImageIMAGEMASKflux_fill_outpaint_example_input_image.pngimageNote: Model links[Tutorial](https://docs.comfy.org/tutorials/flux/flu…

Drag to pan, scroll to zoom, double-click to fit. 14 nodes, 17 links, 15 KB.

What it does

Load any image and pad whichever edges you want to expand with ImagePadForOutpaint. Differential Diffusion blends the feathered seam so the new area matches the original lighting and texture.

Flux.1 Fill Dev is trained specifically for masked fill and outpainting, using ConditioningZeroOut for the negative branch and FluxGuidance to control prompt adherence.

What you provide

Source image
The image whose borders you want to expand.
Padding
Number of pixels to add on each side in ImagePadForOutpaint, plus feathering.
Prompt
Describe the full scene, including what should appear in the newly expanded area.

Good for

  • Changing an image's aspect ratio without cropping the subject
  • Expanding tight portraits or landscapes into wider shots
  • Seamless edge blending with core ComfyUI nodes only

Not for

  • Low-VRAM cards without quantized/FP8 weights (uses full Flux Fill Dev + T5 FP16)
  • Instruction-based edits inside the existing frame without a mask

How to use it

  1. Download flux1-fill-dev.safetensors, clip_l, t5xxl_fp16, and ae.safetensors into their folders.
  2. Drop your source image into the Load Image node.
  3. Set the left, top, right, and bottom pixel padding in ImagePadForOutpaint.
  4. Describe the extended scene in the prompt node and queue.

Set it up

Every custom node and model it needs, in one paste. Built from the workflow file, so it only lists what the graph actually uses.

# Flux.1 Fill outpaint
# Run from your ComfyUI folder. Needs comfy-cli (pip install comfy-cli) and ComfyUI-Manager.

# Models
comfy model download --url 'https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors?download=true' --relative-path 'models/text_encoders'
comfy model download --url 'https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors?download=true' --relative-path 'models/text_encoders'
comfy model download --url 'https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/split_files/diffusion_models/flux1-fill-dev.safetensors' --relative-path 'models/diffusion_models'
comfy model download --url 'https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors' --relative-path 'models/vae'

# The workflow itself: drag it into ComfyUI once it's downloaded
curl -L -o 'flux-1-fill-outpaint.json' 'https://nodarium.app/download/flux-fill-outpaint'

Paste into a terminal in your ComfyUI folder.

More like this