header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
{"name":"My Talking Video","video_url":"https://prod-tos.avatar2everyone.com/adam2eve/stable/user_origin_avatar/20250119/efff01ef-804b-4fe3-b104-8c8790d2b51b.mp4","audio_url":"https://7days-tos.a2e.com.cn/tts3party_cache/stable/el/stable_7e3e8c030260f0cc3fcfdd0d791d8917/526a79e7a6d3ffebbfbcddeb9e6bfb06.mp3","duration":5,"prompt":"Make this person smile and speak","negative_prompt":"blurry, distorted"}
Request Code 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 POST 'https://video.a2e.ai/api/v1/talkingVideo/start' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "My Talking Video",
"video_url": "https://prod-tos.avatar2everyone.com/adam2eve/stable/user_origin_avatar/20250119/efff01ef-804b-4fe3-b104-8c8790d2b51b.mp4",
"audio_url": "https://7days-tos.a2e.com.cn/tts3party_cache/stable/el/stable_7e3e8c030260f0cc3fcfdd0d791d8917/526a79e7a6d3ffebbfbcddeb9e6bfb06.mp3",
"duration": 5,
"prompt": "Make this person smile and speak",
"negative_prompt": "blurry, distorted"
}'
Responses
🟢200OK
application/json
Body
Example
{"code":0,"data":{"_id":"68c3e20ad54b2f0047dd3c4c","name":"My Talking Video","video_url":"https://prod-tos.avatar2everyone.com/adam2eve/stable/user_origin_avatar/20250119/efff01ef-804b-4fe3-b104-8c8790d2b51b.mp4","audio_url":"https://7days-tos.a2e.com.cn/tts3party_cache/stable/el/stable_7e3e8c030260f0cc3fcfdd0d791d8917/526a79e7a6d3ffebbfbcddeb9e6bfb06.mp3","duration":5,"current_status":"initialized","coins":13,"createdAt":"2025-09-12T09:04:10.026Z","failed_message":"","failed_code":"","result_url":"","prompt":"Make this person smile and speak","negative_prompt":"blurry, distorted","cover_url":""},"trace_id":"abaf1a66-d04d-4791-99c6-6cc43a5565d5"}