All models
Balancedflux-2-klein-9b

FLUX.2 Klein 9B

Best balanced model. Strong prompt following, sharp textures, commercial-grade quality.

Best for: Commercial photography, products, interiors, portraits on paid plans. Strong prompt adherence.

Quality steps
30
Fast preset
20
Max steps
50
Negative prompt
Yes
cURL
POST a single request to generate an image with FLUX.2 Klein 9B.
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-2-klein-9b",
    "width": 1024,
    "height": 1024,
    "num_inference_steps": 30
  }'
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-2-klein-9b",
        "width": 1024,
        "height": 1024,
        "num_inference_steps": 30,
    },
    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-2-klein-9b",
    width: 1024,
    height: 1024,
    num_inference_steps: 30,
  }),
});
console.log(await res.json());
Plan availability
FLUX.2 Klein 9B is included on the following plans.
  • basic
  • pro
  • enterprise

Frequently asked questions

How do I call the FLUX.2 Klein 9B model?
Send a POST request to https://imageapi.org/api/v1/generate with the body { "prompt": "...", "model": "flux-2-klein-9b" } and an Authorization: Bearer YOUR_API_KEY header.
What is FLUX.2 Klein 9B best for?
Commercial photography, products, interiors, portraits on paid plans. Strong prompt adherence.
Does FLUX.2 Klein 9B support negative prompts?
Yes — pass a negative_prompt field to steer FLUX.2 Klein 9B away from unwanted concepts.
What inference step counts work best for FLUX.2 Klein 9B?
Use ~30 steps for production quality and ~20 steps when you want lower latency. The hard cap is 50 steps.
Which plans include FLUX.2 Klein 9B?
FLUX.2 Klein 9B is available on basic, pro, enterprise plans.

Ready to ship with FLUX.2 Klein 9B?

Free tier, transparent pricing, and a single REST endpoint for 9 models.