Download a synthesis job's audio
https://my.neuronai.uz/api/v1/tts/jobs/{id}/audioDownloads the WAV of a job that has succeeded, with the same headers as POST /v1/tts/synthesize.
The audio is kept for 24 hours after the job finishes.
tts:read ruxsatli API kalit kerak.
Yoʻl parametrlari
idstringMajburiyThe job id returned when the job was created.
Javob
200audio/wavWAV audio of the synthesized speech.
Sarlavhalar
X-CostnumberIxtiyoriyThe price billed, in credits.
X-BalancenumberIxtiyoriyYour balance after the charge, in credits.
X-Character-CountintegerIxtiyoriyThe characters billed. An emotion tag counts as one.
X-Voice-CustomstringIxtiyoriy1when the voice is one of your clones,0for a stock voice.Ruxsat etilgan qiymatlar:
01X-Latency-MsnumberIxtiyoriyTime the voice took, in milliseconds. May have a fraction.
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
- 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). - 403
The key lacks the permission this endpoint needs (
insufficient_permissions), or the client IP is not in its allowlist (ip_not_allowed). - 404
No such job in your organization:
not_found. - 409
The job is still
queuedorrunning(job_not_finished), or it failed (job_failed). - 410
The audio is past its 24-hour retention:
audio_expired. - 429
A rate or concurrency limit was reached (
rate_limit_exceeded,concurrency_limit_exceeded). Retry afterRetry-Afterseconds. - default
Any other error, in the same shape, such as
server_error(500) orservice_unavailable(503).