Nodes/ComfyUI-FLUX-BFL-API/Flux Outpaint (BFL)
ComfyUI Node

Flux Outpaint (BFL)

A ComfyUI node in BFL with 11 inputs and 1 output.

By gelasdev·Created 2 years ago·Updated 5 days ago· 49
Flux Outpaint (BFL)
  • config
  • IMAGE
input_image
width1024
height1024
output_formatpng
prompt
center_referencetrue
reference_offset_x0
reference_offset_y0
auto_cropfalse
modehigh
CategoryBFL

Inputs (11)

NameTypeDefaultDescription
input_imageSTRINGReference image to expand (base64-encoded string).
widthINT102464–4096Target canvas width in pixels (>=64).
heightINT102464–4096Target canvas height in pixels (>=64).
output_formatCOMBOpngpng (default) or jpeg.
promptoptSTRINGExperimental: optional text guidance for the outpainted region. The model may not strictly follow this prompt; the visual content of the input image is the primary signal. Leave unset for default behavior.
center_referenceoptBOOLEANtrueWhen True (default), the server centers the reference image on the canvas (reference_offset_x/y are omitted from the request). When False, the reference_offset_x/y values below are sent explicitly.
reference_offset_xoptINT0-8192–8192Left offset (px) of the reference image's top-left corner on the canvas. Negative values allowed. None = center horizontally.
reference_offset_yoptINT0-8192–8192Top offset (px) of the reference image's top-left corner on the canvas. Negative values allowed. None = center vertically.
auto_cropoptBOOLEANfalseIf true, crop the reference image to the canvas bounds when it extends beyond the edges. Defaults to false (out-of-bounds placements return 422).
modeoptCOMBOhighQuality/speed tradeoff. 'high' (default) gives highest fidelity and best prompt adherence. 'fast' is significantly faster for naturally extending scenes (landscapes, backgrounds, textures, products) and requires base64 images, placed reference >=64px per side, aspect ratio <=8:1, canvas+padding <=4MP.
configoptBFL_CONFIGOptional Flux Config (BFL) override for x-key, base URL, and region.

Outputs (1)

NameTypeDescription
IMAGEIMAGE