Flux

Black Forest Labs

Available via APIImage GenerationVideo Generation

Flux API

Flux is Black Forest Labs' family of image, editing and video generation models—from Flux Pro and Kontext to Flux 2 and Flux 3. Compare live per-tier pricing and call every published version with one API key.

Versions
4
Starts at
$0.01/image
Free trial
$0.20 · 200 credits

Try the Flux API

Video
Image
flux-3-kleinFull specDocs

Fast, compact Black Forest Labs FLUX.3 Klein generation and multi-reference editing with tunable 1–16 steps and resolutions up to 4K.

Inputs

  • Reference Images≤8image_urls

    Add your own file in the Playground.

    Optional

$0.012 per image · 12 credits

$0.20 free credit ≈ 16 runs

Sign in to run it. New accounts get $0.20 in free credits.

Output

Your FLUX.3 Klein output appears here

Generate in the Playground, or call the API: the finished file comes back as a URL in result_urls.

Compare Flux API versions

All 4 versions in the live Wizzx catalog. Prices are each version's lowest tier; resolution and duration set the final rate.

VersionModeInputsOutputPriceLinks
Video
flux-3-video
Text / image → video
  • Reference Images≤10
drafthdfhd

5–20sAudio

$0.093/second

HD (720p) · 5s ≈ $1.155

Image
flux-2-max
Text → image · edit
  • Reference Images≤8
1MP2MP3MP4MP

$0.087/image

flux-3-image
Text → image · edit
  • Reference Images≤8
768sq1k1.5k2k4k

$0.051/image

flux-3-klein
Text → image · edit
  • Reference Images≤8
768sq1k1.5k2k4k

$0.01/image

Wizzx prices are the lowest tier of each version, read live from the pricing catalog. Official prices are the provider's list prices for comparable tiers where published. Resolution, duration and audio change the tier, so compare the full tier list on each version page.

Flux API cost examples

Worked out from each version's lowest live tier. Higher resolution, longer clips or more reference media cost more.

  • FLUX.2 Max: 100 images × $0.087 = $8.700
  • FLUX.3: 100 images × $0.051 = $5.100
  • FLUX.3 Klein: 100 images × $0.01 = $1.00
  • FLUX.3 Video: 10 clips of 5s × $1.155 = $11.55

Flux models are developed by Black Forest Labs. Wizzx provides API access to them and does not own the models. All trademarks belong to their respective owners.

Which Flux version should I use?

Pick by the job you need done. Each card links to the version's full spec and pricing.

Integrate the Flux API

Create a server-side API key, submit the supported inputs for your chosen model, and keep the returned task ID to retrieve the result. Model pages link to the exact request contract.

  1. 1

    Create an API key

    Sign in and create a key in the dashboard. Set WIZZX_API_KEY in your server environment; never expose it in browser code.

  2. 2

    Submit a task

    Send a POST request to the model endpoint. A successful submission returns data.task_id; keep that ID before polling. Submission is not generation completion.

  3. 3

    Retrieve the result

    Replace YOUR_TASK_ID with the returned ID and query GET /api/v1/task/{task_id}. Wait for SUCCEEDED and read the output URLs. Stop on FAILED or REVIEW_REQUIRED; do not automatically resubmit an uncertain task.

Version

POSThttps://api.wizzx.ai/api/v1/task/submit/flux-3-klein
Submit a task
submit.sh
curl -X POST \
  https://api.wizzx.ai/api/v1/task/submit/flux-3-klein \
  -H "Authorization: Bearer $WIZZX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "aspect_ratio": "auto",
  "resolution": "1k",
  "output_format": "jpeg",
  "prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
}'
Retrieve the result
status.sh
curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
  -H "Authorization: Bearer $WIZZX_API_KEY"

FLUX.3 Klein request parameters

Full spec

The fields this endpoint accepts on Wizzx, read from the same schema as the Playground form.

ParameterTypeDefaultAllowed valuesDescription
prompt
Promptrequired
string—≤ 5,000Describe the image to generate or the edit to apply.
image_urls
Reference Images
url[] ≤ 8——Optional. Up to 8 reference images. Reference images are not charged.
aspect_ratio
Aspect Ratio
stringautoauto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 4:5 · 5:4 · 7:5 · 5:7 · 2:1 · 1:2 · 21:9 · 9:21—
resolution
Resolution
string1k768sq · 1k · 1.5k · 2k · 4kResolution is the only setting that changes the price.
steps
Steps
integer—1 – 16Inference steps (1-16). Does not change the price.
output_format
Output Format
stringjpegjpeg · png—
safety_tolerance
Safety Tolerance
integer—0 – 50 = strictest, 5 = most permissive
seed
Seed
integer—0 – …Random seed for reproducibility
View API Documentation

API integration questions

Is this the official Flux API?
No. Flux models are developed by Black Forest Labs. Wizzx is an independent API platform that gives you access to them with one API key, an asynchronous task API and pay-as-you-go credits.
How much does the Flux API cost?
Pay as you go, with no subscription. Starting prices: FLUX.2 Max $0.087/image, FLUX.3 $0.051/image, FLUX.3 Klein $0.01/image, and FLUX.3 Video $0.093/second. Billing units and rates vary by model and settings. Some models charge extra for reference inputs; check the selected model’s pricing details and run estimate before generating.
What are the Flux API model IDs?
Submit tasks to POST /api/v1/task/submit/{model_id} with one of: flux-2-max, flux-3-image, flux-3-klein, flux-3-video.
Am I charged if a task fails?
No. Credits are reserved when you submit a task and refunded if it fails. You are only charged for successful tasks.
Can I try the Flux API for free?
Yes. New accounts start with $0.20 in free credits, about 20 images with FLUX.3 Klein, the lowest-priced version.

Explore more AI APIs

Other model families and categories on the same Wizzx API key.

Wizzx API

Start building with the Flux API

New accounts get $0.20 in free credits. Pay as you go with no subscription, and failed tasks are refunded.