Generate images or GIF animations from a text prompt with GPT Image 2.6 Sunburst. Choose a static-image ratio and resolution, or use GIF frame controls, then query the task or receive a terminal webhook.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
Credits are charged based on actual usage. View the final credit usage in your results.
/v1/generationsStable key that makes retries of the same request idempotent.
order-20261110-001Model ID for the generation model.
gpt-image-2-6-sunburstgpt-image-2-6-sunburstgpt-image-2-6-sunburstEndpoint capability to invoke.
text-to-imagetext-to-imagetext-to-imageOptional public Provider ID that selects the implementation for this request.
seeapifalseeapiseeapiProvider-specific generation parameters validated against the selected Provider's public input contract.
Provider parameters
seeapiDefault ProviderInstruction describing the image or animation to create. Be explicit about subject, composition, style, lighting, and any text to render.
A cinematic city at nightStatic-image aspect-ratio preset.
auto1:13:22:34:33:45:44:516:99:162:11:221:99:213:11:3auto16:9Static-image resolution tier.
1K2K4K1K1KOutput file format.
pngjpegwebpgifsvgpngpngJPEG/WebP compression level.
Number of frames in a GIF output.
Duration of each GIF frame in milliseconds.
Defines the pixel dimensions of each frame in the generated GIF. This parameter is used only for GIF output. Pass auto or a value in WIDTHxHEIGHT format; both dimensions must be divisible by 16. If omitted, the service uses 512x512. Do not use aspect-ratio values such as 1:1
512x512Requested image quality level.
lowmediumhighxhighmaxautomediummediumPlanning and generation complexity.
lowmediumhighhighhighBackground rendering mode.
autoopaquetransparentautoautoContent moderation strength applied to the generation.
autolowlowautofalText prompt that describes the image to generate.
A cinematic city at nightPreset aspect ratio.
auto1:1_HD1:13:49:164:316:9autoOutput resolution or quality preset for the Provider.
autolowmediumhighhighControls the requested reasoning effort.
lowmediumhighxhighmaxhighBackground rendering mode.
autotransparentopaqueautoMaximum number of image assets requested from the Provider.
1Image file format for the generated output.
jpegpngwebpgifpngCompression level for JPEG or WebP output.
Number of frames for GIF output.
Duration of each GIF frame in milliseconds.
Custom output dimensions grouped.
Custom output width in pixels.
Custom output height in pixels.
Absolute HTTPS URL that receives the terminal generation webhook.
https://client.example.com/webhooks/seeapiEnvelope containing the accepted generation task metadata and initial credit counters.
Unique task identifier used to query the generation status.
task_xxxModel ID used for this generation.
gpt-image-2-6-sunburstEndpoint ID used for this generation.
text-to-imagePublic Provider selected for this generation.
seeapifalseeapi: SeeAPIfal: falseeapiCurrent task status. A 202 response uses processing.
processingprocessingPublic credits reserved before provider-cost settlement. Values can include up to three decimal places.
20Public credits reported at response time. This is typically 0 while the task is processing; query the task after a terminal status for actual usage.
0Public credits refunded at response time, if any, for the accepted task.
0Creation timestamp in ISO 8601 format.
2026-08-18T10:00:00ZTimestamp of the latest task update in ISO 8601 format.
2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier creation request; this field is part of the creation response.
falseEnvelope containing the accepted generation task metadata and initial credit counters.
Unique task identifier used to query the generation status.
task_xxxModel ID used for this generation.
gpt-image-2-6-sunburstEndpoint ID used for this generation.
text-to-imagePublic Provider selected for this generation.
seeapifalseeapi: SeeAPIfal: falseeapiCurrent task status. A 202 response uses processing.
processingprocessingPublic credits reserved before provider-cost settlement. Values can include up to three decimal places.
20Public credits reported at response time. This is typically 0 while the task is processing; query the task after a terminal status for actual usage.
0Public credits refunded at response time, if any, for the accepted task.
0Creation timestamp in ISO 8601 format.
2026-08-18T10:00:00ZTimestamp of the latest task update in ISO 8601 format.
2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier creation request; this field is part of the creation response.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
After submitting a task, use the unified query endpoint to check progress and retrieve results:
For production workloads, prefer callbacks to polling so you can process terminal events as soon as they arrive.
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20261110-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-6-sunburst",
"endpoint": "text-to-image",
"provider": "seeapi",
"input": {
"prompt": "A cinematic city at night",
"aspect_ratio": "16:9",
"resolution": "1K",
"output_format": "png",
"size": "512x512",
"quality": "medium",
"complexity": "high",
"background": "auto",
"moderation": "auto"
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "gpt-image-2-6-sunburst",
"endpoint": "text-to-image",
"provider": "seeapi",
"status": "processing",
"precharge_credit": 20,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}