Get Translated Text-to-Speech Status
Monitors the progress of a Translated Text-to-Speech task using the provided task_id.
GET
Create Translated Tts Task Status
This endpoint enables you to track the status of your Translated Text-to-Speech requests. When you submit content for translation and audio generation, our system processes both operations as a unified background task. This endpoint provides detailed visibility into this combined process, allowing you to determine when your translated audio will be ready for use.
Understanding This Endpoint
To monitor your Translated Text-to-Speech task progression, send aGET request to this endpoint with the task_id you received during your initial submission. The system will return comprehensive information about the current stage of processing for both the translation and audio generation components.
Response Structure
When querying this endpoint, you’ll receive a detailed status response containing several vital pieces of information:- Current Status: Indicates the overall state of your combined translation and audio generation task.
- Completion Details: For successfully completed tasks, includes
run_idnecessary to access your translated text and generated audio file.
Understanding Status Codes
Your translated text-to-speech request will move through various states during processing. Each status code represents a distinct situation that your application should be prepared to handle:Implementation Guidelines
For optimal integration of this endpoint into your applications, consider the following practices:- Implement Progressive Polling: Start with longer intervals between status checks, then decrease the interval as the task progresses through different states.
- Set Reasonable Timeouts: Most translation and synthesis tasks complete within 2-5 minutes, depending on content length and complexity.
Example Implementation in JavaScript
Performance Considerations
When integrating this status-monitoring endpoint into your applications, keep these performance factors in mind:- Request Frequency: Avoid polling more frequently than every 3-5 seconds to prevent unnecessary load on both client and server.
- Timeout Handling: For longer texts, processing may take several minutes. Set appropriate client-side timeout expectations.
- Error Resilience: Network interruptions shouldn’t affect your task processing; the task continues running server-side regardless of status checks.
Next Steps
Once your task reaches theSUCCESS status, you’ll receive a run_id for accessing both:
- The generated audio file through the
/tts-result/{run_id}endpoint. - The translated text via the
/translation-result/{run_id}endpoint.
Authorizations
Path Parameters
Last modified on June 14, 2025