← All Models
GPT Image 2.5 Sunburst
OpenAI image generation and precision editing. Supports custom dimensions up to the 4K pixel budget, transparent PNG/WebP output, and up to 16 input images with optional masks. One finished image per Router job. Cost depends on actual text/image token usage; text output is not billed.
Specifications
| Provider | OpenAI |
| Category | Image |
Pricing (Starter tier)
650.00 credits / 1M text input tokens
162.50 credits / 1M cached text input tokens
1,040.00 credits / 1M image input tokens
260.00 credits / 1M cached image input tokens
3,900.00 credits / 1M image output tokens
Higher tiers get volume discounts. See tiers
Quick Start
curl https://query.genx.sh/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-image-2.5-sunburst","params":{"prompt":"A studio product photograph of a glass perfume bottle","size":"1024x1024","quality":"high"}}'
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | required | — | Generation or editing instructions, 1 to 32000 characters |
size |
string | optional | auto |
auto or WIDTHxHEIGHT. Edges divisible by 16, at most 3840px, ratio at most 3:1, 655360 to 8294400 total pixels. Above 2560x1440 is experimental. |
aspect_ratio |
string | optional | — | 1:1, 3:2, 2:3, 16:9, 9:16, 4:3, 3:4. Explicit size takes precedence. |
quality |
string | optional | auto |
low, medium, high, xhigh, max, auto |
background |
string | optional | auto |
auto, opaque, transparent. Transparency requires png or webp. |
output_format |
string | optional | png |
png, jpeg, webp |
output_compression |
number | optional | — | Integer 0-100, jpeg/webp only |
moderation |
string | optional | auto |
auto or low, for generation and editing |
image |
string|array | optional | — | Edit input: HTTPS URL or PNG/JPEG/WebP data URI, or array. images, image_url, input_image_url and source_image are aliases; use only one primary field. |
reference_images |
array | optional | — | Additional source images. Maximum 16 images total. URL strings or image_url objects; provider file IDs are not accepted. |
mask |
string|object | optional | — | PNG mask URL or data URI (or image_url object). Transparent areas are edited; must match the first source image dimensions. |
n |
number | optional | 1 |
Router supports one image per job. Submit separate jobs for multiple outputs. |
Availability
GPT Image 2.5 Sunburst is available in the GenX Pro App and via the GenX Router API.