Async jobs
Queue generation with /v1/images/jobs, poll /v1/images/jobs/{id}, then download the finished image.
GPT Image 2 API gives teams a GPT image generation option with practical prompt reasoning, strong instruction following, and a clean async API workflow.

Model overview
GPT Image 2 image generation through the LumixAI API with live model pricing from the backend.
Use GPT Image 2 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 GPT Image 2 API, GPT Image 2 image API, and OpenAI 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.
GPT Image 2 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: "gpt-2",
prompt: "premium product image, clean studio lighting",
aspectRatio: "auto",
resolution: "1k"
})
});SEO content source map
Next step