Edit one or more input images with GPT Image 2.6 Flare. Choose PNG, JPEG, WebP, GIF, or SVG output, provide optional mask or markup guidance, 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/generationsA new, stable key for each generation request. Reuse it only when retrying the same request body.
order-20260818-001The model ID shown in the selected model's API documentation.
gpt-image-2-6-flaregpt-image-2-6-flaregpt-image-2-6-flareImage Edit. Use the Endpoint ID shown in this model's API documentation.
image-to-imageimage-to-imageimage-to-imageOptional public Provider ID. Omit it to use the Endpoint default Provider (seeapi).
seeapiseeapiseeapiModel input validated against the selected Provider form_schema and api_policy.
Provider parameters
seeapiDefault ProviderText prompt describing the requested edit.
A cinematic city at nightOne or more input image URLs to edit.
["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, WebP, or SVG output.
auto1:13:22:34:33:45:44:516:99:162:11:221:99:213:11:3autoStatic-image resolution tier for PNG, JPEG, WebP, or SVG output.
1K2K4K1KOutput file format for the edited result.
pngjpegwebpgifsvgpngJPEG/WebP compression level.
Number of frames in a GIF output.
Duration of each GIF frame in milliseconds.
Requested image quality level.
lowmediumhighxhighmaxautomediumRequested generation complexity level.
lowmediumhighhighBackground rendering mode.
autoopaquetransparentautoContent moderation level.
autolowlowAn absolute HTTPS URL that receives the terminal generation Webhook.
https://client.example.com/webhooks/seeapitask_xxxgpt-image-2-6-flareimage-to-imageseeapiseeapi: SeeAPIseeapiprocessingprocessingPublic credits reserved before provider-cost settlement. Values can include up to three decimal places.
20Consumed public credits, with up to three decimal places. In prepaid mode, the reserved amount is reported separately as precharge_credit.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falsetask_xxxgpt-image-2-6-flareimage-to-imageseeapiseeapi: SeeAPIseeapiprocessingprocessingPublic credits reserved before provider-cost settlement. Values can include up to three decimal places.
20Consumed public credits, with up to three decimal places. In prepaid mode, the reserved amount is reported separately as precharge_credit.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-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:
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-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-image-2-6-flare",
"endpoint": "image-to-image",
"provider": "seeapi",
"input": {
"prompt": "A cinematic city at night",
"input_images": [
"https://client.example.com/input.png"
],
"aspect_ratio": "auto",
"resolution": "1K",
"output_format": "png",
"quality": "medium",
"complexity": "high",
"background": "auto",
"moderation": "low"
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "gpt-image-2-6-flare",
"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
}