Avoz.

Avoz API

Speech to text for Uzbek (and Russian). Base URL: https://avoz.uz/v1

API key

Send the header Authorization: Bearer av_… with every request. Create your key in your profile (sign in with Telegram) and top up your balance there. For test credits, contact us. Keep the key on your server only, never in a browser or mobile app.

Pricing

Transcription1 second of audio = 1 credit
With timestamps (verbose_json, srt, vtt)1 second = 2 credits
Recordings without speech, failed requestsfree
36,000 credits (10 hours)UZS 19,000

Transcribe a file

POST /v1/audio/transcriptions, multipart/form-data. It is compatible with OpenAI, so the official OpenAI libraries work.

curl https://avoz.uz/v1/audio/transcriptions \
  -H "Authorization: Bearer $AVOZ_API_KEY" \
  -F file=@ovoz.ogg
fileAudio or video, up to 500 MB and 3 hours.
scriptOptional: latin (default), new for the new Latin alphabet (Ö, Ğ, Ş, Ç), cyrl for Cyrillic. Affects Uzbek text only.
languageOptional. uz-Cyrl is the same as script=cyrl. The language is detected automatically either way.
response_formatjson (default), text, verbose_json, srt, vtt.
timestamp_granularities[]word adds per-word timings to verbose_json.
modelAny value; ignored.

Response: {"id": "…", "text": "…", "duration": 12.4, "credits": 12}. Headers include Avoz-Credits and Avoz-Job-Id.

This call waits for the result. If it isn't ready within 50 seconds, you get 202 and a job, which you fetch as shown below. For recordings longer than a few minutes, create a job right away.

Long recordings: jobs

curl https://avoz.uz/v1/transcriptions \
  -H "Authorization: Bearer $AVOZ_API_KEY" \
  -F file=@maruza.mp3 -F timestamps=true

You get 202 and a job straight away. Then poll GET /v1/transcriptions/{id} every few seconds. status is queued, processing, done or failed. ?format=text|srt|vtt returns the result as a file. DELETE /v1/transcriptions/{id} deletes it.

Balance

GET /v1/balance → {"credits": 1800}

Errors

Response: an HTTP status and {"error": {"code", "message"}}.

400file_missing, unreadable_file, too_long, invalid_request
401unauthorized — missing or invalid key
402insufficient_credits — the message says how many are needed
404not_found
413file_too_large
429too_many_jobs — at most 20 queued jobs per account