Skip to main content
GET
List available models
List every available model with slug, supported inference_types, per-model limits (resolution, duration, steps), and feature flags (e.g., LoRA support).
Call GET /api/v2/models?limit=50 once at session start, cache the result, and use the returned slug values in your generation/edit requests. Filter with &filter[inference_types]=txt2img to narrow results by task.
Send limit=50 and check meta.last_page. The page size defaults to 50, and a value above the maximum is clamped down, not rejected. limit=50 covers the current catalogue in one call, and meta.last_page reading 1 is what confirms the data array is complete; nothing else in the response distinguishes a partial page from a full one.

Authorizations

Authorization
string
header
required

Sanctum personal access token, sent as Authorization: Bearer <token>. The token is opaque — it carries no claims and no embedded expiry, so do not attempt to decode it. Issue and revoke tokens from your account dashboard.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Query Parameters

limit
integer
default:50

Items per page. per_page is accepted as an alias; limit wins if both are sent. Values above the maximum are clamped down, not rejected.

Required range: 1 <= x <= 100
per_page
integer
default:50

Alias of limit, kept for backward compatibility. Ignored when limit is also present.

Required range: 1 <= x <= 100
page
integer
default:1
Required range: x >= 1
sort
enum<string>
default:-created_at

Sort field. Prefix with - for descending. -created_at is newest first, created_at is oldest first. Defaults to -created_at — newest models first, tie-broken by id.

Available options:
id,
-id,
name,
-name,
created_at,
-created_at,
updated_at,
-updated_at
filter[inference_types]
enum<string>[]

Comma-separated inference types to filter by. Values are the type slugs returned in each model's inference_types. Example: txt2img,vid-upscale

Available options:
txt2img,
txt2audio,
txt2music,
txt2video,
txt2embedding,
img2img,
img2txt,
img2video,
img-upscale,
img-rmbg,
audio2text,
audio2video,
audio_file2text,
video2text,
video_file2text,
video-replace,
vid-upscale,
vid-rmbg
filter[tags]
string[]

Comma-separated tags to filter by. Tags are controlled labels set per model; read the tags field of any model in this response to see which are in use. Example: new,experimental

Response

List of available models.

data
object[]
required

List of available models

Absolute URLs for navigating the result set. prev is null on the first page and next is null on the last.

meta
object
required

Pagination counters. Note per_page here is the page size that was APPLIED — it echoes the limit query parameter, which is the one you send.