Skip to main content

UNLIMITED

Flux 3 Klein, H3 Image, Qwen 2.1, MiniMax H3 Video, 310+ effectsSee plans

WAN 3 prices drop again! 40% off @1080p, 30% @480P, 25% @4K!

All API models

Image generation API

FLUX 3 Image API

Black Forest Labs FLUX 3: photoreal text-to-image up to 4K, edits with up to 10 reference images, and web-grounded generation for real products and places.

From$0.037an image

Pay as you go, no subscription.

Less than Runware, Replicate, and Black Forest Labs. See the prices

  • Image to image
  • Editing
A cinematic side-profile portrait of an astronaut standing on a rocky alien beach at sunset, salt spray in the air, twin suns glowing on the horizon, helmet visor catching warm orange light, weathered patches on the spacesuit. Anamorphic lens, soft rim light, sharp focus on the visor.
Made with this API. A cinematic side-profile portrait of an astronaut standing on a rocky alien beach at sunset, salt spray in the air, twin suns glowing on the horizon, helmet visor catching warm orange light, weathered patches on the spacesuit. Anamorphic lens, soft rim light, sharp focus on the visor.

Quickstart

Three steps from zero to a finished file.

  1. 1

    Get a key

    Create an API key. It works for every model on Pixel Dojo.

    Create a key
  2. 2

    Send one request

    POST your input to the endpoint. You get a job ID back right away.

  3. 3

    Collect the result

    Poll the status URL or pass a webhook. The finished file arrives as a link.

  4. Or let your AI coding tool do it

    Copy this prompt into Claude Code, Cursor or Codex. It reads our docs and writes the code.

    Add the Pixel Dojo FLUX 3 Image API to this project. Read https://pixeldojo.ai/llm/flux-3-image.txt for the endpoint, inputs and prices, and https://pixeldojo.ai/llm.txt for auth, job status and webhooks. Read the key from the PIXELDOJO_API_KEY environment variable. Write one function that submits a job, waits for it to finish and returns the file URL, with errors handled.

POSThttps://pixeldojo.ai/api/v1/models/flux-3-image/run
bash
curl -X POST "https://pixeldojo.ai/api/v1/models/flux-3-image/run" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A ceramicist trimming a bowl on a wheel, late afternoon window light, clay dust in the air",
    "aspect_ratio": "16:9"
  }'

Want the file in one call? Add ?wait=60 to the URL. The request waits for the job and returns the result.

Pricing

You pay per result. Every setting is in the table.

SettingPer image
Draft · 768 px$0.037
1K$0.044
1.5K$0.063
2K$0.094
4K$0.50
  • Pay as you go

    Top up from $5. No subscription and no minimum.

  • Failed runs cost nothing

    If a run fails, you get the money back on its own.

  • Know the price first

    Add ?dry_run=true to any request to get its price. Nothing is charged.

FLUX 3 Image API price compared

Public list prices from each provider's own price page, checked December 1, 2026.

FLUX 3 Image

Dollars per image at 1K

Below Black Forest Labs's own list price.

Per image1K1.5K2K4KAny size
Pixel Dojo$0.044$0.063$0.094$0.50$0.037
Runware$0.048Not offered$0.10$0.607$0.041
Replicate$0.048$0.070$0.10$0.607$0.041
Black Forest Labs (list price)$0.048$0.070$0.10$0.607$0.041

Try it

Run a real request and see the exact input and output your code will handle. It is charged like any API call.

Made with this API

Real outputs. Open one to see the request that made it.

FLUX 3 Image example: A cinematic side-profile portrait of an astronaut standing on a rocky alien beach at sunset, salt spray in the air, t...
See the request

A cinematic side-profile portrait of an astronaut standing on a rocky alien beach at sunset, salt spray in the air, twin suns glowing on the horizon, helmet visor catching warm orange light, weathered patches on the spacesuit. Anamorphic lens, soft rim light, sharp focus on the visor.

22.6s
FLUX 3 Image example: Full-length street style photograph of a young woman in an oversized olive bomber, pleated plaid skirt and chunky boo...
See the request

Full-length street style photograph of a young woman in an oversized olive bomber, pleated plaid skirt and chunky boots, walking through a narrow Tokyo back alley at dusk, neon signs in pink and cyan reflecting on wet pavement. Kodak Portra 400 grain, 35mm lens, candid editorial.

21.9s
FLUX 3 Image example: 1940s film noir scene: a detective in a fedora and trench coat in a dark office, hard light through venetian blinds s...
See the request

1940s film noir scene: a detective in a fedora and trench coat in a dark office, hard light through venetian blinds slicing stripes across his face and the wall, cigarette smoke curling into the beam, rain on the window behind. Black and white, deep blacks, hard chiaroscuro, anamorphic widescreen still.

21.9s
FLUX 3 Image example: Professional studio headshot of a man in his forties in a navy blazer and open-collar white shirt, neutral grey paper...
See the request

Professional studio headshot of a man in his forties in a navy blazer and open-collar white shirt, neutral grey paper backdrop, soft beauty dish key light with a subtle catch light in sharp eyes, relaxed confident half smile. 85mm lens, natural skin texture, corporate portrait.

18.8s
FLUX 3 Image example: A frosted glass perfume bottle with a brushed gold cap standing on a white Carrara marble counter, soft north window...
See the request

A frosted glass perfume bottle with a brushed gold cap standing on a white Carrara marble counter, soft north window daylight, a single sprig of eucalyptus beside it, a gentle reflection in the stone. Minimal editorial product photograph, 100mm lens, clean negative space.

18.7s
FLUX 3 Image example: A white and volt-green running sneaker floating at a slight angle above a matte grey podium, sharp rim light from abo...
See the request

A white and volt-green running sneaker floating at a slight angle above a matte grey podium, sharp rim light from above outlining the mesh and sole, soft shadow below, seamless light grey studio background. High-end advertising product shot, every stitch in focus.

15.7s

Reference

Every input the endpoint takes, and what comes back.

Parameters

Parameter
promptrequiredstringWhat to create, or the edit to apply when image_urls is supplied.
image_urlsarrayOptional, up to 10. With references the prompt edits or combines them; refer to them as image 1, image 2, ... Each must be at least 256x256 and at most 16 MP.items: urlmin items: 1 | max items: 10
resolutionenum · default 1k768sq, 1k, 1.5k, 2k, 4k.768sq Draft · 768 px1k 1K1.5k 1.5K2k 2K4k 4K
aspect_ratioenum · default auto"auto" picks the ratio from the prompt and the first reference image.auto Auto21:92:116:93:2+11 more
groundingboolean · default trueLet the model research the prompt with web and image search before generating (real products, places, current events). On by default.
output_formatenum · default jpgImage format.jpgpngwebp

What comes back

When you submit (202)

json
{
  "jobId": "job_abc123...",
  "status": "pending",
  "statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
  "priceUsd": 0.0438,
  "creditCost": 0.7,
  "creditsRemaining": 95,
  "expiresAt": "2026-12-02T17:40:36Z"
}

When it finishes

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "images": [
      "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.png"
    ]
  },
  "creditCost": 0.7,
  "expiresAt": "2026-12-02T17:40:36Z"
}

priceUsd is what the run cost, in dollars. The credit fields show the same charge and your balance in account credits.

Use saved characters (@Name)

Write @Name in the prompt to use a character, product, outfit, location, prop or style saved in the account's Character Studio, for example "@Mara on a beach at sunset". Its photos are added to image_urls automatically, after any images you send yourself, so your own image numbering is unchanged. List saved names with GET /api/v1/characters and save new ones with POST /api/v1/characters. An @word that names nothing saved stays plain text.

Aspect ratios

21:9
2:1
16:9
3:2
7:5
4:3
5:4
1:1
4:5
3:4
5:7
2:3
9:16
1:2
9:21

Other endpoints for this model

Image editing and generation can use different model IDs.

Built for AI agents

Hand these to a coding assistant and it can write the integration for you.

Questions

How much does the FLUX 3 Image API cost?

From $0.037 an image. The table above has the price for every setting, and each job's response shows what it cost.

Do I need a subscription?

No. Top up from $5 and pay only for what you run.

Can I see the price before I run something?

Yes. Add ?dry_run=true to the request. You get its price back. Nothing is charged and no job starts.

Do I pay for a run that fails?

No. If a run fails, you get the money back on its own.

How long do output links last?

One hour. Download the file in that time, or call the save endpoint to keep it in your library.

Can an AI assistant use this model?

Yes. Connect Claude, ChatGPT or any agent to our MCP server at https://pixeldojo.ai/mcp. Or give it the docs file for this model.

More image APIs

Same key, same request shape. Switch models by changing one word in the URL.

All 77 image APIs

Start building

Try FLUX 3 Image in the app