- AI Avatar API
- Get Tokens
- TTS and Voice Clone
- Generate Avatar Videos
- Create Avatars and Train Lip-sync Models
- Background Matting and Replacement
- Face Swap
- AI Dubbing
- Image to Video
- Caption Removal
- Streaming Avatar
- Miscellaneous
Obtain the Status of One Avatar Video Task
Global Server
Global Server
POST
/api/v1/video/awsResult
Candidate status:
-
init
: initialization -
start
: sent to algorithm -
pending
: in algorithm queue -
process
: being processing -
copy
: uploading to cloud storage -
success
: success -
fail
: algorithm errorRequest
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
_id
stringÂ
required
Example
{
"_id": "652630d6bae4de626f8b49ec"
}
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 POST 'https://video.a2e.ai/api/v1/video/awsResult' \
--header 'Content-Type: application/json' \
--data-raw '{"_id":"652630d6bae4de626f8b49ec"}'
Responses
🟢200awsResult
application/json
Body
code
integerÂ
required
data
array [object {17}]Â
required
_id
stringÂ
required
msg
stringÂ
optional
result
stringÂ
required
process
integerÂ
optional
status
stringÂ
required
Status values:
- `init`: initialization
- `start`: sent to algorithm
- `pending`: algorithm queue
- `process`: algorithm processing
- `copy`: saved to cloud storage
- `success`: success
- `fail`: algorithm error
anchor_type
stringÂ
optional
web_bg_width
integerÂ
optional
web_bg_height
integerÂ
optional
color
stringÂ
optional
result_people_url
stringÂ
optional
result_bg_url
stringÂ
optional
anchor_id
stringÂ
optional
replace_bg_id
stringÂ
optional
custom_backs_id
nullÂ
optional
createdAt
stringÂ
optional
diff_s
integerÂ
optional
current_date
stringÂ
optional
Example
{
"code": 0,
"data": [
{
"_id": "652630d6bae4de626f8b49ec",
"msg": "",
"result": "https://d1tzkvq5ukphug.cloudfront.net/adam2eve/beta/result_video/0bf86e8c598894900777afdcc983fd49_fe32c2279a497b095626cb7db5aeaf2a_58ac500147c6ed67090a9e13f7af94dd_matting.mp4",
"process": 100,
"status": "success",
"anchor_type": "0",
"web_bg_width": 1919,
"web_bg_height": 1080,
"color": "",
"anchor_id": "63de16f26c6193fa4ca7a486",
"replace_bg_id": "629067e435e495933464f034",
"custom_backs_id": null,
"createdAt": "2023-10-11T05:21:26.855Z",
"diff_s": 6644,
"current_date": "2023-10-11 15:12:11"
}
]
}
Modified at 2025-02-24 07:43:01