> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ekly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GPT Image 1.5

> OpenAI GPT Image 1.5 via the direct OpenAI Images API.

OpenAI GPT Image 1.5 via the direct OpenAI Images API. High-fidelity image generation with strong prompt adherence and reference image editing.

| | |
| - | - |
| Model id | `gpt-image-1.5` |
| Media | image |
| Submit to | `POST /v1/images` |
| Price | 5 credits credits before discounts |
| Typical time | about 20.0 s |

## Request

**Required:** `prompt`\
**Optional:** `aspect_ratio`, `generate_image_count`, `image_background`, `mask_image`, `moderation`, `output_format`, `image_quality`, `reference_images`

```json theme={null}
{
  "model": "gpt-image-1.5",
  "prompt": "Three-quarter character sheet of an Indian uncle in a cream kurta, clean forehead, soft studio key, seamless warm grey backdrop, photoreal, 50mm. No text.",
  "aspect_ratio": "1024x1024",
  "generate_image_count": 1,
  "image_background": "opaque",
  "moderation": "auto",
  "output_format": "png",
  "image_quality": "high"
}
```

| Field | Allowed | Default |
| - | - | - |
| `aspect_ratio` | `auto`, `1024x1024`, `1024x1536`, `1536x1024` | `"1024x1024"` |
| `generate_image_count` | 1.0 – 4.0 | `1` |
| `image_background` | `opaque`, `transparent`, `auto` | `"opaque"` |
| `mask_image` | asset id (up to 1) | |
| `moderation` | `auto`, `low` | `"auto"` |
| `output_format` | `png`, `webp`, `jpeg` | `"png"` |
| `image_quality` | `high`, `medium`, `low` | `"high"` |
| `reference_images` | asset ids (up to 5) | |

Reference inputs take asset ids from [`POST /v1/uploads`](/uploads) or an earlier output's `asset_id`.
Prices and allowed values come from the live catalog; `GET /v1/models/gpt-image-1.5` is always current.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.