Models
Retrieve a list of available models for various tasks. Use the query parameter task to filter by task type, e.g. chat.
Request
- Base URLhttps://api.bytez.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Response
A successful response containing the list of models.
Example response
{
"output": [
{
"meter": "sm-free",
"meterPrice": "0.0006478333 / sec",
"modelId": "0-hero/Matter-0.1-Slim-7B-C",
"params": 7.24,
"ramRequired": 29,
"task": "chat"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.