Transcribe audio
https://my.neuronai.uz/api/v1/stt/transcribeTranscribes an audio file into text, with timestamped segments.
Set language to auto to have it detected. Billed per second of audio, for its actual length.
stt:write ruxsatli API kalit kerak.
Narx
audioning har soniyasi uchun- Standard
- 1 kredit
Sarlavhalar
Idempotency-KeystringIxtiyoriyMakes a retry safe: the same key again returns the original transcription instead of transcribing and charging again. At most 191 characters, scoped to your organization and kept indefinitely, so reuse a key only for the same file.
Soʻrov tanasi
multipart/form-dataMultipart forma.
filestringMajburiyThe audio: MP3, WAV, OGG, FLAC, M4A or WebM, at most 25 MB.
languagestringMajburiyThe spoken language, or
autoto have it detected.Ruxsat etilgan qiymatlar:
autouzkaaruenkktktg
Javob
200application/jsonThe transcription under data.
dataobjectMajburiyrequest_idstringMajburiyFormat: uuid
Sarlavhalar
Idempotency-ReplayedstringIxtiyoriy1when the answer is a replay of an earlier request with the sameIdempotency-Key.X-Request-IdstringIxtiyoriyIdentifies this request. A JSON body carries it as
request_idtoo; quote it to support.Format: uuid
X-RateLimit-LimitintegerIxtiyoriyThe requests a minute the rate limit on this endpoint allows. Sent once the limit has counted the request, so not when the key itself is refused.
X-RateLimit-RemainingintegerIxtiyoriyHow many of them are left this minute.
Xatolar
- 400
The
Idempotency-Keyis over 191 characters:invalid_request. - 401
The API key is missing or not recognized (
invalid_api_key), revoked (api_key_revoked), disabled (api_key_disabled) or expired (api_key_expired). - 402
Not enough balance (
insufficient_balance), or the charge would pass this key's monthly spend limit (spend_limit_exceeded). - 403
The key lacks the permission this endpoint needs (
insufficient_permissions), or the client IP is not in its allowlist (ip_not_allowed). - 409
The
Idempotency-Keywas already used with a different body:idempotency_conflict. - 422
The request failed validation (
invalid_request).error.fieldsnames each invalid field. - 429
A rate or concurrency limit was reached (
rate_limit_exceeded,concurrency_limit_exceeded). Retry afterRetry-Afterseconds. - 500
Transcription failed:
transcription_failed. Nothing is charged. Anything else that fails unexpectedly:server_error. - default
Any other error, in the same shape, such as
server_error(500) orservice_unavailable(503).