The resources (image, video, voice) generated by our API are valid for 7 days. Please save the relevant resources as soon as possible to prevent expiration.
{ "code": 1000, // API code "msg": "OK", "data": { "faceswap_quality": 2, "storage_loc": 1, "_id": "64dd90f9f0b6684651e90d60", "create_time": 1692242169057, "uid": 378337, "type": 5, "from": 2, "video_lock_duration": 0.8, "deduction_lock_duration": 10, "external_video": "", "talking_photo": "https://***.cloudfront.net/1692242161763-4fb8c3c2-018b-4b84-82e9-413c81f26b3a-6613.jpeg", "video": "", // the url of Generated video "__v": 0, "video_status": 1 // current status of video: 【1:queueing(The requested operation is being processed),2:processing(The requested operation is being processing),3:completed(The request operation has been processed successfully),4:failed(The request operation processing failed, the reason for the failure can be viewed in the talkingphoto details.)】 }}
{ "code": 1000, "msg": "OK", "data": { "faceswap_quality": 2, "storage_loc": 1, "_id": "64dd92c1f0b6684651e90e09", "create_time": 1692242625334, "uid": 378337, "type": 2, "from": 1, "video_id": "0acfed62e24f4cfd8801c9e846347b1d", "video_lock_duration": 7.91, "deduction_lock_duration": 10, "video_status": 2, // current status of video: 【1:queueing(The requested operation is being processed),2:processing(The requested operation is being processing),3:completed(The request operation has been processed successfully),4:failed(The request operation processing failed, the reason for the failure can be viewed in the talkingphoto details.)】 "external_video": "", "video": "" // Generated video resource url }}
Response Code Description
Please note that if the value of the response code is not equal to 1000, the request is failed or wrong
Parameter
Value
Description
code
1000
Success
code
1003
Parameter error or Parameter can not be empty
code
1008
The content you get does not exist
code
1009
You do not have permission to operate
code
1015
Create video error, please try again later
code
1101
Invalid authorization or The request token has expired