[{"data":1,"prerenderedAt":482,"buildId":483},["ShallowReactive",2],{"blog:article:veo-3-1-api":3,"catalog":146},{"article":4,"related":116,"studioPath":145},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":17,"primaryKeyword":18,"keywords":19,"words":30,"toc":31,"blocks":57,"faq":110},"veo-3-1-api","\u002Fblog\u002Fveo-3-1-api","Veo 3.1 API: Video With Sound From One Request","Generate Veo 3.1 clips by API with native audio, 4K, first and last frames and a negative prompt, with no cloud project. Code samples and options inside.","models","Models","2026-11-28",5,[14,15,16],"veo-3-1","veo-3-1-fast","veo-3-1-lite",false,"veo 3.1 api",[18,20,21,22,23,24,25,26,27,28,29],"veo 3.1 api docs","veo 3.1 api key","google veo api key","google veo 3.1 api key","veo 3.1 fast api","veo 3.1 lite api","veo 3 api pricing","google veo api pricing","veo 3 api documentation","veo 3 api free",1233,[32,36,39,42,45,48,51,54],{"id":33,"text":34,"level":35},"veo-3-1-fast-and-lite-at-a-glance","Veo 3.1, Fast and Lite at a glance",2,{"id":37,"text":38,"level":35},"your-first-veo-3-1-api-request","Your first Veo 3.1 API request",{"id":40,"text":41,"level":35},"veo-3-1-sound-on-or-off-and-what-it-changes","Veo 3.1 sound on or off, and what it changes",{"id":43,"text":44,"level":35},"veo-3-1-resolutions-and-clip-lengths-fast-and-lite-compared","Veo 3.1 resolutions and clip lengths: Fast and Lite compared",{"id":46,"text":47,"level":35},"first-and-last-frame-reference-pictures-negative-prompt","First and last frame, reference pictures, negative prompt",{"id":49,"text":50,"level":35},"price-a-veo-3-1-clip-before-you-run-it","Price a Veo 3.1 clip before you run it",{"id":52,"text":53,"level":35},"errors-and-refusals-you-can-meet","Errors and refusals you can meet",{"id":55,"text":56,"level":35},"faq","FAQ",[58,61,68,73,75,79,82,84,86,88],{"type":59,"html":60},"html","\u003Cp>The Veo 3.1 API turns a prompt into a short, finished shot with dialogue, ambience and effects rendered together with the picture, up to 4K. On Frameport you call Google&#39;s Veo 3.1, Veo 3.1 Fast and Veo 3.1 Lite with one API key and no cloud project, from $0.036 per second, and a clip that fails costs nothing.\u003C\u002Fp>\n\u003Cp>This page covers the options of each Veo model, what sound does to the price, frames and reference pictures, the code for a first clip and the errors worth handling. If you searched for a Veo 3 API: the Veo models on sale here are the three 3.1 versions below.\u003C\u002Fp>\n\u003Ch2 id=\"veo-3-1-fast-and-lite-at-a-glance\">Veo 3.1, Fast and Lite at a glance\u003C\u002Fh2>\n\u003Cp>The three take the same request. Veo 3.1 Fast keeps every control of the full model for a lower price per second; Veo 3.1 Lite is the most economical Veo.\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">\u003C\u002Fth>\u003Cth scope=\"col\">Veo 3.1\u003C\u002Fth>\u003Cth scope=\"col\">Veo 3.1 Fast\u003C\u002Fth>\u003Cth scope=\"col\">Veo 3.1 Lite\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Model id\u003C\u002Ftd>\u003Ctd>\u003Ccode>veo-3-1\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>\u003Ccode>veo-3-1-fast\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>\u003Ccode>veo-3-1-lite\u003C\u002Fcode>\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Resolutions\u003C\u002Ftd>\u003Ctd>720p, 1080p and 4K\u003C\u002Ftd>\u003Ctd>720p, 1080p and 4K\u003C\u002Ftd>\u003Ctd>720p and 1080p\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Default resolution\u003C\u002Ftd>\u003Ctd>1080p\u003C\u002Ftd>\u003Ctd>720p\u003C\u002Ftd>\u003Ctd>720p\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Clip length\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003Ctd>4, 6 or 8 seconds\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Aspect ratios\u003C\u002Ftd>\u003Ctd>16:9 and 9:16\u003C\u002Ftd>\u003Ctd>16:9 and 9:16\u003C\u002Ftd>\u003Ctd>16:9 and 9:16\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Sound\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003Ctd>On or off, priced apart\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>What it does\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003Ctd>Text to video, Image to video and First + last frame\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Reference pictures\u003C\u002Ftd>\u003Ctd>3\u003C\u002Ftd>\u003Ctd>3\u003C\u002Ftd>\u003Ctd>0\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>From\u003C\u002Ftd>\u003Ctd>$0.235 \u002F s\u003C\u002Ftd>\u003Ctd>$0.093 \u002F s\u003C\u002Ftd>\u003Ctd>$0.036 \u002F s\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>All three take a \u003Ccode>seed\u003C\u002Fcode> and a \u003Ccode>negative_prompt\u003C\u002Fcode>. A request without \u003Ccode>duration\u003C\u002Fcode> gets 4 seconds, and a length off the grid is refused with \u003Ccode>400 invalid_request\u003C\u002Fcode> before anything is held, with the lengths the model takes in the message. The \u003Ca href=\"\u002Fmodels\u002Fveo-3-1\">Veo 3.1 model page\u003C\u002Fa> lists the same options with a request body for each mode.\u003C\u002Fp>\n\u003Ch2 id=\"your-first-veo-3-1-api-request\">Your first Veo 3.1 API request\u003C\u002Fh2>\n\u003Cp>The key is a Frameport key, not a Google key: it starts with \u003Ccode>fp_live_\u003C\u002Fcode> and calls every model in the catalog. Submit the request, poll the generation until it settles, then download the file. The submit answers at once with \u003Ccode>202 Accepted\u003C\u002Fcode> and the price held.\u003C\u002Fp>",{"type":62,"snippets":63,"title":67},"tabs",{"curl":64,"python":65,"node":66},"# 1. Submit: the price is held on your balance (reserved_usd)\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\": \"veo-3-1\",\n    \"prompt\": \"A lighthouse keeper climbs the spiral stairs at dusk, slow push-in; wind howling, footsteps ringing on iron. He mutters: \\\"One more night.\\\"\",\n    \"duration\": 8,\n    \"resolution\": \"1080p\",\n    \"aspect_ratio\": \"16:9\",\n    \"negative_prompt\": \"text, subtitles, watermark\"\n  }'\n\n# 2. Poll with the id it returns, until \"succeeded\" or \"failed\"\ncurl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fgenerations\u002F$GENERATION_ID \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\"\n\n# 3. Download outputs[0].url once it has succeeded (a signed link, no key needed)\ncurl -L \"$OUTPUT_URL\" -o lighthouse.mp4","import os\nimport time\nimport requests\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nheaders = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\n\ngen = requests.post(f\"{API}\u002Fvideos\u002Fgenerations\", headers=headers, json={\n    \"model\": \"veo-3-1\",\n    \"prompt\": \"A lighthouse keeper climbs the spiral stairs at dusk, slow push-in; \"\n              \"wind howling, footsteps ringing on iron. He mutters: \\\"One more night.\\\"\",\n    \"duration\": 8,\n    \"resolution\": \"1080p\",\n    \"aspect_ratio\": \"16:9\",\n    \"negative_prompt\": \"text, subtitles, watermark\",\n}).json()\nif gen.get(\"error\"):\n    raise SystemExit(f\"{gen['error']['code']}: {gen['error']['message']}\")\n\nwhile gen[\"status\"] in (\"queued\", \"running\"):\n    time.sleep(5)\n    gen = requests.get(f\"{API}\u002Fvideos\u002Fgenerations\u002F{gen['id']}\", headers=headers).json()\n\nif gen[\"status\"] == \"failed\":\n    raise SystemExit(gen[\"error\"][\"message\"])  # nothing was charged\n\nclip = requests.get(gen[\"outputs\"][0][\"url\"])\nopen(\"lighthouse.mp4\", \"wb\").write(clip.content)\nprint(\"saved lighthouse.mp4, charged\", gen[\"cost_usd\"])","import { writeFile } from 'node:fs\u002Fpromises'\n\nconst API = 'https:\u002F\u002Fframeport.ai\u002Fv1'\nconst headers = {\n  'Authorization': `Bearer ${process.env.FRAMEPORT_API_KEY}`,\n  'Content-Type': 'application\u002Fjson',\n}\n\nlet gen = await fetch(`${API}\u002Fvideos\u002Fgenerations`, {\n  method: 'POST',\n  headers,\n  body: JSON.stringify({\n    model: 'veo-3-1',\n    prompt: 'A lighthouse keeper climbs the spiral stairs at dusk, slow push-in; wind howling, footsteps ringing on iron. He mutters: \"One more night.\"',\n    duration: 8,\n    resolution: '1080p',\n    aspect_ratio: '16:9',\n    negative_prompt: 'text, subtitles, watermark',\n  }),\n}).then(res => res.json())\nif (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)\n\nwhile (gen.status === 'queued' || gen.status === 'running') {\n  await new Promise(resolve => setTimeout(resolve, 5000))\n  gen = await fetch(`${API}\u002Fvideos\u002Fgenerations\u002F${gen.id}`, { headers }).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('lighthouse.mp4', Buffer.from(await clip.arrayBuffer()))\nconsole.log('saved lighthouse.mp4, charged', gen.cost_usd)","Submit · poll · download",{"type":69,"lang":70,"code":71,"title":72},"code","json","{\n  \"id\": \"gen_9sLq2VbX7mN4kR1tYc8WpE\",\n  \"object\": \"generation\",\n  \"type\": \"video\",\n  \"model\": \"veo-3-1\",\n  \"status\": \"queued\",\n  \"input\": {\n    \"prompt\": \"A lighthouse keeper climbs the spiral stairs at dusk, slow push-in; wind howling, footsteps ringing on iron. He mutters: \\\"One more night.\\\"\",\n    \"duration\": 8,\n    \"resolution\": \"1080p\",\n    \"aspect_ratio\": \"16:9\",\n    \"audio\": true,\n    \"reference_images\": 0,\n    \"end_image\": false,\n    \"negative_prompt\": \"text, subtitles, watermark\"\n  },\n  \"reserved_usd\": 3.72,\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":59,"html":74},"\u003Cp>Describe the sound with the same care as the image: &quot;rain drumming on a tin roof, a kettle about to whistle&quot; gets you further than &quot;ambient sounds&quot;. Keep dialogue short, in quotes and attributed: one or two lines fill a clip. Think in shots, not scenes, with one beat per clip.\u003C\u002Fp>\n\u003Cp>The \u003Ca href=\"\u002Fblog\u002Fveo-3-1-prompt-guide\">Veo 3.1 prompt guide\u003C\u002Fa> goes further, with examples.\u003C\u002Fp>\n\u003Ch2 id=\"veo-3-1-sound-on-or-off-and-what-it-changes\">Veo 3.1 sound on or off, and what it changes\u003C\u002Fh2>\n\u003Cp>Sound is on unless you send \u003Ccode>&quot;audio&quot;: false\u003C\u002Fcode>. On every Veo model it is priced apart, so a silent clip bills the lower rate. Turn it off for B-roll you will score in the edit.\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Resolution\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">Per second, sound on\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">Per second, silent\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">8 s with sound\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">8 s silent\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>720p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.465\u003C\u002Ftd>\u003Ctd class=\"r\">$0.235\u003C\u002Ftd>\u003Ctd class=\"r\">$3.72\u003C\u002Ftd>\u003Ctd class=\"r\">$1.88\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>1080p\u003C\u002Ftd>\u003Ctd class=\"r\">$0.465\u003C\u002Ftd>\u003Ctd class=\"r\">$0.235\u003C\u002Ftd>\u003Ctd class=\"r\">$3.72\u003C\u002Ftd>\u003Ctd class=\"r\">$1.88\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>4K\u003C\u002Ftd>\u003Ctd class=\"r\">$0.695\u003C\u002Ftd>\u003Ctd class=\"r\">$0.465\u003C\u002Ftd>\u003Ctd class=\"r\">$5.56\u003C\u002Ftd>\u003Ctd class=\"r\">$3.72\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>The quote&#39;s \u003Ccode>breakdown\u003C\u002Fcode> says &quot;with sound&quot; when the sound rate applies, so you can check which rate a body gets before you send it.\u003C\u002Fp>\n\u003Ch2 id=\"veo-3-1-resolutions-and-clip-lengths-fast-and-lite-compared\">Veo 3.1 resolutions and clip lengths: Fast and Lite compared\u003C\u002Fh2>\n\u003Cp>Veo 3.1 renders 720p, 1080p and 4K, Veo 3.1 Fast the same, and Veo 3.1 Lite 720p and 1080p. Every one makes clips of 4, 6 or 8 seconds. The same 8-second clip at 1080p on each:\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\" class=\"r\">Sound on\u003C\u002Fth>\u003Cth scope=\"col\" class=\"r\">Silent\u003C\u002Fth>\u003Cth scope=\"col\">Top resolution\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>Veo 3.1\u003C\u002Ftd>\u003Ctd class=\"r\">$3.72\u003C\u002Ftd>\u003Ctd class=\"r\">$1.88\u003C\u002Ftd>\u003Ctd>4K\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Veo 3.1 Fast\u003C\u002Ftd>\u003Ctd class=\"r\">$1.12\u003C\u002Ftd>\u003Ctd class=\"r\">$0.96\u003C\u002Ftd>\u003Ctd>4K\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Veo 3.1 Lite\u003C\u002Ftd>\u003Ctd class=\"r\">$0.744\u003C\u002Ftd>\u003Ctd class=\"r\">$0.48\u003C\u002Ftd>\u003Ctd>1080p\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Prompts carry over between the three, so a common pattern is to iterate on Fast or Lite and render the keeper on Veo 3.1. Veo takes 16:9 and 9:16; any other aspect ratio is refused before anything is held.\u003C\u002Fp>\n\u003Cp>Which tier fits which job is weighed in \u003Ca href=\"\u002Fblog\u002Fveo-3-1-vs-veo-3-1-fast-vs-lite\">Veo 3.1 vs Fast vs Lite\u003C\u002Fa>.\u003C\u002Fp>\n\u003Cp>The lightest tier has a page of its own: the \u003Ca href=\"\u002Fblog\u002Fveo-3-1-lite-api\">Veo 3.1 Lite API\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"first-and-last-frame-reference-pictures-negative-prompt\">First and last frame, reference pictures, negative prompt\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>First frame.\u003C\u002Fstrong> One picture in \u003Ccode>reference_images\u003C\u002Fcode> and the clip starts on it. Describe only the motion: the frame sets the subject and the scene.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>First and last frame.\u003C\u002Fstrong> Add \u003Ccode>end_image\u003C\u002Fcode> and the clip lands on that picture, on all three models.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Reference pictures.\u003C\u002Fstrong> With \u003Ccode>&quot;reference_mode&quot;: &quot;identity&quot;\u003C\u002Fcode>, up to 3 pictures show who or what to keep, and the prompt says what happens. Veo 3.1 Lite takes 0: on Lite, a picture can only be a frame.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Negative prompt.\u003C\u002Fstrong> Put what must not appear in \u003Ccode>negative_prompt\u003C\u002Fcode>, up to 1,000 characters, rather than negating inside the prompt.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A picture is an https URL, a base64 data URI, an \u003Ca href=\"\u002Fdocs\u002Fuploads\">upload\u003C\u002Fa> or one of your image outputs (\u003Ccode>file_…\u003C\u002Fcode>). The \u003Ca href=\"\u002Fdocs\u002Fvideos#references\">videos reference\u003C\u002Fa> shows each body.\u003C\u002Fp>\n\u003Ch2 id=\"price-a-veo-3-1-clip-before-you-run-it\">Price a Veo 3.1 clip before you run it\u003C\u002Fh2>\n\u003Cp>A clip costs the rate of its resolution, with or without sound, times its length. It is held when you submit (\u003Ccode>reserved_usd\u003C\u002Fcode>), charged when it succeeds (\u003Ccode>cost_usd\u003C\u002Fcode>), and given back when it fails. \u003Ccode>POST \u002Fv1\u002Fgenerations\u002Fquote\u003C\u002Fcode> takes the body you would send and returns the price without holding anything:\u003C\u002Fp>",{"type":69,"lang":76,"code":77,"title":78},"curl","curl https:\u002F\u002Fframeport.ai\u002Fv1\u002Fgenerations\u002Fquote \\\n  -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"model\": \"veo-3-1\", \"duration\": 8, \"resolution\": \"4K\", \"audio\": false}'","Quote an 8-second silent clip at 4K",{"type":69,"lang":70,"code":80,"title":81},"{\n  \"object\": \"quote\",\n  \"model\": \"veo-3-1\",\n  \"type\": \"video\",\n  \"mode\": \"generate\",\n  \"price_usd\": 3.72,\n  \"reserved_usd\": 3.72,\n  \"breakdown\": \"8 s at 4K × $0.465\u002Fs\",\n  \"available_usd\": 42.5,\n  \"enough_balance\": true\n}","200 OK",{"type":59,"html":83},"\u003Cp>There is no subscription: a balance starts from $10 and every model draws on it (\u003Ca href=\"\u002Fpricing\">pricing\u003C\u002Fa>).\u003C\u002Fp>",{"type":85,"model":14},"cta",{"type":59,"html":87},"\u003Cp>Every rate by tier, with what a clip and a minute cost, is in \u003Ca href=\"\u002Fblog\u002Fveo-3-1-api-pricing\">Veo 3.1 API pricing\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"errors-and-refusals-you-can-meet\">Errors and refusals you can meet\u003C\u002Fh2>\n\u003Cp>Every error has the same shape, a stable \u003Ccode>code\u003C\u002Fcode> and a \u003Ccode>request_id\u003C\u002Fcode>. Anything refused before the job starts holds nothing.\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">Status\u003C\u002Fth>\u003Cth scope=\"col\">Code\u003C\u002Fth>\u003Cth scope=\"col\">When\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>400\u003C\u002Ftd>\u003Ctd>\u003Ccode>invalid_request\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>A length, resolution or shape off the model&#39;s grid, a reference picture sent to Lite, or \u003Ccode>end_image\u003C\u002Fcode> with identity mode. The message names the field.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>400\u003C\u002Ftd>\u003Ctd>\u003Ccode>content_policy\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>The model&#39;s maker refused the prompt. Nothing is charged.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>400\u003C\u002Ftd>\u003Ctd>\u003Ccode>content_filtered\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Your workspace&#39;s content filter refused the prompt. Nothing is charged.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>402\u003C\u002Ftd>\u003Ctd>\u003Ccode>insufficient_balance\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>The balance does not cover the hold.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>429\u003C\u002Ftd>\u003Ctd>\u003Ccode>rate_limited\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>Past 60 requests that start work a minute: wait for \u003Ccode>Retry-After\u003C\u002Fcode>.\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>503\u003C\u002Ftd>\u003Ctd>\u003Ccode>model_unavailable\u003C\u002Fcode>\u003C\u002Ftd>\u003Ctd>The model is down for now: retry later with the same \u003Ccode>Idempotency-Key\u003C\u002Fcode>.\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Veo keeps Google&#39;s own content policy whatever your workspace settings are. A job refused after it started shows \u003Ccode>status: &quot;failed&quot;\u003C\u002Fcode> with its reason, and \u003Ccode>cost_usd\u003C\u002Fcode> is 0. The \u003Ca href=\"\u002Fdocs\u002Ferrors\">errors reference\u003C\u002Fa> lists every code, and the \u003Ca href=\"\u002Fblog\u002Ftext-to-video-api\">text to video API guide\u003C\u002Fa> compares Veo with the other video models. Searching for Veo 3 access? \u003Ca href=\"\u002Fblog\u002Fveo-3-1-api-access\">Veo 3 API access\u003C\u002Fa> is the shortest road to a first clip. What Google embeds in a Veo clip is covered in \u003Ca href=\"\u002Fblog\u002Fai-video-watermarks\">AI video watermarks\u003C\u002Fa>.\u003C\u002Fp>",{"type":55,"id":55,"title":56,"items":89},[90,94,98,102,106],{"q":91,"html":92,"text":93},"How much does the Veo 3.1 API cost?","\u003Cp>$0.465 per second at 1080p with sound and $0.235 silent, so an 8-second clip at 1080p with sound costs $3.72. Fast and Lite cost less per second, and a clip is charged only if it succeeds.\u003C\u002Fp>","$0.465 per second at 1080p with sound and $0.235 silent, so an 8-second clip at 1080p with sound costs $3.72. Fast and Lite cost less per second, and a clip is charged only if it succeeds.",{"q":95,"html":96,"text":97},"Do I need a Google API key or a cloud project to use Veo 3.1?","\u003Cp>No. One Frameport API key calls Veo 3.1, Fast and Lite and every other model in the catalog, paid from one balance in dollars.\u003C\u002Fp>","No. One Frameport API key calls Veo 3.1, Fast and Lite and every other model in the catalog, paid from one balance in dollars.",{"q":99,"html":100,"text":101},"How long can a Veo 3.1 clip be?","\u003Cp>4, 6 or 8 seconds. A request without \u003Ccode>duration\u003C\u002Fcode> gets 4 seconds.\u003C\u002Fp>","4, 6 or 8 seconds. A request without duration gets 4 seconds.",{"q":103,"html":104,"text":105},"Does Veo 3.1 render 4K?","\u003Cp>Yes, Veo 3.1 and Veo 3.1 Fast render up to 4K; Veo 3.1 Lite stops at 1080p.\u003C\u002Fp>","Yes, Veo 3.1 and Veo 3.1 Fast render up to 4K; Veo 3.1 Lite stops at 1080p.",{"q":107,"html":108,"text":109},"Is there a free Veo 3.1 API?","\u003Cp>The account and the key are free, and quotes cost nothing. Clips are paid from a prepaid balance with no subscription, and a clip that fails costs nothing. You can \u003Ca href=\"\u002Ftry\u002Fveo-3-1\">try Veo 3.1 online\u003C\u002Fa> or open it in the \u003Ca href=\"\u002Fstudio?model=veo-3-1\">Studio\u003C\u002Fa> before writing code.\u003C\u002Fp>","The account and the key are free, and quotes cost nothing. Clips are paid from a prepaid balance with no subscription, and a clip that fails costs nothing. You can try Veo 3.1 online or open it in the Studio before writing code.",[111,112,113,114,115],{"q":91,"html":92,"text":93},{"q":95,"html":96,"text":97},{"q":99,"html":100,"text":101},{"q":103,"html":104,"text":105},{"q":107,"html":108,"text":109},[117,124,137],{"slug":118,"path":119,"title":120,"description":121,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":122,"models":123,"featured":17},"veo-3-1-lite-api","\u002Fblog\u002Fveo-3-1-lite-api","Veo 3.1 Lite API: The Lightest Veo, With Native Sound","The Veo 3.1 Lite API on one key: Google's lightest Veo, with native sound, first and last frames and a negative prompt. Request code and clip prices.",6,[16,15,14],{"slug":125,"path":126,"title":127,"description":128,"category":129,"categoryLabel":130,"date":11,"updated":11,"readingMinutes":131,"models":132,"featured":17},"veo-3-api-alternative","\u002Fblog\u002Fveo-3-api-alternative","Veo 3 Alternatives by API: Other Models With Sound","A Veo 3 alternative by API: the other video models with native sound, where each one beats Veo, and Veo 3.1 itself on the same key.","alternatives","Alternatives",7,[133,134,135,136,16,14,15],"seedance-2-5","wan-3","fp-motion-1","hailuo-3",{"slug":138,"path":139,"title":140,"description":141,"category":142,"categoryLabel":143,"date":11,"updated":11,"readingMinutes":122,"models":144,"featured":17},"veo-3-1-api-access","\u002Fblog\u002Fveo-3-1-api-access","Veo 3 API Access: How to Call Veo 3.1 in 2026","Veo 3 API access in 2026: what Google's routes require since Veo 3 and the Gemini API previews shut down, their quotas, and Veo 3.1 with one key.","guides","Guides",[14,15,16],"\u002Fstudio",[147,166,175,185,210,227,246,262,276,291,305,319,330,344,357,369,381,392,400,409,419,428,438,446,465],{"id":148,"type":149,"name":150,"description":151,"maker":152,"family":152,"own":153,"image":154,"private":165},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":155,"options":157},{"per_image":156,"per_extra_reference_image":-1},0.025,{"aspect_ratios":158,"max_images":164},[159,160,161,162,163],"1:1","3:4","4:3","9:16","16:9",4,{},{"id":167,"type":149,"name":168,"description":169,"maker":152,"family":152,"own":153,"image":170,"private":174},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":171,"options":172},{"per_image":156,"per_extra_reference_image":-1},{"aspect_ratios":173,"max_images":164},[159,160,161,162,163],{},{"id":176,"type":149,"name":177,"description":178,"maker":152,"family":152,"own":153,"image":179,"private":184},"fp-image-1","Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":180,"options":182},{"per_image":156,"per_extra_reference_image":181},0.0025,{"aspect_ratios":183,"max_images":164},[159,160,161,162,163],{},{"id":135,"type":186,"name":187,"description":188,"maker":152,"family":189,"own":153,"video":190,"private":208},"video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":191,"options":198},{"default_resolution":192,"per_second":193,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":194,"768p":195,"1080p":196,"2K":197},0.02,0.06,0.08,0.095,{"resolutions":199,"durations":203,"aspect_ratios":206,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":164,"identity_resolutions":207,"seed":17,"negative_prompt":17},[200,192,201,202],"480p","1080p","2K",{"min":12,"max":204,"step":205},15,1,[163,162,159,161,160],[192,201],{"resolutions":209},[200,192],{"id":133,"type":186,"name":211,"description":212,"maker":213,"family":214,"own":17,"video":215},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":216,"options":221},{"default_resolution":217,"per_second":218,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":219,"720p":220},0.12,0.27,{"resolutions":222,"durations":223,"aspect_ratios":225,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":164,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[200,217],{"min":164,"max":224,"step":205},30,[163,161,159,160,162,226],"21:9",{"id":14,"type":186,"name":228,"description":229,"maker":230,"family":231,"own":17,"video":232},"Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":233,"options":239},{"default_resolution":201,"per_second":234,"per_second_with_audio":237,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":235,"1080p":235,"4K":236},0.235,0.465,{"720p":236,"1080p":236,"4K":238},0.695,{"resolutions":240,"durations":242,"aspect_ratios":244,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":245,"identity_resolutions":-1,"seed":153,"negative_prompt":153},[217,201,241],"4K",{"min":164,"max":243,"step":35},8,[163,162],3,{"id":247,"type":186,"name":248,"description":249,"maker":213,"family":214,"own":17,"video":250},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":251,"options":258},{"default_resolution":217,"per_second":252,"per_second_with_audio":-1,"aspect_ratio_multiplier":256,"per_reference_image":-1,"per_frame_image":-1},{"480p":196,"720p":253,"1080p":254,"4K":255},0.175,0.435,0.9,{"21:9":257},1.32,{"resolutions":259,"durations":260,"aspect_ratios":261,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":164,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[200,217,201,241],{"min":164,"max":204,"step":205},[163,161,159,160,162,226],{"id":136,"type":186,"name":263,"description":264,"maker":265,"family":266,"own":17,"video":267},"Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":268,"options":272},{"default_resolution":202,"per_second":269,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":271,"per_frame_image":-1},{"2K":270},0.15,0.047,{"resolutions":273,"durations":274,"aspect_ratios":275,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":245,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[202],{"min":12,"max":204,"step":205},[226,163,161,159,160,162],{"id":277,"type":186,"name":278,"description":279,"maker":280,"family":280,"own":17,"video":281},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":282,"options":285},{"default_resolution":217,"per_second":283,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":284},0.14,{"resolutions":286,"durations":287,"aspect_ratios":289,"audio_toggle":17,"start_frame":153,"end_frame":17,"max_reference_images":290,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[217],{"min":35,"max":288,"step":205},10,[163,162],0,{"id":15,"type":186,"name":292,"description":293,"maker":230,"family":231,"own":17,"video":294},"Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":295,"options":301},{"default_resolution":217,"per_second":296,"per_second_with_audio":299,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":297,"1080p":219,"4K":298},0.093,0.29,{"720p":219,"1080p":284,"4K":300},0.35,{"resolutions":302,"durations":303,"aspect_ratios":304,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":245,"identity_resolutions":-1,"seed":153,"negative_prompt":153},[217,201,241],{"min":164,"max":243,"step":35},[163,162],{"id":306,"type":186,"name":307,"description":308,"maker":213,"family":214,"own":17,"video":309},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":310,"options":315},{"default_resolution":217,"per_second":311,"per_second_with_audio":-1,"aspect_ratio_multiplier":314,"per_reference_image":-1,"per_frame_image":-1},{"480p":312,"720p":313},0.063,0.145,{"21:9":257},{"resolutions":316,"durations":317,"aspect_ratios":318,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":164,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[200,217],{"min":164,"max":204,"step":205},[163,161,159,160,162,226],{"id":320,"type":186,"name":321,"description":322,"maker":265,"family":266,"own":17,"video":323},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":324,"options":326},{"default_resolution":192,"per_second":325,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":195,"768p":297},{"resolutions":327,"durations":328,"aspect_ratios":329,"audio_toggle":17,"start_frame":153,"end_frame":153,"max_reference_images":290,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[200,192],{"min":12,"max":204,"step":205},[226,163,161,159,160,162],{"id":331,"type":186,"name":332,"description":333,"maker":334,"family":332,"own":17,"video":335},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":336,"options":340},{"default_resolution":217,"per_second":337,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":339},{"480p":297,"720p":338,"1080p":298},0.165,0.014,{"resolutions":341,"durations":342,"aspect_ratios":343,"audio_toggle":17,"start_frame":153,"end_frame":17,"max_reference_images":290,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[200,217,201],{"min":205,"max":204,"step":205},[163,162,159,161,160],{"id":345,"type":186,"name":346,"description":-1,"maker":213,"family":214,"own":17,"video":347},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":348,"options":353},{"default_resolution":200,"per_second":349,"per_second_with_audio":-1,"aspect_ratio_multiplier":352,"per_reference_image":-1,"per_frame_image":-1},{"480p":350,"720p":351},0.041,0.088,{"21:9":257},{"resolutions":354,"durations":355,"aspect_ratios":356,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":164,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[200,217],{"min":164,"max":204,"step":205},[163,161,159,160,162,226],{"id":16,"type":186,"name":358,"description":359,"maker":230,"family":231,"own":17,"video":360},"Veo 3.1 Lite","Veo with sound, on every account",{"pricing":361,"options":365},{"default_resolution":217,"per_second":362,"per_second_with_audio":364,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":363,"1080p":195},0.036,{"720p":195,"1080p":297},{"resolutions":366,"durations":367,"aspect_ratios":368,"audio_toggle":153,"start_frame":153,"end_frame":153,"max_reference_images":290,"identity_resolutions":-1,"seed":153,"negative_prompt":153},[217,201],{"min":164,"max":243,"step":35},[163,162],{"id":134,"type":186,"name":370,"description":371,"maker":372,"family":373,"own":17,"video":374},"Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":375,"options":377},{"default_resolution":217,"per_second":376,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":195,"720p":219,"1080p":235},{"resolutions":378,"durations":379,"aspect_ratios":380,"audio_toggle":153,"start_frame":153,"end_frame":17,"max_reference_images":245,"identity_resolutions":-1,"seed":153,"negative_prompt":17},[200,217,201],{"min":35,"max":224,"step":205},[163,161,159,160,162],{"id":382,"type":149,"name":383,"description":384,"maker":385,"family":386,"own":17,"image":387},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":388,"options":390},{"per_image":389,"per_extra_reference_image":-1},0.085,{"aspect_ratios":391,"max_images":164},[159,160,161,162,163],{"id":393,"type":149,"name":394,"description":395,"maker":385,"family":386,"own":17,"image":396},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":397,"options":398},{"per_image":389,"per_extra_reference_image":-1},{"aspect_ratios":399,"max_images":164},[159,160,161,162,163],{"id":401,"type":149,"name":402,"description":403,"maker":230,"family":404,"own":17,"image":405},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":406,"options":407},{"per_image":389,"per_extra_reference_image":-1},{"aspect_ratios":408,"max_images":164},[159,160,161,162,163],{"id":410,"type":149,"name":411,"description":412,"maker":213,"family":413,"own":17,"image":414},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":415,"options":417},{"per_image":416,"per_extra_reference_image":-1},0.099,{"aspect_ratios":418,"max_images":164},[159,160,161,162,163],{"id":420,"type":149,"name":421,"description":422,"maker":230,"family":404,"own":17,"image":423},"nano-banana-pro","Nano Banana Pro","Google's highest-fidelity image model",{"pricing":424,"options":426},{"per_image":425,"per_extra_reference_image":-1},0.16,{"aspect_ratios":427,"max_images":164},[159,160,161,162,163],{"id":429,"type":149,"name":430,"description":431,"maker":432,"family":433,"own":17,"image":434},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":435,"options":436},{"per_image":351,"per_extra_reference_image":-1},{"aspect_ratios":437,"max_images":164},[159,160,161,162,163],{"id":439,"type":149,"name":440,"description":441,"maker":334,"family":332,"own":17,"image":442},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":443,"options":444},{"per_image":351,"per_extra_reference_image":-1},{"aspect_ratios":445,"max_images":164},[159,160,161,162,163],{"id":447,"type":186,"name":448,"description":449,"maker":152,"family":450,"own":153,"edit":451,"video":459},"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":452,"formats":453,"min_seconds":35,"max_seconds":288,"min_billed_seconds":35,"max_bytes":456,"max_frames":457,"fps":458,"max_faces":164},"replace",[454,455],"mp4","mov",64000000,600,24,{"pricing":460,"options":463},{"default_resolution":192,"per_second":461,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":219,"1080p":462},0.25,{"resolutions":464,"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},[192,201],{"id":466,"type":186,"name":467,"description":468,"maker":152,"family":469,"own":153,"edit":470,"video":475},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":471,"formats":472,"min_seconds":205,"max_seconds":224,"min_billed_seconds":12,"max_bytes":473,"max_frames":474,"fps":-1,"max_faces":-1},"upscale",[454,455],100000000,900,{"pricing":476,"options":480},{"default_resolution":201,"per_second":477,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":478,"2K":479},0.03,0.05,{"resolutions":481,"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},[201,202],1795901826630,"b270fb84-a112-44f2-9801-f99d6c2e889e"]