Shunya Labs DocsShunya Labs Docs
🌐 International
🇺🇸 English
🇯🇵 Japanese
🇨🇳 Chinese (Simplified)
🇹🇼 Chinese (Traditional)
🇸🇦 Arabic
🇩🇪 German
🇫🇷 French
🇪🇸 Spanish
🇧🇷 Portuguese
🇷🇺 Russian
🇰🇷 Korean
🇹🇷 Turkish
🇻🇳 Vietnamese
🇮🇩 Indonesian
🇮🇳 Hindi Belt
हिन्दी — Hindi
भोजपुरी — Bhojpuri
मैथिली — Maithili
राजस्थानी — Rajasthani
🇮🇳 South India
தமிழ் — Tamil
తెలుగు — Telugu
ಕನ್ನಡ — Kannada
മലയാളം — Malayalam
🇮🇳 West India
मराठी — Marathi
ગુજરાતી — Gujarati
कोंकणी — Konkani
🇮🇳 East India
বাংলা — Bengali
ଓଡ଼ିଆ — Odia
অসমীয়া — Assamese
🇮🇳 North-East India
মেইতেই — Meitei
नेपाली — Nepali
🇮🇳 North India
ਪੰਜਾਬੀ — Punjabi
اردو — Urdu
کٲشُر — Kashmiri
डोगरी — Dogri
سنڌي — Sindhi

HTTP error codes

Status codes returned by the ASR and TTS APIs and what each one means.

Speech-to-Text (ASR)

StatusMeaning
200Success, audio or JSON body returned.
400Bad request, missing or malformed fields. Response body: {"detail": "..."}.
401Unauthorized, API key invalid or missing.
422Synthesis / transcription error (invalid text or config).
429Rate limit exceeded. Back off and retry.
500Internal server error, unexpected server-side failure.
503Service unavailable, Triton or Redis temporarily down.
504Gateway timeout, request exceeded the processing window.

Text-to-Speech (TTS)

StatusDescription
200Success. Audio bytes in response body.
400Missing or malformed fields. Body: {"detail": "..."}.
401API key invalid or missing.
422Invalid text or config.
429Rate limited.
500Internal server error.
503Backend (Triton/Redis) temporarily unavailable.
504Gateway timeout.