PageSourceSearch

https://app.aieasypic.com/_next/static/chunks/pages/inspire/models/detail/[slug]-505c02be1f81fb72.js

js aieasypic.com collected 2026-10-04 13:24:56 UTC 33,181 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1787],{3215:()=>{},28645:()=>{},35402:(e,i,t)=>{"use strict";t.d(i,{A:()=>L,u:()=>I});var r=t(6029),a=t(34494),n=t(1721),o=t(52553),l=t(50433),s=t(13692),c=t(53551),d=t(37948),m=t(84335),u=t(52482),h=t(13445),p=t(74536),g=t(99690),f=t(93944),x=t(63887),y=t(69943),w=t(50016),v=t(34417),b=t(1751),k=t(82108),j=t(78138),z=t(93258),_=t(82203),S=t.n(_),A=t(81278),M=t(55729);let I=e=>{var i,t,o,x;let{data:y}=e,v=(0,k.lv)({url:(null==y||null==(t=y.images)||null==(i=t[0])?void 0:i.url)||"",width:500,civitai:!0,type:"webp",quality:60,sigma:(0,n.c)({nsfwLevel:null==y||null==(x=y.images)||null==(o=x[0])?void 0:o.nsfw_level,showNsfw:!1})}),b=(0,A.useRouter)(),z=(0,M.useMemo)(()=>{var e;return null==(e=a.Po.find(e=>{var i;return(null==(i=e.base_model_allowed)?void 0:i.includes(y.base_model||""))||!1}))?void 0:e.version},[y.base_model]);return(0,r.jsxs)(l.a,{children:[(0,r.jsx)(s._,{src:v,alt:y.name,withPlaceholder:!0,height:"400px",imageProps:{loading:"lazy",width:"auto",height:"100%"},sx:{img:{"&:hover":{boxShadow:"0 4px 16px 0 rgba(0, 0, 0, 0.3)",filter:"brightness(80%)",transform:"scale(1.03)"},transition:"box-shadow 0.25s, filter  0.2s , transform 0.2s"}},placeholder:(0,r.jsx)(l.a,{sx:{backgroundColor:"black",height:"100%",width:"100%"},children:(0,r.jsx)(c.o,{children:(0,r.jsx)(d.E,{color:"white",size:"xl",weight:700,style:{textShadow:"0 0 10px black"},children:"N/A"})})})}),(0,r.jsx)(l.a,{sx:{position:"absolute",top:0,right:0},children:(0,r.jsx)(m.$,{radius:50,size:"xs",leftIcon:(0,r.jsx)(w.Dud,{}),onClick:()=>{b.push("".concat(j.J.aieasypic.inspireModelCreate).concat(y.slug,"?ignore_nsfw=true"))},children:"Create"})}),z?(0,r.jsx)(l.a,{sx:{position:"absolute",top:0,left:0},children:(0,r.jsxs)(u.E,{color:"dark",variant:"filled",sx:{position:"absolute",top:0,left:0,margin:10},children:["V",z]})}):null,(0,r.jsx)(l.a,{pt:15,py:5,sx:{position:"absolute",bottom:0,left:0,background:"linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.9) 90%)",width:"100%"},children:(0,r.jsxs)(h.B,{spacing:2,children:[(0,r.jsx)(d.E,{color:"white",lineClamp:1,weight:700,size:"lg",px:10,children:y.name}),(0,r.jsx)(p.Z,{p:3,mx:10,sx:{backgroundColor:"rgba(0, 0, 0, 0.2)"},children:(0,r.jsxs)(g.Y,{noWrap:!0,spacing:5,position:"apart",children:[(0,r.jsxs)(g.Y,{noWrap:!0,position:"left",spacing:2,children:[(0,r.jsx)(f.G,{readOnly:!0,size:"xs",count:1,value:1}),(0,r.jsxs)(d.E,{color:"white",weight:500,size:"xs",children:["(",y.rating,")"]})]}),(0,r.jsxs)(g.Y,{noWrap:!0,position:"left",spacing:4,children:[(0,r.jsx)(w.N5q,{color:"white"}),(0,r.jsx)(d.E,{color:"white",weight:500,size:"xs",children:y.view_count})]}),(0,r.jsxs)(d.E,{color:"white",weight:500,size:"xs",children:[y.rating_count," Ratings"," "]})]})})]})})]})},L=M.memo(e=>{let{modelsData:i}=e,{data:t}=(0,v.P)(),{mutate:a}=(0,b.Cv1)(),n=(0,z.jE)(),l=async e=>{let{slug:i}=e;a({slug:i},{onSuccess:async()=>{await n.refetchQueries((0,b.dNH)())}})},s=(0,M.useMemo)(()=>(0,o.a)({items:i,colProps:{span:6,xs:4,md:2.3},renderItem:e=>(0,r.jsxs)(x.f,{span:6,xs:4,md:2.3,children:[(0,r.jsx)(S(),{href:"".concat(j.J.aieasypic.inspireModelDetail).concat(e.slug),passHref:!0,children:(0,r.jsx)(p.Z,{p:0,radius:10,children:(0,r.jsx)(I,{data:e})})}),(null==t?void 0:t.is_staff)&&(0,r.jsx)(m.$,{onClick:()=>l({slug:(null==e?void 0:e.slug)||""}),fullWidth:!0,color:"red",size:"lg",children:"Delete"})]},e.slug)}),[i,null==t?void 0:t.is_staff,l]);return(0,r.jsx)(y.x,{children:s})})},38892:()=>{},65324:()=>{},89086:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSG:()=>eg,default:()=>ef});var r=t(6029),a=t(34494),n=t(38169),o=t(31890),l=t(25733),s=t.n(l);let c=JSON.parse('["0rz.tw","1-url.net","126.am","1link.in","1tk.us","1un.fr","1url.com","1url.cz","1wb2.net","2.gp","2.ht","23o.net","2ad.in","2big.at","2doc.net","2fear.com","2pl.us","2tu.us","2ty.in","2u.xf.cz","2ya.com","3ra.be","3x.si","4i.ae","4url.cc","4view.me","5em.cz","5url.net","5z8.info","6fr.ru","6g6.eu","6url.com","7.ly","76.gd","77.ai","7fth.cc","7li.in","7vd.cn","8u.cz","944.la","98.to","9m.no","9qr.de","AltURL.com","BudURL.com","Buff.ly","BurnURL.com","C-O.IN","ClickMeter.com","DecentURL.com","DigBig.com","Digg.com","DwarfURL.com","EasyURI.com","EasyURL.net","EsyURL.com","Fhurl.com","Fly2.ws","GoWat.ch","Hurl.it","IsCool.net","Just.as","L9.fr","Lvvk.com","MyURL.in","PiURL.com","Profile.to","QLNK.net","Quip-Art.com","RedirX.com","Sharein.com","ShortLinks.co.uk","Shrinkify.com","SimURL.com","StartURL.com","TightURL.com","Tnij.org","To8.cc","TraceURL.com","URL.ie","URLHawk.com","WapURL.co.uk","XeeURL.com","Yep.it","a.co","a.gg","a.nf","a0.fr","a2a.me","abbr.sk","abbrr.com","ad-med.cz","ad5.eu","ad7.biz","adb.ug","adf.ly","adfa.st","adfly.fr","adfoc.us","adjix.com","adli.pw","admy.link","adv.li","ajn.me","aka.gr","al.ly","alil.in","any.gs","aqva.pl","ares.tl","asso.in","atu.ca","au.ms","ayt.fr","azali.fr","b00.fr","b23.ru","b54.in","bacn.me","baid.us","bc.vc","bee4.biz","bim.im","bit.do","bit.ly","bitly.com","bitw.in","bkite.com","blap.net","ble.pl","blip.tv","bloat.me","boi.re","bote.me","bougn.at","br4.in","brk.to","brzu.net","budurl.com","buk.me","bul.lu","bxl.me","bzh.me","cachor.ro","captur.in","catchylink.com","cbs.so","cbug.cc","cc.cc","ccj.im","cf.ly","cf2.me","cf6.co","chilp.it","cjb.net","clck.ru","cli.gs","clikk.in","cn86.org","coinurl.com","cort.as","couic.fr","cr.tl","cudder.it","cur.lv","curl.im","cut.pe","cut.sk","cutt.eu","cutt.us","cutu.me","cuturl.com","cybr.fr","cyonix.to","d75.eu","daa.pl","dai.ly","db.tt","dd.ma","ddp.net","decenturl.com","dfl8.me","dft.ba","doiop.com","dolp.cc","dopice.sk","droid.ws","dv.gd","dy.fi","dyo.gs","e37.eu","ecra.se","eepurl.com","ely.re","emojilink.me","erax.cz","erw.cz","ewerl.com","ex9.co","ezurl.cc","fa.b","ff.im","fff.re","fff.to","fff.wf","filz.fr","fire.to","firsturl.de","flic.kr","fly2.ws","fnk.es","foe.hn","folu.me","fon.gs","freze.it","fur.ly","fw
1d4.me","g00.me","gg.gg","git.io","gl.am","go.9nl.com","go2.me","go2cut.com","goo.gl","goo.lu","good.ly","goshrink.com","grem.io","gri.ms","guiama.is","gurl.es","hadej.co","hec.su","hellotxt.com","hex.io","hide.my","hjkl.fr","hops.me","hover.com","href.in","href.li","ht.ly","htxt.it","shorturl.at","hugeurl.com","hurl.me","hurl.ws","i-2.co","i99.cz","icanhaz.com","icit.fr","ick.li","icks.ro","idek.net","iiiii.in","iky.fr","ilix.in","info.ms","inreply.to","is.gd","isra.li","iterasi.net","itm.im","ity.im","ix.sk","j.gs","j.mp","jdem.cz","jieb.be","jijr.com","jmp2.net","jp22.net","jqw.de","kask.us","kd2.org","kfd.pl","kissa.be","kl.am","klck.me","korta.nu","kr3w.de","krat.si","kratsi.cz","krod.cz","krunchd.com","kuc.cz","kutt.it","kxb.me","l-k.be","l.gg","lc-s.co","lc.cx","lcut.in","letop10.","libero.it","lick.my","lien.li","lien.pl","liip.to","liltext.com","lin.cr","lin.io","linkbee.com","linkbun.ch","linkn.co","liurl.cn","llu.ch","ln-s.net","ln-s.ru","lnk.co","lnk.gd","lnk.in","lnk.ly","lnk.sk","lnkd.in","lnked.in","lnks.fr","lnky.fr","lnp.sn","loopt.us","lp25.fr","lru.jp","lt.tl","lurl.no","lynk.my","m1p.fr","m3mi.com","make.my","mcaf.ee","mdl29.net","metamark.net","mic.fr","migre.me","minilien.com","miniurl.com","minu.me","minurl.fr","moourl.com","more.sh","mut.lu","myurl.in","ne1.net","net.ms","net46.net","nicou.ch","nig.gr","niny.io","njx.me","nn.nf","notlong.com","nov.io","nq.st","nsfw.in","nxy.in","o-x.fr","okok.fr","om.ly","ou.af","ou.gd","oua.be","ouo.io","ow.ly","p.pw","para.pt","parky.tv","past.is","pd.am","pdh.co","ph.dog","ph.ly","pic.gd","pich.in","pin.st","ping.fm","plots.fr","pm.wu.cz","pnt.me","po.st","poprl.com","post.ly","posted.at","ppfr.it","ppst.me","ppt.cc","ppt.li","prejit.cz","ptab.it","ptm.ro","pw2.ro","py6.ru","q.gs","qbn.ru","qicute.com","qqc.co","qr.net","qrtag.fr","qxp.cz","qxp.sk","rb6.co","rb6.me","rcknr.io","rdz.me","redir.ec","redir.fr","redu.it","ref.so","reise.lc","relink.fr","ri.ms","rickroll.it","riz.cz","riz.gd","rod.gs","roflc.at","rsmonkey.com","rt.se","rt.tc","ru.ly","rubyurl.com","s-url.fr","s.id","s7y.us","safe.mn","sagyap.tk","sdu.sk","seeme.at","segue.se","sh.st","shar.as","sharetabs.com","shorl.com","short.cc","short.ie","short.nr","short.pk","short.to","shorte.st","shortna.me","shorturl.com","shoturl.us","shrinkee.com","shrinkster.com","shrinkurl.in","shrt.in","shrt.st","shrtco.de","shrten.com","shrunkin.com","shw.me","shy.si","sicax.net","sina.lt","sk.gy","skr.sk","skroc.pl","smll.co","sn.im","sn.vc","snipr.com","snipurl.com","snsw.us","snurl.com","soo.gd","sp2.ro","spedr.com","spn.sr","sptfy.com","sq6.ru","sqrl.it","ssl.gs","sturly.com","su.pr","surl.me","sux.cz","sy.pe","t.cn","t.co","t.ly","ta.gd","tabzi.com","tau.pe","tcrn.ch","tdjt.cz","thesa.us","thinfi.com","thrdl.es","tin.li","tini.cc","tiny.cc","tiny.lt","tiny.ms","tiny.pl","tiny123.com","tinyarro.ws","tinytw.it","tinyuri.ca","tinyurl.com","tinyurl.hu","tinyvid.io","tixsu.com","tldr.sk","tldrify.com","tllg.net","tnij.org","tny.cz","tny.im","to.ly","togoto.us","tohle.de","tpmr.com","tr.im","tr.my","tr5.in","trck.me","trick.ly","trkr.ws","trunc.it","turo.us","tweetburner.com","twet.fr","t
1wi.im","twirl.at","twit.ac","twitterpan.com","twitthis.com","twiturl.de","twlr.me","twurl.cc","twurl.nl","u.mavrev.com","u.nu","u.to","u6e.de","ub0.cc","uby.es","ucam.me","ug.cz","ulmt.in","unlc.us","updating.me","upzat.com","ur1.ca","url.co.uk","url2.fr","url4.eu","url5.org","urlao.com","urlbrief.com","urlcover.com","urlcut.com","urlenco.de","urlin.it","urlkiss.com","urlkr.com","urlot.com","urlpire.com","urls.fr","urlx.ie","urlx.org","urlz.fr","urlzen.com","urub.us","utfg.sk","v.gd","v.ht","v5.gd","vaaa.fr","valv.im","vaza.me","vbly.us","vd55.com","verd.in","vgn.me","virl.com","vl.am","vov.li","vsll.eu","vt802.us","vur.me","vv.vg","w1p.fr","w3t.org","wa.link","waa.ai","wb1.eu","web99.eu","wed.li","wideo.fr","wipi.es","wp.me","wtc.la","wu.cz","ww7.fr","wwy.me","x.co","x.nu","x.se","x10.mx","x2c.eu","x2c.eumx","xaddr.com","xav.cc","xgd.in","xib.me","xl8.eu","xn--ki8h.ws","xn--kn8h.to","xn--vi8hl0c.ws","xoe.cz","xr.com","xrl.in","xrl.us","xt3.me","xua.me","xub.me","xurl.jp","xurls.co","xzb.cc","y2u.be","yagoa.fr","yagoa.me","yau.sh","yeca.eu","yect.com","yep.it","yfrog.com","yogh.me","yon.ir","youfap.me","ysear.ch","yweb.com","yyv.co","z9.fr","zSMS.net","zapit.nu","zeek.ir","zi.ma","zi.pe","zip.net","zipmyurl.com","zkr.cz","zkrat.me","zkrt.cz","zoodl.com","zpag.es","zti.me","zxq.net","zyva.org","zz.gd","zzb.bz","tusi.art","nogpu-webui.com"]');var d=t(55729);let m=(0,n.r)(e=>({htmlRenderer:{"& p:last-of-type":{marginBottom:0},p:{wordBreak:"break-word"},iframe:{border:"none"},code:{whiteSpace:"break-spaces"},'div[data-type="instagram"]':{display:"flex",flexDirection:"column",alignItems:"center",height:769,"& > iframe":{width:"50%",overflow:"hidden",flexGrow:1},[e.fn.smallerThan("md")]:{height:649},[e.fn.smallerThan("sm")]:{height:681,"& > iframe":{width:"100%"}}},'div[data-type="strawPoll"]':{display:"flex",flexDirection:"column",alignItems:"center",height:480,"& > iframe":{flexGrow:1}},"h1, h2, h3":{"&:before":{display:"block",content:'""',visibility:"hidden"}},hr:{height:"4px",padding:0,margin:"24px 0",backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],border:0}}}));function u(e){let{html:i,withMentions:t=!1,...a}=e,{classes:n,theme:l}=m();return i=(0,d.useMemo)(()=>(function(e){let{stripEmpty:i,...t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stripEmpty:!1};return s()(e,{allowedTags:["p","strong","em","u","s","ul","ol","li","a","br","img","iframe","div","code","pre","span","h1","h2","h3","hr"],allowedAttributes:{a:["rel","href","target"],img:["src","alt","width","height"],iframe:["src","width","height","allowfullscreen","autoplay","disablekbcontrols","enableiframeapi","endtime","ivloadpolicy","loop","modestbranding","origin","playlist","start"],div:["data-youtube-video","data-type"],span:["class","data-type","data-id","data-label","style"],"*":["id"]},exclusiveFilter:i?e=>"p"===e.tag&&!e.text.trim():void 0,allowedIframeHostnames:["www.youtube.com","www.instagram.com","www.strawpoll.com"],transformTags:{a:function(e,i){let{href:t,...r}=i,a=t.startsWith("http")?t:"http://".concat(t),n=!function(e){try{return new URL(e),!0}catch(e){return!1}}(a)?void 0:new URL(a).hostname;return n?c.some(e=>e===n)?{tagName:"span",text:"[Blocked Link]"}:{tagName:"a",attribs:{...r,href:t,rel:"ugc"}}:{tagName:"span",...r}}},...t})})(i,{parseStyleAttributes:!1,transformTags:{a:function(e,i){return{tagName:"span",attribs:{...(null==i?void 0:i.style)&&{style:i.style},...(null==i?void 0:i.class)&&{class:i.class}}}},span:function(e,i){var t;i["data-type"];let r=i.style,a=null==r||null==(t=r.match(/color:#([0-9a-f]{6})/))?void 0:t[1],n=!!a&&function(e){let{hexColor:i,colorScheme:t,threshold:r=.5}=e,a=parseInt((i=i.startsWith("#")?i.replace("#",""):i).substring(0,2),16),n=(.299*a+.587*parseInt(i.substring(2,4),16)+.114*parseInt(i.substring(4),16))/255;if(!1!==isNaN(Number(n)))return!1;if("dark"===t)if(n>r)return!1;else return!0;return!!(n>r)||!1}({hexColor:a,colorScheme:l.colorScheme,threshold:.2});return{tagName:e,attribs:{...i,style:n&&a?r+";color:".concat("dark"===l.colorScheme?l.fn.lighten(a,.5):l.fn.darken(a,.3)):r}}}}}),[i,t,l.colorScheme]),(0,r.jsx)(o.Z,{...a,className:n.htmlRenderer,children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:i}})})}var h=t(23273),p=t(97100),g=t(1721),f=t(13743),x=t(50433),y=t(56266),w=t(13692),v=t(84335),b=t(54753),k=t(13445),j=t(87462),z=t(69943),_=t(74422),S=t(50016),A=t(34417),M=t(35690),I=t(82108),L=t(78138),T=t(95669),C=t.n(T),P=t(82203),E=t.n(P),D=t(81278),N=t(5456);let F={baseUrl:"https://imaginary.aieasypic.com/resize?url=https://cdnr2.aieasypic.com/model_detail",resizeUrl:"&width=400&quality=60&blur=false&fullImage=false&type=webp",images:[{prompt:'Portrait of a young man with a chiseled jawline, emerald green eyes, and tousled brown hair. He wears a Greek warrior\'s armor and stands on a cliff overlooking the Aegean Sea. he is holding a sign saying "AIEasyPic"',src:"roman_soldier_1.png"},{prompt:'Portrait of a young woman, emerald green eyes, and tousled brown hair. She wears a Greek warrior\'s armor and stands on a cliff overlooking the Aegean Sea. she is holding a hand written sign that says "AIEasyPic"',src:"roman_woman_1.png"},{prompt:'Portrait of a young woman, emerald green eyes, and tousled brown hair. She wears a Greek warrior\'s armor and stands on a cliff overlooking the Aegean Sea. she is holding a hand written sign that says "AIEasyPic"',src:"roman_woman_2.png"},{prompt:'Close-up of a young woman with freckled cheeks, hazel eyes, and short bobbed hair, wearing a stylish vintage 1920s flapper dress. She stands in front of an Art Deco building. holding a hand written sign that says "AIEasyPic"',src:"italian_woman_1.png"},{prompt:'Close-up of a young woman with freckled cheeks, hazel eyes, and short bobbed hair, wearing a stylish vintage 1920s flapper dress. She stands in front of an Art Deco building. holding a hand written sign that says "AIEasyPic"',src:"italian_woman_2.png"},{prompt:'Close-up of a young woman with freckled cheeks, hazel eyes, and short bobbed hair, wearing a stylish vintage 1920s flapper dress. She stands in front of an Art Deco building. holding a hand written sign that says "AIEasyPic"',src:"italian_woman_3.png"},{prompt:'Close-up of a young woman with freckled cheeks, hazel eyes, and short bobbed hair, wearing a stylish vintage 1920s flapper dress. She stands in front of an Art Deco building. holding a hand written sign that says "AIEasyPic"',src:"italian_woman_4.png"},{prompt:'arafed woman with long hair sitting in a car, pale-skinned persian girl, with cute - f
1ine - face, without makeup, selfie of a young woman, instagram selfie, charli bowater, 19-year-old girl, brown eyes and white skin, with long hair and piercing eyes, the image is indistinguishable from a real real photo. holding a sign that says "Generated with AIEasyPic"',src:"woman_car_1.png"},{prompt:'Amateur photography of 2 blonde sisters wearing touristy clothing posing in front of the hollywood sign in Los Angeles, Street level, . Casual, f/<aperture>. They are holding a hand written sign saying "Generated with AIEasyPic".',src:"hollywood_1.png"},{prompt:'Amateur photography of 2 blonde sisters wearing touristy clothing posing in front of the hollywood sign in Los Angeles, Street level, . Casual, f/<aperture>. They are holding a hand written sign saying "Generated with AIEasyPic".',src:"hollywood_2.png"},{prompt:'Portrait of a woman with dark brown skin, warm brown eyes, and intricate braids, wearing a colorful Caribbean dress. She stands on a sandy beach with crystal-clear waters and lush greenery. holding a hand written sign that says "AIEasyPic"',src:"carribean_woman_1.png"}]},R=e=>{let{image:i,setIndex:t,setOpen:a,setGenerate:n,index:o,isSingle:l=!1,resized:s=!1,onDoubleClick:c,slidesInView:m}=e,{data:u}=(0,A.P)(),[h,p]=(0,d.useState)(!1),f=(0,g.c)({nsfwLevel:null==i?void 0:i.nsfwLevel,showNsfw:h}),k=s?i.src:(0,I.lv)({url:i.src||"",width:l?1024:500,type:"webp",quality:60,civitai:!0,sigma:f});(0,_.U)("(max-width: 600px)");let j=(0,d.useCallback)(()=>{c?c():(t(o),a(!0))},[c,o,a,t]),z=(0,d.useMemo)(()=>o<2||m&&(null==m?void 0:m.indexOf(o))>-1,[m,o]),[M,T]=(0,d.useState)(!1),P=(0,d.useCallback)(()=>{z&&T(!0)},[z,T]);return(0,r.jsxs)(x.a,{sx:{position:"relative",padding:50*!!l},children:[0===o&&k&&(0,r.jsx)(C(),{children:(0,r.jsx)("link",{rel:"preload",href:k,as:"image"})}),!M&&(0,r.jsxs)(x.a,{pos:"absolute",top:"50%",left:"50%",children:[(0,r.jsx)(y.a,{color:"blue",size:"xl"})," "]}),(0,r.jsx)(w._,{onDoubleClick:j,alt:i.alt,width:"98%",height:600,imageProps:{fetchPriority:o>1?"low":"high",loading:o>1?"lazy":"eager",width:"100%",height:"100%"},onLoad:P,src:z?k:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D",sx:e=>({img:{"&:hover":{boxShadow:"0 4px 16px 0 rgba(0, 0, 0, 0.3)",filter:"brightness(80%)",transform:"scale(1.02)"},transition:"box-shadow 0.25s, filter  0.2s , transform 0.2s"}})},i.src),(null==i?void 0:i.alt)&&!c&&(0,r.jsx)(x.a,{sx:{position:"absolute",left:10,bottom:20},children:(0,r.jsx)(v.$,{radius:50,variant:"default",size:"xs",component:E(),href:"".concat(L.J.aieasypic.inspireImages).concat(i.id),leftIcon:(0,r.jsx)(S._TA,{}),children:"More Info"})}),f&&!h&&(0,r.jsx)(x.a,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:(null==u?void 0:u.email)?(0,r.jsx)(v.$,{radius:50,variant:"default",size:"xs",onClick:()=>p(!0),leftIcon:(0,r.jsx)(S._TA,{}),children:"Show NSFW"}):(0,r.jsx)(v.$,{radius:50,variant:"default",size:"xs",component:E(),href:"".concat(L.J.common.register),leftIcon:(0,r.jsx)(S._TA,{}),children:"Hidden For Public Users"})}),(null==i?void 0:i.alt)&&(0,r.jsx)(x.a,{sx:{position:"absolute",right:20,top:10},children:(0,r.jsx)(b.m,{label:"Immediately create an image using this prompt",position:"bottom",children:(0,r.jsx)(x.a,{children:(0,r.jsx)(v.$,{size:"md",leftIcon:(0,r.jsx)(S.Dud,{}),onClick:n,radius:50,children:"Create"})})})})]})},U=e=>{var i;let{images:t,setGenerate:a}=e,[n,o]=(0,d.useState)(!1),[l,s]=(0,d.useState)(0),[c,m]=(0,d.useState)(null),[u,h]=(0,d.useState)([]),g=(0,d.useCallback)(e=>{h(i=>{i.length===e.slideNodes().length&&e.off("slidesInView",g);let t=e.slidesInView().filter(e=>!i.includes(e));return i.concat(t)})},[]);(0,d.useEffect)(()=>{c&&(g(c),c.on("slidesInView",g),c.on("reInit",g))},[c,g]);let y=(0,D.useRouter)(),w=(0,_.U)("(max-width: 600px)"),v=(0,d.useMemo)(()=>(null==t?void 0:t.map(e=>({id:e.id,src:e.url,alt:(null==e?void 0:e.prompt)||"",width:(null==e?void 0:e.width)||512,height:(null==e?void 0:e.height)||512,description:(null==e?void 0:e.prompt)||"No Prompt Found",nsfwLevel:null==e?void 0:e.nsfw_level})))||[],[t]),b=(0,d.useMemo)(()=>{let e=v||[],i=function(){let e=y.pathname.split("").reduce((e,i)=>e+i.charCodeAt(0),0);return function(){return(e=(1664525*e+0x3c6ef35f)%0x100000000)/0x100000000}}(),t=F.images.map((e,i)=>({type:"ad",image:{id:0,src:"".concat(F.baseUrl,"/").concat(F.images[i].src).concat(F.resizeUrl),alt:F.images[0].prompt},index:i})).map(e=>({value:e,sort:i()})).sort((e,i)=>e.sort-i.sort).map(e=>{let{value:i}=e;return i}).slice(0,Math.max(0,3-(null==e?void 0:e.length))),r=[];e.forEach((e,i)=>{r.push({type:"regular",image:e,index:i})});let a=0;for(;a<t.length;)r.push(t[a]),a++;return r},[v,y.pathname]);return(0,r.jsx)(x.a,{children:(null==v?void 0:v.length)===0?(0,r.jsx)(x.a,{children:(0,r.jsxs)(k.B,{justify:"center",children:[(0,r.jsx)(j.h,{order:2,align:"center",my:20,children:"No Images Found. Try one of our tools below"}),(0,r.jsx)(z.x,{children:null===M.TE||void 0===M.TE||null==(i=M.TE.filter(e=>
1"Pro. Headshots"!==e.title))?void 0:i.map(e=>(0,r.jsx)(z.x.Col,{span:6,xs:4,sm:4,md:3,children:(0,r.jsx)(p.A,{tool:e},e.title)}))})]})}):(0,r.jsx)(f.F,{withIndicators:!0,height:"100%",align:"start",slideSize:"50%",getEmblaApi:m,breakpoints:[{maxWidth:"md",slideSize:"50%"},{maxWidth:"sm",slideSize:"100%",slideGap:0}],controlSize:w?50:40,loop:!0,sx:e=>({height:"420px",[e.fn.largerThan("md")]:{height:"600px"}}),children:b.map((e,i)=>(0,r.jsx)(f.F.Slide,{children:"regular"===e.type?(0,r.jsx)(R,{image:e.image,setOpen:()=>{},setIndex:()=>{},onDoubleClick:()=>{y.push("".concat(L.J.aieasypic.inspireImages).concat(e.image.id))},index:i,setGenerate:()=>a(e.image.id),slidesInView:u}):(0,r.jsx)(x.a,{sx:{position:"relative",height:"100%",width:"95%"},children:(0,r.jsx)(N.A,{extraClasses:"h-full"},i)})},i))})})};var B=t(78466),G=t(35402),q=t(74536),J=t(63887),O=t(99690),W=t(56384),Y=t(52482),H=t(83751),V=t(48408),$=t(53551),Q=t(35670),X=t(27835),Z=t(92008),K=t(49410),ee=t(49114),ei=t(71024),et=t.n(ei);let er=(e,i)=>{var t;let a=null!=(t=null==i?void 0:i.LoadingComponent)?t:void 0;return((e,i)=>{let{rootMargin:t}=i;return i=>{let{...a}=i,n=(0,d.useRef)(null),[o,l]=(0,d.useState)(!1);return((0,d.useEffect)(()=>{if(!o)return(e=>{if(!("IntersectionObserver"in window)||!n.current)return void l(!0);let i=new IntersectionObserver(e=>{let[i]=e;(i.isIntersecting||i.intersectionRatio>0)&&l(!0)},{rootMargin:e});return i.observe(n.current),()=>i.disconnect()})(t)},[o]),o)?(0,r.jsx)("section",{children:(0,r.jsx)(e,{...a})}):(0,r.jsx)("section",{ref:n,dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0})}})(et()(e,{ssr:!0,...!!a&&{loading:()=>(0,r.jsx)(a,{})}}),{rootMargin:(null==i?void 0:i.rootMargin)||"0px 250px"})};var ea=t(1751),en=t(58943),eo=t(89948),el=t(92907),es=t(37514),ec=t(74312),ed=t.n(ec),em=t(67051);et()(()=>t.e(9086).then(t.bind(t,49086)),{loadableGenerated:{webpack:()=>[49086]},ssr:!1});let eu=er(()=>t.e(5422).then(t.bind(t,15422)),{LoadingComponent:()=>(0,r.jsx)("div",{children:"Loading..."})}),eh=er(()=>Promise.all([t.e(796),t.e(1208)]).then(t.bind(t,81208)),{LoadingComponent:()=>(0,r.jsx)("div",{children:"Loading..."})}),ep=er(()=>t.e(898).then(t.bind(t,80898)),{LoadingComponent:()=>(0,r.jsx)("div",{children:"Loading..."})});var eg=!0;let ef=()=>{var e,i,t,n,o,l,s,c,m,p;let{slug:g}=(0,D.useRouter)().query,{data:f}=(0,ea.Q3n)(g,{query:{enabled:!!g}}),y=(0,_.U)("(max-width: 768px)"),{data:w,isFetchingNextPage:b,isLoading:S,fetchNextPage:M,hasNextPage:I}=(0,ea.VoL)(g,{itemsPerPage:10},{query:{getNextPageParam:e=>(null==e?void 0:e.next)?e.next:null}});console.log(w);let T=(0,d.useRef)(null),{handleSubmit:C,loraSelected:P,setLoraSelected:N,textToImageForm:F,inferenceLoading:R}=(0,ee.$)({parameters:{batch_size:2,cfg_scale:"2.0",steps:8}}),{data:ei}=(0,A.P)(),[et,er]=(0,d.useState)(""),[ec,eg]=(0,d.useState)(a.UB);(0,d.useMemo)(()=>{var e;return null==f||null==(e=f.base_model)||!e.includes("XL")},[f]);let[ef,ex]=(0,Q.M)({key:"freeGenerations".concat(ed()().format("YYYY-MM-DD")),defaultValue:eo.iF}),[ey,ew]=(0,d.useState)(0),{mutate:ev}=(0,ea.z4h)(),eb=(0,d.useMemo)(()=>!1,[f]),ek=(0,d.useMemo)(()=>{var e,i,t,r,a,n;return(null==f||null==(e=f.civit_model)?void 0:e.model_type)===en.zS.LORA&&153600>Number(null==f||null==(t=f.files)||null==(i=t.find(e=>e.primary))?void 0:i.size_kb)&&!(eb||(null==f||null==(r=f.model_version_images)?void 0:r.length)===0||(null==f||null==(n=f.model_version_images)||null==(a=n.filter(e=>null==e?void 0:e.prompt))?void 0:a.length)===0||!(null==f?void 0:f.base_model))},[f]);(0,d.useEffect)(()=>{if(!ek){eg(a.UB),ej();return}eg(a.UB),ej()},[f,ek]);let ej=()=>{var e,i,t;let r=a.KF[Math.floor(Math.random()*a.KF.length)],n=eb?r:null==f||null==(t=f.model_version_images)||null==(i=t.slice().sort(()=>Math.random()>.5?1:-1))||null==(e=i.find(e=>null==e?void 0:e.prompt))?void 0:e.prompt;F.setFieldValue("parameters.prompt",n||r)};(0,d.useEffect)(()=>{er((null==ec?void 0:ec.negative_prompt)||"")},[ec]);let ez=(0,d.useCallback)(()=>{em.Ay.event({category:"Free Generation",action:"Started Free Generation From Model Detail",label:"Waiting"});let e={baseLoraModels:[],loraJson:{}},i=(null==ec?void 0:ec.defaultLoraModels)||[],t=(null==i?void 0:i.length)>0?{loras:i}:{};e.baseLoraModels=null==i?void 0:i.map(e=>e.id),e.loraJson=t,ev({data:{model:Number((null==ec?void 0:ec.replacementModelId)?null==ec?void 0:ec.replacementModelId:null==ec?void 0:ec.value),
1can_split:!1,parameters:{batch_size:2,prompt:F.values.parameters.prompt,controlnet_parameters:[],width:768,height:768,cfg_scale:"1.0",steps:6,sampler_name:en.Bq.Euler,lora_models:e.baseLoraModels,extra_json:e.loraJson}}},{onSuccess:e=>{ex(e=>e-2),ew(e.id),em.Ay.event({category:"Free Generation",action:"Completed Free Generation, Model Detail",label:"Completed"})},onError:e=>{(0,es.A)(e)}})},[f,ec,et,F]),{data:e_,isFetchingNextPage:eS,isLoading:eA,fetchNextPage:eM,hasNextPage:eI}=(0,ea.ps5)(g,{itemsPerPage:12},{query:{getNextPageParam:e=>(console.log("lastPage",e),null==e?void 0:e.next)?e.next:null}}),eL=(0,d.useMemo)(()=>eb?[]:null==f?void 0:f.model_version_images,[null==f?void 0:f.model_version_images]),eT=eL&&(null==eL?void 0:eL.length)>0,eC=e=>{var i,t;em.Ay.event({category:"Free Generation",action:"Started Free Generation From Immediate Generate Button",label:"Immediate Generate"});let r=null==f||null==(i=f.model_version_images)?void 0:i.find(i=>i.id===e);r&&(F.setFieldValue("parameters.prompt",r.prompt||""),F.setFieldValue("parameters.negative_prompt",(null==ec?void 0:ec.negative_prompt)||""),null==T||null==(t=T.current)||t.scrollIntoView({behavior:"smooth",block:"nearest"}),ez())},eP=(0,d.useMemo)(()=>6e5>Math.floor(1e6*Math.random())?"".concat(L.J.aieasypic.textToImage,"?prompt=").concat(F.values.parameters.prompt):"https://bestphoto.ai/tools/image-to-image",[F.values.parameters.prompt]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(X.A,{title:"".concat((null==f||null==(e=f.civit_model)?void 0:e.name)||(null==f?void 0:f.name)," - ").concat(el._g.fullSiteName),noIndex:eb,description:"Try ".concat(null==f||null==(i=f.civit_model)?void 0:i.name," for free and many other models at ").concat(el._g.fullSiteName,".").concat((null==f||null==(t=f.civit_model)?void 0:t.description)||""),image:"https://aieasypic.com/api/next-api/images/models/".concat((null==f?void 0:f.slug)||5616,"?leftText=Start%20Creating%20Now&withCreateButton=true"),url:"".concat(el._g.frontendUrl).concat(L.J.aieasypic.inspireModelDetail).concat(null==f?void 0:f.slug)}),(0,r.jsxs)(q.Z,{padding:3,children:[(0,r.jsx)(x.a,{sx:e=>({padding:"10px 10px",[e.fn.smallerThan("md")]:{padding:"5px 0px"}}),children:(0,r.jsxs)(x.a,{my:10,children:[(0,r.jsxs)(z.x,{p:0,gutter:"xs",align:"start",children:[eT&&(0,r.jsx)(J.f,{span:12,lg:.5}),(0,r.jsxs)(J.f,{span:12,lg:eT?5:7,children:[(0,r.jsxs)(x.a,{mb:20,children:[(0,r.jsxs)(O.Y,{my:5,spacing:5,align:"center",noWrap:!0,children:[(0,r.jsx)(E(),{href:L.J.aieasypic.inspireModelAll,style:{textDecoration:"none",wordBreak:"keep-all"},children:(0,r.jsxs)(j.h,{align:"center",order:y?5:3,children:["Models",">"]})},null==f?void 0:f.id),(0,r.jsx)(O.Y,{align:"center",noWrap:!0,children:(0,r.jsx)(j.h,{order:y?5:2,lineClamp:1,children:null==f||null==(n=f.civit_model)?void 0:n.name})})]}),(0,r.jsx)(k.B,{children:(0,r.jsx)(W.d,{maxHeight:50,showLabel:"More Tags",hideLabel:"Hide Tags",children:(0,r.jsx)(O.Y,{spacing:3,children:null==f||null==(l=f.civit_model)||null==(o=l.tags)?void 0:o.map(e=>(0,r.jsx)(E(),{href:"".concat(L.J.aieasypic.inspireModelAll,"?tags=").concat(e.name),children:(0,r.jsx)(Y.E,{variant:"filled",color:"grape",children:e.name},e.id)},e.id))})})})]}),f&&(0,r.jsx)(U,{images:eL||[],setGenerate:eC}),(!(null==f?void 0:f.id)||eb)&&(0,r.jsx)(x.a,{children:(0,r.jsx)(ep,{mainTitle:el._g.OwnAdBottom.mainTitle,mainText:el._g.OwnAdBottom.mainText,actionButton:{event:"Model Detail No Images Signup Clicked",text:"Start Creating For Free",url:L.J.aieasypic.textToImage}})})]}),eT&&(0,r.jsx)(J.f,{span:12,lg:.5}),(0,r.jsx)(J.f,{span:12,lg:eT?5:4,children:(0,r.jsx)(K.y,{availableModels:a.$b.filter(e=>{e.version}),setSelectedModel:eg,textToImageForm:F,randomizePrompt:ej,modelUsable:ek,selectedModel:ec,handleGenerate:ez,generationId:ey,generateBoxRef:T,initialImages:(null==f?void 0:f.model_version_images)||[],fullDemoLink:"".concat(L.J.aieasypic.textToImage,"?prompt=").concat(F.values.parameters.prompt)})})]}),eb&&(0,r.jsxs)(x.a,{children:[(0,r.jsx)(eh,{categoryTitle:"Train Models",mainTitle:"Train AI Models On Your Own Pictures",mainText:["You can use your own pictures to train AI models. Reimagine yourself in new ways with our AI-powered image generator.","Create pictures of yourself around the world, in your dream outfit, as a video game character, or in countless art styles. The possibilities are endless."],videoPosition:"left",video:{src:"https://cdnr2.aieasypic.com/video-ads%2Ftxt-to-img.mp4",alt:"Text to Image",mobileSrc:"https://cdnr2.aieasypic.com/video-ads/train-model-mobile.mp4"},actionButton:{event:"Model Detail No Images Signup Clicked",text:"Start Creating For Free",url:L.J.aieasypic.textToImage},learnMoreButton:{event:"Train Model Model Detail Signup",text:"Learn More",url:L.J.aieasypic.toolsLanding.trainModel},onlyShowInView:!0}),(0,r.jsxs)(O.Y,{spacing:10,my:20,noWrap:!0,position:"center",children:[(0,r.jsx)(v.$,{size:"md",component:E(),href:eP,rel:eP.startsWith("http")?"nofollow":void 0,children:"Try Full Demo"}),(0,r.jsx)(H.c,{orientation:"vertical",color:"dark",label:"OR"}
1),(0,r.jsx)(v.$,{component:E(),href:(null==ei?void 0:ei.id)?L.J.aieasypic.trainLorasAll:"".concat(L.J.common.register,"?nextUrl=").concat(L.J.aieasypic.trainLorasAll),size:"md",onClick:()=>{em.Ay.event({category:"Signup Click",action:"Model Detail Clicked Signup Button Train Loras"})},children:"Train Your Own Model"})]})]}),!eb&&(0,r.jsxs)(x.a,{sx:{padding:"10px 20px"},children:[(0,r.jsx)(j.h,{order:3,my:20,children:"Model Description by Creator"}),(0,r.jsx)(W.d,{maxHeight:150,showLabel:"Show Description",hideLabel:"Hide Description",children:(0,r.jsx)(u,{html:(null==f||null==(s=f.civit_model)?void 0:s.description)||""})})]})]})}),(0,r.jsx)(H.c,{size:"lg"}),(0,r.jsxs)(x.a,{my:30,children:[(0,r.jsx)(j.h,{order:2,align:"center",my:20,children:"Images Generated With This Model"}),(0,r.jsxs)(V.m,{size:"xl",children:[(0,r.jsx)(B.A,{images:!eb&&(null==e_||null==(m=e_.pages)||null==(c=m.map(e=>e.results||[]))?void 0:c.flat())||[],isLoading:eA,setGenerate:eC,showPrompt:!0}),eI&&(0,r.jsx)($.o,{my:20,children:(0,r.jsx)(v.$,{onClick:()=>{eM()},size:"lg",radius:"xl",variant:"outline",loading:eS,children:"Load More"})})]})]}),(0,r.jsx)(H.c,{size:"lg"}),(0,r.jsx)(eu,{}),(0,r.jsx)(Z.A,{}),(0,r.jsx)(H.c,{size:"lg"}),(0,r.jsxs)(x.a,{children:[(0,r.jsx)(j.h,{order:2,align:"center",my:20,children:"Similar Models"}),(0,r.jsx)(V.m,{size:"xl",children:(0,r.jsx)(G.A,{modelsData:(null==w?void 0:w.pages)?null==w||null==(p=w.pages)?void 0:p.map(e=>(null==e?void 0:e.results)||[]).flat().filter(Boolean):[]})}),I&&(0,r.jsx)($.o,{my:20,children:(0,r.jsx)(v.$,{onClick:()=>{M()},size:"lg",radius:"xl",variant:"outline",loading:b||S,children:"Load More"})})]})]}),(0,r.jsx)(h.A,{title:"From the Blog",count:3}),(0,r.jsx)(eh,{categoryTitle:"Train Models",mainTitle:"Train AI Models On Your Own Pictures",mainText:["You can use your own pictures to train AI models. Reimagine yourself in new ways with our AI-powered image generator.","Create pictures of yourself around the world, in your dream outfit, as a video game character, or in countless art styles. The possibilities are endless."],videoPosition:"left",video:{src:"https://cdnr2.aieasypic.com/video-ads/train-model-new.mp4",alt:"Train Models",mobileSrc:"https://cdnr2.aieasypic.com/video-ads/train-model-mobile.mp4"},actionButton:{event:"Train Model Model Detail Signup",text:"Train Your Model",url:L.J.aieasypic.trainLorasCreate},learnMoreButton:{event:"Train Model Model Detail Signup",text:"Learn More",url:L.J.aieasypic.toolsLanding.trainModel},onlyShowInView:!0}),(0,r.jsx)(ep,{mainTitle:el._g.OwnAdBottom.mainTitle,mainText:el._g.OwnAdBottom.mainText,actionButton:{event:"Text to Image Landing Signup",text:"Start Creating For Free",url:(null==ei?void 0:ei.id)?L.J.aieasypic.textToImage:L.J.common.register}})]})}},99563:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/inspire/models/detail/[slug]",function(){return t(89086)}])}},e=>{e.O(0,[9221,1641,919,3297,3462,4494,7077,6625,9117,636,6593,8792],()=>e(e.s=99563)),_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.