Image Face Swap
POST
/api/v1/image-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 image url(heic、jpeg、jpg、png、webp) you want to swap faces with.
Example
{
"source_image": "https://1250948203.rsc.cdn77.org/images/d3a6ea8e-d949-4b7c-8966-3ecf2796751d.jpg",
"target_image": "https://1250948203.rsc.cdn77.org/images/8592959b-00d6-4380-8fc7-824b41c89451.jpeg"
}
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_photo_generation",
"status": "pending",
"created_at": "2024-08-17T08:14:07.000000Z",
"id": 165934
}
Last modified: 5 个月前