Models
Get a model
Retrieve a model using the specified owner and name. You must be authenticated with the necessary permissions to fetch a private model.
AuthorizationBearer <token>
In: header
Path Parameters
model_ownerModel Owner
The name of the model's owner.
model_nameModel Name
The name of the model.
Response Body
from wriftai import Clientwriftai = Client()model = wriftai.models.get("jane-doe/kokoro-82m")print(model.name){
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "kokoro-82m",
"created_at": "2024-06-12T14:22:31Z",
"visibility": "public",
"description": "A lightweight text-to-speech model that delivers high-quality, natural voice synthesis while remaining fast, efficient, and easy to deploy for both production and personal projects.",
"updated_at": "2024-06-12T14:25:03Z",
"owner": {
"account_id": "8f2b1e4a-9c3d-4f6e-b1a2-7d8e9f0a1b2c",
"name": "jane-doe",
"avatar_url": "https://wrift.ai/avatars/jane-doe.png"
},
"predictions_count": 1284,
"categories": [
{
"name": "Text to Speech",
"slug": "text-to-speech"
}
],
"overview": "Kokoro-82M is an 82 million parameter text-to-speech model that produces natural, expressive speech across multiple voices and languages, optimized for low-latency inference on modest hardware.",
"source_url": "https://huggingface.co/hexgrad/Kokoro-82M",
"license_url": "https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md",
"paper_url": "https://huggingface.co/papers/2203.02395",
"latest_version": {
"schemas": {
"prediction": {
"input": {
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"output": {
"properties": {
"audio": {
"type": "string"
}
},
"type": "object"
},
"stream_output": {}
}
},
"compatibilities": {
"openai_chat_completions": true,
"openai_images_generations": false,
"openai_embeddings": false,
"openai_responses": true,
"anthropic_messages": false
},
"size": 0,
"container_image_digest": "sha256:1a2b3c4d5e6f7089abcdef1234567890abcdef1234567890abcdef123456789",
"number": 3,
"release_notes": "Improved inference speed by 20% and fixed tokenizer edge cases.",
"created_at": "2024-05-01T09:12:00Z"
},
"cover_image_url": "https://wrift.ai/models/kokoro-82m/cover.png"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}