Edit one or more input images with GPT Image 2.6 Sunburst. Choose PNG, JPEG, WebP, or GIF output, provide optional masks or markup, then query the task or receive a terminal webhook for the result.
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-002Model ID for the generation model.
gpt-image-2-6-sunburstgpt-image-2-6-sunburstgpt-image-2-6-sunburstEndpoint capability to invoke.
image-to-imageimage-to-imageimage-to-imageOptional public Provider ID that selects the implementation for this request.
seeapifalseeapiseeapiProvider-specific image editing parameters validated against the selected Provider's public input contract.
Provider parameters
seeapiDefault ProviderText instruction describing how to edit the input images.
Update the color palette to cool blue tones while preserving the compositionArray of source image URLs used for editing.
["https://client.example.com/input.png"]Optional mask image URL defining the region to edit.
Optional transparent PNG markup URL overlaid on the first input image to indicate the edit region.
Static-image aspect-ratio preset for PNG, JPEG, or WebP output.
auto1:13:22:34:33:45:44:516:99:162:11:221:99:213:11:3auto16:9Static-image resolution tier.
1K2K4K1K1KOutput file format for the edited result.
pngjpegwebpgifsvgpngpngJPEG/WebP compression level.
Number of frames in a GIF output.
Duration of each GIF frame in milliseconds.
Requested image quality level.
lowmediumhighxhighmaxautomediummediumControls the requested editing complexity.
lowmediumhighhighhighTransparent background is unavailable for JPEG.
autoopaquetransparentautoautoContent moderation strength applied to the edit.
autolowlowautofalText instruction describing how to edit the input images.
A cinematic city at nightArray of still image URLs to edit.
["https://client.example.com/input.png"]Optional mask image URL defining the edit region.
Optional PNG markup image URL defining the edit region.
Preset aspect ratio, or use custom dimensions with image_size.
auto1:1_HD1:13:49:164:316:9autoOutput resolution or quality preset for the Provider.
autolowmediumhighhighControls the requested reasoning effort.
lowmediumhighhighBackground rendering mode.
autotransparentopaqueautoMaximum number of edited image assets requested from the Provider.
1Image file format for the edited 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 under image_size.
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 generation task metadata and 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.
image-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 consumed for this generation.
0Public credits refunded for this generation, if any.
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 request.
falseEnvelope containing the generation task metadata and 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.
image-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 consumed for this generation.
0Public credits refunded for this generation, if any.
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 request.
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-002",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-6-sunburst",
"endpoint": "image-to-image",
"provider": "seeapi",
"input": {
"prompt": "Update the color palette to cool blue tones while preserving the composition",
"input_images": [
"https://client.example.com/input.png"
],
"aspect_ratio": "16:9",
"resolution": "1K",
"output_format": "png",
"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": "image-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
}