[{"data":1,"prerenderedAt":463,"buildId":464},["ShallowReactive",2],{"blog:article:first-and-last-frame-video-api":3,"catalog":127},{"article":4,"related":101,"studioPath":126},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":19,"primaryKeyword":20,"keywords":21,"words":29,"toc":30,"blocks":50,"faq":95},"first-and-last-frame-video-api","\u002Fblog\u002Ffirst-and-last-frame-video-api","First and Last Frame AI Video by API: Control Both Ends","First and last frame AI video by API: which models take both frames, the request body, how to prompt the motion between them, loops and transitions.","guides","Guides","2026-11-28",6,[14,15,16,17,18],"seedance-2-5","veo-3-1","hailuo-3","fp-motion-1","seedance-2-0",false,"first and last frame ai video",[20,22,23,24,25,26,27,28],"start frame end frame ai video","first and last frame ai","ai video first and last frame","start and end frame ai video free","wan ai end frame","first and last frame","start frame and end frame ai free",1421,[31,35,38,41,44,47],{"id":32,"text":33,"level":34},"first-and-last-frame-ai-video-in-short","First and last frame AI video in short",2,{"id":36,"text":37,"level":34},"models-that-take-both-frames","Models that take both frames",{"id":39,"text":40,"level":34},"the-request-body","The request body",{"id":42,"text":43,"level":34},"prompt-the-motion-not-the-subject","Prompt the motion, not the subject",{"id":45,"text":46,"level":34},"transitions-and-loops","Transitions and loops",{"id":48,"text":49,"level":34},"faq","FAQ",[51,54,59,61,65,67,71,73],{"type":52,"html":53},"html","\u003Cp>First and last frame AI video gives a model two pictures, one to open the clip on and one to land on, and leaves it to invent the motion in between. On Frameport you send the first picture in \u003Ccode>reference_images\u003C\u002Fcode> and the last one in \u003Ccode>end_image\u003C\u002Fcode>, on any model that lists both frames, such as \u003Ca href=\"\u002Fmodels\u002Fseedance-2-5\">Seedance 2.5\u003C\u002Fa>, Veo 3.1, Hailuo 3 or Frameport Motion 1; the prompt then only has to say what happens on the way.\u003C\u002Fp>\n\u003Cp>This guide lists the models that take both frames, shows the request and the rules around it, explains how to prompt the in-between, and ends with loops, transitions and longer sequences built from chained clips.\u003C\u002Fp>\n\u003Ch2 id=\"first-and-last-frame-ai-video-in-short\">First and last frame AI video in short\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Two fields.\u003C\u002Fstrong> \u003Ccode>reference_images\u003C\u002Fcode> holds one picture, the first frame. \u003Ccode>end_image\u003C\u002Fcode> holds the last. Both take an https URL, a base64 data URI, an upload id (\u003Ccode>upl_…\u003C\u002Fcode>) or one of your own image outputs (\u003Ccode>file_…\u003C\u002Fcode>).\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The last frame needs a first one.\u003C\u002Fstrong> \u003Ccode>end_image\u003C\u002Fcode> alone is not a mode; send it with a first frame.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Only on some models.\u003C\u002Fstrong> A model&#39;s \u003Ccode>options.end_frame\u003C\u002Fcode> in \u003Ca href=\"\u002Fdocs\u002Fmodels\">GET \u002Fv1\u002Fmodels\u003C\u002Fa> says whether it takes a last frame. A model without one refuses the request with \u003Ccode>400 invalid_request\u003C\u002Fcode> before anything is held.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Frames, not references.\u003C\u002Fstrong> Identity mode, where pictures show who to keep rather than where to start, does not combine with \u003Ccode>end_image\u003C\u002Fcode>.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"models-that-take-both-frames\">Models that take both frames\u003C\u002Fh2>\n\u003Cp>Every model below opens on your first picture and lands on your last:\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Model\u003C\u002Fth>\u003Cth scope=\"col\">Lengths\u003C\u002Fth>\u003Cth scope=\"col\">Resolutions\u003C\u002Fth>\u003Cth scope=\"col\">Sound\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">From\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fseedance-2-5\">Seedance 2.5\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>4 to 30 seconds\u003C\u002Ftd>\u003Ctd>480p and 720p\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.12 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fseedance-2-0\">Seedance 2.0\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\u003C\u002Ftd>\u003Ctd>480p, 720p, 1080p and 4K\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.08 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Seedance 2.0 Fast\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\u003C\u002Ftd>\u003Ctd>480p and 720p\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.063 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Seedance 2.0 Mini\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\u003C\u002Ftd>\u003Ctd>480p and 720p\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.041 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fveo-3-1\">Veo 3.1\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd>720p, 1080p and 4K\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003Ctd class=\"r\">$0.235 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Veo 3.1 Fast\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd>720p, 1080p and 4K\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003Ctd class=\"r\">$0.093 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Veo 3.1 Lite\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd>720p and 1080p\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003Ctd class=\"r\">$0.036 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fhailuo-3\">Hailuo 3\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd>2K\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.15 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Hailuo 3 Max\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd>480p and 768p\u003C\u002Ftd>\u003Ctd>No soundtrack\u003C\u002Ftd>\u003Ctd class=\"r\">$0.06 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Ffp-motion-1\">Frameport Motion 1\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd>480p, 768p, 1080p and 2K\u003C\u002Ftd>\u003Ctd>On or off, same price\u003C\u002Ftd>\u003Ctd class=\"r\">$0.02 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Wan 3.0, Runway Gen-4.5 and Grok Imagine take a first frame only. On Hailuo 3, each picture adds a fee to the clip and both frames count, so the quote&#39;s \u003Ccode>breakdown\u003C\u002Fcode> ends with \u003Ccode>+ 2 images × …\u003C\u002Fcode>; on the others, the frames change nothing in the price.\u003C\u002Fp>\n\u003Cp>Which to pick depends on the shot. Seedance 2.5 has the widest range of lengths, for slow transformations that need time. Veo 3.1 renders up to 4K with sound, Hailuo 3 renders every clip at 2K, and Frameport Motion 1 keeps sound on or off at the same price, which makes it a cheap place to iterate on a transition before a final render.\u003C\u002Fp>\n\u003Ch2 id=\"the-request-body\">The request body\u003C\u002Fh2>\n\u003Cp>The body is an ordinary video request with two pictures in it. This script checks that the model takes a last frame, uploads two local pictures, submits the clip and waits for it:\u003C\u002Fp>",{"type":55,"lang":56,"code":57,"title":58},"code","python","import os\nimport time\n\nimport requests\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\nMODEL = \"seedance-2-5\"\n\n# 1. Does this model land on a last frame?\nmodel = requests.get(f\"{API}\u002Fmodels\u002F{MODEL}\", headers=HEADERS, timeout=30).json()\nif not model[\"options\"].get(\"end_frame\"):\n    raise SystemExit(f\"{MODEL} takes no end_image: choose a model whose options list end_frame\")\n\n\n# 2. Upload both pictures (an https URL or one of your file_ ids works too)\ndef upload(path):\n    with open(path, \"rb\") as picture:\n        res = requests.post(\n            f\"{API}\u002Fuploads\",\n            params={\"filename\": os.path.basename(path)},\n            headers={**HEADERS, \"Content-Type\": \"image\u002Fpng\"},\n            data=picture,\n            timeout=120,\n        )\n    res.raise_for_status()\n    return res.json()[\"id\"]\n\n\nfirst, last = upload(\"sketch.png\"), upload(\"painting.png\")\n\n# 3. Submit: the clip opens on the sketch and lands on the painting\ngen = requests.post(f\"{API}\u002Fvideos\u002Fgenerations\", headers=HEADERS, timeout=60, json={\n    \"model\": MODEL,\n    \"prompt\": \"Brush strokes sweep across the canvas and colour floods in, area by area, \"\n              \"until the sketch becomes the finished painting; slow push-in, soft brush sounds\",\n    \"duration\": 6,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"4:3\",\n    \"reference_images\": [first],\n    \"end_image\": last,\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}\u002Fgenerations\u002F{gen['id']}\", headers=HEADERS, timeout=30).json()\n\nif gen[\"status\"] == \"failed\":\n    raise SystemExit(f\"failed, nothing charged: {gen['error']['message']}\")\nprint(gen[\"outputs\"][0][\"url\"], gen[\"cost_usd\"])","frames.py",{"type":52,"html":60},"\u003Cp>The submit answers at once, with the frames counted in \u003Ccode>input\u003C\u002Fcode>:\u003C\u002Fp>",{"type":55,"lang":62,"code":63,"title":64},"json","{\n  \"id\": \"gen_4Wm8QzT1nVb6Xr2Lc9KdPa\",\n  \"status\": \"queued\",\n  \"input\": {\n    \"duration\": 6,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"4:3\",\n    \"audio\": true,\n    \"reference_images\": 1,\n    \"reference_mode\": \"frame\",\n    \"end_image\": true\n  },\n  \"reserved_usd\": 1.62,\n  \"cost_usd\": null,\n  \"error\": null\n}","202 Accepted (abridged)",{"type":52,"html":66},"\u003Cp>Three refusals are worth knowing, all \u003Ccode>400 invalid_request\u003C\u002Fcode> and all free. A last frame on a model without one answers \u003Ccode>end_image: &lt;model&gt; does not take an end image.\u003C\u002Fcode> Two or more pictures in \u003Ccode>reference_images\u003C\u002Fcode> without identity mode answer that the model takes one picture, the first frame. And \u003Ccode>end_image\u003C\u002Fcode> with \u003Ccode>&quot;reference_mode&quot;: &quot;identity&quot;\u003C\u002Fcode> is refused, because identity pictures are references, not frames. The \u003Ca href=\"\u002Fdocs\u002Fvideos#frames\">videos reference\u003C\u002Fa> has the same body in short, and \u003Ca href=\"\u002Fdocs\u002Fuploads\">uploads\u003C\u002Fa> explains the 24-hour upload ids.\u003C\u002Fp>\n\u003Ch2 id=\"prompt-the-motion-not-the-subject\">Prompt the motion, not the subject\u003C\u002Fh2>\n\u003Cp>Both ends of the clip are already drawn. Whatever the prompt says about the subject, the outfit or the room competes with the pictures, so spend the words on the journey:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>What changes, and in what order.\u003C\u002Fstrong> &quot;Colour floods in, area by area&quot; gives the model a path; &quot;a beautiful painting&quot; gives it nothing it does not already have.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The camera.\u003C\u002Fstrong> One move per clip: a slow push-in, an orbit, a crane down. If the two pictures are framed differently, say how the camera gets from one to the other.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The pace.\u003C\u002Fstrong> Bigger changes need more seconds. A pose change fits in a short clip; a day-to-night time-lapse reads better at the long end of the model&#39;s range.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The sound,\u003C\u002Fstrong> on models that render it: brush strokes, wind picking up, a door closing at the end.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The pictures matter as much as the words. Give both the same aspect ratio as the clip, and keep the light, lens and style close: the further apart the two frames are, the more the model has to invent, and the more likely you get a morph instead of a believable move. When the same person appears at both ends, make the two pictures with the same reference photos so the face matches (see \u003Ca href=\"\u002Fblog\u002Fconsistent-character-image-api\">consistent character images\u003C\u002Fa>); identity mode cannot help here, since it does not combine with a last frame.\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">First frame\u003C\u002Fth>\u003Cth scope=\"col\">Last frame\u003C\u002Fth>\u003Cth scope=\"col\">What the prompt describes\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>A pencil sketch\u003C\u002Ftd>\u003Ctd>The finished painting\u003C\u002Ftd>\u003Ctd>Colour arriving, stroke by stroke\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>An empty room\u003C\u002Ftd>\u003Ctd>The same room furnished\u003C\u002Ftd>\u003Ctd>Furniture sliding into place, light warming\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>A closed product box\u003C\u002Ftd>\u003Ctd>The product on display\u003C\u002Ftd>\u003Ctd>Hands opening the box, the reveal, a slow orbit\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>A street at noon\u003C\u002Ftd>\u003Ctd>The same street at night\u003C\u002Ftd>\u003Ctd>The sun dropping, lamps flickering on, traffic thickening\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Ch2 id=\"transitions-and-loops\">Transitions and loops\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Seamless loops.\u003C\u002Fstrong> Send the same picture as the first and the last frame, and prompt a motion that comes back on itself: steam rising and thinning, a flag lifting and settling, a slow orbit that returns to the start. The clip ends where it began, so it can play on repeat without a visible jump.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Before and after.\u003C\u002Fstrong> Two states of one scene, as in the table above, make reveals, renovations, makeovers and product unboxings.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Longer sequences.\u003C\u002Fstrong> A model makes one clip at a time, but you can chain them: take the last frame of clip one, use it as the first frame of clip two, and the motion continues across the cut. Pull that frame with ffmpeg, upload it, and send it as the next \u003Ccode>reference_images\u003C\u002Fcode>.\u003C\u002Fli>\n\u003C\u002Ful>",{"type":55,"lang":68,"code":69,"title":70},"curl","ffmpeg -sseof -1 -i clip-1.mp4 -update 1 last.png\ncurl \"https:\u002F\u002Fframeport.ai\u002Fv1\u002Fuploads?filename=last.png\" \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: image\u002Fpng\" \\\n  --data-binary @last.png","Use a clip's last frame as the next first frame",{"type":52,"html":72},"\u003Cp>Give each link of the chain its own prompt and, where you want the story to land somewhere precise, its own last frame. For more on single-picture starts and reference pictures, see the \u003Ca href=\"\u002Fblog\u002Fimage-to-video-api\">image to video API guide\u003C\u002Fa>; for keeping a character through several clips, the \u003Ca href=\"\u002Fblog\u002Fconsistent-character-video-api\">consistent character video guide\u003C\u002Fa>. The simplest case, one photo turned into one clip, is in \u003Ca href=\"\u002Fblog\u002Fhow-to-turn-a-photo-into-a-video\">how to turn a photo into a video\u003C\u002Fa>, and what a clip costs on each model in \u003Ca href=\"\u002Fblog\u002Fimage-to-video-api-pricing\">image to video API pricing\u003C\u002Fa>. Turning a whole board of panels into shots is the subject of \u003Ca href=\"\u002Fblog\u002Fstoryboard-to-video-api\">storyboard to video AI\u003C\u002Fa>.\u003C\u002Fp>",{"type":48,"id":48,"title":49,"items":74},[75,79,83,87,91],{"q":76,"html":77,"text":78},"What is first and last frame AI video?","\u003Cp>A way to generate a clip from two pictures: the model opens on the first, ends on the last, and creates the motion between them from your prompt. It gives you control over both ends of a shot, which a prompt or a single picture alone does not.\u003C\u002Fp>","A way to generate a clip from two pictures: the model opens on the first, ends on the last, and creates the motion between them from your prompt. It gives you control over both ends of a shot, which a prompt or a single picture alone does not.",{"q":80,"html":81,"text":82},"Which AI video models support a start and end frame?","\u003Cp>Here, Seedance 2.5, Seedance 2.0 and its Fast and Mini tiers, Veo 3.1, Veo 3.1 Fast and Veo 3.1 Lite, Hailuo 3 and Hailuo 3 Max, and Frameport Motion 1. The \u003Ccode>end_frame\u003C\u002Fcode> option of each model in \u003Ccode>GET \u002Fv1\u002Fmodels\u003C\u002Fcode> is the live answer.\u003C\u002Fp>","Here, Seedance 2.5, Seedance 2.0 and its Fast and Mini tiers, Veo 3.1, Veo 3.1 Fast and Veo 3.1 Lite, Hailuo 3 and Hailuo 3 Max, and Frameport Motion 1. The end_frame option of each model in GET \u002Fv1\u002Fmodels is the live answer.",{"q":84,"html":85,"text":86},"Does Wan take an end frame?","\u003Cp>Not here. Wan 3.0 takes a first frame only, and a request with \u003Ccode>end_image\u003C\u002Fcode> is refused with \u003Ccode>400 invalid_request\u003C\u002Fcode> before anything is held. For a clip that must land on a picture, pick one of the models in the table above.\u003C\u002Fp>","Not here. Wan 3.0 takes a first frame only, and a request with end_image is refused with 400 invalid_request before anything is held. For a clip that must land on a picture, pick one of the models in the table above.",{"q":88,"html":89,"text":90},"Can I use reference pictures and a last frame together?","\u003Cp>No. Reference pictures in identity mode tell the model who or what to keep in a new scene, while frames fix the first and last image, and the API refuses the two together. To keep a character between two frames, generate both pictures with the same references first.\u003C\u002Fp>","No. Reference pictures in identity mode tell the model who or what to keep in a new scene, while frames fix the first and last image, and the API refuses the two together. To keep a character between two frames, generate both pictures with the same references first.",{"q":92,"html":93,"text":94},"Is there a free start and end frame AI video tool?","\u003Cp>The account, the API key and price quotes are free, and a clip that fails costs nothing; clips themselves are paid from a prepaid balance. Frameport Motion 1 starts at $0.02 \u002F s, and you can try frames without code in the \u003Ca href=\"\u002Fstudio?model=seedance-2-5\">Studio\u003C\u002Fa>.\u003C\u002Fp>","The account, the API key and price quotes are free, and a clip that fails costs nothing; clips themselves are paid from a prepaid balance. Frameport Motion 1 starts at $0.02 \u002F s, and you can try frames without code in the Studio.",[96,97,98,99,100],{"q":76,"html":77,"text":78},{"q":80,"html":81,"text":82},{"q":84,"html":85,"text":86},{"q":88,"html":89,"text":90},{"q":92,"html":93,"text":94},[102,111,118],{"slug":103,"path":104,"title":105,"description":106,"category":107,"categoryLabel":108,"date":11,"updated":11,"readingMinutes":12,"models":109,"featured":19},"ai-video-api-with-sound","\u002Fblog\u002Fai-video-api-with-sound","AI Video API With Audio: Which Models Have Sound","An AI video API with audio: the models that render native sound, how the audio switch changes the price, and one request shape to call them all.","models","Models",[17,14,15,110,16,18],"wan-3",{"slug":112,"path":113,"title":114,"description":115,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":116,"models":117,"featured":19},"ai-video-prompt-guide","\u002Fblog\u002Fai-video-prompt-guide","AI Video Prompt Guide: Prompts Video Models Follow","An AI video prompt guide for developers: subject, action, camera, light and sound in order, camera moves, model quirks and templates to fill from code.",7,[14,15,110,16,17],{"slug":119,"path":120,"title":121,"description":122,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":123,"models":124,"featured":19},"consistent-character-video-api","\u002Fblog\u002Fconsistent-character-video-api","Consistent Character AI Video: Keep One Face Across Clips","Consistent character AI video by API: keep one person, product or mascot across clips with identity references or first frames, plus Python code.",5,[18,14,17,110,16,125],"fp-image-3","\u002Fstudio",[128,147,155,165,190,207,226,241,255,270,285,299,310,324,337,350,362,373,381,390,400,409,419,427,446],{"id":129,"type":130,"name":131,"description":132,"maker":133,"family":133,"own":134,"image":135,"private":146},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":136,"options":138},{"per_image":137,"per_extra_reference_image":-1},0.025,{"aspect_ratios":139,"max_images":145},[140,141,142,143,144],"1:1","3:4","4:3","9:16","16:9",4,{},{"id":125,"type":130,"name":148,"description":149,"maker":133,"family":133,"own":134,"image":150,"private":154},"Frameport Image 3","Clean photoreal renders for characters.",{"pricing":151,"options":152},{"per_image":137,"per_extra_reference_image":-1},{"aspect_ratios":153,"max_images":145},[140,141,142,143,144],{},{"id":156,"type":130,"name":157,"description":158,"maker":133,"family":133,"own":134,"image":159,"private":164},"fp-image-1","Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":160,"options":162},{"per_image":137,"per_extra_reference_image":161},0.0025,{"aspect_ratios":163,"max_images":145},[140,141,142,143,144],{},{"id":17,"type":166,"name":167,"description":168,"maker":133,"family":169,"own":134,"video":170,"private":188},"video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":171,"options":178},{"default_resolution":172,"per_second":173,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":174,"768p":175,"1080p":176,"2K":177},0.02,0.06,0.08,0.095,{"resolutions":179,"durations":183,"aspect_ratios":186,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":145,"identity_resolutions":187,"seed":19,"negative_prompt":19},[180,172,181,182],"480p","1080p","2K",{"min":123,"max":184,"step":185},15,1,[144,143,140,142,141],[172,181],{"resolutions":189},[180,172],{"id":14,"type":166,"name":191,"description":192,"maker":193,"family":194,"own":19,"video":195},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":196,"options":201},{"default_resolution":197,"per_second":198,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":199,"720p":200},0.12,0.27,{"resolutions":202,"durations":203,"aspect_ratios":205,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":145,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[180,197],{"min":145,"max":204,"step":185},30,[144,142,140,141,143,206],"21:9",{"id":15,"type":166,"name":208,"description":209,"maker":210,"family":211,"own":19,"video":212},"Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":213,"options":219},{"default_resolution":181,"per_second":214,"per_second_with_audio":217,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":215,"1080p":215,"4K":216},0.235,0.465,{"720p":216,"1080p":216,"4K":218},0.695,{"resolutions":220,"durations":222,"aspect_ratios":224,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":225,"identity_resolutions":-1,"seed":134,"negative_prompt":134},[197,181,221],"4K",{"min":145,"max":223,"step":34},8,[144,143],3,{"id":18,"type":166,"name":227,"description":228,"maker":193,"family":194,"own":19,"video":229},"Seedance 2.0","Character consistency, up to 4K",{"pricing":230,"options":237},{"default_resolution":197,"per_second":231,"per_second_with_audio":-1,"aspect_ratio_multiplier":235,"per_reference_image":-1,"per_frame_image":-1},{"480p":176,"720p":232,"1080p":233,"4K":234},0.175,0.435,0.9,{"21:9":236},1.32,{"resolutions":238,"durations":239,"aspect_ratios":240,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":145,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[180,197,181,221],{"min":145,"max":184,"step":185},[144,142,140,141,143,206],{"id":16,"type":166,"name":242,"description":243,"maker":244,"family":245,"own":19,"video":246},"Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":247,"options":251},{"default_resolution":182,"per_second":248,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":250,"per_frame_image":-1},{"2K":249},0.15,0.047,{"resolutions":252,"durations":253,"aspect_ratios":254,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":225,"identity_resolutions":-1,"seed":19,"negative_prompt":19},[182],{"min":123,"max":184,"step":185},[206,144,142,140,141,143],{"id":256,"type":166,"name":257,"description":258,"maker":259,"family":259,"own":19,"video":260},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":261,"options":264},{"default_resolution":197,"per_second":262,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":263},0.14,{"resolutions":265,"durations":266,"aspect_ratios":268,"audio_toggle":19,"start_frame":134,"end_frame":19,"max_reference_images":269,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[197],{"min":34,"max":267,"step":185},10,[144,143],0,{"id":271,"type":166,"name":272,"description":273,"maker":210,"family":211,"own":19,"video":274},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":275,"options":281},{"default_resolution":197,"per_second":276,"per_second_with_audio":279,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":277,"1080p":199,"4K":278},0.093,0.29,{"720p":199,"1080p":263,"4K":280},0.35,{"resolutions":282,"durations":283,"aspect_ratios":284,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":225,"identity_resolutions":-1,"seed":134,"negative_prompt":134},[197,181,221],{"min":145,"max":223,"step":34},[144,143],{"id":286,"type":166,"name":287,"description":288,"maker":193,"family":194,"own":19,"video":289},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":290,"options":295},{"default_resolution":197,"per_second":291,"per_second_with_audio":-1,"aspect_ratio_multiplier":294,"per_reference_image":-1,"per_frame_image":-1},{"480p":292,"720p":293},0.063,0.145,{"21:9":236},{"resolutions":296,"durations":297,"aspect_ratios":298,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":145,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[180,197],{"min":145,"max":184,"step":185},[144,142,140,141,143,206],{"id":300,"type":166,"name":301,"description":302,"maker":244,"family":245,"own":19,"video":303},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":304,"options":306},{"default_resolution":172,"per_second":305,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":175,"768p":277},{"resolutions":307,"durations":308,"aspect_ratios":309,"audio_toggle":19,"start_frame":134,"end_frame":134,"max_reference_images":269,"identity_resolutions":-1,"seed":19,"negative_prompt":19},[180,172],{"min":123,"max":184,"step":185},[206,144,142,140,141,143],{"id":311,"type":166,"name":312,"description":313,"maker":314,"family":312,"own":19,"video":315},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":316,"options":320},{"default_resolution":197,"per_second":317,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":319},{"480p":277,"720p":318,"1080p":278},0.165,0.014,{"resolutions":321,"durations":322,"aspect_ratios":323,"audio_toggle":19,"start_frame":134,"end_frame":19,"max_reference_images":269,"identity_resolutions":-1,"seed":19,"negative_prompt":19},[180,197,181],{"min":185,"max":184,"step":185},[144,143,140,142,141],{"id":325,"type":166,"name":326,"description":-1,"maker":193,"family":194,"own":19,"video":327},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":328,"options":333},{"default_resolution":180,"per_second":329,"per_second_with_audio":-1,"aspect_ratio_multiplier":332,"per_reference_image":-1,"per_frame_image":-1},{"480p":330,"720p":331},0.041,0.088,{"21:9":236},{"resolutions":334,"durations":335,"aspect_ratios":336,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":145,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[180,197],{"min":145,"max":184,"step":185},[144,142,140,141,143,206],{"id":338,"type":166,"name":339,"description":340,"maker":210,"family":211,"own":19,"video":341},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":342,"options":346},{"default_resolution":197,"per_second":343,"per_second_with_audio":345,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":344,"1080p":175},0.036,{"720p":175,"1080p":277},{"resolutions":347,"durations":348,"aspect_ratios":349,"audio_toggle":134,"start_frame":134,"end_frame":134,"max_reference_images":269,"identity_resolutions":-1,"seed":134,"negative_prompt":134},[197,181],{"min":145,"max":223,"step":34},[144,143],{"id":110,"type":166,"name":351,"description":352,"maker":353,"family":354,"own":19,"video":355},"Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":356,"options":358},{"default_resolution":197,"per_second":357,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":175,"720p":199,"1080p":215},{"resolutions":359,"durations":360,"aspect_ratios":361,"audio_toggle":134,"start_frame":134,"end_frame":19,"max_reference_images":225,"identity_resolutions":-1,"seed":134,"negative_prompt":19},[180,197,181],{"min":34,"max":204,"step":185},[144,142,140,141,143],{"id":363,"type":130,"name":364,"description":365,"maker":366,"family":367,"own":19,"image":368},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":369,"options":371},{"per_image":370,"per_extra_reference_image":-1},0.085,{"aspect_ratios":372,"max_images":145},[140,141,142,143,144],{"id":374,"type":130,"name":375,"description":376,"maker":366,"family":367,"own":19,"image":377},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":378,"options":379},{"per_image":370,"per_extra_reference_image":-1},{"aspect_ratios":380,"max_images":145},[140,141,142,143,144],{"id":382,"type":130,"name":383,"description":384,"maker":210,"family":385,"own":19,"image":386},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":387,"options":388},{"per_image":370,"per_extra_reference_image":-1},{"aspect_ratios":389,"max_images":145},[140,141,142,143,144],{"id":391,"type":130,"name":392,"description":393,"maker":193,"family":394,"own":19,"image":395},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":396,"options":398},{"per_image":397,"per_extra_reference_image":-1},0.099,{"aspect_ratios":399,"max_images":145},[140,141,142,143,144],{"id":401,"type":130,"name":402,"description":403,"maker":210,"family":385,"own":19,"image":404},"nano-banana-pro","Nano Banana Pro","Google's highest-fidelity image model",{"pricing":405,"options":407},{"per_image":406,"per_extra_reference_image":-1},0.16,{"aspect_ratios":408,"max_images":145},[140,141,142,143,144],{"id":410,"type":130,"name":411,"description":412,"maker":413,"family":414,"own":19,"image":415},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":416,"options":417},{"per_image":331,"per_extra_reference_image":-1},{"aspect_ratios":418,"max_images":145},[140,141,142,143,144],{"id":420,"type":130,"name":421,"description":422,"maker":314,"family":312,"own":19,"image":423},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":424,"options":425},{"per_image":331,"per_extra_reference_image":-1},{"aspect_ratios":426,"max_images":145},[140,141,142,143,144],{"id":428,"type":166,"name":429,"description":430,"maker":133,"family":431,"own":134,"edit":432,"video":440},"fp-replace-1","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":433,"formats":434,"min_seconds":34,"max_seconds":267,"min_billed_seconds":34,"max_bytes":437,"max_frames":438,"fps":439,"max_faces":145},"replace",[435,436],"mp4","mov",64000000,600,24,{"pricing":441,"options":444},{"default_resolution":172,"per_second":442,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":199,"1080p":443},0.25,{"resolutions":445,"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},[172,181],{"id":447,"type":166,"name":448,"description":449,"maker":133,"family":450,"own":134,"edit":451,"video":456},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":452,"formats":453,"min_seconds":185,"max_seconds":204,"min_billed_seconds":123,"max_bytes":454,"max_frames":455,"fps":-1,"max_faces":-1},"upscale",[435,436],100000000,900,{"pricing":457,"options":461},{"default_resolution":181,"per_second":458,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":459,"2K":460},0.03,0.05,{"resolutions":462,"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},[181,182],1795901825357,"b270fb84-a112-44f2-9801-f99d6c2e889e"]