Models

interface Models

List and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun model(modelId: ModelId, requestOptions: RequestOptions? = null): Model

Retrieves a model instance, providing basic information about the model such as the owner and permission.

Link copied to clipboard
abstract suspend fun models(requestOptions: RequestOptions? = null): List<Model>

Lists the currently available models, and provides basic information about each one such as the owner and availability.