NEWVeo 3.1 & Kling 2.5 now live on the API
NEWVeo 3.1 & Kling 2.5 now live on the API
← Back to all models
Models

gpt-image-2

Image

General image generation, text/img-to-image, 27 fixed sizes.

POST/v1/videos
Modes
text→img · img→img
Size
10 ratios × 1K/2K/4K (30 total) or auto
Seconds
—(image)
Refs
up to 5, optional
Billing
per image × resolution (1K/2K/4K)

Supported sizes

1K
1024x10241024x15361536x10241152x15361536x11521216x15201520x12161536x864864x15362016x864
2K
2048x20481344x20162016x13441536x20482048x15361600x20002000x16002048x11521152x20482688x1152
4K
2880x28802336x35043504x23362448x32643264x24482560x32003200x25603840x21602160x38403360x1440

Model notes

  • Aspect ratios (10): 1:1 · 3:2 · 2:3 · 4:3 · 3:4 · 5:4 · 4:5 · 16:9 · 9:16 · 21:9.
  • size must be one of the 30 fixed sizes below or auto; other values are rejected upstream.
  • Image models use the async /v1/videos endpoint; results are images, no quality / n params.
  • Pass reference_images for image-to-image (up to 5).

Request example

json
{
  "model": "gpt-image-2",
  "prompt": "a neon fox, cinematic",
  "size": "1024x1024",
  "tier": "2k"
}
gpt-image-2 · API Docs — Aurora AI