Skip to main content
GET
Models

Explore Available Models

Use the GET /models/v2/list/models endpoint to retrieve a list of open-source AI models available for various tasks. You can filter models by task using the task query parameter.

Query Models by Task

Example Request

Authorizations

Authorization
string
header
required

Set Authorization header to BYTEZ_KEY 'Authorization: YOUR_KEY_HERE'

Query Parameters

task
string

The specific task type to filter models. Run list.tasks() for the full list. Some supported tasks include: audio-classification, audio-text-to-text, automatic-speech-recognition, chat, depth-estimation, document-question-answering, feature-extraction, fill-mask, image-classification, image-feature-extraction, image-segmentation, image-text-to-text, image-to-text, mask-generation, object-detection, question-answering, sentence-similarity, summarization, text-classification, text-generation, text-to-audio, text-to-image, text-to-speech, text-to-video, text2text-generation, token-classification, translation, unconditional-image-generation, video-classification, video-text-to-text, visual-question-answering, zero-shot-classification, zero-shot-image-classification, zero-shot-object-detection.

Example:

"chat"

Response

A successful response containing the list of models.

error
string

Null if everything is fine

Example:

null

output
object[]

An array of models