Async jobs
Queue generation, poll status, and return image URLs when render completes.
Flux.2 Klein API brings Flux image generation into LumixAI for creative prompts, reference-aware editing, realistic scenes, and high-detail production work.

Model overview
Lean Flux.2 option for fast drafts, prompt exploration, and lower-cost visual iteration.
Use Flux.2 Klein through LumixAI when you want one stable REST workflow for prompts, model selection, async jobs, usage tracking, and credit pricing. The page targets searches for Flux.2 Klein API, Flux.2 Klein image API, and Black Forest Labs image generation API.
fast drafts
bulk variants
concept sketches
Developer workflow
Queue generation, poll status, and return image URLs when render completes.
Flux.2 Klein starts at 4 credits per image before conditional rules.
await fetch("https://api.example.com/v1/images/jobs", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": process.env.LUMIXAI_API_KEY
},
body: JSON.stringify({
model: "flux-2-klein",
prompt: "premium product image, clean studio lighting",
aspectRatio: "16:9",
resolution: "2k"
})
});SEO content source map
Next step