Async jobs
Queue generation with /v1/images/jobs, poll /v1/images/jobs/{id}, then download the finished image.
MAI Image 2.5 API is a LumixAI preset for teams that want a practical image generation endpoint with simple pricing and dependable defaults.

Model overview
MAI Image 2.5 image generation through the LumixAI API with live model pricing from the backend.
Use MAI Image 2.5 through LumixAI when you want one stable REST workflow for prompts, model selection, async jobs, polling, usage tracking, and credit pricing. The page targets searches for MAI Image 2.5 API, MAI Image 2.5 image API, and LumixAI image generation API.
AI image generation
production workflows
API integrations
Developer workflow
Queue generation with /v1/images/jobs, poll /v1/images/jobs/{id}, then download the finished image.
MAI Image 2.5 starts at 1 credit per image before conditional rules.
await fetch("https://api.lumixai.live/v1/images/jobs", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": process.env.LUMIXAI_API_KEY
},
body: JSON.stringify({
model: "mai-image-2-5",
prompt: "premium product image, clean studio lighting",
aspectRatio: "auto",
resolution: "2k"
})
});SEO content source map
Next step