[{"data":1,"prerenderedAt":468,"buildId":469},["ShallowReactive",2],{"blog:article:how-to-build-a-face-swap-app":3,"catalog":130},{"article":4,"related":104,"studioPath":129},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":15,"primaryKeyword":16,"keywords":17,"words":26,"toc":27,"blocks":50,"faq":97},"how-to-build-a-face-swap-app","\u002Fblog\u002Fhow-to-build-a-face-swap-app","How to Build a Face Swap App for Video by API","How to build a face swap app for video on an API: direct uploads, consent in the product, the edit and its webhook, storage, and pricing above cost.","guides","Guides","2026-11-28",7,[14],"fp-replace-1",false,"face swap app",[16,18,19,20,21,22,23,24,25],"video face swap app","best ai face swap app","private face swap app","unrestricted face swap app","free video face swap app","face swap software online","ai face swap software","video face swap software",1598,[28,32,35,38,41,44,47],{"id":29,"text":30,"level":31},"what-a-face-swap-app-needs","What a face swap app needs",2,{"id":33,"text":34,"level":31},"uploads-and-limits","Uploads and limits",{"id":36,"text":37,"level":31},"consent-in-the-product","Consent in the product",{"id":39,"text":40,"level":31},"the-edit-request-and-the-webhook","The edit request and the webhook",{"id":42,"text":43,"level":31},"privacy-and-the-content-filter","Privacy and the content filter",{"id":45,"text":46,"level":31},"pricing-your-app","Pricing your app",{"id":48,"text":49,"level":31},"faq","FAQ",[51,54,59,61,64,66,69,71],{"type":52,"html":53},"html","\u003Cp>A face swap app for video needs three pieces of its own: a way for users to send a clip and their face photos, a record that every face was shared with consent, and a server that submits the edit and collects the result. The swap itself can come from an API. On Frameport, \u003Ca href=\"\u002Fmodels\u002Ffp-replace-1\">Frameport Replace 1\u003C\u002Fa> swaps the people in a clip, up to four at once, for the faces you send, and leaves the motion, the mouth movements, the background and the audio as they were; it costs $0.12 per second of clip at 768p, charged only when the edit succeeds.\u003C\u002Fp>\n\u003Cp>Below: the parts of the app, uploads, consent, the edit and its webhook, privacy, and pricing that covers each swap.\u003C\u002Fp>\n\u003Ch2 id=\"what-a-face-swap-app-needs\">What a face swap app needs\u003C\u002Fh2>\n\u003Cdiv class=\"blog-table box\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Part\u003C\u002Fth>\u003Cth scope=\"col\">Its job\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>The client, web or mobile\u003C\u002Ftd>\u003Ctd>Picks the clip and the faces, asks for consent, shows the price, the progress and the result. Never holds the API key\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Your bucket (S3, R2…)\u003C\u002Ftd>\u003Ctd>Keeps the uploads and the results, served through your own signed links\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>A media worker\u003C\u002Ftd>\u003Ctd>Measures each clip with ffprobe and converts it to 24 fps H.264 when needed\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Your server\u003C\u002Ftd>\u003Ctd>Users, credits, consent records, quotes, submits and the webhook\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>The API\u003C\u002Ftd>\u003Ctd>The swap: holds its price, renders it, and charges only a success\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>A swap moves through them in order: the user uploads the files to your bucket, the worker measures the clip, the user ticks the consent box and sees the price in your credits, your server reserves them and submits the edit, and a webhook brings the result back to store and show. There is no GPU or model to host.\u003C\u002Fp>\n\u003Ch2 id=\"uploads-and-limits\">Uploads and limits\u003C\u002Fh2>\n\u003Cp>Let files go from the browser straight to your bucket, so the browser never sees the API key: your server hands out a presigned upload per file, then gives the API a presigned download link when it submits. That route has no upload quota, and you decide how long files live. The other route, \u003Ccode>POST \u002Fv1\u002Fuploads\u003C\u002Fcode> from your server, suits low volume: a workspace may send 10 uploads a minute and keep 100 at a time, each for 24 hours.\u003C\u002Fp>",{"type":55,"lang":56,"code":57,"title":58},"code","python","import hashlib\nimport hmac\nimport json\nimport os\nimport time\nimport uuid\n\nimport boto3\nimport requests\nfrom fastapi import BackgroundTasks, FastAPI, HTTPException, Request, Response\nfrom pydantic import BaseModel, Field\n\nfrom myapp import current_user, db, notify  # your auth, your database, your emails or pushes\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\nBUCKET = \"my-swap-app\"\nEDIT = requests.get(f\"{API}\u002Fmodels\u002Ffp-replace-1\", timeout=30).json()[\"edit\"]  # the clip limits, read once\nMAX_BYTES = {\"video\u002Fmp4\": EDIT[\"max_bytes\"], \"video\u002Fquicktime\": EDIT[\"max_bytes\"],\n             \"image\u002Fpng\": 10_000_000, \"image\u002Fjpeg\": 10_000_000, \"image\u002Fwebp\": 10_000_000}\n\ns3 = boto3.client(\"s3\")\napp = FastAPI()\n\n\n@app.post(\"\u002Fuploads\")\ndef sign_upload(content_type: str, request: Request):\n    user = current_user(request)\n    if content_type not in MAX_BYTES:\n        raise HTTPException(400, \"Send an MP4 or MOV clip, and PNG, JPEG or WebP faces.\")\n    key = f\"uploads\u002F{user.id}\u002F{uuid.uuid4()}\"\n    db.add_upload(user.id, key, content_type)\n    # The browser posts the file here; the bucket itself refuses a wrong type or size\n    return s3.generate_presigned_post(BUCKET, key, ExpiresIn=600, Fields={\"Content-Type\": content_type},\n                                      Conditions=[{\"Content-Type\": content_type},\n                                                  [\"content-length-range\", 1, MAX_BYTES[content_type]]])","app.py: setup, and uploads straight to your bucket",{"type":52,"html":60},"\u003Cp>On a store without presigned POST, presign a PUT instead and check the size once the file lands. The worker then reads each clip from the bucket, measures it with ffprobe and converts it with ffmpeg when needed, like the \u003Ccode>prepare\u003C\u002Fcode> function of the \u003Ca href=\"\u002Fblog\u002Fhow-to-swap-faces-in-a-video-with-python\">face swap video Python script\u003C\u002Fa>. Check the limits in the client too, so a user learns at once that a clip is too long:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>The clip\u003C\u002Fstrong>: 2 to 10 seconds, MP4 or MOV, up to 64 MB, at 24 frames per second. A longer scene goes in pieces.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The faces\u003C\u002Fstrong>: one per person, up to four, PNG, JPEG or WebP, up to 10 MB each, sharp and turned toward the camera.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The targets\u003C\u002Fstrong>: with two faces or more, one short description per face (&quot;the man in the green cap&quot;), up to 200 characters each.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The links you pass\u003C\u002Fstrong>: https on a public host name, no credentials in the address, 2,048 characters at most. Presigned links qualify, though one carrying a long session token can run past that length.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"consent-in-the-product\">Consent in the product\u003C\u002Fh2>\n\u003Cp>The \u003Ca href=\"\u002Facceptable-use\">acceptable use policy\u003C\u002Fa> covers everything your users make through your keys, and you answer for it. A video face swap app should build the rules into the flow:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Ask on every swap.\u003C\u002Fstrong> A box left unticked until the user ticks it: &quot;Every face I upload is mine, or I have permission from the person shown.&quot; The server refuses a swap without it.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Keep the record.\u003C\u002Fstrong> Store who ticked it, when, and for which files, next to the job id, so a complaint can be traced.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Say what is never allowed\u003C\u002Fstrong>, in your own terms of use: real, identifiable people without their consent, anything involving minors, impersonation, fraud and harassment. Everything made must be fiction.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Offer a way out.\u003C\u002Fstrong> A report button on every shared result, a quick delete for the person who appears in it, and someone who reads the reports.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Label the output.\u003C\u002Fstrong> Mark results as AI-edited in the caption or the file. Some places require it for altered media of people; check the rules where your users live.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>When the API refuses a request on policy grounds, it answers \u003Ccode>400 content_policy\u003C\u002Fcode> and charges nothing. Show your user a plain message, not a retry button.\u003C\u002Fp>\n\u003Ch2 id=\"the-edit-request-and-the-webhook\">The edit request and the webhook\u003C\u002Fh2>\n\u003Cp>When the user confirms, your server prices the clip with the seconds the worker measured, reserves that amount from the user&#39;s credits, saves the consent record, and submits the edit with a presigned link to each file:\u003C\u002Fp>",{"type":55,"lang":56,"code":62,"title":63},"class Swap(BaseModel):\n    clip: str                                                       # bucket keys from \u002Fuploads\n    faces: list[str] = Field(min_length=1, max_length=EDIT[\"max_faces\"])  # left to right\n    targets: list[str] = []\n    resolution: str = \"768p\"\n    consent: bool = False\n\n\ndef link(key):\n    \"\"\"A presigned https link the API can download for the next 15 minutes.\"\"\"\n    return s3.generate_presigned_url(\"get_object\", Params={\"Bucket\": BUCKET, \"Key\": key}, ExpiresIn=900)\n\n\n@app.post(\"\u002Fswaps\", status_code=202)\ndef start_swap(swap: Swap, request: Request):\n    user = current_user(request)\n    if not swap.consent:\n        raise HTTPException(400, \"Confirm that every face is yours or shared with permission.\")\n    if len(swap.faces) > 1 and len(swap.targets) != len(swap.faces):\n        raise HTTPException(400, \"Say who each face replaces, in the same order.\")\n    clip = db.upload(user.id, swap.clip)  # with the seconds the worker measured\n    if clip is None or any(db.upload(user.id, face) is None for face in swap.faces):\n        raise HTTPException(404, \"No such upload.\")\n\n    quote = requests.post(f\"{API}\u002Fgenerations\u002Fquote\", headers=HEADERS, timeout=30, json={\n        \"model\": \"fp-replace-1\", \"seconds\": clip.seconds, \"resolution\": swap.resolution}).json()\n    if quote.get(\"error\"):\n        raise HTTPException(400, quote[\"error\"][\"message\"])\n\n    job = str(uuid.uuid4())\n    if not db.reserve(user.id, job, quote[\"price_usd\"]):\n        raise HTTPException(402, \"Not enough credits for this clip.\")\n    db.save_consent(user.id, job, [swap.clip, *swap.faces], time.time())\n\n    body = {\"model\": \"fp-replace-1\", \"video\": link(swap.clip), \"faces\": [link(face) for face in swap.faces],\n            \"resolution\": swap.resolution, **({\"targets\": swap.targets} if swap.targets else {})}\n    res = requests.post(f\"{API}\u002Fvideos\u002Fedits\", json=body, timeout=120,\n                        headers={**HEADERS, \"Idempotency-Key\": f\"swap-{job}\"})\n    gen = res.json()\n    if gen.get(\"error\"):\n        db.release(user.id, job)  # refused before it ran: nothing was charged\n        if res.status_code == 400:\n            raise HTTPException(400, gen[\"error\"][\"message\"])  # the clip, a face or the policy: the user can act\n        raise HTTPException(503, \"Swaps are busy right now. Try again in a minute.\")  # your balance or limits\n    db.attach(job, gen[\"id\"])\n    return {\"job\": job}","app.py: start a swap",{"type":52,"html":65},"\u003Cp>The submit waits while the API downloads the files and measures the clip, hence the long timeout. At that moment your balance must cover the quote&#39;s \u003Ccode>reserved_usd\u003C\u002Fcode>, the price of the longest clip the model takes, before the hold drops to your clip&#39;s price; a shortfall is a \u003Ccode>402\u003C\u002Fcode>, shown to the user as a busy message because the balance is yours. The \u003Ccode>Idempotency-Key\u003C\u002Fcode> makes a retried submit return the first edit.\u003C\u002Fp>\n\u003Cp>Add an endpoint under \u003Cstrong>Webhooks\u003C\u002Fstrong> in the dashboard, and the API calls it when each edit succeeds or fails, with the whole generation in \u003Ccode>data\u003C\u002Fcode>:\u003C\u002Fp>",{"type":55,"lang":56,"code":67,"title":68},"SECRET = os.environ[\"WEBHOOK_SECRET\"].encode()\n\n\ndef verified(raw, header):\n    parts = dict(part.split(\"=\", 1) for part in header.split(\",\") if \"=\" in part)\n    if \"t\" not in parts or \"v1\" not in parts or abs(time.time() - int(parts[\"t\"])) > 300:\n        return False\n    expected = hmac.new(SECRET, parts[\"t\"].encode() + b\".\" + raw, hashlib.sha256).hexdigest()\n    return hmac.compare_digest(expected, parts[\"v1\"])\n\n\ndef keep_result(job, gen):\n    with requests.get(f\"{API}\u002Fgenerations\u002F{gen['id']}\u002Fcontent\", headers=HEADERS, stream=True, timeout=300) as res:\n        res.raise_for_status()\n        s3.upload_fileobj(res.raw, BUCKET, f\"results\u002F{job.id}.mp4\", ExtraArgs={\"ContentType\": \"video\u002Fmp4\"})\n    db.settle(job.id, gen[\"cost_usd\"])  # the exact charge\n    notify(job.user_id, job.id)\n\n\n@app.post(\"\u002Fhooks\u002Fgenerations\", status_code=204)\nasync def generation_hook(request: Request, tasks: BackgroundTasks):\n    raw = await request.body()\n    if not verified(raw, request.headers.get(\"Frameport-Signature\", \"\")):\n        raise HTTPException(400, \"Bad signature\")\n    event = json.loads(raw)\n    job = db.claim_job(event[\"data\"][\"id\"])  # pending → settling, once; None for a repeat or a stranger\n    if job is not None:\n        if event[\"type\"] == \"generation.succeeded\":\n            tasks.add_task(keep_result, job, event[\"data\"])  # after the answer: copying can take a while\n        else:\n            db.release(job.user_id, job.id)\n    return Response(status_code=204)","app.py: the webhook",{"type":52,"html":70},"\u003Cp>Answer within 10 seconds: a delivery without a \u003Ccode>2xx\u003C\u002Fcode> is sent again after 1, 5 and 15 minutes. One endpoint receives every generation of the workspace, Studio runs included, which is why the handler ignores ids it does not know. Keep a slow sweep that reads any job still pending after a while, in case a delivery never arrives.\u003C\u002Fp>\n\u003Ch2 id=\"privacy-and-the-content-filter\">Privacy and the content filter\u003C\u002Fh2>\n\u003Cp>A private face swap app depends mostly on what you keep. On the API&#39;s side, an output&#39;s signed link opens for about an hour, a key from any other workspace gets \u003Ccode>404\u003C\u002Fcode> on your files, and files are not kept forever, which is why the webhook copies each result to your bucket. On yours, add a lifecycle rule that deletes uploads once their job ends, and let users delete their results.\u003C\u002Fp>\n\u003Cp>Every workspace starts with its content filter on. It reads the note and every target of an edit, and a refusal is \u003Ccode>400 content_filtered\u003C\u002Fcode>, nothing charged. Only an owner or admin who is 18 or older can turn it off, in \u003Cstrong>Settings › Content filter\u003C\u002Fstrong> in the dashboard; no API route changes it, and \u003Ccode>GET \u002Fv1\u002Faccount\u003C\u002Fcode> tells your code where it stands with \u003Ccode>content_filter\u003C\u002Fcode>. With the filter off, Frameport Replace 1 renders without a content filter, but the acceptable use policy still applies to every face. The \u003Ca href=\"\u002Fblog\u002Funcensored-face-swap-video-api\">uncensored face swap video API guide\u003C\u002Fa> covers that setup.\u003C\u002Fp>\n\u003Ch2 id=\"pricing-your-app\">Pricing your app\u003C\u002Fh2>\n\u003Cp>What each swap costs you is set by the clip&#39;s seconds and the resolution, whatever the number of faces:\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\">At 768p\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">At 1080p\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>3 s\u003C\u002Ftd>\u003Ctd class=\"r\">$0.36\u003C\u002Ftd>\u003Ctd class=\"r\">$0.75\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>5 s\u003C\u002Ftd>\u003Ctd class=\"r\">$0.60\u003C\u002Ftd>\u003Ctd class=\"r\">$1.25\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>Sell credits per second, with 1080p costing more, as it costs you more. Bill your users the way the API bills you, in whole seconds rounded up, so the two never drift apart. A sharper file can be an extra: \u003Ca href=\"\u002Fmodels\u002Ffp-upscale-1\">Frameport Upscale 1\u003C\u002Fa> takes a finished swap by its file id and returns it at up to 2K, for $0.50 on a 10-second clip. On top of the API, count storage, bandwidth, payment fees, support, and any free swaps you give away, which cost you their full price. Failed swaps cost you nothing, so charge your users nothing for them either.\u003C\u002Fp>\n\u003Cp>The API has no subscription: a balance topped up from $10 pays for every swap, and each one shows its exact price before it runs. Per-user budgets and the wider architecture are in \u003Ca href=\"\u002Fblog\u002Fhow-to-build-an-ai-video-app\">how to build an AI video app\u003C\u002Fa>, and every field of the edit is in the \u003Ca href=\"\u002Fblog\u002Fface-swap-video-api\">face swap video API guide\u003C\u002Fa> and the \u003Ca href=\"\u002Fdocs\u002Fedits\">edits reference\u003C\u002Fa>. Budget it with \u003Ca href=\"\u002Fblog\u002Fface-swap-video-api-pricing\">face swap API pricing\u003C\u002Fa>, or compare providers in the \u003Ca href=\"\u002Fblog\u002Fbest-face-swap-video-api\">best face swap API for video\u003C\u002Fa>.\u003C\u002Fp>",{"type":48,"id":48,"title":49,"items":72},[73,77,81,85,89,93],{"q":74,"html":75,"text":76},"How does a face swap app work?","\u003Cp>The user sends a clip and a photo of each face. The app&#39;s server passes both to an edit model, which replaces the people in the clip with those faces while keeping the motion, the background and the audio, then stores the result and shows it to the user.\u003C\u002Fp>","The user sends a clip and a photo of each face. The app's server passes both to an edit model, which replaces the people in the clip with those faces while keeping the motion, the background and the audio, then stores the result and shows it to the user.",{"q":78,"html":79,"text":80},"How much does it cost to run a face swap app?","\u003Cp>Per second of clip, per swap that succeeds: $0.12 a second at 768p and $0.25 at 1080p, whatever the number of faces. Add your own storage, bandwidth and payment costs.\u003C\u002Fp>","Per second of clip, per swap that succeeds: $0.12 a second at 768p and $0.25 at 1080p, whatever the number of faces. Add your own storage, bandwidth and payment costs.",{"q":82,"html":83,"text":84},"Is there a free video face swap app?","\u003Cp>Swaps that fail are free, and so are the account, the key and quotes; each successful swap is paid from a prepaid balance. To swap faces online without writing code, the Frameport \u003Ca href=\"\u002Fstudio?model=fp-replace-1&amp;tab=edit\">Studio\u003C\u002Fa> runs the same model, as shown in \u003Ca href=\"\u002Fblog\u002Fface-swap-video-without-code\">face swap video without code\u003C\u002Fa>.\u003C\u002Fp>","Swaps that fail are free, and so are the account, the key and quotes; each successful swap is paid from a prepaid balance. To swap faces online without writing code, the Frameport Studio runs the same model, as shown in face swap video without code.",{"q":86,"html":87,"text":88},"Can I build a private or unrestricted face swap app?","\u003Cp>Yes, within the acceptable use policy. Keep files in your own bucket and delete them when their job ends; an owner or admin of the workspace can turn off its content filter in Settings. The rules on consent, minors and impersonation apply either way.\u003C\u002Fp>","Yes, within the acceptable use policy. Keep files in your own bucket and delete them when their job ends; an owner or admin of the workspace can turn off its content filter in Settings. The rules on consent, minors and impersonation apply either way.",{"q":90,"html":91,"text":92},"Do users need consent to swap someone's face?","\u003Cp>Yes. A face must be the user&#39;s own, belong to someone who agreed to this use, or be a generated character. Ask on every swap, keep the record, and act on reports.\u003C\u002Fp>","Yes. A face must be the user's own, belong to someone who agreed to this use, or be a generated character. Ask on every swap, keep the record, and act on reports.",{"q":94,"html":95,"text":96},"Can a face swap app handle long videos?","\u003Cp>Yes, in pieces: cut the scene into clips of up to 10 seconds, swap each with the same faces and targets, and join the results with ffmpeg.\u003C\u002Fp>","Yes, in pieces: cut the scene into clips of up to 10 seconds, swap each with the same faces and targets, and join the results with ffmpeg.",[98,99,100,101,102,103],{"q":74,"html":75,"text":76},{"q":78,"html":79,"text":80},{"q":82,"html":83,"text":84},{"q":86,"html":87,"text":88},{"q":90,"html":91,"text":92},{"q":94,"html":95,"text":96},[105,114,121],{"slug":106,"path":107,"title":108,"description":109,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":110,"models":111,"featured":15},"how-to-price-an-ai-video-before-you-run-it","\u002Fblog\u002Fhow-to-price-an-ai-video-before-you-run-it","AI Video Cost Calculator: Price a Clip Before It Runs","An AI video cost calculator in one API call: quote any request, see the hold at submit, cap it with max_cost_usd and keep agents inside a budget.",6,[112,113,14],"seedance-2-5","veo-3-1",{"slug":115,"path":116,"title":117,"description":118,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":119,"models":120,"featured":15},"how-to-swap-faces-in-a-video-with-python","\u002Fblog\u002Fhow-to-swap-faces-in-a-video-with-python","How to Swap Faces in a Video With Python","A face swap video Python script: check and convert the clip with ffmpeg, upload the faces, price and submit the edit, wait, then save the new clip.",5,[14],{"slug":122,"path":123,"title":124,"description":125,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":110,"models":126,"featured":15},"image-video-generation-mcp-server","\u002Fblog\u002Fimage-video-generation-mcp-server","Image and Video Generation MCP Server for AI Agents","An image generation MCP server for Claude, Cursor or any MCP client: one URL, your key, a tool per step, a price before each run and a spending cap.",[127,112,128,14],"nano-banana-pro","fp-image-1","\u002Fstudio",[131,150,159,168,194,211,230,246,261,276,291,305,316,330,343,356,369,380,388,397,407,415,425,433,451],{"id":132,"type":133,"name":134,"description":135,"maker":136,"family":136,"own":137,"image":138,"private":149},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":139,"options":141},{"per_image":140,"per_extra_reference_image":-1},0.025,{"aspect_ratios":142,"max_images":148},[143,144,145,146,147],"1:1","3:4","4:3","9:16","16:9",4,{},{"id":151,"type":133,"name":152,"description":153,"maker":136,"family":136,"own":137,"image":154,"private":158},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":155,"options":156},{"per_image":140,"per_extra_reference_image":-1},{"aspect_ratios":157,"max_images":148},[143,144,145,146,147],{},{"id":128,"type":133,"name":160,"description":161,"maker":136,"family":136,"own":137,"image":162,"private":167},"Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":163,"options":165},{"per_image":140,"per_extra_reference_image":164},0.0025,{"aspect_ratios":166,"max_images":148},[143,144,145,146,147],{},{"id":169,"type":170,"name":171,"description":172,"maker":136,"family":173,"own":137,"video":174,"private":192},"fp-motion-1","video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":175,"options":182},{"default_resolution":176,"per_second":177,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":178,"768p":179,"1080p":180,"2K":181},0.02,0.06,0.08,0.095,{"resolutions":183,"durations":187,"aspect_ratios":190,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":148,"identity_resolutions":191,"seed":15,"negative_prompt":15},[184,176,185,186],"480p","1080p","2K",{"min":119,"max":188,"step":189},15,1,[147,146,143,145,144],[176,185],{"resolutions":193},[184,176],{"id":112,"type":170,"name":195,"description":196,"maker":197,"family":198,"own":15,"video":199},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":200,"options":205},{"default_resolution":201,"per_second":202,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":203,"720p":204},0.12,0.27,{"resolutions":206,"durations":207,"aspect_ratios":209,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":148,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[184,201],{"min":148,"max":208,"step":189},30,[147,145,143,144,146,210],"21:9",{"id":113,"type":170,"name":212,"description":213,"maker":214,"family":215,"own":15,"video":216},"Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":217,"options":223},{"default_resolution":185,"per_second":218,"per_second_with_audio":221,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":219,"1080p":219,"4K":220},0.235,0.465,{"720p":220,"1080p":220,"4K":222},0.695,{"resolutions":224,"durations":226,"aspect_ratios":228,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":229,"identity_resolutions":-1,"seed":137,"negative_prompt":137},[201,185,225],"4K",{"min":148,"max":227,"step":31},8,[147,146],3,{"id":231,"type":170,"name":232,"description":233,"maker":197,"family":198,"own":15,"video":234},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":235,"options":242},{"default_resolution":201,"per_second":236,"per_second_with_audio":-1,"aspect_ratio_multiplier":240,"per_reference_image":-1,"per_frame_image":-1},{"480p":180,"720p":237,"1080p":238,"4K":239},0.175,0.435,0.9,{"21:9":241},1.32,{"resolutions":243,"durations":244,"aspect_ratios":245,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":148,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[184,201,185,225],{"min":148,"max":188,"step":189},[147,145,143,144,146,210],{"id":247,"type":170,"name":248,"description":249,"maker":250,"family":251,"own":15,"video":252},"hailuo-3","Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":253,"options":257},{"default_resolution":186,"per_second":254,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":256,"per_frame_image":-1},{"2K":255},0.15,0.047,{"resolutions":258,"durations":259,"aspect_ratios":260,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":229,"identity_resolutions":-1,"seed":15,"negative_prompt":15},[186],{"min":119,"max":188,"step":189},[210,147,145,143,144,146],{"id":262,"type":170,"name":263,"description":264,"maker":265,"family":265,"own":15,"video":266},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":267,"options":270},{"default_resolution":201,"per_second":268,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":269},0.14,{"resolutions":271,"durations":272,"aspect_ratios":274,"audio_toggle":15,"start_frame":137,"end_frame":15,"max_reference_images":275,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[201],{"min":31,"max":273,"step":189},10,[147,146],0,{"id":277,"type":170,"name":278,"description":279,"maker":214,"family":215,"own":15,"video":280},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":281,"options":287},{"default_resolution":201,"per_second":282,"per_second_with_audio":285,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":283,"1080p":203,"4K":284},0.093,0.29,{"720p":203,"1080p":269,"4K":286},0.35,{"resolutions":288,"durations":289,"aspect_ratios":290,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":229,"identity_resolutions":-1,"seed":137,"negative_prompt":137},[201,185,225],{"min":148,"max":227,"step":31},[147,146],{"id":292,"type":170,"name":293,"description":294,"maker":197,"family":198,"own":15,"video":295},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":296,"options":301},{"default_resolution":201,"per_second":297,"per_second_with_audio":-1,"aspect_ratio_multiplier":300,"per_reference_image":-1,"per_frame_image":-1},{"480p":298,"720p":299},0.063,0.145,{"21:9":241},{"resolutions":302,"durations":303,"aspect_ratios":304,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":148,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[184,201],{"min":148,"max":188,"step":189},[147,145,143,144,146,210],{"id":306,"type":170,"name":307,"description":308,"maker":250,"family":251,"own":15,"video":309},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":310,"options":312},{"default_resolution":176,"per_second":311,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":179,"768p":283},{"resolutions":313,"durations":314,"aspect_ratios":315,"audio_toggle":15,"start_frame":137,"end_frame":137,"max_reference_images":275,"identity_resolutions":-1,"seed":15,"negative_prompt":15},[184,176],{"min":119,"max":188,"step":189},[210,147,145,143,144,146],{"id":317,"type":170,"name":318,"description":319,"maker":320,"family":318,"own":15,"video":321},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":322,"options":326},{"default_resolution":201,"per_second":323,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":325},{"480p":283,"720p":324,"1080p":284},0.165,0.014,{"resolutions":327,"durations":328,"aspect_ratios":329,"audio_toggle":15,"start_frame":137,"end_frame":15,"max_reference_images":275,"identity_resolutions":-1,"seed":15,"negative_prompt":15},[184,201,185],{"min":189,"max":188,"step":189},[147,146,143,145,144],{"id":331,"type":170,"name":332,"description":-1,"maker":197,"family":198,"own":15,"video":333},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":334,"options":339},{"default_resolution":184,"per_second":335,"per_second_with_audio":-1,"aspect_ratio_multiplier":338,"per_reference_image":-1,"per_frame_image":-1},{"480p":336,"720p":337},0.041,0.088,{"21:9":241},{"resolutions":340,"durations":341,"aspect_ratios":342,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":148,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[184,201],{"min":148,"max":188,"step":189},[147,145,143,144,146,210],{"id":344,"type":170,"name":345,"description":346,"maker":214,"family":215,"own":15,"video":347},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":348,"options":352},{"default_resolution":201,"per_second":349,"per_second_with_audio":351,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":350,"1080p":179},0.036,{"720p":179,"1080p":283},{"resolutions":353,"durations":354,"aspect_ratios":355,"audio_toggle":137,"start_frame":137,"end_frame":137,"max_reference_images":275,"identity_resolutions":-1,"seed":137,"negative_prompt":137},[201,185],{"min":148,"max":227,"step":31},[147,146],{"id":357,"type":170,"name":358,"description":359,"maker":360,"family":361,"own":15,"video":362},"wan-3","Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":363,"options":365},{"default_resolution":201,"per_second":364,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":179,"720p":203,"1080p":219},{"resolutions":366,"durations":367,"aspect_ratios":368,"audio_toggle":137,"start_frame":137,"end_frame":15,"max_reference_images":229,"identity_resolutions":-1,"seed":137,"negative_prompt":15},[184,201,185],{"min":31,"max":208,"step":189},[147,145,143,144,146],{"id":370,"type":133,"name":371,"description":372,"maker":373,"family":374,"own":15,"image":375},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":376,"options":378},{"per_image":377,"per_extra_reference_image":-1},0.085,{"aspect_ratios":379,"max_images":148},[143,144,145,146,147],{"id":381,"type":133,"name":382,"description":383,"maker":373,"family":374,"own":15,"image":384},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":385,"options":386},{"per_image":377,"per_extra_reference_image":-1},{"aspect_ratios":387,"max_images":148},[143,144,145,146,147],{"id":389,"type":133,"name":390,"description":391,"maker":214,"family":392,"own":15,"image":393},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":394,"options":395},{"per_image":377,"per_extra_reference_image":-1},{"aspect_ratios":396,"max_images":148},[143,144,145,146,147],{"id":398,"type":133,"name":399,"description":400,"maker":197,"family":401,"own":15,"image":402},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":403,"options":405},{"per_image":404,"per_extra_reference_image":-1},0.099,{"aspect_ratios":406,"max_images":148},[143,144,145,146,147],{"id":127,"type":133,"name":408,"description":409,"maker":214,"family":392,"own":15,"image":410},"Nano Banana Pro","Google's highest-fidelity image model",{"pricing":411,"options":413},{"per_image":412,"per_extra_reference_image":-1},0.16,{"aspect_ratios":414,"max_images":148},[143,144,145,146,147],{"id":416,"type":133,"name":417,"description":418,"maker":419,"family":420,"own":15,"image":421},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":422,"options":423},{"per_image":337,"per_extra_reference_image":-1},{"aspect_ratios":424,"max_images":148},[143,144,145,146,147],{"id":426,"type":133,"name":427,"description":428,"maker":320,"family":318,"own":15,"image":429},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":430,"options":431},{"per_image":337,"per_extra_reference_image":-1},{"aspect_ratios":432,"max_images":148},[143,144,145,146,147],{"id":14,"type":170,"name":434,"description":435,"maker":136,"family":436,"own":137,"edit":437,"video":445},"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":438,"formats":439,"min_seconds":31,"max_seconds":273,"min_billed_seconds":31,"max_bytes":442,"max_frames":443,"fps":444,"max_faces":148},"replace",[440,441],"mp4","mov",64000000,600,24,{"pricing":446,"options":449},{"default_resolution":176,"per_second":447,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":203,"1080p":448},0.25,{"resolutions":450,"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},[176,185],{"id":452,"type":170,"name":453,"description":454,"maker":136,"family":455,"own":137,"edit":456,"video":461},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":457,"formats":458,"min_seconds":189,"max_seconds":208,"min_billed_seconds":119,"max_bytes":459,"max_frames":460,"fps":-1,"max_faces":-1},"upscale",[440,441],100000000,900,{"pricing":462,"options":466},{"default_resolution":185,"per_second":463,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":464,"2K":465},0.03,0.05,{"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},[185,186],1795901825587,"b270fb84-a112-44f2-9801-f99d6c2e889e"]