Endpoints
Get Generation
Retrieve the status and details of a TTS generation
GET
Poll this endpoint to check if your generation is complete. WhenDocumentation Index
Fetch the complete documentation index at: https://docs.audixa.ai/llms.txt
Use this file to discover all available pages before exploring further.
status is COMPLETED, the audio_url field will contain the download link.
Endpoint
Request
Response
Unique identifier for the generation.
Current status:
IN_QUEUE, GENERATING, COMPLETED, FAILED.The input text that was submitted.
Voice ID used.
Human-readable voice name.
Model used:
base or advanced.Number of tokens consumed.
Final cost in USD.
Payment source:
CREDITS_BALANCE (Monthly) or API_WALLET (Topup).Download URL for the audio file (only when status is
COMPLETED).Error details if status is
FAILED.ISO 8601 creation timestamp.
ISO 8601 timestamp when processing started.
ISO 8601 timestamp when processing completed.
Polling Best Practices
Poll Interval
Poll every 1-2 seconds. Don’t poll faster than once per second.
Timeout
Set a maximum timeout (e.g., 60 seconds) to avoid infinite loops.
Error Handling
Always handle the
FAILED status gracefully with retry logic.Cache Results
Once completed, cache the
audio_url to avoid re-polling.Error Responses
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
Invalid or expired generation ID.
Generation IDs expire 24 hours after creation.
429 Too Many Requests
429 Too Many Requests
Rate limit exceeded.