This endpoint retrieves completed records for user voice clone training tasks from the server.The speaker_id of the response will be used in the https://video.a2e.ai/api/v1/video/send_tts interface as user_voice_id. If user_voice_id is passed, the country and region parameters must be provided.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://video.a2e.ai/api/v1/userVoice/completedRecord'
Responses
🟢200completedRecord
application/json
Body
code
integerÂ
required
data
array [object {8}]Â
required
name
stringÂ
required
voice_urls
array[string]
required
current_status
stringÂ
required
status of the training task. e.g. sent, processing, completed The result is ready usually within 1 minute, then you see "completed" response.
train_mode
stringÂ
required
_id
stringÂ
required
the ID of the voice clone record. You must carefully save this id for later inquiry