[{"data":1,"prerenderedAt":484,"buildId":485},["ShallowReactive",2],{"blog:article:face-swap-video-api":3,"catalog":147},{"article":4,"related":120,"studioPath":146},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":16,"primaryKeyword":17,"keywords":18,"words":27,"toc":28,"blocks":54,"faq":114},"face-swap-video-api","\u002Fblog\u002Fface-swap-video-api","Face Swap Video API: Replace Up to Four People","A face swap video API: swap the people in a clip for the faces you send, with moves, lips, scene and sound kept. Requests, limits, consent and cost.","models","Models","2026-11-28",6,[14,15],"fp-replace-1","fp-upscale-1",false,"face swap video api",[17,19,20,21,22,23,24,25,26],"face swap api","face swap api video","ai video face swap api","face swap api key","face swap video api python","video face swap api","replace face in video api","multiple face swap api",1294,[29,33,36,39,42,45,48,51],{"id":30,"text":31,"level":32},"what-the-edit-changes-and-what-it-keeps","What the edit changes, and what it keeps",2,{"id":34,"text":35,"level":32},"your-first-face-swap-video-api-request","Your first face swap video API request",{"id":37,"text":38,"level":32},"faces-targets-and-keeping-the-outfit","Faces, targets and keeping the outfit",{"id":40,"text":41,"level":32},"clip-limits","Clip limits",{"id":43,"text":44,"level":32},"consent-whose-faces-you-may-use","Consent: whose faces you may use",{"id":46,"text":47,"level":32},"what-a-face-swap-costs-and-when-it-is-charged","What a face swap costs, and when it is charged",{"id":49,"text":50,"level":32},"good-source-clips-and-good-face-photos","Good source clips and good face photos",{"id":52,"text":53,"level":32},"faq","FAQ",[55,58,65,70,72,75,77,81,83,86,88,90,92],{"type":56,"html":57},"html","\u003Cp>A face swap video API takes a clip and a photo of a face, and returns the same clip with that face on the person in it. On Frameport that is \u003Ca href=\"\u002Fmodels\u002Ffp-replace-1\">Frameport Replace 1\u003C\u002Fa>, our own clip editor: one request to \u003Ccode>POST \u002Fv1\u002Fvideos\u002Fedits\u003C\u002Fcode> replaces up to four people with the faces you send, keeps their moves, lips, the scene and the sound, and costs $0.12 per second of clip at 768p, charged only if the edit succeeds.\u003C\u002Fp>\n\u003Cp>This page covers what the edit changes, a first swap in curl, Python and Node, several faces in one clip, the limits a clip must meet, consent, and the cost.\u003C\u002Fp>\n\u003Ch2 id=\"what-the-edit-changes-and-what-it-keeps\">What the edit changes, and what it keeps\u003C\u002Fh2>\n\u003Cdiv class=\"blog-table box\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">\u003C\u002Fth>\u003Cth scope=\"col\">\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Changes\u003C\u002Ftd>\u003Ctd>The face of each person you name, to the face in the picture you send\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Keeps\u003C\u002Ftd>\u003Ctd>The moves, the lips, the scene and the sound of the clip\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Clothes\u003C\u002Ftd>\u003Ctd>The clip&#39;s by default; with \u003Ccode>&quot;keep_outfit&quot;: false\u003C\u002Fcode>, each person is dressed as in their picture\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>People per clip\u003C\u002Ftd>\u003Ctd>1 to 4, one picture each\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Output\u003C\u002Ftd>\u003Ctd>768p or 1080p, a video file behind a signed link\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Price\u003C\u002Ftd>\u003Ctd>$0.12 per second at 768p, $0.25 at 1080p\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>It works on a clip you already have: a recorded take, a generated clip, a scene from your own footage. It does not write a new scene from a prompt; for that, use a \u003Ca href=\"\u002Fblog\u002Ftext-to-video-api\">text to video model\u003C\u002Fa> first and swap the face in afterwards.\u003C\u002Fp>\n\u003Ch2 id=\"your-first-face-swap-video-api-request\">Your first face swap video API request\u003C\u002Fh2>\n\u003Cp>Upload the clip and the face once, then send their ids. Public https URLs work too, and so do your own outputs by their \u003Ccode>file_…\u003C\u002Fcode> id.\u003C\u002Fp>",{"type":59,"snippets":60,"title":64},"tabs",{"curl":61,"python":62,"node":63},"# 1. Upload the clip and the face (or skip this and pass https URLs)\ncurl \"https:\u002F\u002Fframeport.ai\u002Fv1\u002Fuploads?filename=dance.mp4\" \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: video\u002Fmp4\" \\\n  --data-binary @dance.mp4\ncurl \"https:\u002F\u002Fframeport.ai\u002Fv1\u002Fuploads?filename=face.jpg\" \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: image\u002Fjpeg\" \\\n  --data-binary @face.jpg\n\n# 2. Submit the edit with the two upload ids\ncurl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fedits \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"fp-replace-1\",\n    \"video\": \"upl_7Rk2PqV9wXm4Tn8Lc1BdZe\",\n    \"faces\": [\"upl_3Tn8Lc1BdZeR7Rk2PqV9wX\"],\n    \"resolution\": \"768p\"\n  }'\n\n# 3. Poll until \"status\" is \"succeeded\", then download outputs[0].url\ncurl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fedits\u002F$GENERATION_ID \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\"","import os\nimport time\nimport requests\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nheaders = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\n\ndef upload(path, content_type):\n    with open(path, \"rb\") as file:\n        return requests.post(\n            f\"{API}\u002Fuploads\",\n            params={\"filename\": os.path.basename(path)},\n            headers={**headers, \"Content-Type\": content_type},\n            data=file,\n        ).json()[\"id\"]\n\nclip = upload(\"dance.mp4\", \"video\u002Fmp4\")\nface = upload(\"face.jpg\", \"image\u002Fjpeg\")\n\ngen = requests.post(f\"{API}\u002Fvideos\u002Fedits\", headers=headers, json={\n    \"model\": \"fp-replace-1\",\n    \"video\": clip,\n    \"faces\": [face],\n    \"resolution\": \"768p\",\n}).json()\nif gen.get(\"error\"):\n    raise SystemExit(f\"{gen['error']['code']}: {gen['error']['message']}\")\n\nwhile gen[\"status\"] in (\"queued\", \"running\"):\n    time.sleep(5)\n    gen = requests.get(f\"{API}\u002Fvideos\u002Fedits\u002F{gen['id']}\", headers=headers).json()\nif gen[\"status\"] == \"failed\":\n    raise SystemExit(gen[\"error\"][\"message\"])  # nothing was charged\n\nopen(\"swapped.mp4\", \"wb\").write(requests.get(gen[\"outputs\"][0][\"url\"]).content)\nprint(\"saved swapped.mp4, charged\", gen[\"cost_usd\"])","import { readFile, writeFile } from 'node:fs\u002Fpromises'\nimport { basename } from 'node:path'\n\nconst API = 'https:\u002F\u002Fframeport.ai\u002Fv1'\nconst auth = { Authorization: `Bearer ${process.env.FRAMEPORT_API_KEY}` }\n\nasync function upload(path, contentType) {\n  const res = await fetch(`${API}\u002Fuploads?filename=${basename(path)}`, {\n    method: 'POST',\n    headers: { ...auth, 'Content-Type': contentType },\n    body: await readFile(path),\n  })\n  return (await res.json()).id\n}\n\nconst clip = await upload('dance.mp4', 'video\u002Fmp4')\nconst face = await upload('face.jpg', 'image\u002Fjpeg')\n\nlet gen = await fetch(`${API}\u002Fvideos\u002Fedits`, {\n  method: 'POST',\n  headers: { ...auth, 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({ model: 'fp-replace-1', video: clip, faces: [face], resolution: '768p' }),\n}).then(res => res.json())\nif (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)\n\nwhile (gen.status === 'queued' || gen.status === 'running') {\n  await new Promise(resolve => setTimeout(resolve, 5000))\n  gen = await fetch(`${API}\u002Fvideos\u002Fedits\u002F${gen.id}`, { headers: auth }).then(res => res.json())\n}\nif (gen.status === 'failed') throw new Error(gen.error.message) \u002F\u002F nothing was charged\n\nconst file = await fetch(gen.outputs[0].url)\nawait writeFile('swapped.mp4', Buffer.from(await file.arrayBuffer()))\nconsole.log('saved swapped.mp4, charged', gen.cost_usd)","Upload · submit · poll",{"type":66,"lang":67,"code":68,"title":69},"code","json","{\n  \"id\": \"gen_6Pq3WnT8vXc1Lm5Rk9YbZs\",\n  \"object\": \"generation\",\n  \"type\": \"video\",\n  \"model\": \"fp-replace-1\",\n  \"status\": \"queued\",\n  \"input\": {\n    \"video\": \"upl_7Rk2PqV9wXm4Tn8Lc1BdZe\",\n    \"resolution\": \"768p\",\n    \"faces\": 1,\n    \"keep_outfit\": true,\n    \"duration\": 6\n  },\n  \"reserved_usd\": 0.72,\n  \"cost_usd\": null,\n  \"outputs\": [{ \"id\": \"file_3Vb8KqW2nTx7Lc5Rm1YdPs\", \"status\": \"queued\" }],\n  \"error\": null,\n  \"created_at\": \"2026-11-28T10:00:00.000Z\",\n  \"completed_at\": null\n}","202 Accepted, for a 6-second clip",{"type":56,"html":71},"\u003Cp>By the time the \u003Ccode>202\u003C\u002Fcode> comes back, the clip has been measured: \u003Ccode>duration\u003C\u002Fcode> is the seconds it bills, and \u003Ccode>reserved_usd\u003C\u002Fcode> is its price. The \u003Ca href=\"\u002Fdocs\u002Fedits\">edits reference\u003C\u002Fa> lists every field.\u003C\u002Fp>\n\u003Ch2 id=\"faces-targets-and-keeping-the-outfit\">Faces, targets and keeping the outfit\u003C\u002Fh2>\n\u003Cp>With one person in the clip, one face is enough. With several, send one picture per person, left to right, and say in \u003Ccode>targets\u003C\u002Fcode> who each face replaces, in the same order:\u003C\u002Fp>",{"type":66,"lang":67,"code":73,"title":74},"{\n  \"model\": \"fp-replace-1\",\n  \"video\": \"https:\u002F\u002Fexample.com\u002Fduet.mp4\",\n  \"faces\": [\"https:\u002F\u002Fexample.com\u002Fana.jpg\", \"https:\u002F\u002Fexample.com\u002Fben.jpg\"],\n  \"targets\": [\"the woman on the left\", \"the man on the right\"],\n  \"keep_outfit\": false,\n  \"resolution\": \"1080p\"\n}","POST \u002Fv1\u002Fvideos\u002Fedits",{"type":56,"html":76},"\u003Cul>\n\u003Cli>\u003Cstrong>\u003Ccode>faces\u003C\u002Fcode>\u003C\u002Fstrong>: 1 to 4 pictures, PNG, JPEG or WebP, up to 10 MB each: an https URL, a base64 data URI, an image upload or one of your image outputs.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ccode>targets\u003C\u002Fcode>\u003C\u002Fstrong>: required with two faces or more, one per face, up to 200 characters each. Describe each person as the clip shows them: their place, their clothes, what they do.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ccode>keep_outfit\u003C\u002Fcode>\u003C\u002Fstrong>: \u003Ccode>true\u003C\u002Fcode> by default, and each person keeps the clothes of the clip. \u003Ccode>false\u003C\u002Fcode> dresses each one as in their picture, which turns a face swap into a \u003Ca href=\"\u002Fblog\u002Fcharacter-swap-api\">character swap\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ccode>prompt\u003C\u002Fcode>\u003C\u002Fstrong>: an optional note on the edit, up to 500 characters.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The price does not change with the number of faces: an edit is billed on the clip&#39;s seconds alone.\u003C\u002Fp>\n\u003Ch2 id=\"clip-limits\">Clip limits\u003C\u002Fh2>\n\u003Cdiv class=\"blog-table box\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">\u003C\u002Fth>\u003Cth scope=\"col\">Frameport Replace 1\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Length\u003C\u002Ftd>\u003Ctd>2 to 10 seconds\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>File\u003C\u002Ftd>\u003Ctd>MP4 or MOV, up to 64 MB\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Frame rate\u003C\u002Ftd>\u003Ctd>24 fps\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Resolutions out\u003C\u002Ftd>\u003Ctd>768p and 1080p, 768p when left out\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Where it comes from\u003C\u002Ftd>\u003Ctd>A public https URL, a video upload (\u003Ccode>upl_…\u003C\u002Fcode>) or one of your video outputs (\u003Ccode>file_…\u003C\u002Fcode>)\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>A URL must be https on a public host name, with no IP address, no credentials and no private or local host; up to 3 redirects are followed. A clip off these limits is refused with \u003Ccode>400 invalid_video\u003C\u002Fcode> when you send it, and the message says what to fix, for example &quot;takes clips at 24 fps: convert the clip first&quot;. Nothing is charged. To bring a clip within them with ffmpeg, cut it to 10 seconds and convert it to 24 fps:\u003C\u002Fp>",{"type":66,"lang":78,"code":79,"title":80},"curl","ffmpeg -i input.mp4 -t 10 -r 24 -c:v libx264 -crf 18 -c:a aac clip.mp4","Prepare a clip",{"type":56,"html":82},"\u003Cp>For a longer scene, cut it into clips of up to 10 seconds, swap each, and join the results.\u003C\u002Fp>\n\u003Ch2 id=\"consent-whose-faces-you-may-use\">Consent: whose faces you may use\u003C\u002Fh2>\n\u003Cp>The \u003Ca href=\"\u002Facceptable-use\">acceptable use policy\u003C\u002Fa> applies to every picture you send and every clip you get back:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>Everything you make must be fiction.\u003C\u002Fli>\n\u003Cli>Never anything involving minors.\u003C\u002Fli>\n\u003Cli>Never a real, identifiable person without their consent, including faces from photos of private persons.\u003C\u002Fli>\n\u003Cli>Never impersonation, fraud, harassment or anything illegal where you or your users are.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Use your own face, or the face of someone who has agreed to this use, or a character you generated. If your users send the pictures through your app, you answer for what they make with your keys: ask for consent in your product, and put in place the checks your audience calls for. A request that is refused answers \u003Ccode>400 content_policy\u003C\u002Fcode> and costs nothing. The workspace&#39;s content filter, on by default, also reads the note and every target of an edit.\u003C\u002Fp>\n\u003Ch2 id=\"what-a-face-swap-costs-and-when-it-is-charged\">What a face swap costs, and when it is charged\u003C\u002Fh2>\n\u003Cp>An edit costs the clip&#39;s seconds times the rate at the resolution you ask for. Seconds are whole, rounded up, with 0.15 s of grace: a 6.1-second clip bills 6 seconds.\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Clip\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">768p\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">1080p\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>2 s\u003C\u002Ftd>\u003Ctd class=\"r\">$0.24\u003C\u002Ftd>\u003Ctd class=\"r\">$0.50\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>6 s\u003C\u002Ftd>\u003Ctd class=\"r\">$0.72\u003C\u002Ftd>\u003Ctd class=\"r\">$1.50\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>10 s\u003C\u002Ftd>\u003Ctd class=\"r\">$1.20\u003C\u002Ftd>\u003Ctd class=\"r\">$2.50\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>When you submit, the price of the longest clip it takes, 10 seconds, is held first. Once the clip is measured, the hold comes down to your clip&#39;s price, which is the \u003Ccode>reserved_usd\u003C\u002Fcode> of the \u003Ccode>202\u003C\u002Fcode>. It is charged when the edit succeeds, and a failed edit gives it all back. To know the price before you send anything, quote the edit with its length:\u003C\u002Fp>",{"type":66,"lang":67,"code":84,"title":85},"{\n  \"object\": \"quote\",\n  \"model\": \"fp-replace-1\",\n  \"type\": \"video\",\n  \"mode\": \"edit\",\n  \"price_usd\": 0.72,\n  \"reserved_usd\": 1.2,\n  \"breakdown\": \"6 s at 768p × $0.12\u002Fs\",\n  \"available_usd\": 42.5,\n  \"enough_balance\": true\n}","POST \u002Fv1\u002Fgenerations\u002Fquote · 200 OK",{"type":56,"html":87},"\u003Cp>That answers a body of \u003Ccode>{&quot;model&quot;: &quot;fp-replace-1&quot;, &quot;seconds&quot;: 6.1}\u003C\u002Fcode>. \u003Ccode>max_cost_usd\u003C\u002Fcode> on an edit caps the hold, which is the price of the longest clip. To sharpen the result further, send it to \u003Ca href=\"\u002Fblog\u002Fvideo-upscaler-api\">Frameport Upscale 1\u003C\u002Fa> by its file id: a 1080p swap upscales to 2K.\u003C\u002Fp>\n\u003Ch2 id=\"good-source-clips-and-good-face-photos\">Good source clips and good face photos\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>A clear face photo:\u003C\u002Fstrong> the face fills a good part of the frame, looks roughly toward the camera, in even light, with nothing over it. One person per picture.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Faces the clip shows:\u003C\u002Fstrong> a person seen from far away or always turned from the camera gives the edit little to work with.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>One take, steady framing:\u003C\u002Fstrong> a clip with hard cuts between scenes is better split into one edit per shot.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Distinct targets:\u003C\u002Fstrong> &quot;the man in the red jacket&quot; is easier to follow than &quot;the man&quot;, when two people look alike.\u003C\u002Fli>\n\u003C\u002Ful>",{"type":89,"model":14},"cta",{"type":56,"html":91},"\u003Cp>Weighing face swap APIs against each other? The \u003Ca href=\"\u002Fblog\u002Fbest-face-swap-video-api\">best face swap API for video\u003C\u002Fa> lists what to check. For a script that cuts a long clip, swaps each piece and joins them, see \u003Ca href=\"\u002Fblog\u002Fhow-to-swap-faces-in-a-video-with-python\">how to swap faces in a video with Python\u003C\u002Fa>. One master ad with a local presenter for each market is the subject of \u003Ca href=\"\u002Fblog\u002Fad-localization-face-swap\">video ad localization\u003C\u002Fa>. Getting the clip and the faces to the API is covered in \u003Ca href=\"\u002Fblog\u002Fupload-files-to-ai-generation-api\">upload files to an AI generation API\u003C\u002Fa>.\u003C\u002Fp>",{"type":52,"id":52,"title":53,"items":93},[94,98,102,106,110],{"q":95,"html":96,"text":97},"How many people can the face swap video API replace at once?","\u003Cp>Up to 4 in one clip. Send one face per person, left to right, and with two or more, a \u003Ccode>targets\u003C\u002Fcode> entry for each saying who it replaces. The price is the same for one face or four.\u003C\u002Fp>","Up to 4 in one clip. Send one face per person, left to right, and with two or more, a targets entry for each saying who it replaces. The price is the same for one face or four.",{"q":99,"html":100,"text":101},"Does the swap keep the voice and the sound?","\u003Cp>Yes. The clip&#39;s sound is kept as it is, and so are the moves, the lips and the scene. Only the faces change, and the clothes too if you send \u003Ccode>&quot;keep_outfit&quot;: false\u003C\u002Fcode>.\u003C\u002Fp>","Yes. The clip's sound is kept as it is, and so are the moves, the lips and the scene. Only the faces change, and the clothes too if you send \"keep_outfit\": false.",{"q":103,"html":104,"text":105},"How much does a face swap cost per video?","\u003Cp>It is billed per second of clip: $0.12 at 768p and $0.25 at 1080p, so a 6-second clip at 768p costs $0.72. Nothing is charged when an edit fails, and there is no subscription.\u003C\u002Fp>","It is billed per second of clip: $0.12 at 768p and $0.25 at 1080p, so a 6-second clip at 768p costs $0.72. Nothing is charged when an edit fails, and there is no subscription.",{"q":107,"html":108,"text":109},"Can I use the API from Python?","\u003Cp>Yes. The Python tab above uploads the files, submits the edit, polls it and saves the result with \u003Ccode>requests\u003C\u002Fcode>; any language that can send HTTPS requests works the same way.\u003C\u002Fp>","Yes. The Python tab above uploads the files, submits the edit, polls it and saves the result with requests; any language that can send HTTPS requests works the same way.",{"q":111,"html":112,"text":113},"Can I swap faces without writing code?","\u003Cp>Yes: open \u003Ca href=\"\u002Fstudio?model=fp-replace-1&amp;tab=edit\">Frameport Replace 1 in the Studio\u003C\u002Fa>, add the clip and the faces, and start the edit from the same balance. The \u003Ca href=\"\u002Fblog\u002Fface-swap-video-without-code\">no-code guide\u003C\u002Fa> walks through it.\u003C\u002Fp>","Yes: open Frameport Replace 1 in the Studio, add the clip and the faces, and start the edit from the same balance. The no-code guide walks through it.",[115,116,117,118,119],{"q":95,"html":96,"text":97},{"q":99,"html":100,"text":101},{"q":103,"html":104,"text":105},{"q":107,"html":108,"text":109},{"q":111,"html":112,"text":113},[121,133,140],{"slug":122,"path":123,"title":124,"description":125,"category":126,"categoryLabel":127,"date":11,"updated":11,"readingMinutes":128,"models":129,"featured":16},"replicate-alternative","\u002Fblog\u002Freplicate-alternative","A Replicate Alternative for Image and Video Models","A Replicate alternative for image and video generation: what to check before you switch, one key with pay-on-success billing, the models, and migration.","alternatives","Alternatives",4,[130,131,132,14,15],"seedance-2-5","veo-3-1","nano-banana-pro",{"slug":134,"path":135,"title":136,"description":137,"category":126,"categoryLabel":127,"date":11,"updated":11,"readingMinutes":138,"models":139,"featured":16},"aimlapi-alternative","\u002Fblog\u002Faimlapi-alternative","AIMLAPI Alternative for Image and Video APIs","An AIMLAPI alternative focused on image and video: one key, prices shown before each run, failed jobs at zero, webhooks and an MCP server.",5,[130,131,132,14,15],{"slug":141,"path":142,"title":143,"description":144,"category":126,"categoryLabel":127,"date":11,"updated":11,"readingMinutes":138,"models":145,"featured":16},"apimart-alternative","\u002Fblog\u002Fapimart-alternative","APIMart Alternative: Image and Video on One Key","An APIMart alternative for image and video: what to compare, a prepaid dollar balance charged only on success, an MCP server for agents, and the switch.",[130,131,132,14,15],"\u002Fstudio",[148,166,175,185,211,228,247,263,278,293,308,322,333,347,360,373,386,397,405,414,424,432,442,450,468],{"id":149,"type":150,"name":151,"description":152,"maker":153,"family":153,"own":154,"image":155,"private":165},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":156,"options":158},{"per_image":157,"per_extra_reference_image":-1},0.025,{"aspect_ratios":159,"max_images":128},[160,161,162,163,164],"1:1","3:4","4:3","9:16","16:9",{},{"id":167,"type":150,"name":168,"description":169,"maker":153,"family":153,"own":154,"image":170,"private":174},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":171,"options":172},{"per_image":157,"per_extra_reference_image":-1},{"aspect_ratios":173,"max_images":128},[160,161,162,163,164],{},{"id":176,"type":150,"name":177,"description":178,"maker":153,"family":153,"own":154,"image":179,"private":184},"fp-image-1","Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":180,"options":182},{"per_image":157,"per_extra_reference_image":181},0.0025,{"aspect_ratios":183,"max_images":128},[160,161,162,163,164],{},{"id":186,"type":187,"name":188,"description":189,"maker":153,"family":190,"own":154,"video":191,"private":209},"fp-motion-1","video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":192,"options":199},{"default_resolution":193,"per_second":194,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":195,"768p":196,"1080p":197,"2K":198},0.02,0.06,0.08,0.095,{"resolutions":200,"durations":204,"aspect_ratios":207,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":128,"identity_resolutions":208,"seed":16,"negative_prompt":16},[201,193,202,203],"480p","1080p","2K",{"min":138,"max":205,"step":206},15,1,[164,163,160,162,161],[193,202],{"resolutions":210},[201,193],{"id":130,"type":187,"name":212,"description":213,"maker":214,"family":215,"own":16,"video":216},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":217,"options":222},{"default_resolution":218,"per_second":219,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":220,"720p":221},0.12,0.27,{"resolutions":223,"durations":224,"aspect_ratios":226,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":128,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[201,218],{"min":128,"max":225,"step":206},30,[164,162,160,161,163,227],"21:9",{"id":131,"type":187,"name":229,"description":230,"maker":231,"family":232,"own":16,"video":233},"Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":234,"options":240},{"default_resolution":202,"per_second":235,"per_second_with_audio":238,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":236,"1080p":236,"4K":237},0.235,0.465,{"720p":237,"1080p":237,"4K":239},0.695,{"resolutions":241,"durations":243,"aspect_ratios":245,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":246,"identity_resolutions":-1,"seed":154,"negative_prompt":154},[218,202,242],"4K",{"min":128,"max":244,"step":32},8,[164,163],3,{"id":248,"type":187,"name":249,"description":250,"maker":214,"family":215,"own":16,"video":251},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":252,"options":259},{"default_resolution":218,"per_second":253,"per_second_with_audio":-1,"aspect_ratio_multiplier":257,"per_reference_image":-1,"per_frame_image":-1},{"480p":197,"720p":254,"1080p":255,"4K":256},0.175,0.435,0.9,{"21:9":258},1.32,{"resolutions":260,"durations":261,"aspect_ratios":262,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":128,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[201,218,202,242],{"min":128,"max":205,"step":206},[164,162,160,161,163,227],{"id":264,"type":187,"name":265,"description":266,"maker":267,"family":268,"own":16,"video":269},"hailuo-3","Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":270,"options":274},{"default_resolution":203,"per_second":271,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":273,"per_frame_image":-1},{"2K":272},0.15,0.047,{"resolutions":275,"durations":276,"aspect_ratios":277,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":246,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[203],{"min":138,"max":205,"step":206},[227,164,162,160,161,163],{"id":279,"type":187,"name":280,"description":281,"maker":282,"family":282,"own":16,"video":283},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":284,"options":287},{"default_resolution":218,"per_second":285,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":286},0.14,{"resolutions":288,"durations":289,"aspect_ratios":291,"audio_toggle":16,"start_frame":154,"end_frame":16,"max_reference_images":292,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[218],{"min":32,"max":290,"step":206},10,[164,163],0,{"id":294,"type":187,"name":295,"description":296,"maker":231,"family":232,"own":16,"video":297},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":298,"options":304},{"default_resolution":218,"per_second":299,"per_second_with_audio":302,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":300,"1080p":220,"4K":301},0.093,0.29,{"720p":220,"1080p":286,"4K":303},0.35,{"resolutions":305,"durations":306,"aspect_ratios":307,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":246,"identity_resolutions":-1,"seed":154,"negative_prompt":154},[218,202,242],{"min":128,"max":244,"step":32},[164,163],{"id":309,"type":187,"name":310,"description":311,"maker":214,"family":215,"own":16,"video":312},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":313,"options":318},{"default_resolution":218,"per_second":314,"per_second_with_audio":-1,"aspect_ratio_multiplier":317,"per_reference_image":-1,"per_frame_image":-1},{"480p":315,"720p":316},0.063,0.145,{"21:9":258},{"resolutions":319,"durations":320,"aspect_ratios":321,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":128,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[201,218],{"min":128,"max":205,"step":206},[164,162,160,161,163,227],{"id":323,"type":187,"name":324,"description":325,"maker":267,"family":268,"own":16,"video":326},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":327,"options":329},{"default_resolution":193,"per_second":328,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":196,"768p":300},{"resolutions":330,"durations":331,"aspect_ratios":332,"audio_toggle":16,"start_frame":154,"end_frame":154,"max_reference_images":292,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[201,193],{"min":138,"max":205,"step":206},[227,164,162,160,161,163],{"id":334,"type":187,"name":335,"description":336,"maker":337,"family":335,"own":16,"video":338},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":339,"options":343},{"default_resolution":218,"per_second":340,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":342},{"480p":300,"720p":341,"1080p":301},0.165,0.014,{"resolutions":344,"durations":345,"aspect_ratios":346,"audio_toggle":16,"start_frame":154,"end_frame":16,"max_reference_images":292,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[201,218,202],{"min":206,"max":205,"step":206},[164,163,160,162,161],{"id":348,"type":187,"name":349,"description":-1,"maker":214,"family":215,"own":16,"video":350},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":351,"options":356},{"default_resolution":201,"per_second":352,"per_second_with_audio":-1,"aspect_ratio_multiplier":355,"per_reference_image":-1,"per_frame_image":-1},{"480p":353,"720p":354},0.041,0.088,{"21:9":258},{"resolutions":357,"durations":358,"aspect_ratios":359,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":128,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[201,218],{"min":128,"max":205,"step":206},[164,162,160,161,163,227],{"id":361,"type":187,"name":362,"description":363,"maker":231,"family":232,"own":16,"video":364},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":365,"options":369},{"default_resolution":218,"per_second":366,"per_second_with_audio":368,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":367,"1080p":196},0.036,{"720p":196,"1080p":300},{"resolutions":370,"durations":371,"aspect_ratios":372,"audio_toggle":154,"start_frame":154,"end_frame":154,"max_reference_images":292,"identity_resolutions":-1,"seed":154,"negative_prompt":154},[218,202],{"min":128,"max":244,"step":32},[164,163],{"id":374,"type":187,"name":375,"description":376,"maker":377,"family":378,"own":16,"video":379},"wan-3","Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":380,"options":382},{"default_resolution":218,"per_second":381,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":196,"720p":220,"1080p":236},{"resolutions":383,"durations":384,"aspect_ratios":385,"audio_toggle":154,"start_frame":154,"end_frame":16,"max_reference_images":246,"identity_resolutions":-1,"seed":154,"negative_prompt":16},[201,218,202],{"min":32,"max":225,"step":206},[164,162,160,161,163],{"id":387,"type":150,"name":388,"description":389,"maker":390,"family":391,"own":16,"image":392},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":393,"options":395},{"per_image":394,"per_extra_reference_image":-1},0.085,{"aspect_ratios":396,"max_images":128},[160,161,162,163,164],{"id":398,"type":150,"name":399,"description":400,"maker":390,"family":391,"own":16,"image":401},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":402,"options":403},{"per_image":394,"per_extra_reference_image":-1},{"aspect_ratios":404,"max_images":128},[160,161,162,163,164],{"id":406,"type":150,"name":407,"description":408,"maker":231,"family":409,"own":16,"image":410},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":411,"options":412},{"per_image":394,"per_extra_reference_image":-1},{"aspect_ratios":413,"max_images":128},[160,161,162,163,164],{"id":415,"type":150,"name":416,"description":417,"maker":214,"family":418,"own":16,"image":419},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":420,"options":422},{"per_image":421,"per_extra_reference_image":-1},0.099,{"aspect_ratios":423,"max_images":128},[160,161,162,163,164],{"id":132,"type":150,"name":425,"description":426,"maker":231,"family":409,"own":16,"image":427},"Nano Banana Pro","Google's highest-fidelity image model",{"pricing":428,"options":430},{"per_image":429,"per_extra_reference_image":-1},0.16,{"aspect_ratios":431,"max_images":128},[160,161,162,163,164],{"id":433,"type":150,"name":434,"description":435,"maker":436,"family":437,"own":16,"image":438},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":439,"options":440},{"per_image":354,"per_extra_reference_image":-1},{"aspect_ratios":441,"max_images":128},[160,161,162,163,164],{"id":443,"type":150,"name":444,"description":445,"maker":337,"family":335,"own":16,"image":446},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":447,"options":448},{"per_image":354,"per_extra_reference_image":-1},{"aspect_ratios":449,"max_images":128},[160,161,162,163,164],{"id":14,"type":187,"name":451,"description":452,"maker":153,"family":453,"own":154,"edit":454,"video":462},"Frameport Replace 1","Up to four people in your clip replaced by the faces you send: moves, lips, scene and sound kept.","Frameport Replace",{"tool":455,"formats":456,"min_seconds":32,"max_seconds":290,"min_billed_seconds":32,"max_bytes":459,"max_frames":460,"fps":461,"max_faces":128},"replace",[457,458],"mp4","mov",64000000,600,24,{"pricing":463,"options":466},{"default_resolution":193,"per_second":464,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":220,"1080p":465},0.25,{"resolutions":467,"durations":-1,"aspect_ratios":-1,"audio_toggle":-1,"start_frame":-1,"end_frame":-1,"max_reference_images":-1,"identity_resolutions":-1,"seed":-1,"negative_prompt":-1},[193,202],{"id":15,"type":187,"name":469,"description":470,"maker":153,"family":471,"own":154,"edit":472,"video":477},"Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":473,"formats":474,"min_seconds":206,"max_seconds":225,"min_billed_seconds":138,"max_bytes":475,"max_frames":476,"fps":-1,"max_faces":-1},"upscale",[457,458],100000000,900,{"pricing":478,"options":482},{"default_resolution":202,"per_second":479,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":480,"2K":481},0.03,0.05,{"resolutions":483,"durations":-1,"aspect_ratios":-1,"audio_toggle":-1,"start_frame":-1,"end_frame":-1,"max_reference_images":-1,"identity_resolutions":-1,"seed":-1,"negative_prompt":-1},[202,203],1795901825312,"b270fb84-a112-44f2-9801-f99d6c2e889e"]