Text to Audio
Create Task
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
Text prompt
- Cannot exceed 200 characters
Generated audio duration
- Value range: 3.0s - 10.0s, supports one decimal place precision
Customized Task ID
- Users can provide a customized task ID, which will not overwrite the system-generated task ID but can be used for task queries.
- Please note that the customized task ID must be unique within a single user account.
The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes
- The specific message schema of the notification can be found in Callback Protocol
Query Task (Single)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Path Parameters
The task ID for audio generation
- Request path parameter, fill the value directly in the request path
- You can choose to query by external_task_id or task_id
Customized Task ID for audio generation
- The external_task_id filled in when creating the task. You can choose to query by external_task_id or task_id
Query Task (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
- Value range: [1, 1000]
Number of items per page
- Value range: [1, 500]