/models

List all models. Supports both public access (via the Authorization header set to public-auth-token) and authenticated user access (including API keys).

Query Params
string

Filter results to only return models updated before the specified ISO string date (exclusive). Requires the sortBy parameter to be "updatedAt". Only available when privacy=public

string

Sort results in ascending (asc) or descending (desc) order. Only used when sortBy is specified. Available for both privacy=public and privacy=private/unlisted. For public models, this parameter is ignored when sortBy is not specified or set to score.

string

List of collection ids, comma separated. Only available when privacy=public

string

The privacy of the models to return. The default value is private, possible values are private and public

string

Filter results to only return models updated after the specified ISO string date (exclusive). Requires the sortBy parameter to be "updatedAt". Only available when privacy=public

string

If set to true, returns the list of models blacklisted for the team (only available for team admins)

string

The status of the models to return. Only available when privacy=private/unlisted

string

Filter results to only return models created before the specified ISO string date (exclusive). Requires the sortBy parameter to be "createdAt". Available for both privacy=public and privacy=private/unlisted

string

Sort results by createdAt, updatedAt, or score. When privacy=public, defaults to score if not specified. When privacy=private/unlisted, supports createdAt and score (default: createdAt). When sortBy=score for privacy=private/unlisted, both privacy and status query parameters are required.

string

Filter results to only return models created after the specified ISO string date (exclusive). Requires the sortBy parameter to be "createdAt". Available for both privacy=public and privacy=private/unlisted

string

If set to true, returns the list of models currently loaded on GPU

string

If set to true, returns the original asset without transformation

string

The number of items to return in the response. The default value is 100, maximum value is 500, minimum value is 1

string

List all the models of a specific type. Can be any of the following values: sd-1_5, sd-1_5-lora, sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition, flux.1, flux.1-lora, flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora, flux.1-krea-lora, flux.1-composition, flux.1-pro, flux1.1-pro, flux.1.1-pro-ultra, gpt-image-1, custom. Only available when privacy=public

string

A token you received in a previous request to query the next page of items

string

List of tags, comma separated. Only available when privacy=public

string

List of types, comma separated. Can be any of the following values: sd-1_5, sd-1_5-lora, sd-1_5-composition, sd-xl, sd-xl-lora, sd-xl-composition, flux.1, flux.1-lora, flux.1-kontext-dev, flux.1-krea-dev, flux.1-kontext-lora, flux.1-krea-lora, flux.1-composition, flux.1-pro, flux1.1-pro, flux.1.1-pro-ultra, gpt-image-1, custom. Only available when privacy=public

string

When provided, only the models in the Collection will be returned. Only available when privacy=private/unlisted (note: this is different from collectionIds which is only for privacy=public)

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json