Video Face Swap
POST
/api/v1/video-face-swapRequest
Body Params application/json
source_image
string
required
The face image url(heic、jpeg、jpg、png、webp) you want to change.
target_video
string
required
The target video url(only mp4) you want to swap faces with.
Example
{
"source_image": "https://1250948203.rsc.cdn77.org/images/d3a6ea8e-d949-4b7c-8966-3ecf2796751d.jpg",
"target_video": "https://1250948203.rsc.cdn77.org/videos/4c373632-8976-4e43-ae75-a5ec7d5ee1b7.mp4"
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
message
string
required
the response message
type
string
required
the type of the task
status
string
required
the task status
created_at
string
required
the create time of the task
id
integer
required
the id of this task
Example
{
"message": "success",
"type": "create_face_swap_video_generation",
"status": "pending",
"created_at": "2024-08-17T08:23:48.000000Z",
"id": 165964
}
Last modified: 5 个月前