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

# Model reference

> Inputs, prices, and example requests for each model in the ImagineArt API.

All generations are asynchronous: submit, get `202` with an `id`, then poll `GET /generations/{id}/status`. Image results are in `data.images`, video results in `data.videos`.

> [!TIP]
>
> Prices can change. Call `GET /cost` for the current price of each model before you generate.

## ImagineArt 2.0 — `imagineart-2.0`

Photoreal detail, cinematic light and reliable in-image text, up to 2K.

* **Endpoint:** `POST /image/generate`
* **Price:** 15 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-2.0 |
| input.prompt | string | Required. 1–2000 characters. |
| input.aspect\_ratio | string | Optional. One of 1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 21:9, 4:5, 5:4. |

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-2.0",
    "input": {
      "prompt": "A red fox in fresh snow at golden hour",
      "aspect_ratio": "1:1"
    }
  }'
```

## ImagineArt 2.0 Edit — `imagineart-2.0-edit`

Swap outfits, backgrounds and styles while keeping identity intact.

* **Endpoint:** `POST /image/generate`
* **Price:** 25 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-2.0-edit |
| input.prompt | string | Required. 1–2000 characters. |
| input.image\_urls | string | Required. |
| input.aspect\_ratio | string | Optional. One of auto, 1:1, 9:16, 16:9, 4:3, 3:4, 2:3, 3:2, 21:9, 4:5, 5:4. |

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-2.0-edit",
    "input": {
      "prompt": "A red fox in fresh snow at golden hour",
      "image_urls": "https://cdn.example.com/face.png",
      "aspect_ratio": "1:1"
    }
  }'
```

## ImagineArt 1.5 Pro — `imagineart-1.5-pro`

Text to image with styles, negative prompt and seed.

* **Endpoint:** `POST /image/generate`
* **Price:** 25 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-1.5-pro |
| input.prompt | string | Required. 1–2000 characters. |
| input.aspect\_ratio | string | Optional. One of 1:1, 9:16, 16:9, 4:3, 3:4, 1:3, 3:1, 2:3, 3:2. |
| input.style | string | Optional. One of grain, silver, golden, arctic, vivid, monochrome, midnight, symmetry, sunbaked, dust, polished, dread, bleached, graphic, neon, honey, shadow, crystal, kodak, mist. |

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-1.5-pro",
    "input": {
      "prompt": "A red fox in fresh snow at golden hour",
      "aspect_ratio": "1:1"
    }
  }'
```

## ImagineArt 1.5 — `imagineart-1.5`

Fast, low-cost text to image.

* **Endpoint:** `POST /image/generate`
* **Price:** 10 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-1.5 |
| input.prompt | string | Required. 1–2000 characters. |
| input.aspect\_ratio | string | Optional. One of 1:1, 9:16, 16:9, 4:3, 3:4, 1:3, 3:1, 2:3, 3:2. |
| input.style | string | Optional. One of grain, silver, golden, arctic, vivid, monochrome, midnight, symmetry, sunbaked, dust, polished, dread, bleached, graphic, neon, honey, shadow, crystal, kodak, mist. |

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-1.5",
    "input": {
      "prompt": "A red fox in fresh snow at golden hour",
      "aspect_ratio": "1:1"
    }
  }'
```

## Z-Image Turbo — `z-image-turbo`

Fast, photoreal text to image in ten aspect ratios.

* **Endpoint:** `POST /image/generate`
* **Price:** 5 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. z-image-turbo |
| input.prompt | string | Required. 1–2000 characters. |
| input.aspect\_ratio | string | Optional. One of 1:1, 16:9, 4:3, 3:4, 3:1, 1:3, 3:2, 2:3, 21:9, 9:16. |

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-image-turbo",
    "input": {
      "prompt": "A red fox in fresh snow at golden hour",
      "aspect_ratio": "1:1"
    }
  }'
```

## Image Enhance — `imagineart-image-enhance`

Upscale an image up to 16x.

* **Endpoint:** `POST /image/generate`
* **Price:** 8 credits / image
* **Typical time:** about 10 seconds

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-image-enhance |
| input.image\_url | string | Required. |
| input.scale | string | Optional. Default 2. One of 2, 4, 8, 16. Send it as a string, e.g. "4", not a number. |

* URLs must be https, at most 2048 characters, without credentials.
* They must point to a public host, not localhost or a private IP.
* The files are fetched while the generation runs, so use URLs that stay valid until it completes, e.g. signed for an hour.
* If a file can’t be fetched, the generation ends as failed.

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/image/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-image-enhance",
    "input": {
      "image_url": "https://cdn.example.com/face.png"
    }
  }'
```

## Frame 1.0 — `imagineart-frame-1.0`

Turn one photo and a voice clip into a lip-synced talking video.

* **Endpoint:** `POST /video/generate`
* **Price:** 24 credits / second

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-frame-1.0 |
| input.image\_url | string | Required. A clear, front-facing photo with one visible face. |
| input.audio\_url | string | Required. Clean speech. The video lasts as long as the audio. |
| input.resolution | string | Required. One of 480p, 720p. |

* URLs must be https, at most 2048 characters, without credentials.
* They must point to a public host, not localhost or a private IP.
* The files are fetched while the generation runs, so use URLs that stay valid until it completes, e.g. signed for an hour.
* If a file can’t be fetched, the generation ends as failed.

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/video/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-frame-1.0",
    "input": {
      "image_url": "https://cdn.example.com/face.png",
      "audio_url": "https://cdn.example.com/voice.mp3",
      "resolution": "720p"
    }
  }'
```

## Video Upscale — `imagineart-video-upscale`

Upscale any video to a sharper, higher resolution.

* **Endpoint:** `POST /video/generate`
* **Price:** 2 credits / second

**Input**

| Field | Type | Description |
| - | - | - |
| model | string | Required. imagineart-video-upscale |
| input.video\_url | string | Required. |

* URLs must be https, at most 2048 characters, without credentials.
* They must point to a public host, not localhost or a private IP.
* The files are fetched while the generation runs, so use URLs that stay valid until it completes, e.g. signed for an hour.
* If a file can’t be fetched, the generation ends as failed.

**Example**

```bash theme={null}
curl -X POST https://api.imagine.art/v1/video/generate \
  -H "Authorization: Bearer $IMAGINE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "imagineart-video-upscale",
    "input": {
      "video_url": "https://cdn.example.com/clip.mp4"
    }
  }'
```


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