1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8945:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/features/image-generation",function(){return t(7579)}])},7579:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return I}});var n=t(5893),o=t(1107),i=t(2914),a=t(8284),s=t(4052),l=t(7294),c=t(1664),d=t.n(c);let p={image:{icon:s.LFN,label:"Nano Banana",color:"#ffcc00",placeholder:"A mystical forest with glowing mushrooms and fairy lights..."},video:{icon:s.Wqx,label:"Sora 2",color:"#393485",placeholder:"A cinematic shot of a sunset over mountains..."},music:{icon:s.Wqx,label:"Suno 5",color:"#8b5cf6",placeholder:"An upbeat pop song about summer adventures..."}};function x(e){let{mode:r="image",placeholder:t}=e,[i,a]=(0,l.useState)(""),c=p[r];return(0,n.jsxs)(o.fG,{as:"article",display:"block",w:"100%",maxW:"600px",mx:"auto",cursor:"pointer",transition:"all 0.3s ease",_hover:{transform:"scale(1.02)"},children:[(0,n.jsxs)(o.gC,{spacing:0,w:"100%",children:[(0,n.jsx)(o.xu,{bg:"dark.200",borderRadius:"16px 16px 0 0",p:4,w:"100%",borderWidth:1,borderColor:"dark.400",borderBottom:"none",children:(0,n.jsx)(o.II,{placeholder:t||c.placeholder,bg:"transparent",border:"none",color:"white",fontSize:16,_placeholder:{color:"gray.500"},_focus:{boxShadow:"none"},pointerEvents:"none",value:i,readOnly:!0})}),(0,n.jsxs)(o.Ug,{bg:"dark.300",borderRadius:"0 0 16px 16px",p:3,w:"100%",justify:"space-between",borderWidth:1,borderColor:"dark.400",borderTop:"none",children:[(0,n.jsxs)(o.Ug,{spacing:3,children:[(0,n.jsxs)(o.Ug,{bg:"dark.400",px:3,py:1.5,borderRadius:8,spacing:2,children:[(0,n.jsx)(o.xu,{as:"span",color:c.color,fontSize:14,children:c.icon&&(0,n.jsx)(c.icon,{})}),(0,n.jsx)(o.xv,{color:"white",fontSize:12,fontWeight:600,children:c.label})]}),(0,n.jsxs)(o.Ug,{bg:"dark.400",px:3,py:1.5,borderRadius:8,spacing:2,children:[(0,n.jsx)(o.xu,{as:"span",color:"gray.400",fontSize:14,children:(0,n.jsx)(s.LFN,{})}),(0,n.jsx)(o.xv,{color:"gray.400",fontSize:12,children:"Reference"})]})]}),(0,n.jsx)(o.hU,{"aria-label":"Generate",icon:(0,n.jsx)(s.LbG,{}),bg:c.color,color:"image"===r?"black":"white",size:"sm",borderRadius:8,_hover:{bg:c.color,opacity:.9}})]})]}),(0,n.jsx)(o.xv,{color:"gray.500",fontSize:12,textAlign:"center",mt:3,children:(0,n.jsx)(o.AB,{as:d(),href:"/app",children:"Click to try it in the app"})})]})}var u=t(9148),g=t(3679),m=t(9140),h=t(4092),f=t(245),b=t(3520);function j(e){let{url:r,prompt:t,onClick:i}=e;return(0,n.jsx)(o.xu,{position:"relative",borderRadius:12,overflow:"hidden",cursor:"pointer",transition:"all 0.3s ease",_hover:{transform:"scale(1.03)"},onClick:i,bg:"dark.300",children:(0,n.jsx)(o.xu,{as:"img",src:r,alt:t||"AI generated image",w:"100%",h:"100%",objectFit:"cover",aspectRatio:1})})}function w(e){let{isOpen:r,onClose:t,image:i}=e;return((0,l.useEffect)(()=>(r?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[r]),(0,l.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t]),r&&i)?(0,n.jsxs)(o.xu,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",children:[(0,n.jsx)(o.xu,{position:"absolute",top:0,left:0,right:0,bottom:0,bg:"blackAlpha.800",onClick:t}),(0,n.jsxs)(o.xu,{position:"relative",bg:"dark.200",borderRadius:12,overflow:"hidden",maxW:{base:"95vw",md:"500px"},w:"100%",mx:4,zIndex:1,children:[(0,n.jsx)(o.xu,{as:"button",position:"absolute",top:3,right:3,zIndex:10,bg:"blackAlpha.600",borderRadius:"full",w:8,h:8,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",onClick:t,_hover:{bg:"blackAlpha.700"},border:"none",children:(0,n.jsx)(o.xu,{as:s.q5L,color:"white",size:18})}),(0,n.jsx)(o.xu,{as:"img",src:i.url.replace("width=400","width=800"),alt:i.prompt||"AI generated image",w:"100%",h:"auto"}),i.prompt&&(0,n.jsxs)(o.xu,{p:4,bg:"dark.300",children:[(0,n.jsx)(o.xv,{color:"gray.400",fontSize:12,fontWeight:600,mb:1,children:"PROMPT"}),(0,n.jsx)(o.xv,{color:"white",fontSize:14,children:i.prompt})]})]})]}):null}function y(){var e;let{data:r}=(0,b.yXv)(),[t,i]=(0,l.useState)(null),[a,c]=(0,l.useState)(!1),d=(null!==(e=null==r?void 0:r.items)&&void 0!==e?e:[]).filter(e=>e.url).slice(0,9);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.g,{title:"Generate Stunning **AI Images**",accentColor:"#ff507f",description:"Create beautiful images from text prompts with Nano Banana. Use reference images to maintain character consistency across generations.",customFeaturesContent:(0,n.jsxs)(o.xu,{display:"flex",flexWrap:"wrap",gap:2,w:"100%",children:[(0,n.jsx)(f.r,{icon:s.Nte,text:"Text-to-image generation",iconColor:"#ff507f"}),(0,n.jsx)(f.r,{icon:s.WY8,text:"Character consistency",iconColor:"#ff507f"}),(0,n.jsx)(f.r,{icon:s.aCJ,text:"Multiple aspect ratios",iconColor:"#ff507f"}),(0,n.jsx)(f.r,{icon:s.Wqx,text:"Fast generation",iconColor:"#ff507f"})]}),linkText:"Explore image generation",linkHref:"/features/image-generation",reverse:!0,children:(0,n.jsx)(o.MI,{columns:3,gap:3,children:d.map(e=>(0,n.jsx)(j,{url:e.url,prompt:e.prompt,onClick:()=>{i({url:e.url,prompt:e.prompt}),c(!0)}},e._id))})}),(0,n.jsx)(w,{isOpen:a,onClose:()=>{c(!1),i(null)},image:t})]})}var v=t(742);let k=["Lightning-fast generation in seconds","Multiple aspect ratios (portrait, landscape, square)","Reference image support for style matching","High-resolution output up to 1024px","Batch generation for multiple variations","Token-based pricing - pay only for what you use"],C=[{prompt:"A mystical forest with bioluminescent mushrooms and fairy lights",image:"/img/examples/forest.jpg"},{prompt:"Cyberpunk cityscape at sunset with neon lights",image:"/img/examples/cyberpunk.jpg"},{prompt:"Cute anime character in a cozy cafe",image:"/img/examples/anime.jpg"},{prompt:"Surreal dreamscape with floating islands",image:"/img/examples/dreamscape.jpg"}];function I(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.R,{title:"AI Image Generator - Nano Banana",description:"Create stunning AI-generated images with Nano Banana. Fast, high-quality image generation from text prompts with reference image support.",keywords:["AI image generator","text to image AI","Nano Banana","AI art generator","AI image creation","generate images with AI","AI artwork","image generation app"],canonical:"https://dreamstolife.app/features/image-generation"}),(0,n.jsxs)(g.h,{tag:(0,n.jsx)(m.X,{icon:s.LFN,text:"Nano Banana",color:"#ffcc00"}),title:"AI **Image** Generation",subtitle:"Transform your ideas into stunning visuals with our proprietary Nano Banana AI. Fast, affordable, and incredibly powerful.",footerTitle:"Start creating **amazing images** today",footerSubtitle:"Transform your ideas into stunning visuals with AI.",footerButtonText:"Create my first image",color:"#ffcc00",children:[(0,n.jsx)(y,{}),(0,n.jsxs)(o.W2,{maxW:"6xl",children:[(0,n.jsx)(o.xu,{mb:20,mt:20,children:(0,n.jsx)(x,{mode:"image"})}),(0,n.jsxs)(o.MI,{columns:{base:1,lg:2},gap:10,mb:20,children:[(0,n.jsxs)(o.gC,{align:"flex-start",spacing:6,children:[(0,n.jsx)(o.X6,{color:"white",fontSize:"2xl",fontWeight:600,children:"Why Nano Banana?"}),(0,n.jsx)(o.aV,{spacing:3,children:k.map(e=>(0,n.jsxs)(o.HC,{color:"gray.300",fontSize:16,display:"flex",alignItems:"center",children:[(0,n.jsx)(o.DE,{as:i.l_A,color:"accent.200"}),e]},e))})]}),(0,n.jsxs)(o.xu,{children:[(0,n.jsx)(o.X6,{color:"white",fontSize:"2xl",fontWeight:600,mb:6,children:"Available Models"}),(0,n.jsx)(o.gC,{spacing:4,children:v.Tz.map(e=>(0,n.jsx)(a.L,{model:e},e.id))})]})]}),(0,n.jsxs)(o.xu,{mb:20,children:[(0,n.jsx)(o.X6,{color:"white",fontSize:"2xl",fontWeight:600,mb:8,textAlign:"center",children:"What You Can Create"}),(0,n.jsx)(o.MI,{columns:{base:2,md:4},gap:4,children:C.map(e=>(0,n.jsxs)(o.xu,{bg:"dark.200",borderRadius:12,overflow:"hidden",transition:"all 0.3s ease",_hover:{transform:"scale(1.02)"},children:[(0,n.jsx)(o.xu,{w:"100%",pt:"100%",bg:"dark.300",position:"relative",children:(0,n.jsx)(o.xu,{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",p:4,children:(0,n.jsx)(o.xv,{color:"gray.500",fontSize:12,textAlign:"center",children:"Example Preview"})})}),(0,n.jsx)(o.xu,{p:3,children:(0,n.jsx)(o.xv,{color:"gray.400",fontSize:12,noOfLines:2,children:e.prompt})})]},e.prompt))})]})]})]})]})}}},function(e){e.O(0,[152,66,121,34,543,888,774,179],function(){return e(e.s=8945)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.