OpenRouterText to imageComing soon
openai/gpt-5-image
openai/gpt-5-image is a text to image tool from OpenRouter that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Text description of the desired image |
n | number (whole) 1 to 10 | — | Upper bound on the number of images to generate (1-10). Providers may return fewer images, and providers that only support single-image generation reject n > 1. |
quality | one of auto, low, medium, high | — | Rendering quality. Providers without a quality knob ignore this. |
background | one of auto, transparent, opaque | — | Background treatment. `transparent` requires an output_format that supports alpha (png or webp). |
aspect_ratio | one of 1:1, 3:2, 2:3, auto | — | Normalized aspect ratio of the generated image. Providers clamp to their supported subset. |
input_references | number (whole) 0 to 16 | — | Reference images to guide image-to-image generation, as base64 data URLs or HTTP(S) URLs. |
output_compression | number (whole) 0 to 100 | — | Compression level (0-100) for webp/jpeg output. Ignored for png and by providers without a compression knob. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "openrouter",
"model": "openai/gpt-5-image",
"input": {
"prompt": "a red panda astronaut floating in space, studio lighting"
}
}'