[{"data":1,"prerenderedAt":478,"buildId":479},["ShallowReactive",2],{"blog:article:image-generation-api-javascript":3,"catalog":140},{"article":4,"related":117,"studioPath":139},{"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":27,"toc":28,"blocks":48,"faq":111},"image-generation-api-javascript","\u002Fblog\u002Fimage-generation-api-javascript","Image Generation API in JavaScript and TypeScript","An image generation API JavaScript guide: one fetch call from Node, Deno, Bun or a Worker, TypeScript types from OpenAPI, references, batches, a safe key.","guides","Guides","2026-11-28",5,[14,15,16],"nano-banana-pro","fp-image-1","gpt-image-2-5-sunburst",false,"image generation api javascript",[18,20,21,22,23,24,25,26],"image generation api js","gpt image api nodejs","gemini image api nodejs","gpt image api javascript","grok imagine image api nodejs","image generation api json","openai image api node version",1044,[29,33,36,39,42,45],{"id":30,"text":31,"level":32},"what-you-need","What you need",2,{"id":34,"text":35,"level":32},"your-first-image-generation-api-javascript-call","Your first image generation API JavaScript call",{"id":37,"text":38,"level":32},"types-from-the-openapi-spec","Types from the OpenAPI spec",{"id":40,"text":41,"level":32},"references-and-batches","References and batches",{"id":43,"text":44,"level":32},"never-ship-the-key-to-the-browser","Never ship the key to the browser",{"id":46,"text":47,"level":32},"faq","FAQ",[49,52,56,58,62,64,68,70,72,74,77,79,82,84,87,89],{"type":50,"html":51},"html","\u003Cp>Image generation API JavaScript code needs no SDK: one \u003Ccode>fetch\u003C\u002Fcode> call with a Bearer key submits the prompt, a second reads the job until its images are ready, and the same lines run in Node.js, Deno, Bun, Next.js route handlers and Cloudflare Workers. On Frameport that one request reaches \u003Ca href=\"\u002Fmodels\u002Fnano-banana-pro\">Nano Banana Pro\u003C\u002Fa>, Frameport Image 1, GPT Image 2.5 Sunburst and every other image model in the catalog, from $0.025 per image, and an image that fails costs nothing.\u003C\u002Fp>\n\u003Cp>This guide writes the first request with \u003Ccode>fetch\u003C\u002Fcode>, adds TypeScript types generated from the OpenAPI spec, sends reference pictures and batches, and keeps the key where it belongs: on the server.\u003C\u002Fp>\n\u003Ch2 id=\"what-you-need\">What you need\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>A runtime with \u003Ccode>fetch\u003C\u002Fcode>.\u003C\u002Fstrong> Any current Node.js release (it has been built in since Node 18), Deno, Bun, or an edge runtime. No package is needed for the requests.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>An API key.\u003C\u002Fstrong> \u003Ca href=\"\u002Fsignup\">Create an account\u003C\u002Fa>, add to the balance, then create a key under \u003Ca href=\"\u002Fdashboard\u002Fkeys\">API keys\u003C\u002Fa>. It starts with \u003Ccode>fp_live_\u003C\u002Fcode> and is shown once.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The key in an environment variable\u003C\u002Fstrong>, read only by server code:\u003C\u002Fli>\n\u003C\u002Ful>",{"type":53,"lang":54,"code":55},"code","curl","export FRAMEPORT_API_KEY=\"fp_live_...\"",{"type":50,"html":57},"\u003Cp>The request and the answer are plain JSON, so nothing below depends on a framework. Every field is in the \u003Ca href=\"\u002Fdocs\u002Fimages\">images reference\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch2 id=\"your-first-image-generation-api-javascript-call\">Your first image generation API JavaScript call\u003C\u002Fh2>\n\u003Cp>\u003Ccode>POST \u002Fv1\u002Fimages\u002Fgenerations\u003C\u002Fcode> holds the price and answers at once with \u003Ccode>202 Accepted\u003C\u002Fcode> and a generation in the \u003Ccode>queued\u003C\u002Fcode> state. Read the generation every couple of seconds until it is \u003Ccode>succeeded\u003C\u002Fcode> or \u003Ccode>failed\u003C\u002Fcode>, then fetch each file:\u003C\u002Fp>",{"type":53,"lang":59,"code":60,"title":61},"node","import { writeFile } from 'node:fs\u002Fpromises'\nimport { setTimeout as sleep } from 'node:timers\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\n\u002F\u002F 1. Submit: the price is held on the balance\nlet gen = await fetch(`${API}\u002Fimages\u002Fgenerations`, {\n  method: 'POST',\n  headers,\n  body: JSON.stringify({\n    model: 'nano-banana-pro',\n    prompt: 'A ceramic teapot shaped like a sleeping fox on a linen tablecloth, soft morning light, product photo',\n    aspect_ratio: '4:3',\n  }),\n}).then(res => res.json())\nif (gen.error) throw new Error(`${gen.error.code}: ${gen.error.message}`)\n\n\u002F\u002F 2. Read it until it settles\nwhile (gen.status === 'queued' || gen.status === 'running') {\n  await sleep(2000)\n  gen = await fetch(`${API}\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\n\u002F\u002F 3. Save every image that succeeded\nfor (const [index, output] of gen.outputs.entries()) {\n  if (output.status !== 'succeeded') continue\n  const file = await fetch(output.url)\n  const extension = output.content_type.split('\u002F')[1] ?? 'png'\n  await writeFile(`teapot-${index + 1}.${extension}`, new Uint8Array(await file.arrayBuffer()))\n}\nconsole.log(gen.id, 'charged', gen.cost_usd)","image.mjs",{"type":50,"html":63},"\u003Cp>Run it with \u003Ccode>node image.mjs\u003C\u002Fcode>. Bun runs the same file (\u003Ccode>bun image.mjs\u003C\u002Fcode>), and so does Deno through its Node compatibility (\u003Ccode>deno run -A image.mjs\u003C\u002Fcode>). In a Worker or an edge function there is no disk: return the image&#39;s \u003Ccode>url\u003C\u002Fcode>, or stream the file to your own storage. The finished generation reads like this:\u003C\u002Fp>",{"type":53,"lang":65,"code":66,"title":67},"json","{\n  \"id\": \"gen_4kQ8vT2nLm9Xr7Wd1sYcPa\",\n  \"type\": \"image\",\n  \"model\": \"nano-banana-pro\",\n  \"status\": \"succeeded\",\n  \"reserved_usd\": 0.16,\n  \"cost_usd\": 0.16,\n  \"outputs\": [{\n    \"id\": \"file_8Hc2RkQw5ZpT1mVb7nXe3L\",\n    \"status\": \"succeeded\",\n    \"url\": \"https:\u002F\u002Fframeport.ai\u002Fv1\u002Ffiles\u002Ffile_8Hc2RkQw5ZpT1mVb7nXe3L?expires=1795779600&signature=…\",\n    \"url_expires_at\": \"2026-11-28T11:10:00.000Z\",\n    \"content_type\": \"image\u002Fpng\",\n    \"cost_usd\": 0.16\n  }],\n  \"error\": null\n}","GET \u002Fv1\u002Fgenerations\u002F{id} · succeeded (abridged)",{"type":50,"html":69},"\u003Cp>The \u003Ccode>url\u003C\u002Fcode> is signed and opens without a key for about an hour; every read of the generation signs a fresh one. Files are not kept forever, so copy the ones you keep to your own storage.\u003C\u002Fp>\n\u003Ch2 id=\"types-from-the-openapi-spec\">Types from the OpenAPI spec\u003C\u002Fh2>\n\u003Cp>The whole API is described in an OpenAPI 3.1 document at \u003Ca href=\"\u002Fopenapi.json\">\u002Fopenapi.json\u003C\u002Fa>. Generate TypeScript declarations from it once, and requests and answers are typed without a hand-written SDK:\u003C\u002Fp>",{"type":53,"lang":54,"code":71},"npm install --save-dev openapi-typescript typescript\nnpx openapi-typescript https:\u002F\u002Fframeport.ai\u002Fopenapi.json -o api.d.ts",{"type":50,"html":73},"\u003Cp>The \u003Ccode>paths\u003C\u002Fcode> and \u003Ccode>components\u003C\u002Fcode> it exports go well with \u003Ccode>openapi-fetch\u003C\u002Fcode>, a small typed wrapper around \u003Ccode>fetch\u003C\u002Fcode> (\u003Ccode>npm install openapi-fetch\u003C\u002Fcode>). Paths are written as the spec writes them, with \u003Ccode>\u002Fv1\u003C\u002Fcode>:\u003C\u002Fp>",{"type":53,"lang":59,"code":75,"title":76},"import createClient from 'openapi-fetch'\nimport type { components, paths } from '.\u002Fapi.js' \u002F\u002F the api.d.ts generated above\n\ntype Generation = components['schemas']['Generation']\n\nconst client = createClient\u003Cpaths>({\n  baseUrl: 'https:\u002F\u002Fframeport.ai',\n  headers: { Authorization: `Bearer ${process.env.FRAMEPORT_API_KEY}` },\n})\n\nconst { data, error } = await client.POST('\u002Fv1\u002Fimages\u002Fgenerations', {\n  body: { model: 'fp-image-1', prompt: 'Isometric illustration of a tiny bakery at dawn, warm windows, pastel palette', n: 2 },\n  params: { header: { 'Idempotency-Key': crypto.randomUUID() } },\n})\nif (error) throw new Error(`${error.error.code}: ${error.error.message}`)\nconst gen: Generation = data\nconsole.log(gen.id, gen.status, gen.reserved_usd)","typed.ts",{"type":50,"html":78},"\u003Cp>A typo in a field name, a wrong aspect ratio or a missing \u003Ccode>prompt\u003C\u002Fcode> now fails at compile time. Model ids and their options change more often than the endpoints, so read those from \u003Ca href=\"\u002Fdocs\u002Fmodels\">GET \u002Fv1\u002Fmodels\u003C\u002Fa> at run time rather than baking them into types; the \u003Ca href=\"\u002Fdocs\u002Fopenapi\">OpenAPI page\u003C\u002Fa> lists other generators and clients.\u003C\u002Fp>\n\u003Ch2 id=\"references-and-batches\">References and batches\u003C\u002Fh2>\n\u003Cp>Two fields do most of the work beyond a prompt:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>\u003Ccode>reference_images\u003C\u002Fcode>\u003C\u002Fstrong>: pictures to edit or to keep. Nano Banana Pro reads up to 6 and edits by instruction, Frameport Image 1 up to 10. GPT Image 2.5 Sunburst reads no pictures: it generates from the prompt only.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>\u003Ccode>n\u003C\u002Fcode>\u003C\u002Fstrong>: up to 4 images in one request, each charged on its own. If one fails and the others succeed, only those are billed.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>A picture can be an https URL, an \u003Ca href=\"\u002Fdocs\u002Fuploads\">upload\u003C\u002Fa>, a base64 data URI, or the \u003Ccode>file_…\u003C\u002Fcode> id of one of your own outputs. That last one turns the teapot above into an edit with nothing to download or host:\u003C\u002Fp>",{"type":53,"lang":59,"code":80,"title":81},"import { readFile } from 'node:fs\u002Fpromises'\n\nconst label = `data:image\u002Fpng;base64,${(await readFile('label.png')).toString('base64')}`\n\nconst edit = await fetch(`${API}\u002Fimages\u002Fgenerations`, {\n  method: 'POST',\n  headers,\n  body: JSON.stringify({\n    model: 'nano-banana-pro',\n    prompt: 'The same teapot glazed in deep cobalt blue, with the label from the second picture on its side; everything else unchanged',\n    reference_images: [gen.outputs[0].id, label], \u002F\u002F a file id, then a local picture\n    n: 2,\n    aspect_ratio: '4:3',\n  }),\n}).then(res => res.json())\nif (edit.error) throw new Error(`${edit.error.code}: ${edit.error.message}`)","edit.mjs: the first image becomes a reference",{"type":50,"html":83},"\u003Cp>Two takes on Nano Banana Pro cost $0.32; four on Frameport Image 1 cost $0.10, plus a small fee for each reference after the first on that model. Data URIs suit small pictures, since a request body is 16 MB at most; upload anything larger. The same request in Python is in the \u003Ca href=\"\u002Fblog\u002Fimage-generation-api-python\">image generation API Python guide\u003C\u002Fa>, and \u003Ca href=\"\u002Fblog\u002Fnano-banana-pro-vs-gpt-image-2-5\">Nano Banana Pro vs GPT Image 2.5\u003C\u002Fa> helps you choose between those two.\u003C\u002Fp>\n\u003Ch2 id=\"never-ship-the-key-to-the-browser\">Never ship the key to the browser\u003C\u002Fh2>\n\u003Cp>The key spends your balance, and anything sent to a browser can be read by whoever opens the page. So the browser never calls the API: it calls your server, which checks who is asking, calls the API with the key, and returns only what the page needs.\u003C\u002Fp>",{"type":53,"lang":59,"code":85,"title":86},"export async function generate(request: Request): Promise\u003CResponse> {\n  const { prompt } = await request.json()\n  if (typeof prompt !== 'string' || !prompt.trim() || prompt.length > 2400) {\n    return Response.json({ message: 'Write a prompt of up to 2,400 characters.' }, { status: 400 })\n  }\n  \u002F\u002F Check the signed-in user and their allowance here, before anything is spent\n\n  const res = await fetch('https:\u002F\u002Fframeport.ai\u002Fv1\u002Fimages\u002Fgenerations', {\n    method: 'POST',\n    headers: { 'Authorization': `Bearer ${process.env.FRAMEPORT_API_KEY}`, 'Content-Type': 'application\u002Fjson' },\n    body: JSON.stringify({ model: 'fp-image-1', prompt, max_cost_usd: 0.025 }),\n  })\n  const gen = await res.json()\n  if (gen.error) return Response.json({ message: gen.error.message }, { status: res.status })\n  return Response.json({ id: gen.id, status: gen.status }, { status: 202 })\n}","A server handler, in Web-standard Request and Response",{"type":50,"html":88},"\u003Cp>Because it takes a standard \u003Ccode>Request\u003C\u002Fcode> and returns a \u003Ccode>Response\u003C\u002Fcode>, it drops into a Next.js route handler (export it as \u003Ccode>POST\u003C\u002Fcode>), a Hono route (pass it \u003Ccode>c.req.raw\u003C\u002Fcode>) or a Deno server with little change; on Cloudflare Workers, read the key from the \u003Ccode>env\u003C\u002Fcode> binding instead of \u003Ccode>process.env\u003C\u002Fcode>. Store the generation id with the user who asked, and check it on every read, so one user cannot poll another&#39;s images. \u003Ccode>max_cost_usd\u003C\u002Fcode> caps what any single request can cost. The \u003Ca href=\"\u002Fblog\u002Fnextjs-ai-image-generation\">Next.js AI image generation guide\u003C\u002Fa> builds the whole flow in a Next.js app: the route, the progress in the page and the files served from your own domain. TypeScript types for every endpoint can come straight from the spec, as the \u003Ca href=\"\u002Fblog\u002Fopenapi-client-ai-generation-api\">OpenAPI client generator\u003C\u002Fa> guide shows.\u003C\u002Fp>",{"type":46,"id":46,"title":47,"items":90},[91,95,99,103,107],{"q":92,"html":93,"text":94},"Is there a JavaScript SDK for the image API?","\u003Cp>You do not need one. The API is three plain HTTP calls with JSON bodies, so \u003Ccode>fetch\u003C\u002Fcode> covers it in every runtime, and \u003Ccode>openapi-typescript\u003C\u002Fcode> generates types from the published spec if you want them. \u003Ccode>openapi-fetch\u003C\u002Fcode> adds a typed client in a few lines.\u003C\u002Fp>","You do not need one. The API is three plain HTTP calls with JSON bodies, so fetch covers it in every runtime, and openapi-typescript generates types from the published spec if you want them. openapi-fetch adds a typed client in a few lines.",{"q":96,"html":97,"text":98},"How do I call GPT Image or Nano Banana from Node.js?","\u003Cp>With the same request: change \u003Ccode>model\u003C\u002Fcode> to \u003Ccode>gpt-image-2-5-sunburst\u003C\u002Fcode>, \u003Ccode>nano-banana-pro\u003C\u002Fcode> or any other image model id. One key and one balance cover them all, so there is no separate account or SDK per maker.\u003C\u002Fp>","With the same request: change model to gpt-image-2-5-sunburst, nano-banana-pro or any other image model id. One key and one balance cover them all, so there is no separate account or SDK per maker.",{"q":100,"html":101,"text":102},"Can I call the image API from the browser?","\u003Cp>Not with your key. A key in front-end code can be copied and spent by anyone. Call the API from a server route, a server action or a function, and let the browser talk to that.\u003C\u002Fp>","Not with your key. A key in front-end code can be copied and spent by anyone. Call the API from a server route, a server action or a function, and let the browser talk to that.",{"q":104,"html":105,"text":106},"Which Node.js version do I need?","\u003Cp>Any current release. \u003Ccode>fetch\u003C\u002Fcode>, \u003Ccode>FormData\u003C\u002Fcode> and web streams have been built in since Node 18, so the samples need no extra package; run a Node version that still gets security updates in production.\u003C\u002Fp>","Any current release. fetch, FormData and web streams have been built in since Node 18, so the samples need no extra package; run a Node version that still gets security updates in production.",{"q":108,"html":109,"text":110},"Does the image API return JSON or the image itself?","\u003Cp>JSON. The answer is a generation with one output per image, each with a signed \u003Ccode>url\u003C\u002Fcode> and its \u003Ccode>content_type\u003C\u002Fcode>. Fetch the URL for the bytes, or stream \u003Ccode>GET \u002Fv1\u002Fgenerations\u002F{id}\u002Fcontent\u003C\u002Fcode> with your key.\u003C\u002Fp>","JSON. The answer is a generation with one output per image, each with a signed url and its content_type. Fetch the URL for the bytes, or stream GET \u002Fv1\u002Fgenerations\u002F{id}\u002Fcontent with your key.",[112,113,114,115,116],{"q":92,"html":93,"text":94},{"q":96,"html":97,"text":98},{"q":100,"html":101,"text":102},{"q":104,"html":105,"text":106},{"q":108,"html":109,"text":110},[118,125,131],{"slug":119,"path":120,"title":121,"description":122,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":123,"models":124,"featured":17},"cursor-mcp-image-generation","\u002Fblog\u002Fcursor-mcp-image-generation","Cursor MCP Image Generation: Make Assets in the Editor","Cursor MCP image generation from one mcp.json entry: prompts for heroes, icons and illustrations, a model per asset, and caps on what the agent spends.",6,[14,15,16],{"slug":126,"path":127,"title":128,"description":129,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":12,"models":130,"featured":17},"image-generation-api-python","\u002Fblog\u002Fimage-generation-api-python","Image Generation API in Python: Prompt to File","An image generation API Python tutorial: a first request, reference pictures and edits, batches of four billed per image, saving files, safe retries.",[14,16,15],{"slug":132,"path":133,"title":134,"description":135,"category":9,"categoryLabel":10,"date":11,"updated":11,"readingMinutes":136,"models":137,"featured":17},"n8n-image-generation","\u002Fblog\u002Fn8n-image-generation","n8n Image Generation With Nano Banana and More","n8n image generation with one HTTP Request node: Nano Banana Pro, GPT Image, Seedream and our engines on one key, batches, files and per-image billing.",4,[14,16,138,15],"seedream-5-0-pro","\u002Fstudio",[141,159,168,177,203,221,241,257,272,287,302,316,327,341,354,367,380,390,398,407,416,424,434,442,461],{"id":142,"type":143,"name":144,"description":145,"maker":146,"family":146,"own":147,"image":148,"private":158},"fp-image-2","image","Frameport Image 2","Photoreal renders, up to 4 reference images.","Frameport",true,{"pricing":149,"options":151},{"per_image":150,"per_extra_reference_image":-1},0.025,{"aspect_ratios":152,"max_images":136},[153,154,155,156,157],"1:1","3:4","4:3","9:16","16:9",{},{"id":160,"type":143,"name":161,"description":162,"maker":146,"family":146,"own":147,"image":163,"private":167},"fp-image-3","Frameport Image 3","Clean photoreal renders for characters.",{"pricing":164,"options":165},{"per_image":150,"per_extra_reference_image":-1},{"aspect_ratios":166,"max_images":136},[153,154,155,156,157],{},{"id":15,"type":143,"name":169,"description":170,"maker":146,"family":146,"own":147,"image":171,"private":176},"Frameport Image 1","Generation and reference-driven renders, up to 10 reference images.",{"pricing":172,"options":174},{"per_image":150,"per_extra_reference_image":173},0.0025,{"aspect_ratios":175,"max_images":136},[153,154,155,156,157],{},{"id":178,"type":179,"name":180,"description":181,"maker":146,"family":182,"own":147,"video":183,"private":201},"fp-motion-1","video","Frameport Motion 1","Our video engine, with native sound.","Frameport Motion",{"pricing":184,"options":191},{"default_resolution":185,"per_second":186,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"768p",{"480p":187,"768p":188,"1080p":189,"2K":190},0.02,0.06,0.08,0.095,{"resolutions":192,"durations":196,"aspect_ratios":199,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":136,"identity_resolutions":200,"seed":17,"negative_prompt":17},[193,185,194,195],"480p","1080p","2K",{"min":12,"max":197,"step":198},15,1,[157,156,153,155,154],[185,194],{"resolutions":202},[193,185],{"id":204,"type":179,"name":205,"description":206,"maker":207,"family":208,"own":17,"video":209},"seedance-2-5","Seedance 2.5","The long-take flagship — up to 30 seconds with sound","ByteDance","Seedance",{"pricing":210,"options":215},{"default_resolution":211,"per_second":212,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},"720p",{"480p":213,"720p":214},0.12,0.27,{"resolutions":216,"durations":217,"aspect_ratios":219,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":136,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[193,211],{"min":136,"max":218,"step":198},30,[157,155,153,154,156,220],"21:9",{"id":222,"type":179,"name":223,"description":224,"maker":225,"family":226,"own":17,"video":227},"veo-3-1","Veo 3.1","Google’s flagship — up to 4K with native audio","Google","Veo",{"pricing":228,"options":234},{"default_resolution":194,"per_second":229,"per_second_with_audio":232,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":230,"1080p":230,"4K":231},0.235,0.465,{"720p":231,"1080p":231,"4K":233},0.695,{"resolutions":235,"durations":237,"aspect_ratios":239,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":240,"identity_resolutions":-1,"seed":147,"negative_prompt":147},[211,194,236],"4K",{"min":136,"max":238,"step":32},8,[157,156],3,{"id":242,"type":179,"name":243,"description":244,"maker":207,"family":208,"own":17,"video":245},"seedance-2-0","Seedance 2.0","Character consistency, up to 4K",{"pricing":246,"options":253},{"default_resolution":211,"per_second":247,"per_second_with_audio":-1,"aspect_ratio_multiplier":251,"per_reference_image":-1,"per_frame_image":-1},{"480p":189,"720p":248,"1080p":249,"4K":250},0.175,0.435,0.9,{"21:9":252},1.32,{"resolutions":254,"durations":255,"aspect_ratios":256,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":136,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[193,211,194,236],{"min":136,"max":197,"step":198},[157,155,153,154,156,220],{"id":258,"type":179,"name":259,"description":260,"maker":261,"family":262,"own":17,"video":263},"hailuo-3","Hailuo 3","2K cinematic physics, subject references","MiniMax","Hailuo",{"pricing":264,"options":268},{"default_resolution":195,"per_second":265,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":267,"per_frame_image":-1},{"2K":266},0.15,0.047,{"resolutions":269,"durations":270,"aspect_ratios":271,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":240,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[195],{"min":12,"max":197,"step":198},[220,157,155,153,154,156],{"id":273,"type":179,"name":274,"description":275,"maker":276,"family":276,"own":17,"video":277},"runway-gen-4-5","Runway Gen-4.5","Cinematic motion, strong prompt adherence","Runway",{"pricing":278,"options":281},{"default_resolution":211,"per_second":279,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":280},0.14,{"resolutions":282,"durations":283,"aspect_ratios":285,"audio_toggle":17,"start_frame":147,"end_frame":17,"max_reference_images":286,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[211],{"min":32,"max":284,"step":198},10,[157,156],0,{"id":288,"type":179,"name":289,"description":290,"maker":225,"family":226,"own":17,"video":291},"veo-3-1-fast","Veo 3.1 Fast","Veo quality, faster and a quarter of the price",{"pricing":292,"options":298},{"default_resolution":211,"per_second":293,"per_second_with_audio":296,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":294,"1080p":213,"4K":295},0.093,0.29,{"720p":213,"1080p":280,"4K":297},0.35,{"resolutions":299,"durations":300,"aspect_ratios":301,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":240,"identity_resolutions":-1,"seed":147,"negative_prompt":147},[211,194,236],{"min":136,"max":238,"step":32},[157,156],{"id":303,"type":179,"name":304,"description":305,"maker":207,"family":208,"own":17,"video":306},"seedance-2-0-fast","Seedance 2.0 Fast","Seedance references and sound, faster",{"pricing":307,"options":312},{"default_resolution":211,"per_second":308,"per_second_with_audio":-1,"aspect_ratio_multiplier":311,"per_reference_image":-1,"per_frame_image":-1},{"480p":309,"720p":310},0.063,0.145,{"21:9":252},{"resolutions":313,"durations":314,"aspect_ratios":315,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":136,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[193,211],{"min":136,"max":197,"step":198},[157,155,153,154,156,220],{"id":317,"type":179,"name":318,"description":319,"maker":261,"family":262,"own":17,"video":320},"hailuo-3-max","Hailuo 3 Max","Fast Hailuo motion, 768p",{"pricing":321,"options":323},{"default_resolution":185,"per_second":322,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":188,"768p":294},{"resolutions":324,"durations":325,"aspect_ratios":326,"audio_toggle":17,"start_frame":147,"end_frame":147,"max_reference_images":286,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[193,185],{"min":12,"max":197,"step":198},[220,157,155,153,154,156],{"id":328,"type":179,"name":329,"description":330,"maker":331,"family":329,"own":17,"video":332},"grok-imagine","Grok Imagine","Quick clips from a prompt or a start image","xAI",{"pricing":333,"options":337},{"default_resolution":211,"per_second":334,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":336},{"480p":294,"720p":335,"1080p":295},0.165,0.014,{"resolutions":338,"durations":339,"aspect_ratios":340,"audio_toggle":17,"start_frame":147,"end_frame":17,"max_reference_images":286,"identity_resolutions":-1,"seed":17,"negative_prompt":17},[193,211,194],{"min":198,"max":197,"step":198},[157,156,153,155,154],{"id":342,"type":179,"name":343,"description":-1,"maker":207,"family":208,"own":17,"video":344},"seedance-2-0-mini","Seedance 2.0 Mini",{"pricing":345,"options":350},{"default_resolution":193,"per_second":346,"per_second_with_audio":-1,"aspect_ratio_multiplier":349,"per_reference_image":-1,"per_frame_image":-1},{"480p":347,"720p":348},0.041,0.088,{"21:9":252},{"resolutions":351,"durations":352,"aspect_ratios":353,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":136,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[193,211],{"min":136,"max":197,"step":198},[157,155,153,154,156,220],{"id":355,"type":179,"name":356,"description":357,"maker":225,"family":226,"own":17,"video":358},"veo-3-1-lite","Veo 3.1 Lite","Veo with sound, on every account",{"pricing":359,"options":363},{"default_resolution":211,"per_second":360,"per_second_with_audio":362,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"720p":361,"1080p":188},0.036,{"720p":188,"1080p":294},{"resolutions":364,"durations":365,"aspect_ratios":366,"audio_toggle":147,"start_frame":147,"end_frame":147,"max_reference_images":286,"identity_resolutions":-1,"seed":147,"negative_prompt":147},[211,194],{"min":136,"max":238,"step":32},[157,156],{"id":368,"type":179,"name":369,"description":370,"maker":371,"family":372,"own":17,"video":373},"wan-3","Wan 3.0","Up to 30 seconds, references and sound","Alibaba","Wan",{"pricing":374,"options":376},{"default_resolution":211,"per_second":375,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"480p":188,"720p":213,"1080p":230},{"resolutions":377,"durations":378,"aspect_ratios":379,"audio_toggle":147,"start_frame":147,"end_frame":17,"max_reference_images":240,"identity_resolutions":-1,"seed":147,"negative_prompt":17},[193,211,194],{"min":32,"max":218,"step":198},[157,155,153,154,156],{"id":16,"type":143,"name":381,"description":382,"maker":383,"family":384,"own":17,"image":385},"GPT Image 2.5 Sunburst","OpenAI's flagship — precise text, composition and control","OpenAI","GPT Image",{"pricing":386,"options":388},{"per_image":387,"per_extra_reference_image":-1},0.085,{"aspect_ratios":389,"max_images":136},[153,154,155,156,157],{"id":391,"type":143,"name":392,"description":393,"maker":383,"family":384,"own":17,"image":394},"gpt-image-2-5-flare","GPT Image 2.5 Flare","OpenAI's image model tuned for expressive, dramatic frames",{"pricing":395,"options":396},{"per_image":387,"per_extra_reference_image":-1},{"aspect_ratios":397,"max_images":136},[153,154,155,156,157],{"id":399,"type":143,"name":400,"description":401,"maker":225,"family":402,"own":17,"image":403},"nano-banana-2-1","Nano Banana 2.1","Google's fast multimodal image model","Nano Banana",{"pricing":404,"options":405},{"per_image":387,"per_extra_reference_image":-1},{"aspect_ratios":406,"max_images":136},[153,154,155,156,157],{"id":138,"type":143,"name":408,"description":409,"maker":207,"family":410,"own":17,"image":411},"Seedream 5.0 Pro","ByteDance's flagship — rich detail and texture","Seedream",{"pricing":412,"options":414},{"per_image":413,"per_extra_reference_image":-1},0.099,{"aspect_ratios":415,"max_images":136},[153,154,155,156,157],{"id":14,"type":143,"name":417,"description":418,"maker":225,"family":402,"own":17,"image":419},"Nano Banana Pro","Google's highest-fidelity image model",{"pricing":420,"options":422},{"per_image":421,"per_extra_reference_image":-1},0.16,{"aspect_ratios":423,"max_images":136},[153,154,155,156,157],{"id":425,"type":143,"name":426,"description":427,"maker":428,"family":429,"own":17,"image":430},"flux-3-image","Flux 3 Image","Black Forest Labs' FLUX.3 — photoreal and typography","Black Forest Labs","Flux",{"pricing":431,"options":432},{"per_image":348,"per_extra_reference_image":-1},{"aspect_ratios":433,"max_images":136},[153,154,155,156,157],{"id":435,"type":143,"name":436,"description":437,"maker":331,"family":329,"own":17,"image":438},"grok-imagine-2-0","Grok Imagine 2.0","xAI's fast, characterful image model",{"pricing":439,"options":440},{"per_image":348,"per_extra_reference_image":-1},{"aspect_ratios":441,"max_images":136},[153,154,155,156,157],{"id":443,"type":179,"name":444,"description":445,"maker":146,"family":446,"own":147,"edit":447,"video":455},"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":448,"formats":449,"min_seconds":32,"max_seconds":284,"min_billed_seconds":32,"max_bytes":452,"max_frames":453,"fps":454,"max_faces":136},"replace",[450,451],"mp4","mov",64000000,600,24,{"pricing":456,"options":459},{"default_resolution":185,"per_second":457,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"768p":213,"1080p":458},0.25,{"resolutions":460,"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},[185,194],{"id":462,"type":179,"name":463,"description":464,"maker":146,"family":465,"own":147,"edit":466,"video":471},"fp-upscale-1","Frameport Upscale 1","Your clip at 1080p or 2K: the same motion, frame rate and sound, sharper detail.","Frameport Upscale",{"tool":467,"formats":468,"min_seconds":198,"max_seconds":218,"min_billed_seconds":12,"max_bytes":469,"max_frames":470,"fps":-1,"max_faces":-1},"upscale",[450,451],100000000,900,{"pricing":472,"options":476},{"default_resolution":194,"per_second":473,"per_second_with_audio":-1,"aspect_ratio_multiplier":-1,"per_reference_image":-1,"per_frame_image":-1},{"1080p":474,"2K":475},0.03,0.05,{"resolutions":477,"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},[194,195],1795901825726,"b270fb84-a112-44f2-9801-f99d6c2e889e"]