FLUX.1 Expand API

FLUX.1 image expansion and outpainting model.

Modalities
Image, TextImage
Price
$0.05per generation
Model type
Image generation
Released
Jun 12, 2026

FLUX.1 Expand overview

FLUX.1 Expand specs

Model ID
blackforestlabs/flux-expand
Developer
Black Forest Labs
Input
Image, Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

FLUX.1 image expansion and outpainting model.

FLUX.1 Expand API Pricing
- Pricing on request

High-volume image generation
Produce product visuals, thumbnails, and marketing assets programmatically at scale.

Creative and concept art
Turn text prompts into illustrations, mockups, and design explorations.

Use cases

FLUX.1 Expand is documented for expanding images beyond their original boundaries to increase resolution or change aspect ratios.

It is suited to outpainting and panorama creation, including extending a source photograph horizontally into a seamless wide-format image.

It is also suited to adapting images for different formats, such as turning an image into a wide editorial panorama or other campaign-ready aspect ratios.

It is used for adding new pixels on any side of an image, with text guidance for the changes to the expanded areas.

FLUX.1 Expand API pricing

FLUX.1 Expand pricing in US dollars
UsagePriceUnit
Image generation$0.05per generation

The final price depends on request parameters such as resolution or duration.

Prices from the AI/ML API price list, checked on Nov 4, 2026.

FLUX.1 Expand vs other image models: prices

AI/ML API rates for 5 models, per generation.

AI/ML API prices in USD per generation
ModelPer generation
FLUX.1 Expand$0.05
FLUX.1 Dev$0.025
FLUX.1 Fill$0.05
Grok Imagine Image Pro$0.05
Wan 2.2 Plus$0.05

How to use the FLUX.1 Expand API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "blackforestlabs/flux-expand",
  "image_url": "https://example.com/input.jpg"
}'

Related articles

All posts

FLUX.1 Expand FAQ

What inputs and outputs does FLUX.1 Expand support?

FLUX.1 Expand takes image, text as input and returns image.

How much does FLUX.1 Expand cost?

FLUX.1 Expand costs $0.05 per generation on AI/ML API, billed as you go with no subscription.

How is FLUX.1 Expand billed?

FLUX.1 Expand is billed per generation, a fixed charge per output rather than by prompt length.

Can FLUX.1 Expand take an existing image as input?

Yes, FLUX.1 Expand accepts image input as well as a text prompt.

Who created FLUX.1 Expand?

FLUX.1 Expand was built by Black Forest Labs.

How do I call FLUX.1 Expand on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with blackforestlabs/flux-expand as the model id.

Is FLUX.1 Expand available through a single API key?

Yes. FLUX.1 Expand is served through AI/ML API, so the same key and endpoint format used for other models applies.

What is the FLUX.1 Expand model ID?

Use blackforestlabs/flux-expand as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with FLUX.1 Expand

FLUX.1 Expand API

blackforestlabs/flux-expand

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "blackforestlabs/flux-expand",
  "image_url": "https://example.com/input.jpg"
}'