Models
Retrieve a list of available models for various tasks. Use the query parameter task
to filter by task type, e.g. chat
.
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
Set Authorization
header to Key BYTEZ_KEY
(e.g. 'Authorization': 'Key ABC123')
Query Parameters
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
.
"chat"
Response
The response is of type object
.