API tokens
Use STT and TTS from your own application. Usage is charged to your Synora balance at the same published tariffs as the website.
Available credits: —
Up to 10 active tokens. Keep tokens on your server and out of browser code or public repositories.
Tokens can access your STT/TTS resources, balance and usage. They cannot manage your login, other tokens or admin settings.
Loading…
API examples
Successful STT/TTS usage is charged to this same wallet. Insufficient funds return 402. A failed request that delivers no output releases its reserved credit.
For retries, reuse the original REQUEST_ID and payload. Generate a new ID only for new work.
STT · Gemini
REQUEST_ID="$(uuidgen)"
curl 'https://synora-ai.uz/api/v1/stt/transcribe' \
-H "Authorization: Bearer $SYNORA_API_KEY" \
-H "Idempotency-Key: $REQUEST_ID" \
-F 'file=@audio.wav' -F 'language=uz' -F 'model=gemini'TTS · ElevenLabs
REQUEST_ID="$(uuidgen)"
curl 'https://synora-ai.uz/api/v1/tts/speech' \
-H "Authorization: Bearer $SYNORA_API_KEY" \
-H "Idempotency-Key: $REQUEST_ID" \
-H 'Content-Type: application/json' \
-d '{"text":"Salom!","model":"elevenlabs"}' --output speech.mp3