Developers / Text to Speech
Get TTS job details
https://api.echonova.ai/v1/text-to-speech/jobs/{jobId}Returns one API job of this key's workspace, with its audio URL once it has completed, whichever key created it. A job of another workspace answers 404. Needs Text to Speech access on the key.
Headers
Bearer, a space, then your API key, which starts with ek_. Create keys in the portal under Developers, API Keys.
Path parameters
The jobId the API returned when the job was created.
Response
200 application/json Every response uses this envelope.
The result.
The job id.
pending, processing, completed or failed.
The text that was sent.
The voice that read it.
A signed link to the WAV file. It expires; read the job again for a fresh link. Null until the job completes.
Length of the audio in seconds.
Credits charged, a whole number.
The reason the job failed. Null unless status is failed.
When the job was created, ISO 8601 in UTC.
true for a successful call.
Repeats the HTTP status.
null on success.
Errors
Same envelope, with success false and data null. All errors
When. jobId is not a 24-character hexadecimal id.
Fix. Use the id exactly as the create call returned it.
When. The Authorization header is missing or is not Bearer ek_..., no key matches the token, or the key is deleted, disabled or its account is closed.
Fix. Send Authorization: Bearer ek_... with an enabled key from this environment.
When. The workspace that owns the key has no subscription.
Fix. Check the workspace's plan in the portal.
When. The subscription is in a state other than active or trial.
Fix. Renew the subscription.
When. The key is restricted and Text to Speech is not among its services.
Fix. Edit the key and grant Text to Speech, or use another key.
When. The job id is unknown, or the job belongs to another workspace or was made in the portal.
Fix. Use a jobId from this workspace's API jobs.
When. The key made more than 100 requests to one endpoint in 60 seconds, or one IP address made more than 100 requests to one endpoint in 60 seconds (the IP limit is counted before the key is checked, so it can answer with no key at all); a Retry-After header carries the seconds to wait.
Fix. Wait Retry-After seconds, then retry.
When. An error the API did not classify.
Fix. Check the request, then retry after a short wait; contact support if it persists.
When. A transient outage inside the API.
Fix. Retry after a short wait.
When. A transient timeout inside the API.
Fix. Retry after a short wait.
curl "https://api.echonova.ai/v1/text-to-speech/jobs/{jobId}" \
-H "Authorization: Bearer YOUR_API_KEY"{
"data": {
"id": "66e5f0c2a1b2c3d4e5f60718",
"status": "completed",
"text": "الطقس اليوم جميل والسماء صافية في المدينة",
"voiceId": "66e5ef3a9c1d2b4f8a7e6c01",
"audioUrl": "https://storage.example.com/tts/tts-output.wav?X-Amz-Signature=...",
"durationSeconds": 3.4,
"creditsConsumed": 41,
"error": null,
"createdAt": "2026-09-15T10:21:04.512Z"
},
"success": true,
"statusCode": 200,
"errorMessage": null
}