Key Capabilities
- Text-to-image — Generate images from natural language descriptions
- Image editing — Precisely edit existing images
- Enhanced text — Dense text, small fonts, infographics, and UI mockups
- World knowledge — Context-aware with built-in reasoning capabilities
- Transparent background — Supports generating images with transparent backgrounds
- Batch generation — Generate up to 4 images per request
Output Specs
| Property | Values |
|---|---|
| Size | 1024x1024, 1536x1024, 1024x1536, auto |
| Quality | low, medium, high |
| Format | png, webp, jpeg |
| Background | transparent, opaque |
Quick Example
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Must be gpt-image-1.5 |
prompt | string | Yes | Image description text |
n | integer | No | Number of images to generate (1–4), default 1 |
size | string | No | 1024x1024, 1536x1024, 1024x1536, auto, default auto |
quality | string | No | low, medium, high, default medium |
output_format | string | No | png, webp, jpeg, default png |
background | string | No | transparent or opaque, default opaque |
moderation | string | No | auto or low, default auto |
output_compression | integer | No | Compression level for jpeg/webp format (0–100) |
API Reference
View the interactive API Playground for GPT Image 1.5.

