Generate images from text with GPT Images 2.5 Flare. Use the default SeeAPI provider for single-image 1K–4K output, or select fal for provider-specific quality, format, background, and native multi-image controls.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
1K: 10 credits/gen (≈ $0.037/gen)
2K: 15 credits/gen (≈ $0.056/gen)
4K: 22 credits/gen (≈ $0.082/gen)
After submitting a task, use the unified query endpoint to check progress and retrieve results:
For production workloads, provide callback_url and verify webhook signatures. Use the task-status endpoint when a callback is delayed.
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
/v1/generationsA new, stable key for each generation request. Reuse it only when retrying the same request body.
gpt-image-25-flare-text-001The model ID shown in the selected model's API documentation.
gpt-images-2-5-flaregpt-images-2-5-flaregpt-images-2-5-flareText to Image. Use the Endpoint ID shown in this model's API documentation.
text-to-imagetext-to-imagetext-to-imageSelect a public processing provider. Omit this field to use the default SeeAPI provider.
seeapifalseeapiseeapiModel input validated against the selected Provider form_schema and api_policy.
Provider parameters
seeapiDefault ProviderDescribe the image you want to generate, including subject, composition, lighting, style, and any text that must appear.
A modern glass pavilion at sunrise, natural light, architectural photographyChoose the output aspect ratio for the default SeeAPI provider.
auto1:13:22:34:33:416:99:1621:927:1616:279:88:9auto16:9Choose the output resolution for the default SeeAPI provider.
1K2K4K1K2KChoose automatic, transparent, or opaque image background.
autotransparentopaqueautofalDescribe the image you want fal to generate, including subject, composition, lighting, style, and required text.
A cinematic city at nightChoose the output aspect ratio for fal.
auto1:13:49:164:316:94:3Choose the fal generation quality level.
autolowmediumhighxhighmaxhighChoose whether fal determines the background automatically or generates an opaque or transparent background.
autotransparentopaqueautoSet the number of images fal should generate in one upstream request.
1Set compression for JPEG or WebP output.
30Choose the fal image output format.
pngjpegwebppngAn absolute HTTPS URL that receives the terminal generation Webhook.
https://client.example.com/webhooks/seeapitask_xxxgpt-images-2-5-flaretext-to-imageseeapifalseeapi: SeeAPIfal: falseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
10Consumed public credits, with up to three decimal places.
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-images-2-5-flaretext-to-imageseeapifalseeapi: SeeAPIfal: falseeapiprocessingprocessingEstimated public credits. Values can include up to three decimal places.
10Consumed public credits, with up to three decimal places.
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
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "gpt-image-25-flare-text-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "gpt-images-2-5-flare",
"endpoint": "text-to-image",
"provider": "seeapi",
"input": {
"prompt": "A modern glass pavilion at sunrise, natural light, architectural photography",
"aspect_ratio": "16:9",
"resolution": "2K",
"background": "auto"
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "gpt-images-2-5-flare",
"endpoint": "text-to-image",
"provider": "seeapi",
"status": "processing",
"estimated_credits": 10,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}