- 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
- Manage Face Swap Resource
- Quickly Preview Face Swap
- Face Swap Tasks
- AI Dubbing
- Image to Video
- Caption Removal
- Streaming Avatar
- Miscellaneous
Get Face Swap Task Records
Global Server
Global Server
GET
/api/v1/userFaceSwapTask/records
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
pageNum
stringÂ
required
Example:
1
pageSize
stringÂ
required
Example:
10
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/userFaceSwapTask/records?pageNum=1&pageSize=10'
Responses
🟢200records
application/json
Body
code
integerÂ
required
data
objectÂ
required
rows
array [object {14}]Â
required
count
integerÂ
required
Example
{
"code": 0,
"data": {
"rows": [
{
"name": "xxxx",
"video_url": "https://dh24as48lv9ce.cloudfront.net/pbs_lite/stable/customer/645888fc89897e30c57e31f0/clipVideo/665d718eb8f6a5ee678aa392/1717400057881.mp4",
"duration": 6,
"face_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/beta/face_swap/ab2fca41-90e5-41a6-aa66-08a960b035e4.jpg",
"current_status": "completed",
"result_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/user/637498294abbb165572d5dbe/userFaceSwapTask/6674f1765699df7e9d25311a/1717400057881_ab2fca41-90e5-41a6-aa66-08a960b035e4_1718940028723.mp4",
"error_code": "0",
"faild_message": null,
"_id": "6674f1765699df7e9d25311a",
"createdAt": "2024-06-21T03:20:22.436Z",
"updatedAt": "2024-06-21T03:21:00.795Z",
"initialized_time": "2024-06-21T03:20:22.940Z",
"processing_time": "2024-06-21T03:20:23.358Z",
"completed_time": "2024-06-21T03:20:58.625Z"
},
{
"name": "2024-06-07 19:06:26",
"video_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/faceSwap/2024067/1717758398720.mp4",
"duration": 0,
"face_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/faceSwap/2024067/1717730089329.png",
"current_status": "completed",
"result_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/user/637498294abbb165572d5dbe/userFaceSwapTask/6662e9c62246edced67000f7/1717758398720_1717730089329_1717758409522.mp4",
"error_code": "0",
"faild_message": null,
"_id": "6662e9c62246edced67000f7",
"createdAt": "2024-06-07T11:06:46.273Z",
"updatedAt": "2024-06-07T11:07:35.812Z",
"initialized_time": "2024-06-07T11:06:46.785Z",
"processing_time": "2024-06-07T11:06:47.162Z",
"completed_time": "2024-06-07T11:07:34.667Z"
},
{
"name": "2024-06-07 11:14:35",
"video_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/faceSwap/2024067/1717730378328.mp4",
"duration": 0,
"face_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/faceSwap/2024067/1717730089329.png",
"current_status": "completed",
"result_url": "https://dh24as48lv9ce.cloudfront.net/adam2eve/stable/user/637498294abbb165572d5dbe/userFaceSwapTask/66627c58577166cec1929f84/1717730378328_1717730089329_1717758893515.mp4",
"error_code": "0",
"faild_message": null,
"_id": "66627c58577166cec1929f84",
"createdAt": "2024-06-07T03:19:52.183Z",
"updatedAt": "2024-06-07T11:15:56.687Z",
"initialized_time": "2024-06-07T11:14:51.208Z",
"processing_time": "2024-06-07T11:14:51.554Z",
"completed_time": "2024-06-07T11:15:55.554Z"
}
],
"count": 3
}
}
Modified at 2025-02-25 07:11:27