1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[898,5683],{30007:(e,i,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/inspire/models/all",function(){return n(64423)}])},35402:(e,i,n)=>{"use strict";n.d(i,{A:()=>E,u:()=>M});var t=n(6029),r=n(34494),l=n(1721),s=n(52553),a=n(50433),o=n(13692),d=n(53551),c=n(37948),u=n(84335),h=n(52482),x=n(13445),p=n(74536),g=n(99690),m=n(93944),f=n(63887),j=n(69943),w=n(50016),v=n(34417),b=n(1751),y=n(82108),S=n(78138),_=n(93258),T=n(82203),z=n.n(T),C=n(81278),k=n(55729);let M=e=>{var i,n,s,f;let{data:j}=e,v=(0,y.lv)({url:(null==j||null==(n=j.images)||null==(i=n[0])?void 0:i.url)||"",width:500,civitai:!0,type:"webp",quality:60,sigma:(0,l.c)({nsfwLevel:null==j||null==(f=j.images)||null==(s=f[0])?void 0:s.nsfw_level,showNsfw:!1})}),b=(0,C.useRouter)(),_=(0,k.useMemo)(()=>{var e;return null==(e=r.Po.find(e=>{var i;return(null==(i=e.base_model_allowed)?void 0:i.includes(j.base_model||""))||!1}))?void 0:e.version},[j.base_model]);return(0,t.jsxs)(a.a,{children:[(0,t.jsx)(o._,{src:v,alt:j.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,t.jsx)(a.a,{sx:{backgroundColor:"black",height:"100%",width:"100%"},children:(0,t.jsx)(d.o,{children:(0,t.jsx)(c.E,{color:"white",size:"xl",weight:700,style:{textShadow:"0 0 10px black"},children:"N/A"})})})}),(0,t.jsx)(a.a,{sx:{position:"absolute",top:0,right:0},children:(0,t.jsx)(u.$,{radius:50,size:"xs",leftIcon:(0,t.jsx)(w.Dud,{}),onClick:()=>{b.push("".concat(S.J.aieasypic.inspireModelCreate).concat(j.slug,"?ignore_nsfw=true"))},children:"Create"})}),_?(0,t.jsx)(a.a,{sx:{position:"absolute",top:0,left:0},children:(0,t.jsxs)(h.E,{color:"dark",variant:"filled",sx:{position:"absolute",top:0,left:0,margin:10},children:["V",_]})}):null,(0,t.jsx)(a.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,t.jsxs)(x.B,{spacing:2,children:[(0,t.jsx)(c.E,{color:"white",lineClamp:1,weight:700,size:"lg",px:10,children:j.name}),(0,t.jsx)(p.Z,{p:3,mx:10,sx:{backgroundColor:"rgba(0, 0, 0, 0.2)"},children:(0,t.jsxs)(g.Y,{noWrap:!0,spacing:5,position:"apart",children:[(0,t.jsxs)(g.Y,{noWrap:!0,position:"left",spacing:2,children:[(0,t.jsx)(m.G,{readOnly:!0,size:"xs",count:1,value:1}),(0,t.jsxs)(c.E,{color:"white",weight:500,size:"xs",children:["(",j.rating,")"]})]}),(0,t.jsxs)(g.Y,{noWrap:!0,position:"left",spacing:4,children:[(0,t.jsx)(w.N5q,{color:"white"}),(0,t.jsx)(c.E,{color:"white",weight:500,size:"xs",children:j.view_count})]}),(0,t.jsxs)(c.E,{color:"white",weight:500,size:"xs",children:[j.rating_count," Ratings"," "]})]})})]})})]})},E=k.memo(e=>{let{modelsData:i}=e,{data:n}=(0,v.P)(),{mutate:r}=(0,b.Cv1)(),l=(0,_.jE)(),a=async e=>{let{slug:i}=e;r({slug:i},{onSuccess:async()=>{await l.refetchQueries((0,b.dNH)())}})},o=(0,k.useMemo)(()=>(0,s.a)({items:i,colProps:{span:6,xs:4,md:2.3},renderItem:e=>(0,t.jsxs)(f.f,{span:6,xs:4,md:2.3,children:[(0,t.jsx)(z(),{href:"".concat(S.J.aieasypic.inspireModelDetail).concat(e.slug),passHref:!0,children:(0,t.jsx)(p.Z,{p:0,radius:10,children:(0,t.jsx)(M,{data:e})})}),(null==n?void 0:n.is_staff)&&(0,t.jsx)(u.$,{onClick:()=>a({slug:(null==e?void 0:e.slug)||""}),fullWidth:!0,color:"red",size:"lg",children:"Delete"})]},e.slug)}),[i,null==n?void 0:n.is_staff,a]);return(0,t.jsx)(j.x,{children:o})})},64423:(e,i,n)=>{"use strict";n.r(i),n.d(i,{__N_SSP:()=>C,default:()=>k});var t=n(6029),r=n(80898),l=n(35402),s=n(50433),a=n(13445),o=n(53551),d=n(99690),c=n(24565),u=n(56266),h=n(84335),x=n(87462),p=n(51638),g=n(6058),m=n(27835),f=n(81208),j=n(34417),w=n(1751),v=n(58943),b=n(92907),y=n(78138),S=n(82203),_=n.n(S),T=n(81278),z=n(55729),C=!0;let k=()=>{var e,i;let n=(0,T.useRouter)(),S=n.query,C=S.tags,k=S.page?parseInt(S.page):1,[M,E]=(0,z.useState)(S.search||""),[P,A]=(0,z.useState)(S.search||""),[D,B]=(0,z.useState)(S.downloaded||"all");(0,z.useEffect)(()=>{S.search&&S.search!==M&&E(S.search)},[S.search]),(0,z.useEffect)(()=>{S.downloaded&&S.downloaded!==D&&B(S.downloaded)},[S.downloaded]);let{data:N,isLoading:W}=(0,w.bB_)({tags:C||"",itemsPerPage:20,nsfw:!1,page:k,downloaded:(e=>{let{givenBoolean:i}=e;if(null!=i){if("yes"===i||"true"===i)return!0;
1if("no"===i||"false"===i)return!1}})({givenBoolean:D}),ordering:"-download_count",search:M,model_type:(e=[v._U.LORA],e.join(","))}),{data:I}=(0,j.P)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.a,{sx:e=>({[e.fn.smallerThan("md")]:{maxWidth:"100%"}}),children:[(0,t.jsx)(m.A,{title:"Model List - ".concat(b._g.fullSiteName),description:"".concat(b._g.fullSiteName," Model List. Discover all the new SD models and start creating your own AI generated images."),image:"https://aieasypic.com/api/next-api/images/models/".concat((null==N?void 0:N.results)&&(null==N||null==(i=N.results[0])?void 0:i.slug)||5616,"?leftText=Start%20Creating%20Now&withCreateButton=true"),url:"".concat(b._g.frontendUrl).concat(y.J.aieasypic.inspireModelAll,"?").concat(new URLSearchParams({search:M,downloaded:D,page:String(k),tags:C||""}).toString())}),(0,t.jsxs)(a.B,{spacing:"xs",py:30,children:[(0,t.jsx)(o.o,{sx:{marginTop:"10px"},children:(0,t.jsx)("form",{onSubmit:e=>{e.preventDefault(),n.push({pathname:n.pathname,query:{...S,search:P,page:1}})},children:(0,t.jsxs)(d.Y,{children:[(0,t.jsx)(c.k,{size:"lg",value:P,placeholder:"Search",onChange:e=>{A(e.target.value)},rightSection:W?(0,t.jsx)(u.a,{variant:"oval",size:"xs"}):null}),(0,t.jsx)(h.$,{type:"submit",leftIcon:"\uD83D\uDD0E",size:"lg",children:"Search"})]})})}),(0,t.jsxs)(x.h,{order:1,align:"center",children:[(null==N?void 0:N.count)||0," Models Found"]}),(null==N?void 0:N.count)===0&&(0,t.jsx)(f.default,{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:y.J.aieasypic.trainLorasCreate},learnMoreButton:{event:"Train Model Model Detail Signup",text:"Learn More",url:y.J.aieasypic.toolsLanding.trainModel},onlyShowInView:!0}),C&&(0,t.jsx)(s.a,{mb:"md",children:(0,t.jsx)(o.o,{children:(0,t.jsx)(a.B,{spacing:"xs",children:(0,t.jsxs)(x.h,{order:3,align:"center",transform:"uppercase",children:["Tag: ",null==C?void 0:C.split(",").join(" & ")]})})})})]}),(0,t.jsx)(d.Y,{position:"right",my:20}),W&&(0,t.jsx)(s.a,{sx:{height:500,position:"relative"},children:(0,t.jsx)(p.p,{visible:!0})}),!W&&(0,t.jsx)(l.A,{modelsData:(null==N?void 0:N.results)||[]}),((null==N?void 0:N.count)||0)>20&&(0,t.jsx)(o.o,{pt:40,children:(0,t.jsx)(g.d,{size:"xl",onChange:e=>{window.scrollTo(0,0)},total:Math.floor(((null==N?void 0:N.count)||0)/20)+1,value:k,getItemProps:e=>({component:_(),href:"?".concat(new URLSearchParams({...n.query,page:String(e)}).toString())})})})]}),!(null==I?void 0:I.id)&&(0,t.jsx)(r.default,{mainTitle:b._g.OwnAdBottom.mainTitle,mainText:b._g.OwnAdBottom.mainText,actionButton:{event:"Text to Image Landing Signup",text:"Start Creating For Free",url:(null==I?void 0:I.id)?y.J.aieasypic.textToImage:y.J.common.register},fullWidth:!0})]})}},80898:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>p});var t=n(6029),r=n(50433),l=n(48408),s=n(13445),a=n(87462),o=n(37948),d=n(99690),c=n(84335),u=n(82203),h=n.n(u),x=n(67051);let p=e=>{let{mainTitle:i,mainText:n,actionButton:u,secondaryActionButton:p,fullWidth:g=!1}=e,m=e=>{x.Ay.event({category:e,action:"Clicked ".concat(e)})};return(0,t.jsx)(r.a,{my:20,children:(0,t.jsx)(l.m,{size:g?"xl":"lg",py:40,children:(0,t.jsx)(r.a,{sx:e=>({padding:g?"60px":"40px",background:"radial-gradient(ellipse 100% 90% at 90% 50%, rgba(70, 0, 30, 1), rgba(30, 0, 15, .95))",borderRadius:e.radius.lg,[e.fn.smallerThan("md")]:{padding:"30px 20px"}}),children:(0,t.jsxs)(s.B,{spacing:40,align:"center",children:[(0,t.jsx)(a.h,{order:2,color:"white",size:36,sx:{textAlign:"center"},children:i}),(0,t.jsx)(o.E,{color:"white",size:"xl",sx:e=>({textAlign:"center",maxWidth:g?800:600,[e.fn.smallerThan("sm")]:{fontSize:e.fontSizes.lg}}),children:n}),(0,t.jsxs)(d.Y,{spacing:"md",sx:e=>
1({width:"100%",maxWidth:g?600:400,[e.fn.smallerThan("sm")]:{flexDirection:"column"}}),children:[p&&(0,t.jsx)(c.$,{component:h(),href:p.url,size:"xl",variant:"outline",color:"white",fullWidth:!0,onClick:()=>m(p.event),sx:e=>({borderColor:"rgba(255, 255, 255, 0.3)","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.1)"}}),children:p.text}),(0,t.jsx)(c.$,{component:h(),href:u.url,size:"xl",fullWidth:!0,onClick:()=>m(u.event),sx:e=>({backgroundColor:"white",color:e.colors.dark[9],"&:hover":{backgroundColor:e.colors.gray[0]}}),children:u.text})]})]})})})})}},81208:(e,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>_});var t=n(6029),r=n(50433),l=n(74536),s=n(69943),a=n(63887),o=n(87462),d=n(13445),c=n(37948),u=n(84335),h=n(74422),x=n(34417),p=n(82108),g=n(78138),m=n(71024),f=n.n(m),j=n(82203),w=n.n(j),v=n(81278);n(99988);var b=n(55729),y=n(12756);let S=f()(()=>n.e(9086).then(n.bind(n,49086)),{loadableGenerated:{webpack:()=>[49086]},ssr:!1}),_=(0,b.memo)(e=>{let{categoryTitle:i,mainTitle:n,mainText:m,videoPosition:f,video:j,actionButton:_,learnMoreButton:T,onlyShowInView:z,combined:C=!0}=e,k=(0,h.U)("(max-width: 768px)"),{data:M}=(0,x.P)(),{pathname:E}=(0,v.useRouter)();(0,b.useRef)(null);let P=(null==M?void 0:M.email)?_.url:"https://bestphoto.ai".concat(g.J.common.register,"?nextUrl=").concat(_.url),{observe:A,inView:D}=(0,y.W)({unobserveOnEnter:!0,rootMargin:"100px"});return(0,t.jsx)(r.a,{sx:e=>({minHeight:"280px",padding:"30px 20px 20px 20px",[e.fn.smallerThan("md")]:{padding:"10px 10px"}}),children:(0,t.jsx)(l.Z,{p:5,children:(0,t.jsx)(r.a,{sx:e=>({padding:"20px 40px",[e.fn.smallerThan("md")]:{padding:"10px 10px"}}),children:(0,t.jsxs)(s.x,{justify:"center",align:"center",gutter:10,gutterMd:50,children:[(0,t.jsxs)(a.f,{span:12,sm:C?5:12,order:1,orderSm:+("left"===f),children:[(0,t.jsx)(o.h,{order:3,sx:{width:"80%"},my:5,color:"pink",children:i}),(0,t.jsx)(o.h,{order:3,sx:e=>({fontSize:"55px",[e.fn.smallerThan("md")]:{fontSize:"30px"}}),pt:10,children:n}),(0,t.jsxs)(d.B,{spacing:"md",my:20,children:[m.map((e,i)=>(0,t.jsx)(c.E,{sx:e=>({fontSize:"22px",[e.fn.smallerThan("md")]:{fontSize:"18px"}}),weight:300,children:e})),(0,t.jsxs)(s.x,{mt:50,grow:!0,gutter:5,children:[(0,t.jsx)(a.f,{span:T?6:12,children:(0,t.jsx)(u.$,{size:"xl",component:w(),fullWidth:!0,href:P,rel:(0,p.Zi)(P,E),children:_.text})}),T&&(0,t.jsx)(a.f,{span:6,children:(0,t.jsx)(u.$,{size:"xl",component:w(),href:T.url,color:"gray",variant:"outline",fullWidth:!0,children:T.text})})]})]})]}),(0,t.jsx)(a.f,{span:12,sm:C?7:12,order:0,orderMd:+("left"!==f),my:10,children:(0,t.jsx)(r.a,{ref:A,children:(z&&D||!z)&&(0,t.jsx)(S,{autoPlay:!0,options:{autoplay:!0,muted:!0},source:{type:"video",sources:[{src:k&&j.mobileSrc?j.mobileSrc:j.src,type:"video/mp4",size:720}]}})})})]})})})})})}},e=>{e.O(0,[796,6058,7432,3297,3462,4494,7077,6625,636,6593,8792],()=>e(e.s=30007)),_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.