Black Forest Labs
Available via APIImage Generation1MP / 2MP / 3MP / 4MPFLUX.2 Max API
Generate flagship commercial photography, brand-accurate typography, and multi-reference scenes up to 4MP with Black Forest Labs FLUX.2 Max.
- Model ID
flux-2-max- Starts at
- $0.087/image
- Free trial
- $0.20 in credits (≈ 1 image)
New accounts start with $0.20 in free credits, about 1 image at the starting price.
Compare all Flux API versionsFLUX.2 Max is developed by Black Forest Labs. Wizzx provides API access to it and does not own the model. All trademarks belong to their respective owners.
Next: turn the image into a video with
Model Guide
About FLUX.2 Max
Generate flagship commercial photography, brand-accurate typography, and multi-reference scenes up to 4MP with Black Forest Labs FLUX.2 Max.
Why choose FLUX.2 Max?
FLUX.2 Max is Black Forest Labs' top-tier model in the FLUX.2 family, engineered for maximum photorealism, complex material physics, exact HEX color adherence, crisp commercial typography, and multi-reference consistency. Wizzx exposes explicit megapixel resolution tiers from 1MP through 4MP alongside up to 8 reference images and optional prompt upsampling.
| Wizzx control | Current behavior |
|---|---|
| Prompt | Required prompt, 1 to 5,000 characters |
| Reference images | Optional image_urls, up to 8 public HTTP(S) URLs; no extra fee |
| Aspect ratio | 1:1 (default), auto, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21 |
| Resolution | 2MP (default), 1MP, 3MP, or 4MP (case-insensitive) |
| Output format | jpeg (default), png, or webp |
| Prompt upsampling | Optional boolean prompt_upsampling to enrich concise prompts |
| Safety tolerance | Optional integer safety_tolerance from 0 (strictest) to 5 |
| Seed | Optional integer seed (0 or greater) |
Suitable workflows
- Hero brand campaigns and print photography: render studio lighting, glass/metal reflections, and fine fabric weave up to
4MP. - Brand-guideline mockups and packaging: combine exact HEX color specifications with clean on-package text and up to 8 reference assets.
- Consistent character and product series: preserve subject identity across widescreen
21:9banners and vertical9:21mobile placements.
Prompting approach
Specify camera lens, lighting setup, surface textures, HEX color codes (for example, #FF5A1F), and quoted typography directly in prompt. When supplying multiple images in image_urls, reference each image's contribution explicitly. Enable prompt_upsampling: true when starting from short concept notes, or leave it off when enforcing strict structured prompts. Iterate at 1MP or 2MP before scaling approved seeds to 3MP or 4MP.
Wizzx scope
Wizzx generates one image per request. Megapixel resolution (1MP, 2MP, 3MP, or 4MP) determines the per-image credit tier; aspect_ratio, output_format, image_urls, prompt_upsampling, safety_tolerance, and seed do not change the price. Live credit amounts come from the backend catalog. Reference URLs must be publicly reachable HTTP(S) links.
Sources
Live API pricing
FLUX.2 Max API pricing
Transparent pay-as-you-go rates by tier. Failed tasks are automatically refunded.
| Spec | Wizzx price |
|---|---|
1MP
| 87 credits / image ≈ $0.087 / image 100 images ≈ $8.700 · 1,000 images ≈ $87.00 |
2MP
| 124 credits / image ≈ $0.124 / image 100 images ≈ $12.40 · 1,000 images ≈ $124.00 |
3MP
| 160 credits / image ≈ $0.16 / image 100 images ≈ $16.00 · 1,000 images ≈ $160.00 |
4MP
| 197 credits / image ≈ $0.197 / image 100 images ≈ $19.70 · 1,000 images ≈ $197.00 |
1 credit = $0.001 USD. The final deduction returned by the API is authoritative.
Defaults to 2MP pricing when resolution is omitted; supports up to 8 reference images at no extra cost.
Integrate the FLUX.2 Max API
Every request is asynchronous: submit the task, keep the task ID, then poll for the result. The body below uses the model's default settings.
- 1
Get a FLUX.2 Max 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.
curl -X POST \
https://api.wizzx.ai/api/v1/task/submit/flux-2-max \
-H "Authorization: Bearer $WIZZX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aspect_ratio": "1:1",
"resolution": "2MP",
"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-2-max", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"aspect_ratio": "1:1",
"resolution": "2MP",
"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-2-max",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"aspect_ratio": "1:1",
"resolution": "2MP",
"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.2 Max API parameters
The 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 | 1:1 | auto · 1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3 · 21:9 · 9:21 | — |
resolutionResolution | string | 2MP | 1MP · 2MP · 3MP · 4MP | Resolution is the only setting that changes the price. |
output_formatOutput Format | string | jpeg | jpeg · png · webp | — |
prompt_upsamplingPrompt Enhancement | boolean | — | — | Expand the prompt with additional visual detail. |
safety_toleranceSafety Tolerance | integer | — | 0 – 5 | 0 = strictest, 5 = most permissive |
seedSeed | integer | — | 0 – … | Random seed for reproducibility |
Compare Flux API versions
All 4 Flux versions live on Wizzx. Prices are each version's lowest tier.
| Version | Mode | Output | Price |
|---|---|---|---|
FLUX.2 MaxThis model 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 |
flux-3-video | Text / image → video | drafthdfhd5–20s | $0.093/second |
API integration questions
- How much does the FLUX.2 Max API cost?
- On Wizzx the FLUX.2 Max API starts at $0.087/image (87 credits). Each tier above lists its parameters and billing unit, and failed tasks are refunded.
- What is the FLUX.2 Max API model ID?
- flux-2-max. Submit tasks to POST /api/v1/task/submit/flux-2-max with your API key.
- 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.2 Max API for free?
- Yes. New accounts start with $0.20 in free credits, about 2 images at the starting price.
- Is this the official FLUX.2 Max API?
- No. FLUX.2 Max 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.
- Does the submit response contain the generated file?
- Generation is asynchronous. The submit response identifies the task. Query its status until it finishes, then use the output URLs in the result. See the API reference for response fields and error handling.
Wizzx API
Start building with the FLUX.2 Max API
New accounts get $0.20 in free credits. Pay as you go with no subscription, and failed tasks are refunded.