All models

Kokoro 82M

hexgrad

English and French text to speech.

BetaVerified workspaces · Africa processing · Azure South Africa North · AWS Cape Town fallback

What you can build.

Capabilities available in your workspace.

InputText
OutputAudio
  • English and French text to speech
  • Three preset voices
  • WAV audio output

Know the limits.

Text
Up to 1000 Unicode code points
Voices
en: af_heart or bf_emma · fr: ff_siwis
Output
WAV only, up to 60 seconds
Full service notes

English (af_heart / bf_emma) and French (ff_siwis); 1000 Unicode code points; WAV only, up to 60 seconds.

Requests share your workspace’s allowance, rate limit and concurrency limit. Backend capacity varies; some GPU services warm up on demand. Model access does not guarantee immediate capacity.

Make your first request.

Use a server-side workspace API key from Platform → API keys. Examples use https://api.embiro.ai/v1 and the API model ID.

API model IDkokoro-82m

POST/v1/audio/speech

Kokoro supports English (en: af_heart or bf_emma) and French (fr: ff_siwis). Set both language and its matching voice.

# Set EMBIRO_API_KEY in your shell first.
: "${EMBIRO_API_KEY:?Set your workspace API key first}"
curl --fail-with-body --silent --show-error "https://api.embiro.ai/v1/audio/speech" \
  -H "Authorization: Bearer $EMBIRO_API_KEY" \
  -H "Content-Type: application/json" \
  --output speech.wav \
  --data-binary @- <<'JSON'
{
  "model": "kokoro-82m",
  "input": "Hello from Embiro Labs. Intelligence, closer to home.",
  "voice": "af_heart",
  "language": "en",
  "response_format": "wav"
}
JSON
What comes back

A WAV response body. The example saves speech.wav.

Cold starts, errors and safe retries
  • Use the Queued job example when a request can wait for compute. Save its ID and poll that job.
  • For 401/403, check the key and its model permissions. For 400, check the request and format limits.
  • Respect Retry-After on 429/503. A timeout after dispatch can be ambiguous; check request logs before submitting again.
  • These examples do not automatically retry paid work. A job retry must reuse the saved idempotency key and identical payload.
Open API reference

Under the hood.

Publisher specifications. These do not override the Embiro service limits above.

Published context
Not specified
Parameters
0.082B
Model size
Light

English and French speech, with up to 1,000 Unicode characters per request. French uses the ff_siwis preset voice.

Read the publisher’s model card

No verified benchmark scores are listed in this catalogue for this model.