---
title: "Reference-image limits per model operation"
method: GET
path: "/v1/studio/reference-limits"
tags: ["Studio"]
---

# Reference-image limits per model operation

`GET /v1/studio/reference-limits`

## Request

- Base URL: `https://api.lizzflix.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lizzflix.xyz/v1/studio/reference-limits`
- Auth: none declared

For every enabled model operation that takes reference images: the count the catalog binding allows, the character-consistency cap, accepted types and sizes. `startFrame` is the start-frame compose limit (characters next to the location plate). With `imageModelId`, `imageModel` is the limit that image model generates with references under.

## Query parameters

- `imageModelId` string: An image model id as the character / location generate routes take it (`selectedImageModelId`): the response's `imageModel` is the limit that model generates with references under.

## Response `200`

Reference limits

- ReferenceLimits
  - `limits` ReferenceLimit[], required
    - `modelKey` string, required
    - `operation` string, required
    - `slot` string, required
    - `minImages` integer, required
    - `maxImages` integer, nullable, required: Null when the binding sets no limit.
    - `maxCharacterImages` integer, nullable, required: Characters whose identity the model keeps reliably; above it, warn (or refuse when characterLimitMode is hard).
    - `characterLimitMode` 'advisory' | 'hard', required
    - `acceptedMimeTypes` string[], required
    - `maxBytes` integer, nullable, required
    - `strictInputs` boolean, required: The provider refuses other types and sizes: without Cloudflare Images to convert them, such a reference is refused (400).
    - `providerBillsPerReference` boolean, required
  - `imageModel` object, nullable: With `imageModelId`: the limit of the model operation that model runs with references (Nano Banana 2 uses its edit model). Null when it takes no references.
    - `modelKey` string, required
    - `operation` string, required
    - `slot` string, required
    - `minImages` integer, required
    - `maxImages` integer, nullable, required: Null when the binding sets no limit.
    - `maxCharacterImages` integer, nullable, required: Characters whose identity the model keeps reliably; above it, warn (or refuse when characterLimitMode is hard).
    - `characterLimitMode` 'advisory' | 'hard', required
    - `acceptedMimeTypes` string[], required
    - `maxBytes` integer, nullable, required
    - `strictInputs` boolean, required: The provider refuses other types and sizes: without Cloudflare Images to convert them, such a reference is refused (400).
    - `providerBillsPerReference` boolean, required
    - `imageModelId` string, required
    - `requiresReferences` boolean, required: The model generates only from references: a request without one is refused (400 reason reference_required).
  - `startFrame` object, required
    - `modelKey` string, required
    - `operation` string, required
    - `maxCharacters` integer, nullable, required: Characters next to the location plate; null when unlimited.
    - `warnAboveCharacters` integer, nullable, required

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/lizzflix/apis/lizzflix-api.md) · [All operations](https://skmtc.dev/lizzflix/apis/lizzflix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lizzflix/apis/lizzflix-api/revisions/4536ce9d80ff?raw)
