Kokoro 82M is good. These would like a word anyway.
Kokoro 82M is good. These would like a word anyway.
Lightweight 82M parameter TTS model based on StyleTTS2. The most popular text-to-speech model on Replicate with over 78 million runs. Known for natural-sounding speech with low latency.
fromimport openai OpenAI
client = OpenAI(
"https://api.deepinfra.com/v1/openai" base_url=,
"$DEEPINFRA_TOKEN" api_key=,
)
response = client.chat.completions.create(
"hexgrad/Kokoro-82M" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set DEEPINFRA_TOKEN with your DeepInfra API key from deepinfra.com/dash/api_keys.
6 outputs from Kokoro 82M
Lightweight 82M parameter TTS model based on StyleTTS2. The most popular text-to-speech model on Replicate with over 78 million runs. Known for natural-sounding speech with low latency.
fromimport openai OpenAI
client = OpenAI(
"https://api.deepinfra.com/v1/openai" base_url=,
"$DEEPINFRA_TOKEN" api_key=,
)
response = client.chat.completions.create(
"hexgrad/Kokoro-82M" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set DEEPINFRA_TOKEN with your DeepInfra API key from deepinfra.com/dash/api_keys.
6 outputs from Kokoro 82M