
GPT Image 1.5
Image model
APIUpdated
Call GPT Image 1.5 with the model id openai/gpt-image-1.5 over the SpecialX HTTP API, the generate_image MCP tool or the specialx CLI. The fields and defaults below are read from its input schema.
Required fields: prompt. Every other field is optional.
| Field | Type | Required | Default | Allowed values |
|---|---|---|---|---|
| prompt | string | Yes | None | Any |
| quality | string | No | high | low, medium, high |
| background | string | No | auto | auto, transparent, opaque |
| moderation | string | No | auto | auto, low |
| input_images | array of strings | No | None | Any |
| aspect_ratio | string | No | 1:1 | 1:1, 3:2, 2:3 |
| output_format | string | No | webp | png, jpg, webp |
| input_fidelity | string | No | low | low, high |
| number_of_images | number | No | 1 | min 1, max 4 |
| output_compression | number | No | 90 | min 0, max 100 |
curl -X POST https://specialx.ai/api/v1/generations \
-H "Authorization: Bearer sx_..." \
-H "Content-Type: application/json" \
-d '{
"type": "image",
"model": "openai/gpt-image-1.5",
"input": {
"prompt": "Describe the shot",
"quality": "high",
"background": "auto",
"moderation": "auto",
"aspect_ratio": "1:1",
"output_format": "webp",
"input_fidelity": "low",
"number_of_images": 1,
"output_compression": 90
}
}'
This example request costs 4 credits.
Response (201):
{"task_id":"uuid","status":"queued"}
The response carries a task_id. Poll GET https://specialx.ai/api/v1/generations/{task_id} until status is completed or failed. status is one of queued, processing, completed, failed.
urls: Output media URLs (completed only)error: Failure reason (failed only)Over MCP, call generate_image with model and input, then get_task with the task_id.
specialx call generate_image model=openai/gpt-image-1.5 \
input='{"prompt":"Describe the shot","quality":"high","background":"auto","moderation":"auto","aspect_ratio":"1:1","output_format":"webp","input_fidelity":"low","number_of_images":1,"output_compression":90}'
specialx call get_task task_id=<id>
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing · One run of GPT Image 1.5 at default settings uses 4 credits.
The model id is openai/gpt-image-1.5.
Required fields: prompt. Every other field is optional.
The response carries a task_id. Poll GET https://specialx.ai/api/v1/generations/{task_id} until status is completed or failed.
This example request costs 4 credits.