GPT-Image-2-VIP
GPT-Image-2-VIP Image Generation
Generate images with gpt-image-2-vip. Parameters are the same as gpt-image-2, but all standard aspect ratios are supported.
POST
- Unified image generation API
- Select the
gpt-image-2-vipmodel via themodelparameter - Parameters are the same as
gpt-image-2 - Supports text-to-image, single-reference, and multi-reference image generation
- Async task management with task ID based result lookup
Authorizations
All endpoints require Bearer Token authenticationGet your API Key from the API Key Management PageAdd to request header:
Body
Image generation model nameExample:
"gpt-image-2-vip"Text prompt for image generationMaximum 32,000 characters for GPT image models
Output image aspect ratioThe following ratios are currently supported:
1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 21:9, 9:21auto is not supported at the moment.Output resolution tierSupported values:
1k, 2k, 4kImage quality
low— fast and economical, suitable for drafts/previewsmedium— balanced speed and qualityhigh— maximum detail, suitable for final outputs
Number of images to generateDefault: 1
Response formatThe API returns image URLs, so
url is the recommended valueReference image URLs for image-to-image generation⚠️ URL format only (base64 no longer supported)
- Publicly accessible URLs (
http://orhttps://) - You can use the Upload Image API to upload local files and get URLs
- Supports single-image and multi-image reference
Backward-compatible reference image fieldToAPIs automatically normalizes it to
reference_imagesResponse
Unique task identifier for status queries
Object type, always
generation.taskModel name used
Task status
queuedin_progresscompletedfailed
Task progress percentage (0-100)
Task creation timestamp (Unix timestamp)