Models

Black Forest Labs

Edit images

FLUX Pro Expand

Outpaints an image with per-side pixel expansion.

10.6 credits/Run

Playground

Input

Add pixels below the image.

Add pixels to the left of the image.

Add pixels to the right of the image.

Add pixels above the image.

Advanced settings

Adjust how closely the result follows your prompt.

Let the model expand or refine your prompt before generation.

Reuse a seed with the same inputs to make results more repeatable.

Adjust the number of generation steps. More steps can take longer.

Output
FLUX Pro Expand: Halftone city widened to a panorama
Example

Try an example

Call this model from your code

Sends your Playground inputs to Comfy Router.

API docs (opens in a new tab)
  1. Get an API key

    Needs a paid Cloud plan with credits.

  2. Install the SDK

    Python 3.10+. Also on npm as @comfyorg/sdk.

    pip install comfy-sdk==0.2.0
  3. Run it

    Calls Comfy Router at this endpoint with your COMFY_API_KEY.

    POST /v2/models/bfl/flux-pro-1.0-expand

Fill in the Playground inputs to generate a request.

More from Black Forest Labs

Compare Black Forest Labs's other models. Price is the default setting; resolution and duration show the full range each model offers.

ModelPriceResolutionDuration
FLUX 2 Pro Text-to-Image6.3 credits/Run——
FLUX.1 Kontext Pro Image Edit8.44 credits/Run——
FLUX 2 Max Text-to-Image14.8 credits/Run——
FLUX Pro 1.1 Ultra Text-to-Image12.7 credits/Run——
FLUX.1 Kontext Max Image Edit16.88 credits/Run——
FLUX 3 Video Text-to-Video—720p – 1080p5 – 20s
FLUX 3 Video Image-to-Video—720p – 1080p5 – 20s
FLUX Tools Erase———
FLUX Virtual Try-On———
FLUX Pro Fill10.6 credits/Run——
FLUX Video Upscale———
FLUX Pro 1.1 Text-to-Image———