[{"data":1,"prerenderedAt":458,"buildId":459},["ShallowReactive",2],{"blog:article:idempotency-keys-ai-generation":3,"catalog":119},{"article":4,"related":96,"studioPath":118},{"slug":5,"path":6,"title":7,"description":8,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":13,"featured":16,"primaryKeyword":17,"keywords":18,"words":27,"toc":28,"blocks":48,"faq":90},"idempotency-keys-ai-generation","\u002Fblog\u002Fidempotency-keys-ai-generation","Idempotency Key API: Retry AI Jobs Without Paying Twice","How an idempotency key API header works for image and video jobs: a retried request returns the first job instead of a second charge. Code, edge cases.","guides","Guides","2026-11-28",6,[14,15],"seedance-2-5","fp-image-1",false,"idempotency key api",[17,19,20,21,22,23,24,25,26],"idempotency key","idempotency key in rest api","idempotency key example","idempotency key implementation","how to generate idempotency key","idempotency key generator","idempotency key is not unique","what is idempotent api",1295,[29,33,36,39,42,45],{"id":30,"text":31,"level":32},"the-double-charge-problem","The double-charge problem",2,{"id":34,"text":35,"level":32},"how-an-idempotency-key-api-call-works","How an idempotency key API call works",{"id":37,"text":38,"level":32},"same-key-same-body-same-key-new-body","Same key, same body; same key, new body",{"id":40,"text":41,"level":32},"how-to-generate-an-idempotency-key","How to generate an idempotency key",{"id":43,"text":44,"level":32},"keys-for-agents-and-automations","Keys for agents and automations",{"id":46,"text":47,"level":32},"faq","FAQ",[49,52,59,61,66,68],{"type":50,"html":51},"html","\u003Cp>An idempotency key is a string of your choosing, sent in a header, that lets an API recognize a retry of a request it has already received. In an idempotency key API such as Frameport&#39;s, the \u003Ccode>Idempotency-Key\u003C\u002Fcode> header on \u003Ccode>POST \u002Fv1\u002Fimages\u002Fgenerations\u003C\u002Fcode>, \u003Ccode>\u002Fv1\u002Fvideos\u002Fgenerations\u003C\u002Fcode> and \u003Ccode>\u002Fv1\u002Fvideos\u002Fedits\u003C\u002Fcode> means that the same request sent twice returns the first generation instead of starting, and charging, a second one, for 24 hours.\u003C\u002Fp>\n\u003Cp>This guide covers why retries double-charge without a key, what the API does with one in each case, the edge cases that surprise people (a changed body, a failed job, a shared key), how to generate keys, and how agents and automations should use them.\u003C\u002Fp>\n\u003Ch2 id=\"the-double-charge-problem\">The double-charge problem\u003C\u002Fh2>\n\u003Cp>A video request can take a few seconds to answer while the API checks it and holds its price. If your connection drops in that window, your code sees a timeout and cannot tell which of two things happened: the request never arrived, or it arrived, the clip started, and only the answer was lost.\u003C\u002Fp>\n\u003Cp>Retrying without a key is a gamble. If the first request had arrived, the retry starts a second clip, holds its price, and charges it when it succeeds: two \u003Ca href=\"\u002Fmodels\u002Fseedance-2-5\">Seedance 2.5\u003C\u002Fa> clips at $1.35 each instead of one. Not retrying is no better, because the request may never have arrived. The only safe retry is one the server can match to the original.\u003C\u002Fp>\n\u003Ch2 id=\"how-an-idempotency-key-api-call-works\">How an idempotency key API call works\u003C\u002Fh2>\n\u003Cp>Send the header with a unique value per logical job. The first request with that key runs normally; later ones are matched against it:\u003C\u002Fp>\n\u003Cdiv class=\"blog-table box\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">When\u003C\u002Fth>\u003Cth scope=\"col\">What the API answers\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>The first request with this key\u003C\u002Ftd>\u003Ctd>\u003Ccode>202 Accepted\u003C\u002Fcode>: the generation, its price held\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>The same key and the same body again\u003C\u002Ftd>\u003Ctd>\u003Ccode>200 OK\u003C\u002Fcode> with \u003Ccode>Idempotent-Replayed: true\u003C\u002Fcode>: the same generation, as it stands now, and nothing more held\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>The same key with a different body, or on another endpoint\u003C\u002Ftd>\u003Ctd>\u003Ccode>409 idempotency_conflict\u003C\u002Fcode>\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>The same key while the first request is still being answered\u003C\u002Ftd>\u003Ctd>\u003Ccode>409 request_in_progress\u003C\u002Fcode>, with a \u003Ccode>Retry-After\u003C\u002Fcode> of a couple of seconds\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>The first request was refused (\u003Ccode>400\u003C\u002Fcode>, \u003Ccode>402\u003C\u002Fcode>, \u003Ccode>429\u003C\u002Fcode>…)\u003C\u002Ftd>\u003Ctd>The key is free again: nothing was held, so fix the request and resend it with the same key\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Here is the effect from each language: the same body sent twice with one key produces one generation.\u003C\u002Fp>",{"type":53,"snippets":54,"title":58},"tabs",{"curl":55,"python":56,"node":57},"KEY=$(uuidgen)\nfor attempt in 1 2; do\n  curl -s -o \u002Fdev\u002Fnull -w \"%{http_code}\\n\" https:\u002F\u002Fframeport.ai\u002Fv1\u002Fvideos\u002Fgenerations \\\n    -H \"Authorization: Bearer $FRAMEPORT_API_KEY\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"Idempotency-Key: $KEY\" \\\n    -d '{\"model\": \"seedance-2-5\", \"prompt\": \"Paper lanterns rise over a dark lake\", \"duration\": 5, \"resolution\": \"480p\"}'\ndone\n# 202, then 200: the second send returned the first clip","import os\nimport uuid\nimport requests\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\nbody = {\"model\": \"seedance-2-5\", \"prompt\": \"Paper lanterns rise over a dark lake\", \"duration\": 5, \"resolution\": \"480p\"}\nkey = str(uuid.uuid4())\n\nfor attempt in (1, 2):\n    res = requests.post(f\"{API}\u002Fvideos\u002Fgenerations\", headers={**HEADERS, \"Idempotency-Key\": key}, json=body)\n    gen = res.json()\n    print(res.status_code, gen[\"id\"], res.headers.get(\"Idempotent-Replayed\"))\n# 202 gen_... None\n# 200 gen_... true  (the same id)","import { randomUUID } from 'node:crypto'\n\nconst API = 'https:\u002F\u002Fframeport.ai\u002Fv1'\nconst body = { model: 'seedance-2-5', prompt: 'Paper lanterns rise over a dark lake', duration: 5, resolution: '480p' }\nconst key = randomUUID()\n\nfor (const attempt of [1, 2]) {\n  const res = await fetch(`${API}\u002Fvideos\u002Fgenerations`, {\n    method: 'POST',\n    headers: {\n      'Authorization': `Bearer ${process.env.FRAMEPORT_API_KEY}`,\n      'Content-Type': 'application\u002Fjson',\n      'Idempotency-Key': key,\n    },\n    body: JSON.stringify(body),\n  })\n  const gen = await res.json()\n  console.log(res.status, gen.id, res.headers.get('idempotent-replayed'))\n}","One key, two sends, one clip",{"type":50,"html":60},"\u003Cp>The replay is not a stale copy: it reads the generation as it is now, so a retry that comes a minute later can already show it \u003Ccode>running\u003C\u002Fcode> or \u003Ccode>succeeded\u003C\u002Fcode>. The \u003Ca href=\"\u002Fdocs\u002Fidempotency\">idempotency reference\u003C\u002Fa> has the same table in short.\u003C\u002Fp>\n\u003Ch2 id=\"same-key-same-body-same-key-new-body\">Same key, same body; same key, new body\u003C\u002Fh2>\n\u003Cp>The key is bound to the endpoint and to the body you sent with it. Most surprises come from that second part.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>The body is compared as sent.\u003C\u002Fstrong> Whitespace does not matter, but the fields, their values and their order do. A retry that rebuilds the body with a new timestamp, an extra field, or the fields in another order is a different request, and gets \u003Ccode>409 idempotency_conflict\u003C\u002Fcode>. Serialize the body once and send the same bytes on every attempt.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A failed job keeps its key.\u003C\u002Fstrong> If the request was accepted and the clip failed later, the key stays bound to that failed generation for 24 hours, and resending it returns the failure. Nothing was charged; to try again, send the job with a new key, for example the old one with \u003Ccode>-2\u003C\u002Fcode> on the end.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A refused request frees its key.\u003C\u002Fstrong> A \u003Ccode>400\u003C\u002Fcode>, \u003Ccode>402\u003C\u002Fcode> or \u003Ccode>429\u003C\u002Fcode> held nothing, so the key can be used again at once.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Keys belong to the workspace.\u003C\u002Fstrong> Every API key of the workspace shares one key space. Two apps that both use \u003Ccode>order-1842\u003C\u002Fcode> will collide, so prefix keys with the app or the job type.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>24 hours, then new.\u003C\u002Fstrong> After that, the same string starts a fresh request.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A replay still counts as a request.\u003C\u002Fstrong> It is counted toward the workspace&#39;s 60 requests a minute, even though it starts nothing, so retry after a wait rather than in a tight loop.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A key is 1 to 200 printable ASCII characters with no spaces. Anything else is refused with \u003Ccode>400 invalid_request\u003C\u002Fcode> before the request runs.\u003C\u002Fp>\n\u003Ch2 id=\"how-to-generate-an-idempotency-key\">How to generate an idempotency key\u003C\u002Fh2>\n\u003Cp>There are two good recipes, and one rule behind both: the key must be created once per job, stored, and reused on every attempt. A new random key per attempt defeats the whole point.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>A random key stored with the job.\u003C\u002Fstrong> Generate a UUID when you create the job record in your database, save it, then send it on every try. A crash and a restart still find the same key.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A key derived from your own ids.\u003C\u002Fstrong> \u003Ccode>order-1842-video\u003C\u002Fcode> or \u003Ccode>row-77-thumbnail\u003C\u002Fcode> needs no storage, since the same input always gives the same key. Make sure the id is unique within the workspace for 24 hours.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>This pattern does both: the job, its exact body and its key are written before anything is sent, so a retry, a cron re-run or a restarted worker sends the identical request.\u003C\u002Fp>",{"type":62,"lang":63,"code":64,"title":65},"code","python","import json\nimport os\nimport sqlite3\nimport uuid\n\nimport requests\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\", \"Content-Type\": \"application\u002Fjson\"}\ndb = sqlite3.connect(\"jobs.db\")\ndb.execute(\"CREATE TABLE IF NOT EXISTS jobs (id TEXT PRIMARY KEY, body TEXT, idem TEXT, generation TEXT)\")\n\n\ndef start(job_id: str, body: dict) -> str:\n    row = db.execute(\"SELECT body, idem, generation FROM jobs WHERE id = ?\", (job_id,)).fetchone()\n    if row is None:\n        row = (json.dumps(body), f\"video-{job_id}-{uuid.uuid4().hex[:8]}\", None)\n        db.execute(\"INSERT INTO jobs VALUES (?, ?, ?, ?)\", (job_id, *row))\n        db.commit()\n    raw, idem, generation = row\n    if generation:\n        return generation  # started on an earlier run\n    res = requests.post(f\"{API}\u002Fvideos\u002Fgenerations\", headers={**HEADERS, \"Idempotency-Key\": idem}, data=raw.encode(), timeout=60)\n    gen = res.json()\n    if gen.get(\"error\"):\n        raise RuntimeError(f\"{gen['error']['code']}: {gen['error']['message']}\")\n    db.execute(\"UPDATE jobs SET generation = ? WHERE id = ?\", (gen[\"id\"], job_id))\n    db.commit()\n    return gen[\"id\"]\n\n\nprint(start(\"1842\", {\"model\": \"seedance-2-5\", \"prompt\": \"Paper lanterns rise over a dark lake\", \"duration\": 5}))","jobs.py: the key lives with the job",{"type":50,"html":67},"\u003Cp>Run it twice, or kill it between the send and the update: the second run sends the same bytes with the same key and gets the same generation back. When a request is refused, the error body has the same \u003Ccode>error\u003C\u002Fcode> field, so one test covers both cases.\u003C\u002Fp>\n\u003Ch2 id=\"keys-for-agents-and-automations\">Keys for agents and automations\u003C\u002Fh2>\n\u003Cp>Agents and no-code tools retry more than people do, so they need keys the most.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>MCP agents.\u003C\u002Fstrong> The tools \u003Ccode>generate_image\u003C\u002Fcode>, \u003Ccode>generate_video\u003C\u002Fcode> and \u003Ccode>edit_video\u003C\u002Fcode> of the \u003Ca href=\"\u002Fblog\u002Fimage-video-generation-mcp-server\">MCP server\u003C\u002Fa> take an \u003Ccode>idempotency_key\u003C\u002Fcode> argument with the same rules. Tell the agent to use one new key per image or clip, and the same key when it retries a call.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>n8n, Make and Zapier.\u003C\u002Fstrong> Build the header from the row or record id (\u003Ccode>clip-\u003C\u002Fcode> plus the row id). The tool&#39;s own &quot;retry on failure&quot; setting then becomes safe, and running a workflow twice over the same rows starts nothing twice. The \u003Ca href=\"\u002Fblog\u002Fn8n-ai-video-generation\">n8n video workflow\u003C\u002Fa> shows it in a real node.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Queues and cron jobs.\u003C\u002Fstrong> Use the job&#39;s id from your queue. A message delivered twice then maps to one generation.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Keys pair with the rule that failed jobs cost nothing: one makes retries safe, the other makes failures free. Together they mean a retry policy never changes your bill (\u003Ca href=\"\u002Fblog\u002Fdo-failed-ai-generations-cost-money\">what a failed generation costs\u003C\u002Fa>). For which errors deserve a retry at all, see the \u003Ca href=\"\u002Fblog\u002Fai-video-api-error-codes\">error codes guide\u003C\u002Fa>.\u003C\u002Fp>",{"type":46,"id":46,"title":47,"items":69},[70,74,78,82,86],{"q":71,"html":72,"text":73},"What is an idempotency key?","\u003Cp>A unique string your client sends with a request, usually in an \u003Ccode>Idempotency-Key\u003C\u002Fcode> header, so the server can tell a retry from a new request. If the same key arrives again with the same request, the server returns the result of the first one instead of doing the work twice.\u003C\u002Fp>","A unique string your client sends with a request, usually in an Idempotency-Key header, so the server can tell a retry from a new request. If the same key arrives again with the same request, the server returns the result of the first one instead of doing the work twice.",{"q":75,"html":76,"text":77},"What is an idempotent API?","\u003Cp>An API call is idempotent when making it twice has the same effect as making it once. Reading a resource is idempotent by nature. Creating a job is not, unless the API takes an idempotency key that turns a repeat into a replay of the first call.\u003C\u002Fp>","An API call is idempotent when making it twice has the same effect as making it once. Reading a resource is idempotent by nature. Creating a job is not, unless the API takes an idempotency key that turns a repeat into a replay of the first call.",{"q":79,"html":80,"text":81},"Is the Idempotency-Key header required?","\u003Cp>No. A request without one runs every time it is sent. Send one whenever a retry could happen, which in practice means every submit made by code.\u003C\u002Fp>","No. A request without one runs every time it is sent. Send one whenever a retry could happen, which in practice means every submit made by code.",{"q":83,"html":84,"text":85},"What happens if an idempotency key is not unique?","\u003Cp>If you reuse a key with a different body or on another endpoint within 24 hours, the API refuses the request with \u003Ccode>409 idempotency_conflict\u003C\u002Fcode> and starts nothing. Use a new key for each new job, and keep the old key only for retries of the same job.\u003C\u002Fp>","If you reuse a key with a different body or on another endpoint within 24 hours, the API refuses the request with 409 idempotency_conflict and starts nothing. Use a new key for each new job, and keep the old key only for retries of the same job.",{"q":87,"html":88,"text":89},"How long does an idempotency key last?","\u003Cp>24 hours from the first request. After that, the same string is treated as a new key and starts a new request.\u003C\u002Fp>","24 hours from the first request. After that, the same string is treated as a new key and starts a new request.",[91,92,93,94,95],{"q":71,"html":72,"text":73},{"q":75,"html":76,"text":77},{"q":79,"html":80,"text":81},{"q":83,"html":84,"text":85},{"q":87,"html":88,"text":89},[97,105,111],{"slug":98,"path":99,"title":100,"description":101,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":102,"models":103,"featured":16},"claude-code-image-video-generation","\u002Fblog\u002Fclaude-code-image-video-generation","Claude Code Image Generation and Video via MCP","Add image and video generation to Claude Code with one MCP command: setup, an ask-before-spending rule, prompts that work and files in your repo.",5,[104,15,14],"nano-banana-pro",{"slug":106,"path":107,"title":108,"description":109,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":110,"featured":16},"claude-desktop-mcp-image-generation","\u002Fblog\u002Fclaude-desktop-mcp-image-generation","Claude Image Generation in Claude Desktop via MCP","Claude image generation in Claude Desktop: a custom connector or the config file and its bridge, prompts for images and clips, and keeping spend in check.",[104,15,14],{"slug":112,"path":113,"title":114,"description":115,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":116,"featured":16},"image-video-generation-mcp-server","\u002Fblog\u002Fimage-video-generation-mcp-server","Image and Video Generation MCP Server for AI Agents","An image generation MCP server for Claude, Cursor or any MCP client: one URL, your key, a tool per step, a price before each run and a spending cap.",[104,14,15,117],"fp-replace-1","\u002Fstudio",[120,139,148,157,183,200,220,236,251,266,281,295,306,320,333,346,359,370,378,387,397,405,415,423,441],{"id":121,"type":122,"name":123,"description":124,"maker":125,"family":125,"own":126,"image":127,"private":138},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":128,"options":130},{"per_image":129,"per_extra_reference_image":-1},0.025,{"aspect_ratios":131,"max_images":137},[132,133,134,135,136],"1:1","3:4","4:3","9:16","16:9",4,{},{"id":140,"type":122,"name":141,"description":142,"maker":125,"family":125,"own":126,"image":143,"private":147},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":144,"options":145},{"per_image":129,"per_extra_reference_image":-1},{"aspect_ratios":146,"max_images":137},[132,133,134,135,136],{},{"id":15,"type":122,"name":149,"description":150,"maker":125,"family":125,"own":126,"image":151,"private":156},"Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":152,"options":154},{"per_image":129,"per_extra_reference_image":153},0.0025,{"aspect_ratios":155,"max_images":137},[132,133,134,135,136],{},{"id":158,"type":159,"name":160,"description":161,"maker":125,"family":162,"own":126,"video":163,"private":181},"fp-motion-1","video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":164,"options":171},{"default_resolution":165,"per_second":166,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":167,"768p":168,"1080p":169,"2K":170},0.02,0.06,0.08,0.095,{"resolutions":172,"durations":176,"aspect_ratios":179,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":137,"identity_resolutions":180,"seed":16,"negative_prompt":16},[173,165,174,175],"480p","1080p","2K",{"min":102,"max":177,"step":178},15,1,[136,135,132,134,133],[165,174],{"resolutions":182},[173,165],{"id":14,"type":159,"name":184,"description":185,"maker":186,"family":187,"own":16,"video":188},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":189,"options":194},{"default_resolution":190,"per_second":191,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":192,"720p":193},0.12,0.27,{"resolutions":195,"durations":196,"aspect_ratios":198,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":137,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[173,190],{"min":137,"max":197,"step":178},30,[136,134,132,133,135,199],"21:9",{"id":201,"type":159,"name":202,"description":203,"maker":204,"family":205,"own":16,"video":206},"veo-3-1","Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":207,"options":213},{"default_resolution":174,"per_second":208,"per_second_with_audio":211,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":209,"1080p":209,"4K":210},0.235,0.465,{"720p":210,"1080p":210,"4K":212},0.695,{"resolutions":214,"durations":216,"aspect_ratios":218,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":219,"identity_resolutions":-1,"seed":126,"negative_prompt":126},[190,174,215],"4K",{"min":137,"max":217,"step":32},8,[136,135],3,{"id":221,"type":159,"name":222,"description":223,"maker":186,"family":187,"own":16,"video":224},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":225,"options":232},{"default_resolution":190,"per_second":226,"per_second_with_audio":-1,"aspect_ratio_multiplier":230,"per_reference_image":-1,"per_frame_image":-1},{"480p":169,"720p":227,"1080p":228,"4K":229},0.175,0.435,0.9,{"21:9":231},1.32,{"resolutions":233,"durations":234,"aspect_ratios":235,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":137,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[173,190,174,215],{"min":137,"max":177,"step":178},[136,134,132,133,135,199],{"id":237,"type":159,"name":238,"description":239,"maker":240,"family":241,"own":16,"video":242},"hailuo-3","Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":243,"options":247},{"default_resolution":175,"per_second":244,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":246,"per_frame_image":-1},{"2K":245},0.15,0.047,{"resolutions":248,"durations":249,"aspect_ratios":250,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":219,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[175],{"min":102,"max":177,"step":178},[199,136,134,132,133,135],{"id":252,"type":159,"name":253,"description":254,"maker":255,"family":255,"own":16,"video":256},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":257,"options":260},{"default_resolution":190,"per_second":258,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":259},0.14,{"resolutions":261,"durations":262,"aspect_ratios":264,"audio_toggle":16,"start_frame":126,"end_frame":16,"max_reference_images":265,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[190],{"min":32,"max":263,"step":178},10,[136,135],0,{"id":267,"type":159,"name":268,"description":269,"maker":204,"family":205,"own":16,"video":270},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":271,"options":277},{"default_resolution":190,"per_second":272,"per_second_with_audio":275,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":273,"1080p":192,"4K":274},0.093,0.29,{"720p":192,"1080p":259,"4K":276},0.35,{"resolutions":278,"durations":279,"aspect_ratios":280,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":219,"identity_resolutions":-1,"seed":126,"negative_prompt":126},[190,174,215],{"min":137,"max":217,"step":32},[136,135],{"id":282,"type":159,"name":283,"description":284,"maker":186,"family":187,"own":16,"video":285},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":286,"options":291},{"default_resolution":190,"per_second":287,"per_second_with_audio":-1,"aspect_ratio_multiplier":290,"per_reference_image":-1,"per_frame_image":-1},{"480p":288,"720p":289},0.063,0.145,{"21:9":231},{"resolutions":292,"durations":293,"aspect_ratios":294,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":137,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[173,190],{"min":137,"max":177,"step":178},[136,134,132,133,135,199],{"id":296,"type":159,"name":297,"description":298,"maker":240,"family":241,"own":16,"video":299},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":300,"options":302},{"default_resolution":165,"per_second":301,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":168,"768p":273},{"resolutions":303,"durations":304,"aspect_ratios":305,"audio_toggle":16,"start_frame":126,"end_frame":126,"max_reference_images":265,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[173,165],{"min":102,"max":177,"step":178},[199,136,134,132,133,135],{"id":307,"type":159,"name":308,"description":309,"maker":310,"family":308,"own":16,"video":311},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":312,"options":316},{"default_resolution":190,"per_second":313,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":315},{"480p":273,"720p":314,"1080p":274},0.165,0.014,{"resolutions":317,"durations":318,"aspect_ratios":319,"audio_toggle":16,"start_frame":126,"end_frame":16,"max_reference_images":265,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[173,190,174],{"min":178,"max":177,"step":178},[136,135,132,134,133],{"id":321,"type":159,"name":322,"description":-1,"maker":186,"family":187,"own":16,"video":323},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":324,"options":329},{"default_resolution":173,"per_second":325,"per_second_with_audio":-1,"aspect_ratio_multiplier":328,"per_reference_image":-1,"per_frame_image":-1},{"480p":326,"720p":327},0.041,0.088,{"21:9":231},{"resolutions":330,"durations":331,"aspect_ratios":332,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":137,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[173,190],{"min":137,"max":177,"step":178},[136,134,132,133,135,199],{"id":334,"type":159,"name":335,"description":336,"maker":204,"family":205,"own":16,"video":337},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":338,"options":342},{"default_resolution":190,"per_second":339,"per_second_with_audio":341,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":340,"1080p":168},0.036,{"720p":168,"1080p":273},{"resolutions":343,"durations":344,"aspect_ratios":345,"audio_toggle":126,"start_frame":126,"end_frame":126,"max_reference_images":265,"identity_resolutions":-1,"seed":126,"negative_prompt":126},[190,174],{"min":137,"max":217,"step":32},[136,135],{"id":347,"type":159,"name":348,"description":349,"maker":350,"family":351,"own":16,"video":352},"wan-3","Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":353,"options":355},{"default_resolution":190,"per_second":354,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":168,"720p":192,"1080p":209},{"resolutions":356,"durations":357,"aspect_ratios":358,"audio_toggle":126,"start_frame":126,"end_frame":16,"max_reference_images":219,"identity_resolutions":-1,"seed":126,"negative_prompt":16},[173,190,174],{"min":32,"max":197,"step":178},[136,134,132,133,135],{"id":360,"type":122,"name":361,"description":362,"maker":363,"family":364,"own":16,"image":365},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":366,"options":368},{"per_image":367,"per_extra_reference_image":-1},0.085,{"aspect_ratios":369,"max_images":137},[132,133,134,135,136],{"id":371,"type":122,"name":372,"description":373,"maker":363,"family":364,"own":16,"image":374},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":375,"options":376},{"per_image":367,"per_extra_reference_image":-1},{"aspect_ratios":377,"max_images":137},[132,133,134,135,136],{"id":379,"type":122,"name":380,"description":381,"maker":204,"family":382,"own":16,"image":383},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":384,"options":385},{"per_image":367,"per_extra_reference_image":-1},{"aspect_ratios":386,"max_images":137},[132,133,134,135,136],{"id":388,"type":122,"name":389,"description":390,"maker":186,"family":391,"own":16,"image":392},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":393,"options":395},{"per_image":394,"per_extra_reference_image":-1},0.099,{"aspect_ratios":396,"max_images":137},[132,133,134,135,136],{"id":104,"type":122,"name":398,"description":399,"maker":204,"family":382,"own":16,"image":400},"Nano Banana Pro","Google's highest-fidelity image model",{"pricing":401,"options":403},{"per_image":402,"per_extra_reference_image":-1},0.16,{"aspect_ratios":404,"max_images":137},[132,133,134,135,136],{"id":406,"type":122,"name":407,"description":408,"maker":409,"family":410,"own":16,"image":411},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":412,"options":413},{"per_image":327,"per_extra_reference_image":-1},{"aspect_ratios":414,"max_images":137},[132,133,134,135,136],{"id":416,"type":122,"name":417,"description":418,"maker":310,"family":308,"own":16,"image":419},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":420,"options":421},{"per_image":327,"per_extra_reference_image":-1},{"aspect_ratios":422,"max_images":137},[132,133,134,135,136],{"id":117,"type":159,"name":424,"description":425,"maker":125,"family":426,"own":126,"edit":427,"video":435},"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":428,"formats":429,"min_seconds":32,"max_seconds":263,"min_billed_seconds":32,"max_bytes":432,"max_frames":433,"fps":434,"max_faces":137},"replace",[430,431],"mp4","mov",64000000,600,24,{"pricing":436,"options":439},{"default_resolution":165,"per_second":437,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":192,"1080p":438},0.25,{"resolutions":440,"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},[165,174],{"id":442,"type":159,"name":443,"description":444,"maker":125,"family":445,"own":126,"edit":446,"video":451},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":447,"formats":448,"min_seconds":178,"max_seconds":197,"min_billed_seconds":102,"max_bytes":449,"max_frames":450,"fps":-1,"max_faces":-1},"upscale",[430,431],100000000,900,{"pricing":452,"options":456},{"default_resolution":174,"per_second":453,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":454,"2K":455},0.03,0.05,{"resolutions":457,"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},[174,175],1795901825698,"b270fb84-a112-44f2-9801-f99d6c2e889e"]