GPT Image 2
OpenAI GPT Image 2 – renders text in 50+ languages. Resolution-based pricing (1K/2K/4K). Up to 16 reference images per call.
Back to docs
Imageopenai/gpt-image-2$0.0380 / imageFeatured
Base URL
https://api.zekron.tech/api/v1Supported modes
text-to-imageimage-to-image
Parameters
Pass these inside the input object when creating a task.
| Field | Required |
|---|---|
| prompt | required |
| aspect_ratio | optional |
| resolution | optional |
| reference_urls | optional |
| seed | optional |
| count | optional |
promptrequired
aspect_ratiooptional
resolutionoptional
reference_urlsoptional
seedoptional
countoptional
Example request
bash
curl -X POST https://api.zekron.tech/api/v1/tasks \
-H "Authorization: Bearer zk_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2",
"input": {
"prompt": "a cinematic shot of a lighthouse at golden hour",
"aspect_ratio": "16:9",
"resolution": "1080p",
"seed": 42,
"count": 1
}
}'Example response
json
{
"id": "zk_task_8f3a2b1c9d",
"model": "openai/gpt-image-2",
"status": "processing",
"created_at": "2026-06-10T12:00:00Z"
}Poll GET https://api.zekron.tech/api/v1/tasks/{id} until status is success or failed.
Pricing
This model is billed at $0.0380 / image. You are only charged for successful generations — failed tasks are never billed. Generated outputs are retained for 30 days before they expire.