[{"data":1,"prerenderedAt":456,"buildId":457},["ShallowReactive",2],{"blog:article:polling-vs-webhooks-ai-jobs":3,"catalog":116},{"article":4,"related":94,"studioPath":115},{"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":26,"toc":27,"blocks":50,"faq":88},"polling-vs-webhooks-ai-jobs","\u002Fblog\u002Fpolling-vs-webhooks-ai-jobs","Polling vs Webhooks for AI Image and Video Jobs","Polling vs webhooks for AI image and video jobs: latency, effort and reliability compared, how often to poll, and a hybrid that never misses a result.","guides","Guides","2026-11-28",6,[14,15],"seedance-2-5","fp-image-1",false,"polling vs webhooks",[17,19,20,21,22,23,24,25],"webhook vs polling vs api","async api vs sync api","async vs sync api calls","async api calls python","polling vs long polling vs websockets","http long polling vs websockets","async api vs rest api",1361,[28,32,35,38,41,44,47],{"id":29,"text":30,"level":31},"sync-vs-async-apis-why-generation-jobs-come-back-later","Sync vs async APIs: why generation jobs come back later",2,{"id":33,"text":34,"level":31},"polling-vs-webhooks-the-trade-off-in-one-table","Polling vs webhooks: the trade-off in one table",{"id":36,"text":37,"level":31},"how-often-to-poll","How often to poll",{"id":39,"text":40,"level":31},"when-webhooks-win","When webhooks win",{"id":42,"text":43,"level":31},"the-hybrid-webhook-first-poll-as-a-backstop","The hybrid: webhook first, poll as a backstop",{"id":45,"text":46,"level":31},"long-polling-websockets-and-webhooks","Long polling, WebSockets and webhooks",{"id":48,"text":49,"level":31},"faq","FAQ",[51,54,59,61,64,66],{"type":52,"html":53},"html","\u003Cp>Polling vs webhooks comes down to who asks: with polling, your code reads the job every few seconds until it is done; with a webhook, the API sends your server a request the moment the job settles. Poll in scripts, notebooks and anything without a public URL; take webhooks in services that run many jobs or react to jobs started elsewhere; and in production, use both, with the webhook as the main path and a slow poll as a safety net.\u003C\u002Fp>\n\u003Cp>This guide compares the two for image and video generation, gives polling intervals that are neither wasteful nor slow, shows an async Python poller for many jobs, and builds the hybrid that never loses a result. The examples use \u003Ca href=\"\u002Fmodels\u002Fseedance-2-5\">Seedance 2.5\u003C\u002Fa>, but every model ends the same way.\u003C\u002Fp>\n\u003Ch2 id=\"sync-vs-async-apis-why-generation-jobs-come-back-later\">Sync vs async APIs: why generation jobs come back later\u003C\u002Fh2>\n\u003Cp>A synchronous API answers your request with the result: you ask, you wait, you get it in the same response. That works when the work takes milliseconds. Generating an image or a clip is not that kind of work: the job runs on well after the request that started it, longer than a connection can be trusted to stay open.\u003C\u002Fp>\n\u003Cp>So generation APIs are asynchronous. \u003Ccode>POST \u002Fv1\u002Fvideos\u002Fgenerations\u003C\u002Fcode> checks the request, holds its price and answers at once with \u003Ccode>202 Accepted\u003C\u002Fcode> and a generation \u003Ccode>id\u003C\u002Fcode> in the \u003Ccode>queued\u003C\u002Fcode> state. The work happens afterwards: the generation moves to \u003Ccode>running\u003C\u002Fcode>, then ends \u003Ccode>succeeded\u003C\u002Fcode> (with a file link per output) or \u003Ccode>failed\u003C\u002Fcode> (with a reason, and nothing charged). Polling and webhooks are simply the two ways to learn which, and when.\u003C\u002Fp>\n\u003Ch2 id=\"polling-vs-webhooks-the-trade-off-in-one-table\">Polling vs webhooks: the trade-off in one table\u003C\u002Fh2>\n\u003Cdiv class=\"blog-table box blog-table-wide\">\u003Ctable class=\"tbl\">\u003Cthead>\u003Ctr>\u003Cth scope=\"col\">\u003C\u002Fth>\u003Cth scope=\"col\">Polling\u003C\u002Fth>\u003Cth scope=\"col\">Webhooks\u003C\u002Fth>\u003C\u002Ftr>\u003C\u002Fthead>\u003Ctbody>\u003Ctr>\u003Ctd>How you learn the result\u003C\u002Ftd>\u003Ctd>You \u003Ccode>GET\u003C\u002Fcode> the generation until it settles\u003C\u002Ftd>\u003Ctd>The API \u003Ccode>POST\u003C\u002Fcode>s it to your endpoint\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>What you need\u003C\u002Ftd>\u003Ctd>A loop with a timeout\u003C\u002Ftd>\u003Ctd>A public \u003Ccode>https\u003C\u002Fcode> URL that answers within 10 seconds\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Works from a laptop or notebook\u003C\u002Ftd>\u003Ctd>Yes\u003C\u002Ftd>\u003Ctd>Only through a tunnel\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Delay after the job ends\u003C\u002Ftd>\u003Ctd>Up to one polling interval\u003C\u002Ftd>\u003Ctd>Sent when the job closes\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Cost in rate limit\u003C\u002Ftd>\u003Ctd>None: reads are not counted\u003C\u002Ftd>\u003Ctd>None\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Survives your process restarting\u003C\u002Ftd>\u003Ctd>No: the loop dies with it\u003C\u002Ftd>\u003Ctd>Yes, while the endpoint is up\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>What can go wrong\u003C\u002Ftd>\u003Ctd>Loops left running, intervals too tight\u003C\u002Ftd>\u003Ctd>Missed deliveries, forged requests, duplicates\u003C\u002Ftd>\u003C\u002Ftr>\n\u003Ctr>\u003Ctd>Jobs started elsewhere (the Studio, an agent)\u003C\u002Ftd>\u003Ctd>Only if you know their ids\u003C\u002Ftd>\u003Ctd>Delivered like any other\u003C\u002Ftd>\u003C\u002Ftr>\u003C\u002Ftbody>\u003C\u002Ftable>\u003C\u002Fdiv>\n\u003Cp>Neither costs money: reads are free and not counted against the workspace&#39;s 60 requests a minute, and deliveries are free. The real difference is operational: a loop is easy to write and easy to lose, an endpoint takes more setup and keeps working while your code sleeps.\u003C\u002Fp>\n\u003Ch2 id=\"how-often-to-poll\">How often to poll\u003C\u002Fh2>\n\u003Cp>Match the interval to how long the job takes, and grow it as you wait:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Images\u003C\u002Fstrong>: read every 2 seconds or so. Most of the wait is short, and a tighter loop gains nothing.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Clips\u003C\u002Fstrong>: start at about 5 seconds and let the interval grow to 15 or 20. A clip that has been running for three minutes will not be faster for being asked every second.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A deadline\u003C\u002Fstrong>: stop the loop after a generous limit (half an hour for long clips) and look again later. A generation never disappears; its id answers whenever you read it.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Each read brings the generation up to date before it answers, so a read is never stale. When you poll many jobs at once, do it concurrently rather than one after another. With Python&#39;s \u003Ccode>asyncio\u003C\u002Fcode> and \u003Ccode>httpx\u003C\u002Fcode> (\u003Ccode>pip install httpx\u003C\u002Fcode>):\u003C\u002Fp>",{"type":55,"lang":56,"code":57,"title":58},"code","python","import asyncio\nimport os\n\nimport httpx\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\n\n\nasync def wait_for(client, gen_id, first=5.0, longest=20.0, deadline=1800.0):\n    delay, waited = first, 0.0\n    while waited \u003C deadline:\n        await asyncio.sleep(delay)\n        waited += delay\n        gen = (await client.get(f\"{API}\u002Fgenerations\u002F{gen_id}\")).json()\n        if gen[\"status\"] not in (\"queued\", \"running\"):\n            return gen\n        delay = min(longest, delay * 1.5)  # 5, 7.5, 11, 17, then 20 s\n    raise TimeoutError(f\"{gen_id} is still running: read it again later\")\n\n\nasync def main(ids):\n    async with httpx.AsyncClient(headers=HEADERS, timeout=30) as client:\n        results = await asyncio.gather(*(wait_for(client, gen_id) for gen_id in ids), return_exceptions=True)\n    for result in results:\n        print(result if isinstance(result, Exception) else f\"{result['id']} {result['status']} {result['cost_usd']}\")\n\n\nasyncio.run(main([\"gen_9sLq2VbX7mN4kR1tYc8WpE\", \"gen_6Pq3WnT8vXc1Lm5Rk9YbZs\"]))","poll_many.py: async API calls in Python",{"type":52,"html":60},"\u003Cp>For images, call \u003Ccode>wait_for\u003C\u002Fcode> with \u003Ccode>first=2.0, longest=3.0\u003C\u002Fcode>. The \u003Ca href=\"\u002Fdocs\u002Fgenerations\">generations reference\u003C\u002Fa> lists every field the read returns.\u003C\u002Fp>\n\u003Ch2 id=\"when-webhooks-win\">When webhooks win\u003C\u002Fh2>\n\u003Cp>Webhooks take over as soon as polling stops being simple:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Many jobs at once.\u003C\u002Fstrong> Ten loops are fine; a thousand open loops in a web server are not. One endpoint handles them all.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Jobs you did not start in this process.\u003C\u002Fstrong> A delivery covers every generation of the workspace, including clips started from the \u003Ca href=\"\u002Fstudio\">Studio\u003C\u002Fa>, the MCP server or another service.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Serverless and short-lived code.\u003C\u002Fstrong> A function that cannot stay alive until a clip finishes can submit, return, and let the webhook resume the work.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Workflows that should sleep.\u003C\u002Fstrong> An automation tool can start a second scenario on the delivery instead of keeping a run open.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Each delivery is a signed \u003Ccode>POST\u003C\u002Fcode> with the generation exactly as a read would return it, so the handler has everything it needs. A delivery your endpoint does not acknowledge with a \u003Ccode>2xx\u003C\u002Fcode> is retried after 1, 5 and 15 minutes. The \u003Ca href=\"\u002Fblog\u002Fai-video-api-webhooks\">AI video API webhooks guide\u003C\u002Fa> shows how to verify the signature and deal with duplicates; the \u003Ca href=\"\u002Fdocs\u002Fwebhooks\">webhooks reference\u003C\u002Fa> has every header.\u003C\u002Fp>\n\u003Ch2 id=\"the-hybrid-webhook-first-poll-as-a-backstop\">The hybrid: webhook first, poll as a backstop\u003C\u002Fh2>\n\u003Cp>A webhook can be missed: your endpoint was mid-deploy, a certificate expired, all four attempts fell inside an outage. And deliveries go out when a job closes, which happens either when someone reads it or when a background check that runs every minute picks it up. A slow poll for overdue jobs covers both cases. The pattern:\u003C\u002Fp>\n\u003Col>\n\u003Cli>At submit, store the generation id with a \u003Ccode>pending\u003C\u002Fcode> status.\u003C\u002Fli>\n\u003Cli>The webhook handler and the sweeper call the same \u003Ccode>settle()\u003C\u002Fcode> function, which does nothing if the job is already closed.\u003C\u002Fli>\n\u003Cli>Every few minutes, the sweeper reads any job still pending after ten minutes, by id. The read brings it up to date, and \u003Ccode>settle()\u003C\u002Fcode> takes it from there.\u003C\u002Fli>\n\u003C\u002Fol>",{"type":55,"lang":56,"code":62,"title":63},"import hashlib\nimport hmac\nimport json\nimport os\nimport sqlite3\nimport time\n\nimport requests\nfrom flask import Flask, request\n\nAPI = \"https:\u002F\u002Fframeport.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['FRAMEPORT_API_KEY']}\"}\nSECRET = os.environ[\"WEBHOOK_SECRET\"].encode()  # whsec_..., shown once\ndb = sqlite3.connect(\"jobs.db\", check_same_thread=False)\ndb.execute(\"CREATE TABLE IF NOT EXISTS jobs (generation TEXT PRIMARY KEY, status TEXT, sent_at REAL)\")\napp = Flask(__name__)\n\n\ndef settle(gen):\n    closed = db.execute(\n        \"UPDATE jobs SET status = ? WHERE generation = ? AND status = 'pending'\", (gen[\"status\"], gen[\"id\"]),\n    ).rowcount\n    db.commit()\n    if closed:  # the first to bring the news does the work, once\n        print(\"settled\", gen[\"id\"], gen[\"status\"], gen[\"cost_usd\"])  # download, notify...\n\n\ndef signed(raw, header):\n    parts = dict(item.split(\"=\", 1) for item in header.split(\",\") if \"=\" in item)\n    if not parts.get(\"t\", \"\").isdigit() or abs(time.time() - int(parts[\"t\"])) > 300:\n        return False\n    digest = hmac.new(SECRET, parts[\"t\"].encode() + b\".\" + raw, hashlib.sha256).hexdigest()\n    return hmac.compare_digest(digest, parts.get(\"v1\", \"\"))\n\n\n@app.post(\"\u002Fhooks\u002Fgenerations\")\ndef webhook():\n    raw = request.get_data()\n    if not signed(raw, request.headers.get(\"Frameport-Signature\", \"\")):\n        return \"\", 400\n    settle(json.loads(raw)[\"data\"])\n    return \"\", 204\n\n\ndef sweep(overdue=600):\n    rows = db.execute(\"SELECT generation FROM jobs WHERE status = 'pending' AND sent_at \u003C ?\", (time.time() - overdue,))\n    for (gen_id,) in rows.fetchall():\n        gen = requests.get(f\"{API}\u002Fgenerations\u002F{gen_id}\", headers=HEADERS, timeout=30).json()\n        if gen[\"status\"] in (\"succeeded\", \"failed\"):\n            settle(gen)","hybrid.py",{"type":52,"html":65},"\u003Cp>Run \u003Ccode>sweep()\u003C\u002Fcode> from a cron job or a scheduler every five minutes. On a normal day it finds nothing; on a bad one it closes every job the webhook missed, and a delivery that arrives later finds the row closed and does nothing. Rows whose ids are not in your table, such as clips someone made in the Studio, are ignored by the \u003Ccode>UPDATE\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Ch2 id=\"long-polling-websockets-and-webhooks\">Long polling, WebSockets and webhooks\u003C\u002Fh2>\n\u003Cp>Two other patterns come up in the same searches. Long polling keeps a request open on the server until there is news, then answers; WebSockets keep a two-way connection open for messages in both directions. Both suit browsers and chat-like apps that need many small updates.\u003C\u002Fp>\n\u003Cp>This API uses neither. A read is a plain \u003Ccode>GET\u003C\u002Fcode> that answers immediately, and completion is pushed by webhook. If a web page should show a job&#39;s progress live, let your server receive the webhook (or poll), then pass the news to the page over server-sent events or the WebSocket your app already has. Keep the API key on the server either way: it spends your balance. For a full polling script with downloads, see the \u003Ca href=\"\u002Fblog\u002Fai-video-generation-api-python\">Python video guide\u003C\u002Fa>. Both patterns run inside a chat bot too: a \u003Ca href=\"\u002Fblog\u002Fdiscord-bot-ai-image-generation\">Discord bot\u003C\u002Fa> or a \u003Ca href=\"\u002Fblog\u002Ftelegram-bot-ai-video\">Telegram bot\u003C\u002Fa> that replies with the file.\u003C\u002Fp>",{"type":48,"id":48,"title":49,"items":67},[68,72,76,80,84],{"q":69,"html":70,"text":71},"Is polling an API bad practice?","\u003Cp>Not for jobs like these. Reads are free and not rate-limited here, so polling every few seconds with a growing interval and a deadline is a sound choice for scripts and small batches. It becomes a problem only when loops are tight, unbounded, or too many to keep track of.\u003C\u002Fp>","Not for jobs like these. Reads are free and not rate-limited here, so polling every few seconds with a growing interval and a deadline is a sound choice for scripts and small batches. It becomes a problem only when loops are tight, unbounded, or too many to keep track of.",{"q":73,"html":74,"text":75},"Are webhooks faster than polling?","\u003Cp>Usually, because a webhook is sent as soon as the job is closed, while a poll notices it on its next read. In practice the gap is at most one polling interval, which is why the hybrid uses webhooks first and a slow poll for anything overdue.\u003C\u002Fp>","Usually, because a webhook is sent as soon as the job is closed, while a poll notices it on its next read. In practice the gap is at most one polling interval, which is why the hybrid uses webhooks first and a slow poll for anything overdue.",{"q":77,"html":78,"text":79},"What is the difference between a webhook and an API?","\u003Cp>An API is something you call: you send a request and get an answer. A webhook is the reverse: the service calls a URL you gave it when something happens. Generation APIs use both, an API call to start a job and a webhook to report its end.\u003C\u002Fp>","An API is something you call: you send a request and get an answer. A webhook is the reverse: the service calls a URL you gave it when something happens. Generation APIs use both, an API call to start a job and a webhook to report its end.",{"q":81,"html":82,"text":83},"Which is more reliable, polling or webhooks?","\u003Cp>Each fails differently. A polling loop stops when your process does, and a webhook can be missed while your endpoint is down, even with retries. Using both, with one idempotent handler, is more reliable than either alone.\u003C\u002Fp>","Each fails differently. A polling loop stops when your process does, and a webhook can be missed while your endpoint is down, even with retries. Using both, with one idempotent handler, is more reliable than either alone.",{"q":85,"html":86,"text":87},"Do I need webhooks for image generation?","\u003Cp>Rarely. An image job is short, so a polling loop that reads every couple of seconds is simpler for most code. Webhooks pay off for images when you run large batches in a service, or when images are started from places your code does not control.\u003C\u002Fp>","Rarely. An image job is short, so a polling loop that reads every couple of seconds is simpler for most code. Webhooks pay off for images when you run large batches in a service, or when images are started from places your code does not control.",[89,90,91,92,93],{"q":69,"html":70,"text":71},{"q":73,"html":74,"text":75},{"q":77,"html":78,"text":79},{"q":81,"html":82,"text":83},{"q":85,"html":86,"text":87},[95,103,109],{"slug":96,"path":97,"title":98,"description":99,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":100,"models":101,"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,[102,15,14],"nano-banana-pro",{"slug":104,"path":105,"title":106,"description":107,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":108,"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.",[102,15,14],{"slug":110,"path":111,"title":112,"description":113,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":114,"featured":16},"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.",[14,15],"\u002Fstudio",[117,136,145,154,180,197,217,233,248,263,278,292,303,317,330,343,356,367,375,384,394,402,412,420,439],{"id":118,"type":119,"name":120,"description":121,"maker":122,"family":122,"own":123,"image":124,"private":135},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":125,"options":127},{"per_image":126,"per_extra_reference_image":-1},0.025,{"aspect_ratios":128,"max_images":134},[129,130,131,132,133],"1:1","3:4","4:3","9:16","16:9",4,{},{"id":137,"type":119,"name":138,"description":139,"maker":122,"family":122,"own":123,"image":140,"private":144},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":141,"options":142},{"per_image":126,"per_extra_reference_image":-1},{"aspect_ratios":143,"max_images":134},[129,130,131,132,133],{},{"id":15,"type":119,"name":146,"description":147,"maker":122,"family":122,"own":123,"image":148,"private":153},"Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":149,"options":151},{"per_image":126,"per_extra_reference_image":150},0.0025,{"aspect_ratios":152,"max_images":134},[129,130,131,132,133],{},{"id":155,"type":156,"name":157,"description":158,"maker":122,"family":159,"own":123,"video":160,"private":178},"fp-motion-1","video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":161,"options":168},{"default_resolution":162,"per_second":163,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":164,"768p":165,"1080p":166,"2K":167},0.02,0.06,0.08,0.095,{"resolutions":169,"durations":173,"aspect_ratios":176,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":134,"identity_resolutions":177,"seed":16,"negative_prompt":16},[170,162,171,172],"480p","1080p","2K",{"min":100,"max":174,"step":175},15,1,[133,132,129,131,130],[162,171],{"resolutions":179},[170,162],{"id":14,"type":156,"name":181,"description":182,"maker":183,"family":184,"own":16,"video":185},"Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":186,"options":191},{"default_resolution":187,"per_second":188,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":189,"720p":190},0.12,0.27,{"resolutions":192,"durations":193,"aspect_ratios":195,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":134,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[170,187],{"min":134,"max":194,"step":175},30,[133,131,129,130,132,196],"21:9",{"id":198,"type":156,"name":199,"description":200,"maker":201,"family":202,"own":16,"video":203},"veo-3-1","Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":204,"options":210},{"default_resolution":171,"per_second":205,"per_second_with_audio":208,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":206,"1080p":206,"4K":207},0.235,0.465,{"720p":207,"1080p":207,"4K":209},0.695,{"resolutions":211,"durations":213,"aspect_ratios":215,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":216,"identity_resolutions":-1,"seed":123,"negative_prompt":123},[187,171,212],"4K",{"min":134,"max":214,"step":31},8,[133,132],3,{"id":218,"type":156,"name":219,"description":220,"maker":183,"family":184,"own":16,"video":221},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":222,"options":229},{"default_resolution":187,"per_second":223,"per_second_with_audio":-1,"aspect_ratio_multiplier":227,"per_reference_image":-1,"per_frame_image":-1},{"480p":166,"720p":224,"1080p":225,"4K":226},0.175,0.435,0.9,{"21:9":228},1.32,{"resolutions":230,"durations":231,"aspect_ratios":232,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":134,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[170,187,171,212],{"min":134,"max":174,"step":175},[133,131,129,130,132,196],{"id":234,"type":156,"name":235,"description":236,"maker":237,"family":238,"own":16,"video":239},"hailuo-3","Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":240,"options":244},{"default_resolution":172,"per_second":241,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":243,"per_frame_image":-1},{"2K":242},0.15,0.047,{"resolutions":245,"durations":246,"aspect_ratios":247,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":216,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[172],{"min":100,"max":174,"step":175},[196,133,131,129,130,132],{"id":249,"type":156,"name":250,"description":251,"maker":252,"family":252,"own":16,"video":253},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":254,"options":257},{"default_resolution":187,"per_second":255,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":256},0.14,{"resolutions":258,"durations":259,"aspect_ratios":261,"audio_toggle":16,"start_frame":123,"end_frame":16,"max_reference_images":262,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[187],{"min":31,"max":260,"step":175},10,[133,132],0,{"id":264,"type":156,"name":265,"description":266,"maker":201,"family":202,"own":16,"video":267},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":268,"options":274},{"default_resolution":187,"per_second":269,"per_second_with_audio":272,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":270,"1080p":189,"4K":271},0.093,0.29,{"720p":189,"1080p":256,"4K":273},0.35,{"resolutions":275,"durations":276,"aspect_ratios":277,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":216,"identity_resolutions":-1,"seed":123,"negative_prompt":123},[187,171,212],{"min":134,"max":214,"step":31},[133,132],{"id":279,"type":156,"name":280,"description":281,"maker":183,"family":184,"own":16,"video":282},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":283,"options":288},{"default_resolution":187,"per_second":284,"per_second_with_audio":-1,"aspect_ratio_multiplier":287,"per_reference_image":-1,"per_frame_image":-1},{"480p":285,"720p":286},0.063,0.145,{"21:9":228},{"resolutions":289,"durations":290,"aspect_ratios":291,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":134,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[170,187],{"min":134,"max":174,"step":175},[133,131,129,130,132,196],{"id":293,"type":156,"name":294,"description":295,"maker":237,"family":238,"own":16,"video":296},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":297,"options":299},{"default_resolution":162,"per_second":298,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":165,"768p":270},{"resolutions":300,"durations":301,"aspect_ratios":302,"audio_toggle":16,"start_frame":123,"end_frame":123,"max_reference_images":262,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[170,162],{"min":100,"max":174,"step":175},[196,133,131,129,130,132],{"id":304,"type":156,"name":305,"description":306,"maker":307,"family":305,"own":16,"video":308},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":309,"options":313},{"default_resolution":187,"per_second":310,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":312},{"480p":270,"720p":311,"1080p":271},0.165,0.014,{"resolutions":314,"durations":315,"aspect_ratios":316,"audio_toggle":16,"start_frame":123,"end_frame":16,"max_reference_images":262,"identity_resolutions":-1,"seed":16,"negative_prompt":16},[170,187,171],{"min":175,"max":174,"step":175},[133,132,129,131,130],{"id":318,"type":156,"name":319,"description":-1,"maker":183,"family":184,"own":16,"video":320},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":321,"options":326},{"default_resolution":170,"per_second":322,"per_second_with_audio":-1,"aspect_ratio_multiplier":325,"per_reference_image":-1,"per_frame_image":-1},{"480p":323,"720p":324},0.041,0.088,{"21:9":228},{"resolutions":327,"durations":328,"aspect_ratios":329,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":134,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[170,187],{"min":134,"max":174,"step":175},[133,131,129,130,132,196],{"id":331,"type":156,"name":332,"description":333,"maker":201,"family":202,"own":16,"video":334},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":335,"options":339},{"default_resolution":187,"per_second":336,"per_second_with_audio":338,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":337,"1080p":165},0.036,{"720p":165,"1080p":270},{"resolutions":340,"durations":341,"aspect_ratios":342,"audio_toggle":123,"start_frame":123,"end_frame":123,"max_reference_images":262,"identity_resolutions":-1,"seed":123,"negative_prompt":123},[187,171],{"min":134,"max":214,"step":31},[133,132],{"id":344,"type":156,"name":345,"description":346,"maker":347,"family":348,"own":16,"video":349},"wan-3","Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":350,"options":352},{"default_resolution":187,"per_second":351,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":165,"720p":189,"1080p":206},{"resolutions":353,"durations":354,"aspect_ratios":355,"audio_toggle":123,"start_frame":123,"end_frame":16,"max_reference_images":216,"identity_resolutions":-1,"seed":123,"negative_prompt":16},[170,187,171],{"min":31,"max":194,"step":175},[133,131,129,130,132],{"id":357,"type":119,"name":358,"description":359,"maker":360,"family":361,"own":16,"image":362},"gpt-image-2-5-sunburst","GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":363,"options":365},{"per_image":364,"per_extra_reference_image":-1},0.085,{"aspect_ratios":366,"max_images":134},[129,130,131,132,133],{"id":368,"type":119,"name":369,"description":370,"maker":360,"family":361,"own":16,"image":371},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":372,"options":373},{"per_image":364,"per_extra_reference_image":-1},{"aspect_ratios":374,"max_images":134},[129,130,131,132,133],{"id":376,"type":119,"name":377,"description":378,"maker":201,"family":379,"own":16,"image":380},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":381,"options":382},{"per_image":364,"per_extra_reference_image":-1},{"aspect_ratios":383,"max_images":134},[129,130,131,132,133],{"id":385,"type":119,"name":386,"description":387,"maker":183,"family":388,"own":16,"image":389},"seedream-5-0-pro","Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":390,"options":392},{"per_image":391,"per_extra_reference_image":-1},0.099,{"aspect_ratios":393,"max_images":134},[129,130,131,132,133],{"id":102,"type":119,"name":395,"description":396,"maker":201,"family":379,"own":16,"image":397},"Nano Banana Pro","Google's highest-fidelity image model",{"pricing":398,"options":400},{"per_image":399,"per_extra_reference_image":-1},0.16,{"aspect_ratios":401,"max_images":134},[129,130,131,132,133],{"id":403,"type":119,"name":404,"description":405,"maker":406,"family":407,"own":16,"image":408},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":409,"options":410},{"per_image":324,"per_extra_reference_image":-1},{"aspect_ratios":411,"max_images":134},[129,130,131,132,133],{"id":413,"type":119,"name":414,"description":415,"maker":307,"family":305,"own":16,"image":416},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":417,"options":418},{"per_image":324,"per_extra_reference_image":-1},{"aspect_ratios":419,"max_images":134},[129,130,131,132,133],{"id":421,"type":156,"name":422,"description":423,"maker":122,"family":424,"own":123,"edit":425,"video":433},"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":426,"formats":427,"min_seconds":31,"max_seconds":260,"min_billed_seconds":31,"max_bytes":430,"max_frames":431,"fps":432,"max_faces":134},"replace",[428,429],"mp4","mov",64000000,600,24,{"pricing":434,"options":437},{"default_resolution":162,"per_second":435,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":189,"1080p":436},0.25,{"resolutions":438,"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},[162,171],{"id":440,"type":156,"name":441,"description":442,"maker":122,"family":443,"own":123,"edit":444,"video":449},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":445,"formats":446,"min_seconds":175,"max_seconds":194,"min_billed_seconds":100,"max_bytes":447,"max_frames":448,"fps":-1,"max_faces":-1},"upscale",[428,429],100000000,900,{"pricing":450,"options":454},{"default_resolution":171,"per_second":451,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":452,"2K":453},0.03,0.05,{"resolutions":455,"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},[171,172],1795901826115,"b270fb84-a112-44f2-9801-f99d6c2e889e"]