Guides

Swap

Put any person into any video clip: send a clip of 3 to 14 seconds and a photo of the person.

Inputs: a clip and a photo

POST /v1/swap takes two things:

videostringrequired
The clip, 3 to 14 seconds, MP4 or MOV up to 50 MB: a URL or an upload id.
imagestringrequired
A photo of the person to put into the clip.

The person in the clip is replaced by the person in the photo, keeping the clip's motion, expressions, light and camera. A 5-second clip is $2.14, 10 seconds $3.88 and 14 seconds $5.28; see pricing.

What makes a good source clip

  • One main person, clearly visible for most of the clip.
  • A face that is not hidden for long by hands, hair or objects.
  • Steady light and a sharp picture. Fast blur and dark scenes are harder.
  • A photo of the new person facing the camera, in light like the clip's.
You must have permission from the person whose photo you use, and the right to use the clip. Build it into your product: ask your users to confirm both before they start a swap. See the Use rules.