All models
Fast
flux-schnellFLUX.1 Schnell
Ultra-fast 12B model. Steps hard-capped at 8. Best for quick drafts and previews.
Best for: Quick previews, high-volume draft generation, rapid iteration. Not for final production images.
Quality steps
8
Fast preset
4
Max steps
8
Negative prompt
No
cURL
POST a single request to generate an image with FLUX.1 Schnell.
curl -X POST https://imageapi.org/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a cinematic mountain landscape at sunrise",
"model": "flux-schnell",
"width": 1024,
"height": 1024,
"num_inference_steps": 8
}'Python
import requests
resp = requests.post(
"https://imageapi.org/api/v1/generate",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"prompt": "a cinematic mountain landscape at sunrise",
"model": "flux-schnell",
"width": 1024,
"height": 1024,
"num_inference_steps": 8,
},
timeout=120,
)
print(resp.json())Node.js
const res = await fetch("https://imageapi.org/api/v1/generate", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
prompt: "a cinematic mountain landscape at sunrise",
model: "flux-schnell",
width: 1024,
height: 1024,
num_inference_steps: 8,
}),
});
console.log(await res.json());Plan availability
FLUX.1 Schnell is included on the following plans.
- free
- basic
- pro
- enterprise
Frequently asked questions
How do I call the FLUX.1 Schnell model?
Send a POST request to https://imageapi.org/api/v1/generate with the body { "prompt": "...", "model": "flux-schnell" } and an Authorization: Bearer YOUR_API_KEY header.
What is FLUX.1 Schnell best for?
Quick previews, high-volume draft generation, rapid iteration. Not for final production images.
Does FLUX.1 Schnell support negative prompts?
No — FLUX.1 Schnell does not support negative prompts. Use a different model such as FLUX.2 Klein 9B or Stable Diffusion XL if you need this feature.
What inference step counts work best for FLUX.1 Schnell?
Use ~8 steps for production quality and ~4 steps when you want lower latency. The hard cap is 8 steps.
Which plans include FLUX.1 Schnell?
FLUX.1 Schnell is available on free, basic, pro, enterprise plans.
Ready to ship with FLUX.1 Schnell?
Free tier, transparent pricing, and a single REST endpoint for 9 models.
