Outpaint or extend an image
Submits an outpainting task. The input image is placed on a (width, height) canvas at the given offset, and the surrounding region is generated by a FLUX outpainting model.
Documentation Index
Fetch the complete documentation index at: https://docs.bfl.ml/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
Public contract for /v1/flux-tools/outpainting-v1.
Base64-encoded input (reference) image or HTTP(S) image URL.
Target output width.
x >= 64Target output height.
x >= 64If True, crop the input image to the canvas bounds when it extends beyond the edges. If False, an error is raised instead.
Tolerance level for input and output moderation. Between 0 and 5, 0 being most strict, 5 being least strict. If you wish to increase the safety_tolerance beyond these levels please reach out to the team.
0 <= x <= 5jpeg, png, webp Experimental: 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.
Left offset (px) of the reference image's top-left corner on the output canvas. Negative values are allowed. None = center horizontally.
Top offset (px) of the reference image's top-left corner on the output canvas. Negative values are allowed. None = center vertically.

