Overview
About this model
Fast, lightweight text-to-speech model
View model card on HuggingFaceSpecifications
Model details
- Provider
- Kokoro
- Modality
- Text-to-speech
- Pricing
- $1.00 / 1M tok
Modalities: text → audio
API
Call it in code
One OpenAI-compatible API. Swap the model id and you're done.
from openai import OpenAI
client = OpenAI(
base_url="https://api.ecohash.com/v1",
api_key="YOUR_API_KEY",
)
speech = client.audio.speech.create(
model="kokoro-82m",
input="Hello, welcome to EcoHash!",
voice="af_sky",
)More models