Model
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Text description of the image to generate |
image_urls | array | No | Reference images for context |
aspect_ratio | string | No | 1:1, 2:3, 3:2 |
quality | string | No | medium, high |
Generate images with OpenAI’s GPT Image 2 model
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Text description of the image to generate |
image_urls | array | No | Reference images for context |
aspect_ratio | string | No | 1:1, 2:3, 3:2 |
quality | string | No | medium, high |