curl --request POST \
--url https://api.modellix.ai/api/v1/openai/gpt-image-2.5-flare \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic mountain landscape at golden hour"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "12345678-1234-4234-8234-123456789abc",
"model_id": "openai/gpt-image-2.5-flare",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/12345678-1234-4234-8234-123456789abc"
}
}
}GPT Image 2.5 Flare
[Core Function] GPT Image 2.5 Flare is a speed-oriented text-to-image generation model. [Strengths] Supports ten aspect ratios, resolution tiers up to 4K, and transparent backgrounds. [Best For] Landscape illustrations, product posters, and transparent icons. [Limitations] Do NOT use this for editing an existing image or selecting arbitrary pixel dimensions. [Routing] Choose this variant when speed is the priority; use GPT Image 2.5 Sunburst when image quality is the priority. Use GPT Image 2.5 Flare Edit when input images are required.
curl --request POST \
--url https://api.modellix.ai/api/v1/openai/gpt-image-2.5-flare \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A cinematic mountain landscape at golden hour"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "12345678-1234-4234-8234-123456789abc",
"model_id": "openai/gpt-image-2.5-flare",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/12345678-1234-4234-8234-123456789abc"
}
}
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Request payload for GPT Image 2.5 Flare.
Request payload shared by GPT Image 2.5 Sunburst and Flare.
Image description, from 1 to 32,000 Unicode characters.
1 - 32000"A cinematic mountain landscape at golden hour"
Output aspect ratio. Can be set independently of resolution; omitting it uses 1:1.
1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 "16:9"
Output resolution tier. Can be set independently of aspect_ratio; omitting it uses 1K. Pixel dimensions depend on both parameters: 1:1 + 1K gives 1024x1024, 1:1 + 4K gives 2880x2880, and 16:9 + 4K gives 3840x2160.
1K, 2K, 4K "4K"
Output quality level. Defaults to low.
low, medium, high, xhigh, max "high"
Background mode: auto lets the model choose, opaque requests an opaque background, and transparent requests a transparent background with PNG output.
auto, opaque, transparent "transparent"
Response
Task submitted successfully. Poll the URL in data.get_result.url using Query Task Result to retrieve the generated image.