FLUX.1 Dev API

Development-oriented FLUX.1 image generation model.

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

FLUX.1 Dev overview

Sample FLUX.1 Dev image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

FLUX.1 Dev specs

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

Development-oriented FLUX.1 image generation model.

FLUX.1 Dev 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 Dev is documented as suited to generating high-quality images from text prompts, including simple text-to-image creation.

It is also documented for marketing and content production, such as creating social media visuals, blog illustrations, campaign assets, and other consistent brand imagery.

Another documented use case is product development and design, including UI mockups, concept variations, visual prototypes, and rapid iteration.

It is additionally described for creators and professionals who need high-quality image generation from text prompts to support visual communication.

FLUX.1 Dev benchmarks by Artificial Analysis

Human-preference results for FLUX.1 Dev in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.

Text to image

Elo · text-to-image arena

AI/ML API price

USD per generation

Models on AI/ML API

Arena results for models you can call with the same API key.

Text to image

Blind pairwise human votes on images generated from text prompts. FLUX.1 Dev ranks #90 of 98.

FLUX.1 Dev API pricing

FLUX.1 Dev pricing in US dollars
UsagePriceUnit
Image generation$0.025per 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 Dev 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 Dev$0.025
Wan 2.2 Flash$0.025
Kling Image O1$0.028
Wan 2.6 Image$0.03
Wan 2.7 Image$0.03

How to use the FLUX.1 Dev 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-dev",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'

Related articles

All posts

FLUX.1 Dev FAQ

What inputs and outputs does FLUX.1 Dev support?

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

When was FLUX.1 Dev released?

FLUX.1 Dev became available on June 12, 2026.

How much does FLUX.1 Dev cost?

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

How is FLUX.1 Dev billed?

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

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

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

Who created FLUX.1 Dev?

FLUX.1 Dev was built by Black Forest Labs.

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

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

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

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

What is FLUX.1 Dev intended for?

It is a development-oriented image generation model from the FLUX.1 family, built for generating images from text prompts.

What is the FLUX.1 Dev model ID?

Use blackforestlabs/flux-dev 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 Dev

FLUX.1 Dev API

blackforestlabs/flux-dev

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-dev",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'