[{"data":1,"prerenderedAt":466,"buildId":467},["ShallowReactive",2],{"blog:article:image-to-video-api":3,"catalog":132},{"article":4,"related":103,"studioPath":131},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":20,"primaryKeyword":21,"keywords":22,"words":32,"toc":33,"blocks":53,"faq":97},"image-to-video-api","\u002Fblog\u002Fimage-to-video-api","Image to Video API: Animate a Still in One Call","Turn a picture into a clip by API: a first frame, first and last frames or reference pictures, which models take each, the request and what it costs.","guides","Guides","2026-11-28",5,[14,15,16,17,18,19],"seedance-2-5","fp-motion-1","veo-3-1","wan-3","hailuo-3","grok-imagine",false,"image to video api",[21,23,24,25,26,27,28,29,30,31],"image to video api python","image to video ai api","image to video api key","best image to video ai api","cheapest image to video ai api","image to video api free","photo to video api","first frame video api","animate image api",1261,[34,38,41,44,47,50],{"id":35,"text":36,"level":37},"three-ways-to-start-from-a-picture","Three ways to start from a picture",2,{"id":39,"text":40,"level":37},"which-models-take-a-first-or-last-frame","Which models take a first or last frame",{"id":42,"text":43,"level":37},"your-first-image-to-video-api-request","Your first image to video API request",{"id":45,"text":46,"level":37},"prompting-motion-not-the-subject","Prompting motion, not the subject",{"id":48,"text":49,"level":37},"what-image-to-video-costs","What image to video costs",{"id":51,"text":52,"level":37},"faq","FAQ",[54,57,64,69,71,73,75],{"type":55,"html":56},"html","\u003Cp>An image to video API takes a picture and a prompt and returns a clip that starts on the picture, lands on it, or keeps the people and things it shows. On Frameport every video model uses the same three fields for that, \u003Ccode>reference_images\u003C\u002Fcode>, \u003Ccode>end_image\u003C\u002Fcode> and \u003Ccode>reference_mode\u003C\u002Fcode>, on one API key, from $0.02 per second, and a clip that fails costs nothing.\u003C\u002Fp>\n\u003Cp>This guide covers the three ways to start from a picture, which models take each, a first request with a local file, how to prompt motion, and what a clip costs.\u003C\u002Fp>\n\u003Ch2 id=\"three-ways-to-start-from-a-picture\">Three ways to start from a picture\u003C\u002Fh2>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Way\u003C\u002Fth>\u003Cth scope=\"col\">Fields\u003C\u002Fth>\u003Cth scope=\"col\">What the model does\u003C\u002Fth>\u003Cth scope=\"col\">What the prompt says\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>First frame\u003C\u002Ftd>\u003Ctd>\u003Ccode>reference_images\u003C\u002Fcode> with one picture\u003C\u002Ftd>\u003Ctd>The clip opens on the picture\u003C\u002Ftd>\u003Ctd>Only the motion, the camera and the sound\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>First and last frame\u003C\u002Ftd>\u003Ctd>\u003Ccode>reference_images\u003C\u002Fcode> and \u003Ccode>end_image\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>It opens on the first picture and lands on the second\u003C\u002Ftd>\u003Ctd>What happens in between\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Reference pictures\u003C\u002Ftd>\u003Ctd>\u003Ccode>reference_images\u003C\u002Fcode> with \u003Ccode>&quot;reference_mode&quot;: &quot;identity&quot;\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>It keeps the people, products or places shown and builds a new scene around them\u003C\u002Ftd>\u003Ctd>The scene and the action\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Frame mode is the default. In it, a model reads one picture as the first frame, and a request with more is refused with \u003Ccode>400 invalid_request\u003C\u002Fcode> before anything is held. Identity mode does not combine with \u003Ccode>end_image\u003C\u002Fcode>, because its pictures are references, not frames. The \u003Ca href=\"\u002Fdocs\u002Fvideos#frames\">videos reference\u003C\u002Fa> has a body for each way.\u003C\u002Fp>\n\u003Cp>A picture can be:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>an https URL;\u003C\u002Fli>\n\u003Cli>a base64 data URI (PNG, JPEG, WebP or GIF), for small pictures: a request body is 16 MB at most;\u003C\u002Fli>\n\u003Cli>an \u003Ca href=\"\u002Fdocs\u002Fuploads\">upload\u003C\u002Fa> (\u003Ccode>upl_…\u003C\u002Fcode>), the way to send a file from disk;\u003C\u002Fli>\n\u003Cli>one of your own image outputs (\u003Ccode>file_…\u003C\u002Fcode>), so an image you generated becomes the first frame with nothing to download.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"which-models-take-a-first-or-last-frame\">Which models take a first or last frame\u003C\u002Fh2>\n\u003Cp>All of the models below take a first frame. They differ on the last frame, on reference pictures, on length and on price:\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\">What it does\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">Reference pictures\u003C\u002Fth>\u003Cth scope=\"col\">Lengths\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">From\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Ffp-motion-1\">Frameport Motion 1\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">4\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.02 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fseedance-2-5\">Seedance 2.5\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">4\u003C\u002Ftd>\u003Ctd>4 to 30 seconds\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>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">4\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.08 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fseedance-2-0-fast\">Seedance 2.0 Fast\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">4\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.063 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fseedance-2-0-mini\">Seedance 2.0 Mini\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">4\u003C\u002Ftd>\u003Ctd>4 to 15 seconds\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>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">3\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.235 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fveo-3-1-fast\">Veo 3.1 Fast\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">3\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.093 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fveo-3-1-lite\">Veo 3.1 Lite\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">0\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\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>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">3\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.15 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fhailuo-3-max\">Hailuo 3 Max\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd class=\"r\">0\u003C\u002Ftd>\u003Ctd>5 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.06 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fwan-3\">Wan 3.0\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video and Image to video\u003C\u002Ftd>\u003Ctd class=\"r\">3\u003C\u002Ftd>\u003Ctd>2 to 30 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.06 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Fgrok-imagine\">Grok Imagine\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video and Image to video\u003C\u002Ftd>\u003Ctd class=\"r\">0\u003C\u002Ftd>\u003Ctd>1 to 15 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.093 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>\u003Ca href=\"\u002Fmodels\u002Frunway-gen-4-5\">Runway Gen-4.5\u003C\u002Fa>\u003C\u002Ftd>\u003Ctd>Text to video and Image to video\u003C\u002Ftd>\u003Ctd class=\"r\">0\u003C\u002Ftd>\u003Ctd>2 to 10 seconds\u003C\u002Ftd>\u003Ctd class=\"r\">$0.14 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>&quot;First + last frame&quot; means the model takes \u003Ccode>end_image\u003C\u002Fcode>. A model with 0 reference pictures takes a picture only as a frame. On Hailuo 3 and Grok Imagine, each picture you send adds a fixed fee to the clip, shown on their model pages. Frameport Motion 1 renders a clip with reference pictures at fewer resolutions than its own, listed in \u003Ccode>options.identity_resolutions\u003C\u002Fcode> of \u003Ca href=\"\u002Fdocs\u002Fmodels#video-options\">GET \u002Fv1\u002Fmodels\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"your-first-image-to-video-api-request\">Your first image to video API request\u003C\u002Fh2>\n\u003Cp>Upload the picture once, then send its id as the first frame. Set \u003Ccode>aspect_ratio\u003C\u002Fcode> to the shape of your picture: a request without one gets \u003Ccode>16:9\u003C\u002Fcode> wherever the model offers it.\u003C\u002Fp>",{"type":58,"snippets":59,"title":63},"tabs",{"curl":60,"python":61,"node":62},"# 1. Upload the picture (or skip this and pass an https URL)\ncurl \"https:\u002F\u002Fframeport.ai\u002Fv1\u002Fuploads?filename=still.jpg\" \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: image\u002Fjpeg\" \\\n  --data-binary @still.jpg\n\n# 2. Submit: the picture is the first frame\ncurl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fgenerations \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"seedance-2-5\",\n    \"prompt\": \"She turns from the window and smiles as the curtains lift in the breeze, slow push-in, birdsong outside\",\n    \"duration\": 5,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"9:16\",\n    \"reference_images\": [\"upl_7Rk2PqV9wXm4Tn8Lc1BdZe\"]\n  }'\n\n# 3. Poll until \"succeeded\", then download outputs[0].url\ncurl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fgenerations\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\n# 1. Upload the picture (or skip this and pass an https URL)\nwith open(\"still.jpg\", \"rb\") as picture:\n    upload = requests.post(\n        f\"{API}\u002Fuploads\",\n        params={\"filename\": \"still.jpg\"},\n        headers={**headers, \"Content-Type\": \"image\u002Fjpeg\"},\n        data=picture,\n    ).json()\n\n# 2. Submit: the picture is the first frame\ngen = requests.post(f\"{API}\u002Fvideos\u002Fgenerations\", headers=headers, json={\n    \"model\": \"seedance-2-5\",\n    \"prompt\": \"She turns from the window and smiles as the curtains lift in the breeze, slow push-in, birdsong outside\",\n    \"duration\": 5,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"9:16\",\n    \"reference_images\": [upload[\"id\"]],\n}).json()\nif gen.get(\"error\"):\n    raise SystemExit(f\"{gen['error']['code']}: {gen['error']['message']}\")\n\n# 3. Poll, then download\nwhile gen[\"status\"] in (\"queued\", \"running\"):\n    time.sleep(5)\n    gen = requests.get(f\"{API}\u002Fvideos\u002Fgenerations\u002F{gen['id']}\", headers=headers).json()\nif gen[\"status\"] == \"failed\":\n    raise SystemExit(gen[\"error\"][\"message\"])  # nothing was charged\n\nopen(\"clip.mp4\", \"wb\").write(requests.get(gen[\"outputs\"][0][\"url\"]).content)\nprint(\"saved clip.mp4, charged\", gen[\"cost_usd\"])","import { readFile, writeFile } from 'node:fs\u002Fpromises'\n\nconst API = 'https:\u002F\u002Fframeport.ai\u002Fv1'\nconst auth = { Authorization: `Bearer ${process.env.FRAMEPORT_API_KEY}` }\n\n\u002F\u002F 1. Upload the picture (or skip this and pass an https URL)\nconst upload = await fetch(`${API}\u002Fuploads?filename=still.jpg`, {\n  method: 'POST',\n  headers: { ...auth, 'Content-Type': 'image\u002Fjpeg' },\n  body: await readFile('still.jpg'),\n}).then(res => res.json())\n\n\u002F\u002F 2. Submit: the picture is the first frame\nlet gen = await fetch(`${API}\u002Fvideos\u002Fgenerations`, {\n  method: 'POST',\n  headers: { ...auth, 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    model: 'seedance-2-5',\n    prompt: 'She turns from the window and smiles as the curtains lift in the breeze, slow push-in, birdsong outside',\n    duration: 5,\n    resolution: '720p',\n    aspect_ratio: '9:16',\n    reference_images: [upload.id],\n  }),\n}).then(res => res.json())\nif (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)\n\n\u002F\u002F 3. Poll, then download\nwhile (gen.status === 'queued' || gen.status === 'running') {\n  await new Promise(resolve => setTimeout(resolve, 5000))\n  gen = await fetch(`${API}\u002Fvideos\u002Fgenerations\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 clip = await fetch(gen.outputs[0].url)\nawait writeFile('clip.mp4', Buffer.from(await clip.arrayBuffer()))\nconsole.log('saved clip.mp4, charged', gen.cost_usd)","Upload · submit · poll",{"type":65,"lang":66,"code":67,"title":68},"code","json","{\n  \"id\": \"gen_9sLq2VbX7mN4kR1tYc8WpE\",\n  \"object\": \"generation\",\n  \"type\": \"video\",\n  \"model\": \"seedance-2-5\",\n  \"status\": \"queued\",\n  \"input\": {\n    \"prompt\": \"She turns from the window and smiles as the curtains lift in the breeze, slow push-in, birdsong outside\",\n    \"duration\": 5,\n    \"resolution\": \"720p\",\n    \"aspect_ratio\": \"9:16\",\n    \"audio\": true,\n    \"reference_images\": 1,\n    \"reference_mode\": \"frame\",\n    \"end_image\": false\n  },\n  \"reserved_usd\": 1.35,\n  \"cost_usd\": null,\n  \"outputs\": [{ \"id\": \"file_2Tn7XcQ9vLm4Ra8Ws1KbZd\", \"status\": \"queued\" }],\n  \"error\": null,\n  \"created_at\": \"2026-11-28T10:00:00.000Z\",\n  \"completed_at\": null\n}","202 Accepted",{"type":55,"html":70},"\u003Cp>An upload works for 24 hours, and a picture is 10 MB at most. To land the clip on a second picture, add \u003Ccode>&quot;end_image&quot;\u003C\u002Fcode> with another URL, upload or file id, on a model that takes a last frame.\u003C\u002Fp>\n\u003Ch2 id=\"prompting-motion-not-the-subject\">Prompting motion, not the subject\u003C\u002Fh2>\n\u003Cp>With a frame, the picture already sets the subject, the wardrobe, the set and the light. Whatever the prompt says about them competes with the picture. Spend the words on what the picture cannot say:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>What moves, and how.\u003C\u002Fstrong> &quot;She turns from the window and smiles&quot; rather than &quot;a woman with brown hair in a blue dress&quot;.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The camera.\u003C\u002Fstrong> A slow push-in, an orbit, a crane up: one move per clip.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The sound,\u003C\u002Fstrong> on models that render it: birdsong, traffic, a line of dialogue in quotes.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Between two frames,\u003C\u002Fstrong> the transition: &quot;the sketch fills with colour until it becomes the finished painting&quot;.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>With reference pictures,\u003C\u002Fstrong> the opposite: the scene is new, so describe it fully, and name who comes from which picture (&quot;the woman from the first picture&quot;).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>One action per clip reads better than three: a 5-second clip with several beats tends to rush them. For more on writing for video models, see the \u003Ca href=\"\u002Fblog\u002Ftext-to-video-api\">text to video API guide\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"what-image-to-video-costs\">What image to video costs\u003C\u002Fh2>\n\u003Cp>A clip from a picture costs its seconds, like any clip; Hailuo 3 and Grok Imagine add their fee per picture. A 6-second clip on a few models:\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\">Resolution\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">Per second\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">6 s clip\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Frameport Motion 1\u003C\u002Ftd>\u003Ctd>480p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.02\u003C\u002Ftd>\u003Ctd class=\"r\">$0.12\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Seedance 2.0 Mini\u003C\u002Ftd>\u003Ctd>480p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.041\u003C\u002Ftd>\u003Ctd class=\"r\">$0.246\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Wan 3.0\u003C\u002Ftd>\u003Ctd>720p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.12\u003C\u002Ftd>\u003Ctd class=\"r\">$0.72\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Seedance 2.5\u003C\u002Ftd>\u003Ctd>720p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.27\u003C\u002Ftd>\u003Ctd class=\"r\">$1.62\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Veo 3.1 Fast, with sound\u003C\u002Ftd>\u003Ctd>1080p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.14\u003C\u002Ftd>\u003Ctd class=\"r\">$0.84\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Runway Gen-4.5\u003C\u002Ftd>\u003Ctd>720p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.14\u003C\u002Ftd>\u003Ctd class=\"r\">$0.84\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Frameport Motion 1, our own video model, starts at $0.02 per second, and the lowest price of a second of video in the catalog is $0.02. The price is held when you submit and charged only when the clip succeeds; a failed clip gives the hold back. To price an exact body, pictures included, send it to \u003Ccode>POST \u002Fv1\u002Fgenerations\u002Fquote\u003C\u002Fcode> first: nothing is held. \u003Ca href=\"\u002Fpricing\">Pricing\u003C\u002Fa> explains the balance.\u003C\u002Fp>",{"type":72,"model":14},"cta",{"type":55,"html":74},"\u003Cp>What a clip from a picture costs on each model is in \u003Ca href=\"\u002Fblog\u002Fimage-to-video-api-pricing\">image to video API pricing\u003C\u002Fa>. To set the closing frame too, see \u003Ca href=\"\u002Fblog\u002Ffirst-and-last-frame-video-api\">first and last frame AI video by API\u003C\u002Fa>. Pictures that show who appears rather than how a shot opens are explained in \u003Ca href=\"\u002Fblog\u002Fwhat-is-reference-to-video\">what reference to video is\u003C\u002Fa>, and a series of panels in \u003Ca href=\"\u002Fblog\u002Fstoryboard-to-video-api\">storyboard to video\u003C\u002Fa>. Your own picture as the first frame, by link, base64 or upload, is covered in \u003Ca href=\"\u002Fblog\u002Fupload-files-to-ai-generation-api\">upload image to API\u003C\u002Fa>.\u003C\u002Fp>",{"type":51,"id":51,"title":52,"items":76},[77,81,85,89,93],{"q":78,"html":79,"text":80},"Which models can turn an image into a video?","\u003Cp>All 13 video models in the catalog take a first frame. Seedance, Veo, Hailuo and Frameport Motion 1 also take a last frame, and several take reference pictures; the table above lists each.\u003C\u002Fp>","All 13 video models in the catalog take a first frame. Seedance, Veo, Hailuo and Frameport Motion 1 also take a last frame, and several take reference pictures; the table above lists each.",{"q":82,"html":83,"text":84},"Can I set both the first and the last frame?","\u003Cp>Yes, on models that list &quot;First + last frame&quot;: send the first picture in \u003Ccode>reference_images\u003C\u002Fcode> and the last in \u003Ccode>end_image\u003C\u002Fcode>, and describe what happens in between.\u003C\u002Fp>","Yes, on models that list \"First + last frame\": send the first picture in reference_images and the last in end_image, and describe what happens in between.",{"q":86,"html":87,"text":88},"How do I send a picture from my computer?","\u003Cp>Upload it with \u003Ccode>POST \u002Fv1\u002Fuploads\u003C\u002Fcode> and send the \u003Ccode>upl_…\u003C\u002Fcode> id it returns, or send it inline as a base64 data URI. An image you generated on Frameport goes by its \u003Ccode>file_…\u003C\u002Fcode> id.\u003C\u002Fp>","Upload it with POST \u002Fv1\u002Fuploads and send the upl_… id it returns, or send it inline as a base64 data URI. An image you generated on Frameport goes by its file_… id.",{"q":90,"html":91,"text":92},"What is the cheapest image to video API?","\u003Cp>On Frameport, Frameport Motion 1 starts at $0.02 per second, so a 6-second clip at 480p costs $0.12. Every price is per second, with no subscription.\u003C\u002Fp>","On Frameport, Frameport Motion 1 starts at $0.02 per second, so a 6-second clip at 480p costs $0.12. Every price is per second, with no subscription.",{"q":94,"html":95,"text":96},"Is there a free image to video API?","\u003Cp>The account and the API key are free, and quotes cost nothing. Clips are paid from a prepaid balance, topped up from $10, and a clip that fails costs nothing. You can try a model by hand first in the \u003Ca href=\"\u002Fstudio?model=fp-motion-1\">Studio\u003C\u002Fa>.\u003C\u002Fp>","The account and the API key are free, and quotes cost nothing. Clips are paid from a prepaid balance, topped up from $10, and a clip that fails costs nothing. You can try a model by hand first in the Studio.",[98,99,100,101,102],{"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},[104,114,123],{"slug":105,"path":106,"title":107,"description":108,"category":109,"categoryLabel":110,"date":11,"updated":11,"readingMinutes":111,"models":112,"featured":20},"ai-video-generation-api-cost","\u002Fblog\u002Fai-video-generation-api-cost","AI Video Generation API Cost: Per Second, Per Clip","AI video generation API cost, model by model: per-second rates, what a clip and a minute cost, and how to know the exact price before each run.","pricing","Pricing",6,[14,16,17,18,15,113,19],"runway-gen-4-5",{"slug":115,"path":116,"title":117,"description":118,"category":119,"categoryLabel":120,"date":11,"updated":11,"readingMinutes":121,"models":122,"featured":20},"best-ai-video-generation-api-2026","\u002Fblog\u002Fbest-ai-video-generation-api-2026","Best AI Video Generation API in 2026: A Buyer Guide","The best AI video generation API for each job in 2026: the models worth calling, what each does best, and how billing, limits and failures work.","comparisons","Comparisons",7,[14,16,18,17,113,19,15],{"slug":124,"path":125,"title":126,"description":127,"category":119,"categoryLabel":120,"date":11,"updated":11,"readingMinutes":128,"models":129,"featured":20},"which-ai-video-models-are-uncensored","\u002Fblog\u002Fwhich-ai-video-models-are-uncensored","Is Google Veo 3 Uncensored? Which Video Models Refuse","Is Google Veo 3 uncensored? No: Veo, Seedance, Hailuo, Runway, Wan and Grok Imagine keep their makers' rules. Our own engines render with the filter off.",4,[16,14,18,113,17,19,15,130],"fp-replace-1","\u002Fstudio",[133,151,160,170,195,212,231,247,261,275,290,304,315,328,341,354,366,377,385,394,404,413,423,431,449],{"id":134,"type":135,"name":136,"description":137,"maker":138,"family":138,"own":139,"image":140,"private":150},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":141,"options":143},{"per_image":142,"per_extra_reference_image":-1},0.025,{"aspect_ratios":144,"max_images":128},[145,146,147,148,149],"1:1","3:4","4:3","9:16","16:9",{},{"id":152,"type":135,"name":153,"description":154,"maker":138,"family":138,"own":139,"image":155,"private":159},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":156,"options":157},{"per_image":142,"per_extra_reference_image":-1},{"aspect_ratios":158,"max_images":128},[145,146,147,148,149],{},{"id":161,"type":135,"name":162,"description":163,"maker":138,"family":138,"own":139,"image":164,"private":169},"fp-image-1","Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":165,"options":167},{"per_image":142,"per_extra_reference_image":166},0.0025,{"aspect_ratios":168,"max_images":128},[145,146,147,148,149],{},{"id":15,"type":171,"name":172,"description":173,"maker":138,"family":174,"own":139,"video":175,"private":193},"video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":176,"options":183},{"default_resolution":177,"per_second":178,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":179,"768p":180,"1080p":181,"2K":182},0.02,0.06,0.08,0.095,{"resolutions":184,"durations":188,"aspect_ratios":191,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":128,"identity_resolutions":192,"seed":20,"negative_prompt":20},[185,177,186,187],"480p","1080p","2K",{"min":12,"max":189,"step":190},15,1,[149,148,145,147,146],[177,186],{"resolutions":194},[185,177],{"id":14,"type":171,"name":196,"description":197,"maker":198,"family":199,"own":20,"video":200},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":201,"options":206},{"default_resolution":202,"per_second":203,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":204,"720p":205},0.12,0.27,{"resolutions":207,"durations":208,"aspect_ratios":210,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":128,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[185,202],{"min":128,"max":209,"step":190},30,[149,147,145,146,148,211],"21:9",{"id":16,"type":171,"name":213,"description":214,"maker":215,"family":216,"own":20,"video":217},"Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":218,"options":224},{"default_resolution":186,"per_second":219,"per_second_with_audio":222,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":220,"1080p":220,"4K":221},0.235,0.465,{"720p":221,"1080p":221,"4K":223},0.695,{"resolutions":225,"durations":227,"aspect_ratios":229,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":230,"identity_resolutions":-1,"seed":139,"negative_prompt":139},[202,186,226],"4K",{"min":128,"max":228,"step":37},8,[149,148],3,{"id":232,"type":171,"name":233,"description":234,"maker":198,"family":199,"own":20,"video":235},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":236,"options":243},{"default_resolution":202,"per_second":237,"per_second_with_audio":-1,"aspect_ratio_multiplier":241,"per_reference_image":-1,"per_frame_image":-1},{"480p":181,"720p":238,"1080p":239,"4K":240},0.175,0.435,0.9,{"21:9":242},1.32,{"resolutions":244,"durations":245,"aspect_ratios":246,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":128,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[185,202,186,226],{"min":128,"max":189,"step":190},[149,147,145,146,148,211],{"id":18,"type":171,"name":248,"description":249,"maker":250,"family":251,"own":20,"video":252},"Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":253,"options":257},{"default_resolution":187,"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":139,"start_frame":139,"end_frame":139,"max_reference_images":230,"identity_resolutions":-1,"seed":20,"negative_prompt":20},[187],{"min":12,"max":189,"step":190},[211,149,147,145,146,148],{"id":113,"type":171,"name":262,"description":263,"maker":264,"family":264,"own":20,"video":265},"Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":266,"options":269},{"default_resolution":202,"per_second":267,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":268},0.14,{"resolutions":270,"durations":271,"aspect_ratios":273,"audio_toggle":20,"start_frame":139,"end_frame":20,"max_reference_images":274,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[202],{"min":37,"max":272,"step":190},10,[149,148],0,{"id":276,"type":171,"name":277,"description":278,"maker":215,"family":216,"own":20,"video":279},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":280,"options":286},{"default_resolution":202,"per_second":281,"per_second_with_audio":284,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":282,"1080p":204,"4K":283},0.093,0.29,{"720p":204,"1080p":268,"4K":285},0.35,{"resolutions":287,"durations":288,"aspect_ratios":289,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":230,"identity_resolutions":-1,"seed":139,"negative_prompt":139},[202,186,226],{"min":128,"max":228,"step":37},[149,148],{"id":291,"type":171,"name":292,"description":293,"maker":198,"family":199,"own":20,"video":294},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":295,"options":300},{"default_resolution":202,"per_second":296,"per_second_with_audio":-1,"aspect_ratio_multiplier":299,"per_reference_image":-1,"per_frame_image":-1},{"480p":297,"720p":298},0.063,0.145,{"21:9":242},{"resolutions":301,"durations":302,"aspect_ratios":303,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":128,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[185,202],{"min":128,"max":189,"step":190},[149,147,145,146,148,211],{"id":305,"type":171,"name":306,"description":307,"maker":250,"family":251,"own":20,"video":308},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":309,"options":311},{"default_resolution":177,"per_second":310,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":180,"768p":282},{"resolutions":312,"durations":313,"aspect_ratios":314,"audio_toggle":20,"start_frame":139,"end_frame":139,"max_reference_images":274,"identity_resolutions":-1,"seed":20,"negative_prompt":20},[185,177],{"min":12,"max":189,"step":190},[211,149,147,145,146,148],{"id":19,"type":171,"name":316,"description":317,"maker":318,"family":316,"own":20,"video":319},"Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":320,"options":324},{"default_resolution":202,"per_second":321,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":323},{"480p":282,"720p":322,"1080p":283},0.165,0.014,{"resolutions":325,"durations":326,"aspect_ratios":327,"audio_toggle":20,"start_frame":139,"end_frame":20,"max_reference_images":274,"identity_resolutions":-1,"seed":20,"negative_prompt":20},[185,202,186],{"min":190,"max":189,"step":190},[149,148,145,147,146],{"id":329,"type":171,"name":330,"description":-1,"maker":198,"family":199,"own":20,"video":331},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":332,"options":337},{"default_resolution":185,"per_second":333,"per_second_with_audio":-1,"aspect_ratio_multiplier":336,"per_reference_image":-1,"per_frame_image":-1},{"480p":334,"720p":335},0.041,0.088,{"21:9":242},{"resolutions":338,"durations":339,"aspect_ratios":340,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":128,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[185,202],{"min":128,"max":189,"step":190},[149,147,145,146,148,211],{"id":342,"type":171,"name":343,"description":344,"maker":215,"family":216,"own":20,"video":345},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":346,"options":350},{"default_resolution":202,"per_second":347,"per_second_with_audio":349,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":348,"1080p":180},0.036,{"720p":180,"1080p":282},{"resolutions":351,"durations":352,"aspect_ratios":353,"audio_toggle":139,"start_frame":139,"end_frame":139,"max_reference_images":274,"identity_resolutions":-1,"seed":139,"negative_prompt":139},[202,186],{"min":128,"max":228,"step":37},[149,148],{"id":17,"type":171,"name":355,"description":356,"maker":357,"family":358,"own":20,"video":359},"Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":360,"options":362},{"default_resolution":202,"per_second":361,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":180,"720p":204,"1080p":220},{"resolutions":363,"durations":364,"aspect_ratios":365,"audio_toggle":139,"start_frame":139,"end_frame":20,"max_reference_images":230,"identity_resolutions":-1,"seed":139,"negative_prompt":20},[185,202,186],{"min":37,"max":209,"step":190},[149,147,145,146,148],{"id":367,"type":135,"name":368,"description":369,"maker":370,"family":371,"own":20,"image":372},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":373,"options":375},{"per_image":374,"per_extra_reference_image":-1},0.085,{"aspect_ratios":376,"max_images":128},[145,146,147,148,149],{"id":378,"type":135,"name":379,"description":380,"maker":370,"family":371,"own":20,"image":381},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":382,"options":383},{"per_image":374,"per_extra_reference_image":-1},{"aspect_ratios":384,"max_images":128},[145,146,147,148,149],{"id":386,"type":135,"name":387,"description":388,"maker":215,"family":389,"own":20,"image":390},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":391,"options":392},{"per_image":374,"per_extra_reference_image":-1},{"aspect_ratios":393,"max_images":128},[145,146,147,148,149],{"id":395,"type":135,"name":396,"description":397,"maker":198,"family":398,"own":20,"image":399},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":400,"options":402},{"per_image":401,"per_extra_reference_image":-1},0.099,{"aspect_ratios":403,"max_images":128},[145,146,147,148,149],{"id":405,"type":135,"name":406,"description":407,"maker":215,"family":389,"own":20,"image":408},"nano-banana-pro","Nano Banana Pro","Google's highest-fidelity image model",{"pricing":409,"options":411},{"per_image":410,"per_extra_reference_image":-1},0.16,{"aspect_ratios":412,"max_images":128},[145,146,147,148,149],{"id":414,"type":135,"name":415,"description":416,"maker":417,"family":418,"own":20,"image":419},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":420,"options":421},{"per_image":335,"per_extra_reference_image":-1},{"aspect_ratios":422,"max_images":128},[145,146,147,148,149],{"id":424,"type":135,"name":425,"description":426,"maker":318,"family":316,"own":20,"image":427},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":428,"options":429},{"per_image":335,"per_extra_reference_image":-1},{"aspect_ratios":430,"max_images":128},[145,146,147,148,149],{"id":130,"type":171,"name":432,"description":433,"maker":138,"family":434,"own":139,"edit":435,"video":443},"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":436,"formats":437,"min_seconds":37,"max_seconds":272,"min_billed_seconds":37,"max_bytes":440,"max_frames":441,"fps":442,"max_faces":128},"replace",[438,439],"mp4","mov",64000000,600,24,{"pricing":444,"options":447},{"default_resolution":177,"per_second":445,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":204,"1080p":446},0.25,{"resolutions":448,"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},[177,186],{"id":450,"type":171,"name":451,"description":452,"maker":138,"family":453,"own":139,"edit":454,"video":459},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":455,"formats":456,"min_seconds":190,"max_seconds":209,"min_billed_seconds":12,"max_bytes":457,"max_frames":458,"fps":-1,"max_faces":-1},"upscale",[438,439],100000000,900,{"pricing":460,"options":464},{"default_resolution":186,"per_second":461,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":462,"2K":463},0.03,0.05,{"resolutions":465,"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},[186,187],1795901825779,"b270fb84-a112-44f2-9801-f99d6c2e889e"]