A fast, low-cost 1-4 step model for drafts, batch generation, and rapid prompt exploration.
Provider: Black Forest Labs
Category: image generation
Endpoint: /v1/tasks
Status: Available
Cost: See live page pricing
A fast, low-cost 1-4 step model for drafts, batch generation, and rapid prompt exploration.
Pricing
Standard Usage
Choose the output image file format
How closely to follow the prompt; higher means closer; Range: 1 - 20
Inference steps used for generation; Range: 1 - 12, Integer only
Enable content safety filtering
Ready for generation
Configure your parameters and click "Run" to see the output here.
Choose an adjacent model by task, output tier, and reference-image needs.
A general-purpose route with optional references and broad aspect-ratio coverage.
A fast, low-cost 1-4 step model for drafts, batch generation, and rapid prompt exploration.
The Playground and API use the same model ID: flux-schnell/text-to-image. This endpoint accepts text prompts only; reference-image editing uses the separate Image-to-Image route.
Explore reference limits, sizes, formats and quality settings for FLUX.1 [schnell].
Final cost depends on the output tier and input add-ons. Check the live page price and task record for the final charge.
Choose the destination and aspect ratio before composing subject, scene, material, light, and text.
Copy a minimal request below. See Docs for parameters, callbacks, task retrieval, and errors.
POST /v1/tasksflux-schnell/text-to-imagecurl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "flux-schnell/text-to-image",
"input": {
"prompt": "A cinematic product campaign with sharp text",
"aspect_ratio": "4:3",
"num_inference_steps": 4,
"guidance_scale": 3.5,
"output_format": "jpeg"
}
}'The create request immediately returns a taskId; image generation continues asynchronously.
A fast, low-cost 1-4 step model for drafts, batch generation, and rapid prompt exploration.
No. This route is text-to-image only.
The page exposes 1-12 inference steps and 1:1, 16:9, 9:16, 4:3, 3:4; use the Playground contract for the final available set.
Billing is per successful generated image. Resolution or quality differences, when present, are reflected by the live page price.
POST an asynchronous task to /v1/tasks with model set to flux-schnell/text-to-image and put generation fields inside input.
Start with the subject, environment, and visual goal, then add material, light, camera, and exact text.
Draft
1-12 inference steps
Final
1-12 inference steps
Generate in 1-12 inference steps across 5 supported aspect ratios.
Confirm the result in Playground, then reuse the same prompt and model ID in an asynchronous task.