gpt-image-2-6-sunburst-text-to-image (single-image generation only; n > 1 is not supported).output_format defaults to png, quality defaults to medium, resolution defaults to 1K, and aspect_ratio / background default to auto.background: "transparent" is supported at resolution: "1K" with output_format set to png or webp.output_format is svg, svg.model accepts gpt-6-sol, gpt-5.6-luna (default), or gpt-5.6-terra.| Parameter | Default | Notes |
|---|---|---|
frame_count | 9 | Integer 2β16. |
frame_duration_ms | 200 | Duration per frame in integer milliseconds. Minimum 20, rounded to 10 ms. |
size | auto | Per-frame pixel size. Width and height must be multiples of 16. Omit or pass auto for 512Γ512. Do not pass ratio names such as 1:1. |
512x512 works for all 2β16 frames; 768x768 supports at most 12 frames. 1024x1024 exceeds the per-side sheet limit even with only 2 frames.GET /api/v1/client/tasks/{taskId}callBackUrl parameter so your service can receive completion notifications instead of polling for task status.curl --location 'https://api.emix.ai/api/v1/client/tasks' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-image-2-6-sunburst-text-to-image",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "A cinematic product photo of a red maple leaf on dark stone, soft side light, shallow depth of field, with a small paper tag that reads \"BATCH 07\".",
"aspect_ratio": "16:9",
"resolution": "1K",
"quality": "medium",
"background": "auto",
"output_format": "png"
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_gptimage_1765180586443"
}
}