Black Forest Labs
Available via APIImage GenerationVideo GenerationFlux 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
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.
| Version | Mode | Inputs | Output | Price | Links |
|---|---|---|---|---|---|
| Video | |||||
flux-3-video | Text / image → video |
| drafthdfhd 5–20sAudio | $0.093/second HD (720p) · 5s ≈ $1.155 | |
| Image | |||||
flux-2-max | Text → image · edit |
| 1MP2MP3MP4MP | $0.087/image | |
flux-3-image | Text → image · edit |
| 768sq1k1.5k2k4k | $0.051/image | |
flux-3-klein | Text → image · edit |
| 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
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
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
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
https://api.wizzx.ai/api/v1/task/submit/flux-3-kleincurl -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"
}'const response = await fetch("https://api.wizzx.ai/api/v1/task/submit/flux-3-klein", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"aspect_ratio": "auto",
"resolution": "1k",
"output_format": "jpeg",
"prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
}),
});
const payload = await response.json();
const task = payload.data ?? payload;
const taskId = task.task_id;import os
import requests
response = requests.post(
"https://api.wizzx.ai/api/v1/task/submit/flux-3-klein",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"aspect_ratio": "auto",
"resolution": "1k",
"output_format": "jpeg",
"prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
},
)
payload = response.json()
task = payload.get("data", payload)
task_id = task["task_id"]curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
-H "Authorization: Bearer $WIZZX_API_KEY"const response = await fetch("https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID", {
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
},
});
const payload = await response.json();
const task = payload.data ?? payload;
// Poll until task.status is SUCCEEDED, then read task.result_urls (stop on FAILED or REVIEW_REQUIRED)import os
import requests
response = requests.get(
"https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
)
payload = response.json()
task = payload.get("data", payload)
# Poll until task["status"] == "SUCCEEDED", then read task["result_urls"] (stop on FAILED or REVIEW_REQUIRED)FLUX.3 Klein request parameters
Full specThe fields this endpoint accepts on Wizzx, read from the same schema as the Playground form.
| Parameter | Type | Default | Allowed values | Description |
|---|---|---|---|---|
promptPromptrequired | string | — | ≤ 5,000 | Describe the image to generate or the edit to apply. |
image_urlsReference Images | url[] ≤ 8 | — | — | Optional. Up to 8 reference images. Reference images are not charged. |
aspect_ratioAspect Ratio | string | auto | auto · 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 | — |
resolutionResolution | string | 1k | 768sq · 1k · 1.5k · 2k · 4k | Resolution is the only setting that changes the price. |
stepsSteps | integer | — | 1 – 16 | Inference steps (1-16). Does not change the price. |
output_formatOutput Format | string | jpeg | jpeg · png | — |
safety_toleranceSafety Tolerance | integer | — | 0 – 5 | 0 = strictest, 5 = most permissive |
seedSeed | integer | — | 0 – … | Random seed for reproducibility |
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.