Custom Voice
Create Custom Voice
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
Voice Name
- The maximum length of text content is 20 characters
- The voices that are no longer used after creation can be deleted through the API
The URL of voice data file
- Supports .mp3 / .wav audio file and .mp4 / .mov video file
- The voice needs to be clean and free of noise, with only one type of human voice present, with a duration of no less than 5 seconds and no longer than 30 seconds
Generated video ID, which can provide audio materials by referencing historical works
- Only videos that meet the following conditions can be used to customize voice:
- The video is generated on V2.6 model and the value of sound parameter is on
- The video is generated through Avatar API
- The video is generated through Lip-Sync API
- The voice needs to be clean and free of noise, with only one type of human voice present, with a duration of no less than 5 seconds and no longer than 30 seconds
The callback notification address for the result of this task. If configured, the server will actively notify when the task status changes.
- For specific message schema, see Callback Protocol
Customized Task ID
- Will not overwrite system-generated task ID, but supports querying task by this ID
- Please note that the customized task ID must be unique within a single user account.
Query Custom Voice (Single)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Path Parameters
The task ID of the element creation task. Request path parameter, directly fill the value in the request path.
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
- When creating a task, you can choose to query by external_task_id or task_id.
Query Custom Voice (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
Value range: [1, 1000]
Data volume per page
Value range: [1, 1000]
Query Presets Voice (List)
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Query Parameters
Page number
Value range: [1, 1000]
Data volume per page
Value range: [1, 1000]
Delete Custom Voice
Request Header
Data Exchange Format
Authentication information, refer to API authentication
Request Body
The ID of the voice to be deleted, only supports deleting custom voices