PageSourceSearch

https://app.aieasypic.com/_next/static/chunks/pages/text-to-image-f131eaf881f511d1.js

js aieasypic.com collected 2026-10-04 13:25:00 UTC 34,303 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8621],{11767:(e,t,i)=>{"use strict";i.r(t),i.d(t,{ADVANCED_TEXT_TO_IMAGE_PAGE_COUNT:()=>eh,__N_SSP:()=>em,default:()=>ef});var a=i(6029),r=i(26758),n=i(63887),s=i(50433),o=i(87462),l=i(80014),c=i(51638),d=i(74536),u=i(69943),p=i(13692),m=i(13445),h=i(37948),g=i(34029),f=i(94338),y=i(66659),v=i(99690),x=i(13347),b=i(82562),w=i(50016),j=i(95468),k=i(84335),$=i(53551),M=i(56266),_=i(34417),S=i(1751),C=i(58943),D=i(74176),P=i(37514),I=i(47581),T=i.n(I),A=i(22348),O=i.n(A),E=i(55729);let H=E.memo(e=>{let{createdAt:t,index:i}=e,[r,n]=(0,E.useState)("0"),s=(0,E.useRef)(null);return(0,E.useEffect)(()=>{if(!t)return;let e=T()(t).add(i,"second"),a=()=>{let t=T()().diff(e,"ms")/1e3;n(null==t?void 0:t.toFixed(1))};return a(),s.current=setInterval(a,100),()=>{s.current&&clearInterval(s.current)}},[t,i]),(0,a.jsxs)(h.E,{ta:"center",children:[r,"s"]})}),z=E.memo(e=>{let{job:t,index:i}=e,[r,n]=(0,E.useState)(!1),{mutate:s}=(0,S.bzb)(),{refetch:o,data:l}=(0,_.P)(),[c,d]=(0,E.useState)(0);return((0,E.useEffect)(()=>{if(!(null==t?void 0:t.created_at))return;let e=T()(t.created_at).add(i,"second"),a=()=>{d(T()().diff(e,"second"))};a();let r=setInterval(a,1e3);return()=>clearInterval(r)},[null==t?void 0:t.created_at,i]),!(null==l?void 0:l.plan)||l.plan.name===C.NJ.free&&c<=40||l.plan.name!==C.NJ.free&&c<=5)?null:(0,a.jsxs)(k.$.Group,{children:[(0,a.jsx)(k.$,{color:"red",onClick:()=>{r?s({id:t.id},{onError:e=>{(0,P.A)(e)},onSettled(){o()}}):n(!0)},fullWidth:!0,children:r?"Confirm":"Cancel"}),r&&(0,a.jsx)(k.$,{color:"blue",onClick:()=>n(!1),fullWidth:!0,children:"Back"})]})}),N=E.memo(e=>{let{job:t,index:i}=e,r=(0,E.useMemo)(()=>D.g[O()(0,(null===D.g||void 0===D.g?void 0:D.g.length)-1)],[]);return(0,a.jsxs)(n.f,{span:30,xs:30,sm:30,md:30,lg:20,xl:12,children:[(0,a.jsx)(l.g,{ratio:1,mx:"auto",maw:"100%",children:(0,a.jsx)(s.a,{sx:{position:"absolute",left:"50%",top:"50%",backgroundColor:"white",borderRadius:"10px"},children:(0,a.jsxs)(m.B,{children:[(0,a.jsx)($.o,{children:(0,a.jsx)(M.a,{})}),(0,a.jsx)(H,{createdAt:t.created_at,index:i}),(0,a.jsx)(h.E,{ta:"center",size:"sm",children:r})]})})}),(0,a.jsx)(z,{job:t,index:i})]},t.id)});var L=i(80340),W=i(35690),Y=i(82108),U=i(81278),F=i(78653);let q=E.memo(()=>(0,a.jsx)(n.f,{span:60,children:(0,a.jsxs)(s.a,{children:[(0,a.jsx)(o.h,{order:2,align:"center",my:20,children:"Your Generated Images Will Appear Here"}),(0,a.jsx)(s.a,{my:30,sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:(0,a.jsx)(o.h,{order:4,children:'No images yet. Click "Generate" to start Creating!'})})]})})),G=E.memo(e=>{var t;let{loadingInferences:i}=e;return(0,a.jsx)(a.Fragment,{children:null==(t=i.results)?void 0:t.map(e=>Array.from({length:(null==e?void 0:e.batch_size)||0}).map((t,i)=>(0,a.jsx)(N,{job:e,index:i},"".concat(e.id,"-").concat(i))))})}),J=E.memo(e=>{let{images:t,setMaximizedImage:i,isPublic:r}=e;return(0,a.jsx)(a.Fragment,{children:t.map(e=>(0,a.jsx)(n.f,{span:30,xs:30,sm:30,md:30,lg:20,xl:12,children:(0,a.jsx)(j.A,{image:e,setMaximizedImage:r?()=>{}:i,showLikeButton:!r,features:r?[]:["improve_section","basic_actions"],isPublic:r,showCreateVideo:!0})},e.id))})}),B=E.memo(()=>(0,a.jsx)(n.f,{span:12,children:(0,a.jsx)(l.g,{ratio:1,mx:"auto",maw:"100%",children:(0,a.jsx)(c.p,{visible:!0,opacity:.5})})})),V=E.memo(e=>{let{styleKey:t,preset:i,selected:r,compact:o}=e,l=i[0];return(0,a.jsx)(d.Z,{shadow:"xs",padding:"xs",radius:"md",my:1,w:"100%",h:"100%",sx:e=>({backgroundColor:r?e.colors.blue[9]:void 0,color:"white",background:r?void 0:"linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,1.2)), url(".concat(l.image,")"),backgroundSize:"cover",backgroundPosition:"center"}),children:(0,a.jsxs)(u.x,{gutter:10,align:"start",children:[!o&&(0,a.jsx)(n.f,{span:4,children:(0,a.jsx)(p._,{src:(0,Y.lv)({url:"https://cdnr2.aieasypic.com".concat(i[0].image),width:200,quality:60,imaginaryHost:"imaginary.aieasypic.com",type:"webp"}),alt:t,width:r?40:50,height:r?40:50})}),(0,a.jsx)(n.f,{span:8,children:(0,a.jsxs)(m.B,{spacing:3,children:[r&&(0,a.jsx)(h.E,{size:"sm",weight:700,children:"Swap Style"}),(0,a.jsx)(h.E,{size:o?"lg":"md",weight:500,children:t.charAt(0).toUpperCase()+t.slice(1)})]})}),r&&(0,a.jsx)(s.a,{sx:{position:"absolute",right:5,top:5},children:(0,a.jsx)(w.s7Q,{})})]})})}),R=E.memo(e=>{let{styleKey:t,setStyleKey:i}=e,[r,n]=(0,b.j)(!1),s=W.tH[t];return(0,a.jsxs)(g.W,{...n,width:"target",shadow:"lg",withinPortal:!0,children:[(0,a.jsx)(g.W.Target,{children:(0,a.jsx)(f.N,{w:"100%",maw:250,children:(0,a.jsx)(V,{styleKey:t,preset:s,selected:!0})})}),(0,a.jsx)(g.W.Dropdown,{sx:e=>({backgroundColor:e.colors.blue[3]}),children:(0,a.jsx)(y.F,{h:340,offsetScrollbars:!0,children:Object.entries(W.tH).map(e=>{let[t,r]=e;return(0,a.jsx)(g.W.Item,{p:2,m:0,onClick:()=>i(t),children:(0,a.jsx)(V,{styleKey:t,preset:r})},t)})})})]})}),Z=e=>{var t;let{prediction_images:i,isLoading:n,loadingInferences:s,setMaximizedImage:l,isPublic:c}=e,[d,p]=(0,E.useState)("generations"),g=(0,L.Pj)(e=>e.isGenerating),f=(0,F.parseCookies)(),y=null==f?void 0:f.accessToken,{data:b}=(0,_.P)(),w=(0,U.useRouter)().query.style,[j,k]=(0,E.useState)(()=>w||"photo"),$=(0,E.useMemo)(()=>(null===W.tH||void 0===W.tH?void 0:W.tH[j])||(null===W.tH||void 0===W.tH?void 0:W.tH.photo),[j]),M=(0,E.useMemo)(()=>(0,r.$Z)({modelName:"dev",seed:101}),[]),S=(0,E.useMemo)(()=>
1{if("explore"!==d)return[];let e=null==$?void 0:$.map(e=>e.prompt).sort(()=>Math.random()>.5?1:-1),t=null==$?void 0:$.map(e=>e.prompt).sort(()=>Math.random()>.5?1:-1),i=[];for(let a of[...e,...t])i.push({...M,parameters:{...M.parameters,prompt:"high quality image of ".concat(a),width:768,height:768}});for(let e of t){var a;i.push({...M,parameters:{...M.parameters,prompt:"high quality image of ".concat(e),width:768,height:768,seed:(null==M||null==(a=M.parameters)?void 0:a.seed)+1}})}return i},[M,$,d]),{completedJobs:C,fetchingJobs:D}=(0,r.J6)({inferenceJobs:S||[]}),P=(0,E.useMemo)(()=>Object.values(C).filter(e=>{var t;return null==(t=e.prediction_images)?void 0:t.length}).flatMap(e=>{var t;return null==(t=e.prediction_images)?void 0:t.map(t=>{var i,a;return{...t,prompt:(null==(i=e.parameters)?void 0:i.prompt)||"",negative_prompt:(null==(a=e.parameters)?void 0:a.negative_prompt)||""}})}).filter(Boolean),[C,$]);(0,E.useEffect)(()=>{g&&p("generations")},[g]),(0,E.useEffect)(()=>{(w||!y)&&p("explore")},[w,b,y]);let I=(0,E.useMemo)(()=>!n&&!(null==i?void 0:i.length)&&"generations"===d&&!s,[n,null==i?void 0:i.length,d,s]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.Y,{position:"center",spacing:"md",mb:5,children:(0,a.jsx)(x.I,{value:d,onChange:p,size:"lg",data:[{label:"My Generations",value:"generations"},{label:"Explore Images",value:"explore"}]})}),"explore"===d&&(0,a.jsxs)(v.Y,{position:"apart",my:20,grow:!0,children:[(0,a.jsx)(v.Y,{position:"left",children:(0,a.jsxs)(m.B,{spacing:3,sx:e=>({[e.fn.smallerThan("md")]:{display:"none"}}),children:[(0,a.jsx)(o.h,{order:2,children:"Explore Images"}),(0,a.jsx)(h.E,{children:'Start by selecting a style. Then, copy it by clicking the image and pressing the "Generate" button.'})]})}),(0,a.jsx)(v.Y,{position:"right",w:"100%",children:(0,a.jsx)(R,{styleKey:j,setStyleKey:k})})]}),(0,a.jsxs)(u.x,{px:10,mx:0,columns:60,children:[n&&(0,a.jsx)(B,{}),(null==s?void 0:s.results)&&(null==s||null==(t=s.results)?void 0:t.length)>0&&(0,a.jsx)(G,{loadingInferences:s}),I&&(0,a.jsx)(q,{}),"generations"===d&&(null==i?void 0:i.length)>0&&(0,a.jsx)(J,{images:i,setMaximizedImage:l,isPublic:c}),"explore"===d&&(0,a.jsxs)(a.Fragment,{children:[0===Object.keys(C).length&&(0,a.jsx)(B,{}),(0,a.jsx)(J,{images:P,setMaximizedImage:l,isPublic:!0})]})]})]})};var K=i(61946),X=i(9004),Q=i(7006),ee=i(12660),et=i(75318),ei=i(6058),ea=i(74422),er=i(18142),en=i(20358),es=i(37650),eo=i(27835),el=i(92907),ec=i(78138),ed=i(93258),eu=i(71024);let ep=i.n(eu)()(()=>Promise.all([i.e(182),i.e(7703),i.e(3690),i.e(3297),i.e(3462),i.e(7077),i.e(6625),i.e(8945),i.e(3222)]).then(i.bind(i,73222)),{loadableGenerated:{webpack:()=>[73222]},ssr:!1});var em=!0;let eh=40;function eg(){var e,t,i;let{data:r}=(0,_.P)(),n=(0,K.xd)(),o=(0,ea.U)("(min-width: 768px)"),[l,c]=(0,E.useState)(1),[d,u]=(0,E.useState)(null),[p,m]=(0,E.useState)(!1),[g,f]=(0,er.M)(eh,500);(0,U.useRouter)();let y=(0,L.Pj)(e=>e.isGenerating),b=(0,L.Pj)(e=>e.setIsGenerating),[w,j]=(0,E.useState)(!0),[k,M]=(0,E.useState)(""),{data:D}=(0,S.seH)({status:C.iU.R,only_owned:w,mins_created:10,ordering:"-end_time"},{query:{enabled:y,refetchInterval:e=>{if(y)if((null==e?void 0:e.count)!==0)return 1e3;else return 5e3;return 1e5}}}),P=(0,en.Z)(null==D||null==(e=D.results)?void 0:e.length),I=(0,en.Z)(null==D?void 0:D.results),T=(0,ed.jE)(),[A,O]=(0,E.useState)(),{data:H,isLoading:z,refetch:N}=(0,S.U4J)({page:l,has_images:!0,itemsPerPage:Number(g)||eh,only_owned:w,user_type:(null==r?void 0:r.is_staff)?k:void 0,generation_type:null!=A?A:void 0},{query:{refetchInterval:3e4}});(0,E.useEffect)(()=>{var e,t,i;if((null==D||null==(e=D.results)?void 0:e.length)===0&&b(!1),P!==(null==D||null==(t=D.results)?void 0:t.length)&&(null==I?void 0:I.length)!==(null==D||null==(i=D.results)?void 0:i.length)){let e=null==I?void 0:I.filter(e=>{var t;return!(null==D||null==(t=D.results)?void 0:t.map(e=>e.id).includes(e.id))});(null==e?void 0:e.length)&&e.forEach(async e=>{await (0,S._On)(e.id).then(t=>{let i=(0,S.WYY)({page:l,has_images:!0,itemsPerPage:Number(g)||eh,only_owned:w,user_type:(null==r?void 0:r.is_staff)?k:void 0,generation_type:null!=A?A:void 0});T.setQueryData(i,i=>{let a=[t,...((null==i?void 0:i.results)||[]).filter(t=>t.id!==e.id)];return{...i,results:a}})})})}},[D]);let W=(0,E.useMemo)(()=>{var e,t,i;return null!=(i=null==H||null==(t=H.results)||null==(e=t.map(e=>{var t;return null==e||null==(t=e.prediction_images)?void 0:t.map(t=>({...t,prompt:(null==e?void 0:e.prompt)||"",negative_prompt:(null==e?void 0:e.negative_prompt)||""}))}))?void 0:e.flat())?i:[]},[null==H?void 0:H.results]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eo.A,{url:"".concat(el._g.frontendUrl).concat(ec.J.aieasypic.textToImage),title:"Text to Image - ".concat(el._g.fullSiteName),description:"Generate images from text using AI. Upload your own images and generate images from text using AI. You can also generate images from text using AI from our pre-trained models."}),(0,a.jsxs)(s.a,{pt:5,children:[(0,a.jsx)(es.A,{maximizedImage:d,prediction_images:W,setMaximizedImage:u}),(0,a.jsx)(s.a,{children:(0,a.jsx)(X.z,{smallerThan:"sm",styles:{display:"flex",flexDirection:"column"},children:(0,a.jsxs)(s.a,{sx:{display:"grid",gridTemplateColumns:"385px 1fr",gridGap:n.spacing.xl,margin:"0 auto"},children:[(0,a.jsx)(s.a,{sx:e=>({[e.fn.largerThan("md")]:{position:"sticky",top:"90px",height:"calc(100vh - 90px)"}}),children:(0,a.jsx)(ep,{defaultModelId:272378})}),(0,a.jsxs)(s.a,{children:[(0,a.jsxs)(v.Y,{position:"right",my:5,mx:20,children:[(null==r?void 0:r.is_staff)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Q.d,{checked:w,onChange:()=>j(!w),label:"Only Owned"}),(0,a.jsx)(ee.l6,{my:10,data:[{label:"All",value:""},{label:"Text To Image",value:C.Wo.TTI},{label:"Upscale image",value:C.Wo.UI},{label:"Upscale Tile",value:C.Wo.UIT}],value:A,onChange:e=>{O(e)}}),(0,a.jsx)(x.I,{my:10,data:[{label:"All",value:""},{label:"Paid",value:null==(t=Object.values(C.Kr))?void 0:t.join(",")},...null==(i=Object.values(C.Kr))?void 0:i.map(e=>({label:(null==e?void 0:e.toUpperCase())||"ALL",value:e}))],value:k,onChange:e=>{M(e)}})]}),(null==r?void 0:r.is_staff)&&(0,a.jsxs)(v.Y,{position:"right",spacing:2,children:[(0,a.jsx)(h.E,{size:"xs",weight:500,color:"dimmed",w:"35%",children:"Images per page"}),(0,a.jsx)(et.Q,{max:100,min:1,w:50,size:"sm",hideControls:!0,defaultValue:g,onChange:e=>f(Number(e))})]})]}),(0,a.jsx)(Z,{isLoading:z,loadingInferences:D,prediction_images:W,setMaximizedImage:u}),((null==H?void 0:H.count)||0)>g&&(0,a.jsx)($.o,{pt:10,children:(0,a.jsx)(ei.d,{size:"xl",onChange:e=>{c(e),o&&window.scrollTo(0,0)},total:Math.floor(((null==H?void 0:H.count)||0)/g)+1,value:l})})]})]})})})]})]})}let ef=()=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(eg,{})})},26758:(e,t,i)=>{"use strict";i.d(t,{$Z:()=>l,J6:()=>o,_X:()=>c});var a=i(34494),r=i(1751),n=i(58943),s=i(55729);let o=e=>{let{inferenceJobs:t}
1=e,[i,a]=(0,s.useState)({}),[n,o]=(0,s.useState)({}),{mutate:l}=(0,r.V82)({request:{baseURL:"https://1aieasypic_go.aieasypic.com/go-api/proxy"}});return(0,s.useEffect)(()=>{let e=!0,r=0;o({});let s=()=>{if(!e||r>=t.length)return;let c=t.slice(r,r+1);r+=1,c.forEach(t=>{var r,c;let d=JSON.stringify(t);(null==(c=n[d])||null==(r=c.prediction_images)?void 0:r.length)||i[d]||(a(e=>({...e,[d]:!0})),l({data:t},{onSuccess:t=>{var i;e&&((null==(i=t.prediction_images)?void 0:i.length)&&o(e=>({...e,[d]:t})),a(e=>({...e,[d]:!1})),s())},onError:e=>{console.error("Error creating or finding inference job",e),a(e=>({...e,[d]:!1})),s()}}))})};return s(),()=>{e=!1}},[t]),{fetchingJobs:i,completedJobs:n}},l=e=>{var t;let{modelName:i,seed:r}=e,s=null===a.Po||void 0===a.Po?void 0:a.Po.find(e=>{var t,a;return null==e||null==(a=e.modelName)||null==(t=a.toLowerCase())?void 0:t.includes(i)});return{model:(null==s?void 0:s.replacementModelId)||(null==s?void 0:s.value),show_public:!0,id:0,created_at:"",prediction_images:[],status:n.e3.P,parameters:{...null==s?void 0:s.parameters,id:0,prompt:"test",width:512,height:512,controlnet_parameters:[],model:null==s||null==(t=s.value)?void 0:t.toString(),seed:null!=r?r:100}}},c=()=>{let e={};return a.$b.forEach(t=>{var i;!e[t.version]&&(null==(i=t.label)?void 0:i.includes("Photo"))&&(e[t.version]={...t,limits:{...t.limits,maxSteps:t.limits.maxSteps>30?30:t.limits.maxSteps}})}),Object.values(e)}},35690:(e,t,i)=>{"use strict";i.d(t,{I1:()=>c,OU:()=>o,P6:()=>n,Sn:()=>s,TE:()=>r,_P:()=>l,tH:()=>d});var a=i(78138);let r=[{title:"AI Generator",description:"Text to Image generation",image:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/all-tools/text-to-image.png&width=800&quality=70&type=webp",url:a.J.aieasypic.textToImage,newUrl:"https://bestphoto.ai/tools/image-generator"},{title:"Train Model",description:"Train custom models on your own pics",image:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/all-tools/train-model.png&width=800&quality=70&type=webp",url:a.J.aieasypic.trainLorasAll,newUrl:"https://bestphoto.ai/register"},{title:"Text To Video",description:"Create video clips from text",image:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/all-tools/background-removal.png&width=700&quality=70&type=webp",url:a.J.aieasypic.toolsTextToVideo,newUrl:"https://bestphoto.ai/tools/video-generator"},{title:"Face Swap",description:"Swap faces in images",image:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/all-tools/faceswap.png&width=700&quality=70&type=webp",url:a.J.aieasypic.toolsFaceSwap,newUrl:"https://bestphoto.ai/tools/face-swap"},{title:"Pro. Headshots",description:"Professional headshots in minutes",image:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/all-tools/headshot.png&width=700&quality=70&type=webp",url:a.J.aieasypic.trainProfessionalHeadshotsAll,newUrl:"https://bestphoto.ai/categories/professional-headshots"}],n=[{title:"Motion",image:"/presets/photo/motion.png",prompt:"Long exposure photo of an athlete in motion, blurred edges, slow shutter speed, shot on Fujifilm XT4, f/2, ISO 200."},{title:"Polaroid",image:"/presets/photo/polaroid.png",prompt:"Instant film photo with a nostalgic feel, faded colors, soft focus, and white frame border, capturing casual moments and portrait shots."},{title:"B&W",image:"/presets/photo/black-and-white.png",prompt:"High contrast black and white photo, sharp details, dramatic shadows and highlights, emphasizing textures and shapes."},{title:"Double-Exposure",image:"/presets/photo/double-exposure.png",prompt:"Photo combining two overlapping exposures, creating surreal, artistic images with layered textures and blended images."},{title:"Bokeh",image:"/presets/photo/bokeh.png",prompt:"Photo with a shallow depth of field, blurry and aesthetically pleasing out-of-focus background highlights, sharp subject."},{title:"Analog",image:"/presets/photo/analog.png",prompt:"Photo of woman from 80s with 80s hairstyle and clothes with a vintage look, grainy texture, muted colors, and light leaks, reminiscent of classic film photography."},{title:"Macro",image:"/presets/photo/macro.png",prompt:"Close-up macro photo of butterfly, extreme details, vivid colors, shallow depth of field."},{title:"Portrait",image:"/presets/photo/portrait.png",prompt:"Medium shot of beautiful woman in suit, sharp details, soft background, natural colors, emphasizing facial features and emotions."},{title:"Night",image:"/presets/photo/night.png",prompt:"night photo of woman, enhanced highlights and shadows, featuring cityscapes or natural nocturnal scenes with vibrant details. looking at the camera"},{title:"Landscape",image:"/presets/photo/landscape.png",prompt:"Wide-angle shot of natural scener
1y, capturing vast, scenic views with great depth of field and vibrant colors."},{title:"HDR",image:"/presets/photo/hdr.png",prompt:"High Dynamic Range photo with balanced exposures, capturing details in both the highlights and shadows with vibrant colors."},{title:"iPhone",image:"/presets/photo/iphone.png",prompt:"Boring Snapchat Photo of a woman taking a selfie. The photo was shot on a phone and posted in 2016 on Snapchat. grainy and saturated. RAW, shot on iphone"}],s=[{title:"Classic Animation",image:"/presets/cartoon/classic-animation.png",prompt:"Traditional cartoon disney style of princess, vibrant and expressive, reminiscent of early animation classics. Bruce Timm style"},{title:"Modern Cartoon",image:"/presets/cartoon/modern-cartoon.png",prompt:"3D CGI princess, smooth textures, and bright, expressive eyes, following the modern Disney animated style."},{title:"Pixar",image:"/presets/cartoon/pixar.png",prompt:"3D animated boy in car with exaggerated features, similar to styles seen in Pixar movies."},{title:"Rick and Morty",image:"/presets/cartoon/rick-and-morty.png",prompt:"Character in the unique and edgy art style of Rick and Morty, featuring wild expressions and bold lines."},{title:"South Park",image:"/presets/cartoon/south-park.png",prompt:"Character drawn in the simple and iconic style of South Park, featuring basic shapes and block colors."},{title:"Tim Burton",image:"/presets/cartoon/tim-burton.png",prompt:"Character with dark, gothic elements and exaggerated features, inspired by Tim Burton's distinctive style."},{title:"My Little Pony",image:"/presets/cartoon/my-little-pony.png",prompt:"Character in the colorful and whimsical style of My Little Pony, with large eyes and pastel colors."},{title:"Peanuts",image:"/presets/cartoon/peanuts.png",prompt:"Character drawn in the simple and heartwarming style of Peanuts, with round shapes and soft lines."},{title:"80s Comics",image:"/presets/cartoon/80s-comics.png",prompt:"Character in the nostalgic and bold style of 80s comics, with vibrant colors and dynamic poses."},{title:"Looney Tunes",image:"/presets/cartoon/looney-tunes.png",prompt:"Character in the zany and energetic style of Looney Tunes, with exaggerated expressions and slapstick humor."},{title:"Adventure Time",image:"/presets/cartoon/adventure-time.png",prompt:"Character in the quirky and imaginative style of Adventure Time, featuring simple shapes and vibrant colors."},{title:"Simpsons",image:"/presets/cartoon/simpsons.png",prompt:"Character in the iconic and satirical style of The Simpsons, with simplified features and yellow skin tones."}],o=[{title:"Attack on Titan",image:"/presets/anime/attack-on-titan.png",prompt:"2D flat anime screencap of woman in the intense and gritty style of Attack on Titan. 2D flat anime style. "},{title:"One Piece",image:"/presets/anime/one-piece.png",prompt:"Man in the adventurous and whimsical style of One Piece, with exaggerated expressions and vibrant colors. 2D flat anime style"},{title:"Chibi",image:"/presets/anime/chibi.png",prompt:"Character in the cute and exaggerated style of Chibi, with large heads and small bodies."},{title:"One Punch Man",image:"/presets/anime/one-punch-man.png",prompt:"Screencap of an intense and comical scene from One Punch Man. Saitama's expression is bored and indifferent, contrasting with the exaggeratedly dynamic and detailed style of the monster. 2D flat anime style. Drawn by Yusuke Murata"},{title:"Naruto",image:"/presets/anime/naruto.png",prompt:"Character in the dynamic and action-packed style of Naruto, with bold lines and energetic poses. 2D flat anime style"},{title:"My Hero Academia",image:"/presets/anime/my-hero-academia.png",prompt:"Character in the vibrant and heroic style of My Hero Academia, with bold lines and dynamic poses. 2D flat anime style"}],l=[{title:"Graffiti",image:"/presets/artstyles/graffiti.png",prompt:"Urban graffiti art of a snake, bold spray paint colors and dynamic lines."},{title:"Cubism",image:"/presets/artstyles/cubism.png",prompt:"Cubism artwork of a seashore, geometric shapes and abstract forms, with a mix of perspectives."},{title:"Acrylic",image:"/presets/artstyles/acrylic.png",prompt:"Acrylic painting of a sunflower field, vibrant and opaque colors, with a textured finish."},{title:"Charcoal",image:"/presets/artstyles/charcoal.png",prompt:"Charcoal drawing of a majestic eagle, heavy shading and bold strokes, highlighting the feathers. Black and white"},{title:"Impressionism",image:"/presets/artstyles/impressionism.png",prompt:"Impressionist painting of a dog, broken brush strokes, and light color palette, visible paint strokes, with lively and vibrant atmosphere and dappled lighting."},{title:"Pointillism",image:"/presets/artstyles/pointillism.png",prompt:"Pointillism artwork of a tranquil river, detailed with numerous small dots of pure color, creating a cohesive image from a distance, with precise color placement and optical blending."},{title:"Watercolor",image:"/presets/artstyles/watercolor.png",prompt:"Watercolor painting of a forest path, featuring soft and fluid color transitions, translucent layers, and a dreamy quality, capturing light and shadow with delicate brush strokes."},{title:"Art Nouveau",image:"/presets/artstyles/art-nouveau.png",prompt:"Art Nouveau illustration of a woman adorned with flowing fabrics and intricate floral patterns, characterized by organic lines, elegant curves, and a harmonious blend of natural elements, creating a decorative and sophisticated aesthetic."},{title:"Futurism",image:"/presets/artstyles/futurism.png",prompt:"Futurism artwork of a high-speed train, emphasizing movement and speed, with dynamic lines, vibrant colors, and a sense of advancement and innovation."},{title:"Pop Art",image:"/presets/artstyles/pop-art.png",prompt:"Pop Art illustration of a vintage telephone, featuring bold colors, clear lines, and a sense of mass production and consumer culture, inspired by comic strips and advertising."},{title:"Expressionism",image:"/presets/artstyles/expressionism.png",prompt:"Expressionist painting of a city skyline at night, utilizing vibrant colors, exaggerated shapes, and bold brush strokes to convey emotional intensity and evoke a visceral response."},{title:"Minimalism",image:"/presets/artstyles/minimalism.png",prompt:"Minimalist artwork of a solitary tree in the desert, focusing on simplicity, clean lines, and a limited color palette, creating a sense of tranquility and spaciousness."}],c=[{title:"Pixel Art",image:"/presets/digital/pixel-art.png",prompt:"Pixel art of a cute bear in a colorful fantasy setting, 8-bit style, vibrant colors. Heavily pixelated game art"},{title:"Low Poly",image:"/presets/digital/low-poly.png",prompt:"Low poly 3D model of a fox, minimalist design, faceted structure, and muted color palette."},{title:"Isometric",image:"/presets/digital/isometric.png",prompt:"Isometric illustration of a bustling cityscape, detailed buildings, various small shops, and urban elements."},{title:"3D Render",image:"/presets/digital/3d-render.png",prompt:"3D game asset of a chest filled with ancient pirate treasure, gold coins spilling out. rendered in high detail"}
1,{title:"Minimalist",image:"/presets/digital/minimalist.png",prompt:"Minimalist vector art of a sailboat on a calm lake, simple lines, and a pastel color scheme."},{title:"Concept Art",image:"/presets/digital/concept-art.png",prompt:"Detailed concept art of a menacing dragon, dark atmospheric background, intricate armor details."},{title:"Synthwave",image:"/presets/digital/synthwave.png",prompt:"Synthwave style illustration of a neon-lit sports bike in motion, retro-futuristic city in the background, vibrant neon colors."},{title:"LEGO",image:"/presets/digital/lego.png",prompt:"LEGO brick built medieval castle with futuristic space knights and dragons, vibrant and playful design."},{title:"Cyberpunk",image:"/presets/digital/cyberpunk.png",prompt:"Futuristic cyberpunk cityscape, neon lights and dark, dystopian atmosphere."},{title:"Steampunk",image:"/presets/digital/steampunk.png",prompt:"Steampunk design of a mechanical owl, intricate details and Victorian-era aesthetics."},{title:"Vector Art",image:"/presets/digital/vector-art.png",prompt:"minimalistic and simple vector art of a vibrant tropical bird, high contrast, flat colors, smooth and precise lines. vector illustration"},{title:"Geometric",image:"/presets/digital/geometric.png",prompt:"Geometric art of a colorful lion's face, using various polygons to form the structure, vibrant and eye-catching."}],d={photo:n,cartoon:s,anime:o,artstyles:l,digital:c}},40981:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/text-to-image",function(){return i(11767)}])},47581:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",i="minute",a="hour",r="week",n="month",s="quarter",o="year",l="date",c="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,i){var a=String(e);return!a||a.length>=t?e:""+Array(t+1-a.length).join(i)+e},m="en",h={};h[m]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}};var g="$isDayjsObject",f=function(e){return e instanceof b||!(!e||!e[g])},y=function e(t,i,a){var r;if(!t)return m;if("string"==typeof t){var n=t.toLowerCase();h[n]&&(r=n),i&&(h[n]=i,r=n);var s=t.split("-");if(!r&&s.length>1)return e(s[0])}else{var o=t.name;h[o]=t,r=o}return!a&&r&&(m=r),r||!a&&m},v=function(e,t){if(f(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new b(i)},x={s:p,z:function(e){var t=-e.utcOffset(),i=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(i/60),2,"0")+":"+p(i%60,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var a=12*(i.year()-t.year())+(i.month()-t.month()),r=t.clone().add(a,n),s=i-r<0,o=t.clone().add(a+(s?-1:1),n);return+(-(a+(i-r)/(s?r-o:o-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:n,y:o,w:r,d:"day",D:l,h:a,m:i,s:t,ms:e,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};x.l=y,x.i=f,x.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function p(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[g]=!0}var m=p.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var a=t.match(d);if(a){var r=a[2]-1||0,n=(a[7]||"0").substring(0,3);return i?new Date(Date.UTC(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)):new Date(a[1],r,a[3]||1,a[4]||0,a[5]||0,a[6]||0,n)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==c},m.isSame=function(e,t){var i=v(e);return this.startOf(t)<=i&&i<=this.endOf(t)},m.isAfter=function(e,t){return v(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<v(e)},m.$g=function(e,t,i){return x.u(e)?this[t]:this.set(i,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,s){var c=this,d=!!x.u(s)||s,u=x.p(e),p=function(e,t){var i=x.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return d?i:i.endOf("day")},m=function(e,t){return x.w(c.toDate()[e].apply(c.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),c
1)},h=this.$W,g=this.$M,f=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case o:return d?p(1,0):p(31,11);case n:return d?p(1,g):p(0,g+1);case r:var v=this.$locale().weekStart||0,b=(h<v?h+7:h)-v;return p(d?f-b:f+(6-b),g);case"day":case l:return m(y+"Hours",0);case a:return m(y+"Minutes",1);case i:return m(y+"Seconds",2);case t:return m(y+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(r,s){var c,d=x.p(r),u="set"+(this.$u?"UTC":""),p=((c={}).day=u+"Date",c[l]=u+"Date",c[n]=u+"Month",c[o]=u+"FullYear",c[a]=u+"Hours",c[i]=u+"Minutes",c[t]=u+"Seconds",c[e]=u+"Milliseconds",c)[d],m="day"===d?this.$D+(s-this.$W):s;if(d===n||d===o){var h=this.clone().set(l,1);h.$d[p](m),h.init(),this.$d=h.set(l,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[x.p(e)]()},m.add=function(e,s){var l,c=this;e=Number(e);var d=x.p(s),u=function(t){var i=v(c);return x.w(i.date(i.date()+Math.round(t*e)),c)};if(d===n)return this.set(n,this.$M+e);if(d===o)return this.set(o,this.$y+e);if("day"===d)return u(1);if(d===r)return u(7);var p=((l={})[i]=6e4,l[a]=36e5,l[t]=1e3,l)[d]||1,m=this.$d.getTime()+e*p;return x.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||c;var a=e||"YYYY-MM-DDTHH:mm:ssZ",r=x.z(this),n=this.$H,s=this.$m,o=this.$M,l=i.weekdays,d=i.months,p=i.meridiem,m=function(e,i,r,n){return e&&(e[i]||e(t,a))||r[i].slice(0,n)},h=function(e){return x.s(n%12||12,e,"0")},g=p||function(e,t,i){var a=e<12?"AM":"PM";return i?a.toLowerCase():a};return a.replace(u,function(e,a){return a||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return o+1;case"MM":return x.s(o+1,2,"0");case"MMM":return m(i.monthsShort,o,d,3);case"MMMM":return m(d,o);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return m(i.weekdaysMin,t.$W,l,2);case"ddd":return m(i.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(n);case"HH":return x.s(n,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return g(n,s,!0);case"A":return g(n,s,!1);case"m":return String(s);case"mm":return x.s(s,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return r}return null}(e)||r.replace(":","")})},m.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},m.diff=function(e,l,c){var d,u=this,p=x.p(l),m=v(e),h=(m.utcOffset()-this.utcOffset())*6e4,g=this-m,f=function(){return x.m(u,m)};switch(p){case o:d=f()/12;break;case n:d=f();break;case s:d=f()/3;break;case r:d=(g-h)/6048e5;break;case"day":d=(g-h)/864e5;break;case a:d=g/36e5;break;case i:d=g/6e4;break;case t:d=g/1e3;break;default:d=g}return c?d:x.a(d)},m.daysInMonth=function(){return this.endOf(n).$D},m.$locale=function(){return h[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),a=y(e,t,!0);return a&&(i.$L=a),i},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},p}(),w=b.prototype;return v.prototype=w,[["$ms",e],["$s",t],["$m",i],["$H",a],["$W","day"],["$M",n],["$y",o],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),v.extend=function(e,t){return e.$i||(e(t,b,v),e.$i=!0),v},v.locale=y,v.isDayjs=f,v.unix=function(e){return v(1e3*e)},v.en=h[m],v.Ls=h,v.p={},v}()},74176:(e,t,i)=>{"use strict";i.d(t,{g:()=>a,q:()=>r});let a=["Check 'High Res Fix' if you're seeing double body parts in the picture","The more detailed your prompt is, the better the results will be","Add 'detailed eyes, high resolution, masterpiece' to your prompt for better results","If you cancel your image generation before image is generated, your credits will be refunded.","Add photo related terms like 'photorealistic, vibrant color film, masterclass, heavy (film grain), Fujicolor 400, Nikon F401', to get photorealistic results","Make the AI focus on specific thing by putting brackets on it. example: (looking at camera)","Pictures you like will be available in your dashboard","Loras are models trained on a specific person or style.","When using Loras, you can increase the resemblance by increasing the 'Weight' slider","If the image turns out too noisy or not detailed, increase 'Steps' slider in 'Advanced' section","You can make the AI use a photo as reference by using 'Controlnet' option","Each image you generate will cost you 1 credit. You can buy more credits from the pricing page","V3 models have the most details, and follow the prompt more closely"],r=["The more detailed your prompt is, the better the results will be","V2 models have the most details, and follow the prompt more closely","NSFW is only allowed on HeyAI and OVI. Other models might cause generations to fail"]}},e=>{e.O(0,[6058,9568,4003,7904,4494,8183,636,6593,8792],()=>e(e.s=40981)),_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.