Marketplace

Marketplace Audio

Kokoro 82M

KokoroText to speech

kokoro-82m

Price
Rate unavailable
Context
Not applicable
Modalities
Text in, audio out
License
On the model card
mlx-community/Kokoro-82M-bf16

About

Reads text aloud, on /v1/audio/speech.

It is called on /v1/audio/speech, never on chat, and billed per character spoken.

  • Text to speech

Call it

Send the model id with your API key. Keys are made in the dashboard; the quickstart has the rest.

silicon - zsh
curl https://api.siliconnetwork.io/v1/audio/speech \
  -H "Authorization: Bearer $SILICON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"kokoro-82m","input":"Welcome to Silicon Network.","voice":"af_heart","response_format":"wav"}' \
  --output welcome.wav
speak.py
from openai import OpenAI

client = OpenAI(base_url="https://api.siliconnetwork.io/v1", api_key="$SILICON_API_KEY")
with client.audio.speech.with_streaming_response.create(
    model="kokoro-82m", voice="af_heart", input="Welcome to Silicon Network.", response_format="wav"
) as resp:
    resp.stream_to_file("welcome.wav")
  • Transcribes speech to text, on /v1/audio/transcriptions.

    • Speech to text
    • Multilingual

    Rate unavailable

    Get
  • Transcribes speech to text, on /v1/audio/transcriptions.

    • Speech to text
    • Multilingual

    Rate unavailable

    Get