---
title: "List models"
description: "What Layo can make, what each model can do, and its rates from the rate card. A job's seconds times its rate, plus `creditsPerJob`, is rounded up to a whole credit. For a spoken video, ask for the price: it depends on the line."
url: "https://docs.layo.co/reference/models/list"
---

> For agents: every page is listed at https://docs.layo.co/llms.txt. Search the docs over MCP at https://docs.layo.co/mcp, no sign-in needed.

# List models

`GET https://layo.co/v1/models`

Needs the `read` scope. No charge. MCP tool: `list_models`.

What Layo can make, what each model can do, and its rates from the rate card. A job's seconds times its rate, plus `creditsPerJob`, is rounded up to a whole credit. For a spoken video, ask for the price: it depends on the line.

## Request

### curl

```bash
curl https://layo.co/v1/models \
  -H "Authorization: Bearer $LAYO_API_KEY"
```

### TypeScript

```ts
const response = await fetch("https://layo.co/v1/models", {
  headers: { Authorization: `Bearer ${process.env.LAYO_API_KEY}` },
});
const data = await response.json();
```

### Python

```python
import os
import requests

response = requests.get(
    "https://layo.co/v1/models",
    headers={"Authorization": f"Bearer {os.environ['LAYO_API_KEY']}"},
)
data = response.json()
```

## Response

- `items` (`Model[]`, required)
  - `id` (`string`, required): What to send as `model`. Talking and the flat jobs have their own calls instead.
  - `name` (`string`, required)
  - `kind` (`enum<string>`, required, one of `video`, `talking`, `swap`, `look`, `image`, `line`)
  - `inApi` (`boolean`, required): Whether this API can start it. A swap needs a clip, which the API doesn't upload yet; a spoken line is made with its video.
  - `qualities` (`object[]`, required): Each quality's credits per second. Empty for a job with one flat price.
    - `id` (`string`, required)
    - `creditsPerSecond` (`number`, required, `x > 0`)
  - `extraSeconds` (`integer`, required, `x >= 0`): Seconds charged on top of the job's own: a swap costs its clip's seconds plus this.
  - `creditsPerJob` (`number`, required, `x >= 0`): Added once per job. A job's seconds times its rate, plus this, is rounded up to a whole credit.
  - `durationSeconds` (`object | null`, required): The lengths you can send as `durationSeconds`: any whole second from `min` to `max`. Null when you can't pick: a spoken video is as long as its line, and a swap as long as its clip.
    - `min` (`integer`, required, `x > 0`)
    - `max` (`integer`, required, `x > 0`)
  - `defaultQuality` (`string | null`, required): The quality used when you leave `quality` out. Null for a job with one flat price.
  - `defaultDuration` (`integer | null`, required, `x > 0`): The seconds used when you leave `durationSeconds` out. Null when you can't pick.
  - `aspects` (`string[]`, required): Shapes you can send as `aspect`; leave it out for 9:16 on a video, the first on an image. Empty when you can't pick: a swap keeps its clip's.
  - `promptMax` (`integer`, required, `x >= 0`): The longest prompt it takes, in characters.
  - `images` (`integer`, required, `x >= 0`): Reference images the model takes: an image model's `images`, a video model's on layo.co beside the influencer's look.
  - `outputs` (`integer`, required, `x > 0`): How many files one request makes, for one price: an image model or a look that makes two to choose from says 2.
  - `clipSeconds` (`object | null`, required): The length of clip the model takes on layo.co, if it takes one.
    - `min` (`number`, required)
    - `max` (`number`, required)
  - `frames` (`object | null`, required): Whether it takes a `start_frame` in `medias`: a picture the video starts on. Null when it doesn't.
    - `end` (`boolean`, required): Whether it also takes an `end_frame` in `medias`.

## Errors

- `invalid_api_key` (401): This key isn't valid. Make a new one at layo.co/api-keys.
- `insufficient_scope` (403): This key can't do that. Use a key with the scope this endpoint needs.
- `forbidden` (403): You don't have access to that in this workspace.
- `rate_limited` (429): Too many requests. Wait a moment and try again.
- `unavailable` (503): Layo had a problem. Try again shortly.

## Examples

### 200

```json
{
  "items": [
    {
      "id": "seedance-2.5",
      "name": "Seedance 2.5",
      "kind": "video",
      "inApi": true,
      "qualities": [
        {
          "id": "480p",
          "creditsPerSecond": 3.5
        },
        {
          "id": "720p",
          "creditsPerSecond": 7.5
        },
        {
          "id": "1080p",
          "creditsPerSecond": 18
        }
      ],
      "extraSeconds": 0,
      "creditsPerJob": 0,
      "durationSeconds": {
        "min": 4,
        "max": 30
      },
      "defaultQuality": "720p",
      "defaultDuration": 5,
      "aspects": [
        "9:16",
        "3:4",
        "1:1",
        "4:3",
        "16:9",
        "21:9"
      ],
      "promptMax": 10000,
      "images": 29,
      "outputs": 1,
      "clipSeconds": {
        "min": 2,
        "max": 30
      },
      "frames": {
        "end": true
      }
    },
    {
      "id": "h3-max",
      "name": "MiniMax H3 Max",
      "kind": "video",
      "inApi": true,
      "qualities": [
        {
          "id": "480p",
          "creditsPerSecond": 1.5
        },
        {
          "id": "768p",
          "creditsPerSecond": 2.5
        },
        {
          "id": "1080p",
          "creditsPerSecond": 4
        }
      ],
      "extraSeconds": 0,
      "creditsPerJob": 0,
      "durationSeconds": {
        "min": 4,
        "max": 15
      },
      "defaultQuality": "768p",
      "defaultDuration": 5,
      "aspects": [
        "9:16",
        "3:4",
        "1:1",
        "4:3",
        "16:9",
        "21:9"
      ],
      "promptMax": 5520,
      "images": 8,
      "outputs": 1,
      "clipSeconds": {
        "min": 2,
        "max": 15
      },
      "frames": {
        "end": true
      }
    },
    {
      "id": "wan-3.0-prime",
      "name": "Wan 3.0 Prime",
      "kind": "video",
      "inApi": true,
      "qualities": [
        {
          "id": "480p",
          "creditsPerSecond": 2
        },
        {
          "id": "720p",
          "creditsPerSecond": 3.5
        },
        {
          "id": "1080p",
          "creditsPerSecond": 7
        }
      ],
      "extraSeconds": 0,
      "creditsPerJob": 0,
      "durationSeconds": {
        "min": 2,
        "max": 30
      },
      "defaultQuality": "720p",
      "defaultDuration": 5,
      "aspects": [
        "9:16",
        "3:4",
        "1:1",
        "4:3",
        "16:9"
      ],
      "promptMax": 10000,
      "images": 9,
      "outputs": 1,
      "clipSeconds": {
        "min": 1,
        "max": 15
      },
      "frames": {
        "end": true
      }
    },
    {
      "id": "kling-4",
      "name": "Kling 4",
      "kind": "video",
      "inApi": true,
      "qualities": [
        {
          "id": "720p",
          "creditsPerSecond": 4
        },
        {
          "id": "1080p",
          "creditsPerSecond": 6
        }
      ],
      "extraSeconds": 0,
      "creditsPerJob": 0,
      "durationSeconds": {
        "min": 3,
        "max": 30
      },
      "defaultQuality": "720p",
      "defaultDuration": 5,
      "aspects": [
        "9:16",
        "3:4",
        "1:1",
        "4:3",
        "16:9",
        "21:9"
      ],
      "promptMax": 10000,
      "images": 10,
      "outputs": 1,
      "clipSeconds": {
        "min": 3,
        "max": 30
      },
      "frames": {
        "end": true
      }
    },
    {
      "id": "recast",
      "name": "MiniMax Recast",
      "kind": "swap",
      "inApi": false,
      "qualities": [
        {
          "id": "768p",
          "creditsPerSecond": 7.5
        },
        {
          "id": "1080p",
          "creditsPerSecond": 11.5
        }
      ],
      "extraSeconds": 1,
      "creditsPerJob": 0,
      "durationSeconds": null,
      "defaultQuality": "768p",
      "defaultDuration": null,
      "aspects": [],
      "promptMax": 500,
      "images": 0,
      "outputs": 1,
      "clipSeconds": {
        "min": 5,
        "max": 15
      },
      "frames": null
    },
    {
      "id": "talking",
      "name": "Talking",
      "kind": "talking",
      "inApi": true,
      "qualities": [
        {
          "id": "480p",
          "creditsPerSecond": 3.5
        },
        {
          "id": "720p",
          "creditsPerSecond": 7.5
        },
        {
          "id": "1080p",
          "creditsPerSecond": 18
        }
      ],
      "extraSeconds": 0,
      "creditsPerJob": 0,
      "durationSeconds": null,
      "defaultQuality": "720p",
      "defaultDuration": null,
      "aspects": [
        "9:16",
        "1:1",
        "16:9"
      ],
      "promptMax": 10000,
      "images": 0,
      "outputs": 1,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "look",
      "name": "Look",
      "kind": "look",
      "inApi": true,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 4,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [],
      "promptMax": 4000,
      "images": 0,
      "outputs": 2,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "nano-banana",
      "name": "Nano Banana 2.1",
      "kind": "image",
      "inApi": true,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 4,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [
        "3:4",
        "1:1",
        "9:16",
        "16:9"
      ],
      "promptMax": 4000,
      "images": 8,
      "outputs": 2,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "seedream-5.5",
      "name": "Seedream 5.5",
      "kind": "image",
      "inApi": true,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 3,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [
        "3:4",
        "1:1",
        "9:16",
        "16:9"
      ],
      "promptMax": 4000,
      "images": 8,
      "outputs": 1,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "seedream-5-pro",
      "name": "Seedream 5 Pro",
      "kind": "image",
      "inApi": true,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 3,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [
        "3:4",
        "1:1",
        "9:16",
        "16:9"
      ],
      "promptMax": 4000,
      "images": 8,
      "outputs": 1,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "gpt-image-2.5",
      "name": "GPT Image 2.5",
      "kind": "image",
      "inApi": true,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 2,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [
        "3:4",
        "1:1",
        "9:16",
        "16:9"
      ],
      "promptMax": 4000,
      "images": 8,
      "outputs": 1,
      "clipSeconds": null,
      "frames": null
    },
    {
      "id": "line",
      "name": "Spoken line",
      "kind": "line",
      "inApi": false,
      "qualities": [],
      "extraSeconds": 0,
      "creditsPerJob": 1,
      "durationSeconds": null,
      "defaultQuality": null,
      "defaultDuration": null,
      "aspects": [],
      "promptMax": 500,
      "images": 0,
      "outputs": 1,
      "clipSeconds": null,
      "frames": null
    }
  ]
}
```

### 401 `invalid_api_key`

```json
{
  "error": {
    "code": "invalid_api_key",
    "message": "This key isn't valid. Make a new one at layo.co/api-keys."
  }
}
```

### 403 `insufficient_scope`

```json
{
  "error": {
    "code": "insufficient_scope",
    "message": "This key can't do that. Use a key with the scope this endpoint needs."
  }
}
```

### 403 `forbidden`

```json
{
  "error": {
    "code": "forbidden",
    "message": "You don't have access to that in this workspace."
  }
}
```

### 429 `rate_limited`

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Wait a moment and try again."
  }
}
```

### 503 `unavailable`

```json
{
  "error": {
    "code": "unavailable",
    "message": "Layo had a problem. Try again shortly."
  }
}
```

The whole API as OpenAPI: https://docs.layo.co/openapi.json
