GPT Image 1.5
Authorizations
API Key for API endpoints
Body
The prompt for image generation
Input images to transform or use as reference (supports multiple images)
Aspect ratio for the generated image
default, 1024x1024, 1536x1024, 1024x1536 Aspect ratio for the generated image
1:1, 3:2, 2:3 Resolution hint for generated image
1080p Background for the generated image
auto, transparent, opaque Quality for the generated image
default, low, medium, high Number of images to generate (1-10)
1 <= x <= 10Output format for the images
jpeg, png, webp Number of results to generate (1-4)
1 <= x <= 4Response
Generation submission accepted
Generation id.
Queue status
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED, CANCELED Normalized input payload for the generation task.
Credit usage breakdown for the request
Machine-readable generation error code. Present when status is FAILED.
Sanitized human-readable failure message. Present when status is FAILED.