# GPT Image 2.5 API on Wizzx - Model ID: `gpt-image-2.5` (OpenAI GPT Image 2.5) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/gpt-image-2.5` - Status: `GET https://api.wizzx.ai/api/v1/task/{task_id}` - Idempotency: optional `Idempotency-Key: ` header on submit - Auth: header `Authorization: Bearer $WIZZX_API_KEY` (server-side only) - Price: from $0.015/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/gpt-image-2.5 - JSON Schema: https://wizzx.ai/api/models/gpt-image-2.5/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-gpt-image-2-5 ## Flow 1. POST the JSON body to the submit URL. The response contains `data.task_id`. 2. Poll `GET /api/v1/task/{task_id}` until `data.status` is `SUCCEEDED`, then read the output URLs from `data.result_urls`. 3. Stop on `FAILED` or `REVIEW_REQUIRED`. Do not resubmit automatically. ## Parameters | Field | Type | Required | Default | Allowed | Description | |---|---|---|---|---|---| | `prompt` | string | yes | | ≤ 20,000 | Describe the image to generate or the edit to apply. | | `image_urls` | url[] ≤ 16 | no | | | Optional. Add up to 16 images (JPEG, PNG, or WebP) to switch from generation to image editing. Reference images are not charged. | | `version` | string | no | flare | flare · sunburst | Both versions cost the same. | | `aspect_ratio` | string | no | auto | auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 5:4 · 4:5 · 21:9 | | | `resolution` | string | no | 1K | 1K · 2K · 4K | | ## Example body ```json { "version": "flare", "aspect_ratio": "auto", "resolution": "1K", "prompt": "A product shot of a glass perfume bottle on wet stone" } ```