OPGPT-5.4 Image 2
OpenAI · Image · about $0.061 a request · 1 route
[GPT-5.4](https://openrouter.ai/openai/gpt-5.4) Image 2 combines OpenAI's GPT-5.4 model with state-of-the-art image generation capabilities from GPT Image 2. It enables rich multimodal workflows, allowing users to seamlessly move between reasoning, coding, and...
Model ID openai/gpt-5.4-image-2
Quick try
Quickstart · API, SDK & MCP
curl https://gizstack.com/v1/generations \
-H "Authorization: Bearer $GIZSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.4-image-2", "prompt": "A cinematic shot of a sunlit studio", "wait": 30}'from openai import OpenAI
client = OpenAI(base_url="https://gizstack.com/v1", api_key="$GIZSTACK_API_KEY")
res = client.images.generate(model="openai/gpt-5.4-image-2", prompt="A sunlit studio")
print(res.data[0].url)claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
--header "Authorization: Bearer $GIZSTACK_API_KEY"Request fields
| Field | Values | Default |
|---|---|---|
| prompt | long | |
| outputFormat | png, jpeg, webp | png |
| aspectRatio | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, auto | 1:1 |
| quality | low, medium, high | low |
| background | auto, opaque | auto |
| numberResults | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 | 1 |
| inputReferences | files | |
| outputCompression | number | |
| output_compression | number | |
| size | text |