How to Swap Faces in a Video Without Code
Face swap video without writing code: what to upload, how many people can be replaced, what stays the same, consent, and when the API is the better route.
Updated 4 min read
Making a face swap video without code takes a clip, a clear photo of the face and a few clicks: open Frameport Replace 1 in the Frameport Studio, add a clip of 2 to 10 seconds and the photo, and press Generate. The person in the clip gets the new face, with their moves, lips, the scene and the sound kept, for $0.12 per second of clip at 768p, charged only if the edit succeeds.
This guide covers what to prepare, the steps in the Studio, several people in one clip, what stays the same, consent, and when the API is the better route.
What you need: a clip and a clear face photo
The clip. 2 to 10 seconds long, as an MP4 or MOV file of up to 64 MB, at 24 fps. Video editors, on a phone or a computer, can usually trim a clip and export it at 24 frames per second. A clip that does not fit is refused with a message that says what to change, and nothing is charged.
The face. One photo per person you replace, PNG, JPEG or WebP, up to 10 MB. The edit reads the face from it, so the clearer the better:
- the face fills a good part of the frame and looks roughly toward the camera;
- even light, no sunglasses, no hand or hair across the face;
- one person in the picture.
The person in the clip should be easy to see too: someone far in the background, or turned away from the camera the whole time, gives the edit little to work with.
Make a face swap video in the Studio
- Create an account and add funds under Billing, from $10. There is no subscription.
- Open the Studio's Edit tab with Frameport Replace 1.
- Add your clip in Clip, and the photo in Face 1.
- Pick the Resolution, 768p or 1080p, and leave Keep outfit on to keep the clothes of the clip.
- Press Generate. The button shows the price of your clip before you start, and the price is held until the edit ends.
- When it is done, press Download on the result.
If the edit fails, the hold goes back to your balance in full: you pay only for a clip that comes out.
One person or several in the same clip
Up to four people in one clip can each get a new face. Add one photo per person in the Face slots, then say who each face replaces in the line under it, such as "replaces the woman on the left" or "replaces the man in the red jacket". With two faces or more, every face needs its line.
The price stays the same whatever the number of faces: an edit is billed on the clip's seconds alone.
What stays the same
| The face | Changes to the face in your photo |
| Moves and lips | Kept from the clip |
| The scene | Kept from the clip |
| The sound and the voices | Kept from the clip |
| The clothes | Kept with Keep outfit; with Outfit from photo, each person is dressed as in their picture |
| The result | A video file at 768p or 1080p, to download |
Outfit from photo turns a face swap into a character swap: the whole look comes from the picture. The character swap API guide shows what that is good for.
A long scene goes through in pieces: cut it into clips of up to 10 seconds, swap each, and join them in your video editor.
Consent and what is refused
The acceptable use policy applies to every photo you add and every clip you get back:
- Everything you make must be fiction.
- Never anything involving minors.
- Never a real, identifiable person without their consent, including faces from photos of private persons.
- Never impersonation, fraud, harassment or anything illegal where you are.
So: your own face, the face of someone who agreed to it, or a character you generated. A request that breaks these rules is refused and costs nothing.
What it costs
| Clip | 768p | 1080p |
|---|---|---|
| 5 s | $0.60 | $1.25 |
| 10 s | $1.20 | $2.50 |
Seconds are counted whole, rounded up. The Studio and the API share the same balance and the same prices.
When the API is the better route
The Studio suits a few clips by hand. The API is the better route when:
- you swap many clips, or the same face into a series of clips;
- the swap is one step of a pipeline, such as generate a clip, swap the face, upscale the result;
- your own app lets its users swap faces, through your key;
- you want to be told when each edit is done, with a webhook, instead of watching a page.
It is the same edit, one request to POST /v1/videos/edits with the clip and the faces, at the same price. The face swap video API guide has the request in curl, Python and Node.
Looking for an app made for creators rather than a developer platform? You can also swap faces in videos using eroq.ai, a private AI studio that needs no code.
Several people in the same clip? See multiple face swap video.
FAQ
Can I face swap a video for free?
The account is free, and an edit that fails costs nothing. A swap that comes out is paid per second of clip from a prepaid balance, from $0.12 per second at 768p, with no subscription. The Generate button shows the price before you start.
How many faces can I swap in one video?
Up to four, one photo per person, with a line for each saying who it replaces.
Does the swapped video keep the original voice?
Yes. The sound of the clip is kept as it is, voices included, along with the moves, the lips and the scene.
Can I swap faces in a long video?
One edit takes a clip of 2 to 10 seconds. For a longer video, cut it into clips of that length, swap each, and join them in a video editor.
Can I get the result in HD?
Yes: pick 1080p under Resolution before you press Generate. It costs $0.25 per second of clip, against $0.12 at 768p.