POST
/
cache
/
generate
/
face-swap
curl --request POST \
  --url https://api.charp.ai/cache/generate/face-swap \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base_video_url": "<string>",
  "image_url": "<string>"
}'
{
  "task_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2 access token

Body

application/json
Face swap generation parameters
base_video_url
string
required

URL of the base video

image_url
string
required

URL of the image for face swap

Response

200
application/json
Face swap generation task created successfully
task_id
string
required

Unique identifier of the generation task