[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"cms-rendering-page:newportai.com:\u002Fmodels\u002Fnano-banana-2:en":3},{"modules":4,"page_title":-1,"page_content":-1,"page_style":-1,"root":332,"seo":501},[5],{"code":6,"component_id":-1,"dataSource":7,"component_source":-1,"component_version":322,"client_bundle_path":323,"server_bundle_path":324,"css_paths":325,"manifest_path":327,"global_name":328,"ssr_enabled":18,"build_hash":329,"integrity":-1,"module_sort":330,"module_enabled":331},"models-nano-banana-2",{"modelName":8,"hero":9,"sections":30,"plans":237,"pricing":261,"faq":288,"finalCta":314},"Nano Banana 2",{"eyebrow":10,"title":11,"highlight":12,"suffix":13,"description":13,"media":14,"primaryButton":19,"secondaryButton":25},"Fast ideas. Precise images.","Nano Banana","2","",{"type":15,"url":16,"poster":13,"alt":17,"muted":18},"image","https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fc2369092-d613-4571-8865-825d5638b615.png","Nano Banana 2 generated hero artwork",true,{"label":20,"url":21,"variant":24},"View API Docs",{"type":22,"value":23},"resource","https:\u002F\u002Fapi.newportai.com\u002Fapi-docs\u002Fnano-banana-2?referer=newportai","primary",{"label":26,"url":27,"variant":29},"Try in Playground",{"type":22,"value":28},"https:\u002F\u002Fapi.newportai.com\u002Fapi-docs\u002Fnano-banana-2?activeTab=playground&referer=newportai","ghost",[31,55,72,112,142,156,181,215],{"id":32,"type":33,"eyebrow":34,"title":35,"highlight":36,"description":13,"note":13,"media":37,"items":38,"rows":51,"codeTabs":52,"facts":53,"buttons":54},"capabilities","cards","Capabilities","Generate. Edit.","Restyle.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[39,42,45,48],{"label":13,"title":40,"description":13,"value":13,"href":13,"media":41},"Precise editing",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":43,"description":13,"value":13,"href":13,"media":44},"Reference style",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":46,"description":13,"value":13,"href":13,"media":47},"Multi-size output",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":49,"description":13,"value":13,"href":13,"media":50},"Text rendering",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[],[],[],{"id":56,"type":57,"eyebrow":58,"title":59,"highlight":60,"description":13,"note":13,"media":61,"items":67,"rows":68,"codeTabs":69,"facts":70,"buttons":71},"showcase","media","Showcase","Make the wild idea","feel finished.",{"type":62,"url":63,"poster":13,"alt":64,"muted":65},"video","https:\u002F\u002Fstatic3.newportai.com\u002Fmedia\u002F016e1264-85a6-4eac-8b89-edb429c40836.mp4","Nano Banana 2 image generation showcase",{"type":66,"value":18},"switch",[],[],[],[],[],{"id":73,"type":74,"eyebrow":40,"title":75,"highlight":76,"description":13,"note":13,"media":77,"items":78,"rows":108,"codeTabs":109,"facts":110,"buttons":111},"editing","gallery","Dial in","every detail.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[79,84,88,93,98,103],{"label":13,"title":80,"description":13,"value":13,"href":13,"media":81},"Edit example 1",{"type":15,"url":82,"poster":13,"alt":83,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F70157b1a-f2c4-4d8c-8ce1-d90b43ebd4cc.png","Nano Banana 2 editing example 1",{"label":13,"title":85,"description":13,"value":13,"href":13,"media":86},"Edit example 2",{"type":15,"url":16,"poster":13,"alt":87,"muted":18},"Nano Banana 2 editing example 2",{"label":13,"title":89,"description":13,"value":13,"href":13,"media":90},"Edit example 3",{"type":15,"url":91,"poster":13,"alt":92,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fcba9695d-e81a-4a40-b7d4-a05642be739d.png","Nano Banana 2 editing example 3",{"label":13,"title":94,"description":13,"value":13,"href":13,"media":95},"Edit example 4",{"type":15,"url":96,"poster":13,"alt":97,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fcb255633-69bc-4a84-80e7-4d1ebc895de0.png","Nano Banana 2 editing example 4",{"label":13,"title":99,"description":13,"value":13,"href":13,"media":100},"Edit example 5",{"type":15,"url":101,"poster":13,"alt":102,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F84332f6d-12e8-497d-963e-f1cca546d157.png","Nano Banana 2 editing example 5",{"label":13,"title":104,"description":13,"value":13,"href":13,"media":105},"Edit example 6",{"type":15,"url":106,"poster":13,"alt":107,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F228c29fa-bef5-4707-bf58-286946ba219b.png","Nano Banana 2 editing example 6",[],[],[],[],{"id":113,"type":74,"eyebrow":43,"title":114,"highlight":115,"description":13,"note":13,"media":116,"items":117,"rows":138,"codeTabs":139,"facts":140,"buttons":141},"style","Style applied","in seconds.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[118,123,128,133],{"label":13,"title":119,"description":13,"value":13,"href":13,"media":120},"Style example 1",{"type":15,"url":121,"poster":13,"alt":122,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002Fbc0d92cc-49f5-481b-a95b-32879993bf9c.png","Nano Banana 2 style example 1",{"label":13,"title":124,"description":13,"value":13,"href":13,"media":125},"Style example 2",{"type":15,"url":126,"poster":13,"alt":127,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F4faf95df-3424-406a-a1cf-09ec789254cf.png","Nano Banana 2 style example 2",{"label":13,"title":129,"description":13,"value":13,"href":13,"media":130},"Style example 3",{"type":15,"url":131,"poster":13,"alt":132,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F274a301b-e91b-47a2-8c81-a6cc65676bbd.png","Nano Banana 2 style example 3",{"label":13,"title":134,"description":13,"value":13,"href":13,"media":135},"Style example 4",{"type":15,"url":136,"poster":13,"alt":137,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F784ea51a-7c53-4468-8b47-272c04ec334d.png","Nano Banana 2 style example 4",[],[],[],[],{"id":143,"type":57,"eyebrow":144,"title":145,"highlight":146,"description":13,"note":13,"media":147,"items":151,"rows":152,"codeTabs":153,"facts":154,"buttons":155},"sizes","Output sizes","One visual.","Many sizes.",{"type":62,"url":148,"poster":13,"alt":149,"muted":150},"https:\u002F\u002Fstatic3.newportai.com\u002Fmedia\u002F0e4a956c-32a4-4e75-bfd8-e5402d5b1135.mp4","Nano Banana 2 multi-size output showcase",false,[],[],[],[],[],{"id":157,"type":74,"eyebrow":49,"title":158,"highlight":159,"description":13,"note":13,"media":160,"items":161,"rows":177,"codeTabs":178,"facts":179,"buttons":180},"text","Your words,","placed just right.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[162,167,172],{"label":13,"title":163,"description":13,"value":13,"href":13,"media":164},"Text example 1",{"type":15,"url":165,"poster":13,"alt":166,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F1546729a-c4ff-4aab-9dbb-d675ecdc311e.png","Nano Banana 2 text example 1",{"label":13,"title":168,"description":13,"value":13,"href":13,"media":169},"Text example 2",{"type":15,"url":170,"poster":13,"alt":171,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F6e2b5201-f1f9-43a1-87e4-5c895e6145d4.png","Nano Banana 2 text example 2",{"label":13,"title":173,"description":13,"value":13,"href":13,"media":174},"Text example 3",{"type":15,"url":175,"poster":13,"alt":176,"muted":18},"https:\u002F\u002Fstatic3.newportai.com\u002Fimg\u002F8dc580ca-cea8-4c10-8a8f-49de128cdbac.png","Nano Banana 2 text example 3",[],[],[],[],{"id":182,"type":182,"eyebrow":183,"title":184,"highlight":185,"description":13,"note":13,"media":186,"items":187,"rows":197,"codeTabs":198,"facts":207,"buttons":214},"api","Developer API","API now","available.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[188,191,194],{"label":13,"title":189,"description":13,"value":13,"href":13,"media":190},"Add prompt & image",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":192,"description":13,"value":13,"href":13,"media":193},"Submit the task",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":195,"description":13,"value":13,"href":13,"media":196},"Retrieve the result",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[199,203],{"name":200,"code":201},"JavaScript",{"type":157,"value":202},"const image = await dreamapi.images.generate({\n  model: \"gemini-3.1-flash-image\",\n  prompt: \"A finished visual\"\n})",{"name":204,"code":205},"cURL",{"type":157,"value":206},"curl https:\u002F\u002Fapi.newportai.com\u002Fv1\u002Fimages\u002Fgenerations \\\n  -H \"Authorization: Bearer $DREAMAPI_KEY\"",[208,211],{"label":209,"value":210},"Model ID","gemini-3.1-flash-image",{"label":212,"value":213},"Modes","Generate · Edit",[],{"id":216,"type":217,"eyebrow":218,"title":219,"highlight":220,"description":13,"note":13,"media":221,"items":222,"rows":223,"codeTabs":234,"facts":235,"buttons":236},"workflow","comparison","Workflows","One model.","Two workflows.",{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[224,229],{"label":225,"cells":226},"Text → Image",[227,228],"Start with words","Generate a new visual",{"label":230,"cells":231},"Image → Edit",[232,233],"Start with a reference","Refine the result",[],[],[],{"eyebrow":238,"title":239,"highlight":240,"description":13,"items":241,"note":13},"DreamAPI credits","Top up credits.","Pay as you generate.",[242,248,255],{"tier":243,"price":244,"credits":13,"billing":13,"featured":150,"features":245,"label":13,"url":13,"variant":24},"Starter","$60",[246,247],"8,000 credits","Flexible API access",{"tier":249,"price":250,"credits":13,"billing":13,"featured":251,"features":252,"label":13,"url":13,"variant":24},"Growth","$500",{"type":66,"value":18},[253,254],"83,000 credits","Priority workflow access",{"tier":256,"price":257,"credits":13,"billing":13,"featured":150,"features":258,"label":13,"url":13,"variant":24},"Scale","$1,000",[259,260],"222,000 credits","Production-ready usage",{"eyebrow":262,"title":8,"highlight":263,"description":13,"headers":264,"rows":268,"button":285,"note":13},"Pricing","pricing.",[265,266,267],"Model","Resolution","Credits",[269,273,277,281],{"label":210,"cells":270},[271,272],"512","15",{"label":210,"cells":274},[275,276],"1K","20",{"label":210,"cells":278},[279,280],"2K","30",{"label":210,"cells":282},[283,284],"4K","40",{"label":286,"url":287,"variant":24},"View Nano Banana 2 docs",{"type":22,"value":23},{"eyebrow":289,"title":290,"highlight":291,"items":292},"FAQ","Before your","first image.",[293,296,299,302,305,308,310,312],{"question":294,"answer":13,"open":295},"What is Nano Banana 2?",{"type":66,"value":18},{"question":297,"answer":13,"open":298},"Can Nano Banana 2 edit an existing image?",{"type":66,"value":150},{"question":300,"answer":13,"open":301},"Can it use a reference image for style?",{"type":66,"value":150},{"question":303,"answer":13,"open":304},"Can Nano Banana 2 create text inside images?",{"type":66,"value":150},{"question":306,"answer":13,"open":307},"How much does Nano Banana 2 cost on DreamAPI?",{"type":66,"value":150},{"question":309,"answer":13,"open":150},"Can I create different aspect ratios?",{"question":311,"answer":13,"open":150},"How do I use Nano Banana 2 through DreamAPI?",{"question":313,"answer":13,"open":150},"How does Google identify AI-generated images?",{"eyebrow":13,"title":315,"highlight":316,"suffix":13,"description":13,"buttons":317},"Bring the idea","into focus.",[318,320],{"label":20,"url":319,"variant":24},{"type":22,"value":23},{"label":26,"url":321,"variant":29},{"type":22,"value":28},"0.1.8","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F110\u002F0.1.8\u002Fclient.global.js","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F110\u002F0.1.8\u002Fserver.mjs",[326],"https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F110\u002F0.1.8\u002Fstyle_0.css","https:\u002F\u002Fstatic3.newportai.com\u002Fcomponents\u002F110\u002F0.1.8\u002Fmanifest.json","NbModelsNanoBanana2","3df136d4477efd15",0,1,{"id":333,"type":334,"direction":335,"span":336,"children":337},"nano-banana-2-root","container","column",10,[338],{"id":339,"type":340,"span":336,"module":341},"nano-banana-2-component","component",{"code":6,"component_id":-1,"dataSource":342,"component_source":-1,"component_version":322,"client_bundle_path":323,"server_bundle_path":324,"css_paths":500,"manifest_path":327,"global_name":328,"ssr_enabled":18,"build_hash":329,"integrity":-1,"module_sort":-1,"module_enabled":331},{"modelName":8,"hero":343,"sections":349,"plans":457,"pricing":466,"faq":479,"finalCta":494},{"eyebrow":10,"title":11,"highlight":12,"suffix":13,"description":13,"media":344,"primaryButton":345,"secondaryButton":347},{"type":15,"url":16,"poster":13,"alt":17,"muted":18},{"label":20,"url":346,"variant":24},{"type":22,"value":23},{"label":26,"url":348,"variant":29},{"type":22,"value":28},[350,365,373,392,407,414,427,446],{"id":32,"type":33,"eyebrow":34,"title":35,"highlight":36,"description":13,"note":13,"media":351,"items":352,"rows":361,"codeTabs":362,"facts":363,"buttons":364},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[353,355,357,359],{"label":13,"title":40,"description":13,"value":13,"href":13,"media":354},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":43,"description":13,"value":13,"href":13,"media":356},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":46,"description":13,"value":13,"href":13,"media":358},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":49,"description":13,"value":13,"href":13,"media":360},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[],[],[],{"id":56,"type":57,"eyebrow":58,"title":59,"highlight":60,"description":13,"note":13,"media":366,"items":368,"rows":369,"codeTabs":370,"facts":371,"buttons":372},{"type":62,"url":63,"poster":13,"alt":64,"muted":367},{"type":66,"value":18},[],[],[],[],[],{"id":73,"type":74,"eyebrow":40,"title":75,"highlight":76,"description":13,"note":13,"media":374,"items":375,"rows":388,"codeTabs":389,"facts":390,"buttons":391},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[376,378,380,382,384,386],{"label":13,"title":80,"description":13,"value":13,"href":13,"media":377},{"type":15,"url":82,"poster":13,"alt":83,"muted":18},{"label":13,"title":85,"description":13,"value":13,"href":13,"media":379},{"type":15,"url":16,"poster":13,"alt":87,"muted":18},{"label":13,"title":89,"description":13,"value":13,"href":13,"media":381},{"type":15,"url":91,"poster":13,"alt":92,"muted":18},{"label":13,"title":94,"description":13,"value":13,"href":13,"media":383},{"type":15,"url":96,"poster":13,"alt":97,"muted":18},{"label":13,"title":99,"description":13,"value":13,"href":13,"media":385},{"type":15,"url":101,"poster":13,"alt":102,"muted":18},{"label":13,"title":104,"description":13,"value":13,"href":13,"media":387},{"type":15,"url":106,"poster":13,"alt":107,"muted":18},[],[],[],[],{"id":113,"type":74,"eyebrow":43,"title":114,"highlight":115,"description":13,"note":13,"media":393,"items":394,"rows":403,"codeTabs":404,"facts":405,"buttons":406},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[395,397,399,401],{"label":13,"title":119,"description":13,"value":13,"href":13,"media":396},{"type":15,"url":121,"poster":13,"alt":122,"muted":18},{"label":13,"title":124,"description":13,"value":13,"href":13,"media":398},{"type":15,"url":126,"poster":13,"alt":127,"muted":18},{"label":13,"title":129,"description":13,"value":13,"href":13,"media":400},{"type":15,"url":131,"poster":13,"alt":132,"muted":18},{"label":13,"title":134,"description":13,"value":13,"href":13,"media":402},{"type":15,"url":136,"poster":13,"alt":137,"muted":18},[],[],[],[],{"id":143,"type":57,"eyebrow":144,"title":145,"highlight":146,"description":13,"note":13,"media":408,"items":409,"rows":410,"codeTabs":411,"facts":412,"buttons":413},{"type":62,"url":148,"poster":13,"alt":149,"muted":150},[],[],[],[],[],{"id":157,"type":74,"eyebrow":49,"title":158,"highlight":159,"description":13,"note":13,"media":415,"items":416,"rows":423,"codeTabs":424,"facts":425,"buttons":426},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[417,419,421],{"label":13,"title":163,"description":13,"value":13,"href":13,"media":418},{"type":15,"url":165,"poster":13,"alt":166,"muted":18},{"label":13,"title":168,"description":13,"value":13,"href":13,"media":420},{"type":15,"url":170,"poster":13,"alt":171,"muted":18},{"label":13,"title":173,"description":13,"value":13,"href":13,"media":422},{"type":15,"url":175,"poster":13,"alt":176,"muted":18},[],[],[],[],{"id":182,"type":182,"eyebrow":183,"title":184,"highlight":185,"description":13,"note":13,"media":428,"items":429,"rows":436,"codeTabs":437,"facts":442,"buttons":445},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[430,432,434],{"label":13,"title":189,"description":13,"value":13,"href":13,"media":431},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":192,"description":13,"value":13,"href":13,"media":433},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},{"label":13,"title":195,"description":13,"value":13,"href":13,"media":435},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[438,440],{"name":200,"code":439},{"type":157,"value":202},{"name":204,"code":441},{"type":157,"value":206},[443,444],{"label":209,"value":210},{"label":212,"value":213},[],{"id":216,"type":217,"eyebrow":218,"title":219,"highlight":220,"description":13,"note":13,"media":447,"items":448,"rows":449,"codeTabs":454,"facts":455,"buttons":456},{"type":15,"url":13,"poster":13,"alt":13,"muted":18},[],[450,452],{"label":225,"cells":451},[227,228],{"label":230,"cells":453},[232,233],[],[],[],{"eyebrow":238,"title":239,"highlight":240,"description":13,"items":458,"note":13},[459,461,464],{"tier":243,"price":244,"credits":13,"billing":13,"featured":150,"features":460,"label":13,"url":13,"variant":24},[246,247],{"tier":249,"price":250,"credits":13,"billing":13,"featured":462,"features":463,"label":13,"url":13,"variant":24},{"type":66,"value":18},[253,254],{"tier":256,"price":257,"credits":13,"billing":13,"featured":150,"features":465,"label":13,"url":13,"variant":24},[259,260],{"eyebrow":262,"title":8,"highlight":263,"description":13,"headers":467,"rows":468,"button":477,"note":13},[265,266,267],[469,471,473,475],{"label":210,"cells":470},[271,272],{"label":210,"cells":472},[275,276],{"label":210,"cells":474},[279,280],{"label":210,"cells":476},[283,284],{"label":286,"url":478,"variant":24},{"type":22,"value":23},{"eyebrow":289,"title":290,"highlight":291,"items":480},[481,483,485,487,489,491,492,493],{"question":294,"answer":13,"open":482},{"type":66,"value":18},{"question":297,"answer":13,"open":484},{"type":66,"value":150},{"question":300,"answer":13,"open":486},{"type":66,"value":150},{"question":303,"answer":13,"open":488},{"type":66,"value":150},{"question":306,"answer":13,"open":490},{"type":66,"value":150},{"question":309,"answer":13,"open":150},{"question":311,"answer":13,"open":150},{"question":313,"answer":13,"open":150},{"eyebrow":13,"title":315,"highlight":316,"suffix":13,"description":13,"buttons":495},[496,498],{"label":20,"url":497,"variant":24},{"type":22,"value":23},{"label":26,"url":499,"variant":29},{"type":22,"value":28},[326],{"title":502,"description":503,"keywords":8,"canonical":504},"Nano Banana 2 API — AI Image Generation & Editing | NewportAI","Generate, edit and restyle images with Nano Banana 2 on DreamAPI. Explore pricing, fast creation, precise edits, multilingual text and flexible formats.","https:\u002F\u002Fnewportai.com\u002Fmodels\u002Fnano-banana-2"]