1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,841739,e=>{"use strict";var t=e.i(98134),s=e.i(675201),a=e.i(709236),l=e.i(656902);function r(){return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z",fill:"#4285F4"}),(0,t.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,t.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,t.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]})}function i({className:e,size:i="default",label:n="Continue with Google"}){let[o,c]=(0,s.useState)(!1),[d,x]=(0,s.useState)(null);async function p(){x(null),c(!0);let e=(0,a.createClient)(),{error:t}=await e.auth.signInWithOAuth({provider:"google",options:{redirectTo:`${window.location.origin}/auth/callback`}});t&&(x(t.message),c(!1))}return(0,t.jsxs)("div",{className:e,children:[(0,t.jsxs)(l.Button,{variant:"brutal-
1outline",size:i,className:"w-full",onClick:p,disabled:o,children:[(0,t.jsx)(r,{}),o?"Redirecting...":n]}),d&&(0,t.jsx)("p",{className:"mt-2 text-sm text-destructive text-center",children:d})]})}e.s(["GoogleSignInButton",()=>i])},779818,e=>{"use strict";let t=(0,e.i(591762).default)("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",()=>t],779818)},496195,e=>{"use strict";let t=(0,e.i(591762).default)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]);e.s(["Terminal",()=>t],496195)},645785,e=>{"use strict";let t=(0,e.i(591762).default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",()=>t],645785)},467936,e=>{"use strict";var t=e.i(98134),s=e.i(499352),a=e.i(656902),l=e.i(461865),r=e.i(841739),i=e.i(886733);function n(){let{user:e,loading:n}=(0,i.useAuth)();return n?(0,t.jsx)("div",{className:"flex flex-col sm:flex-row gap-4",children:(0,t.jsx)(a.Button,{variant:"brutal",size:"lg",disabled:!0,className:"w-full sm:w-auto opacity-60",children:"Loading..."})}):e?(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,t.jsx)(a.Button,{variant:"brutal",size:"lg",asChild:!0,children:(0,t.jsxs)(s.default,{href:"/platform",children:["Go to Dashboard",(0,t.jsx)(l.ArrowRight,{className:"ml-2 h-4 w-4"})]})}
1),(0,t.jsx)(a.Button,{variant:"brutal-outline",size:"lg",asChild:!0,children:(0,t.jsx)(s.default,{href:"/#how-it-works",children:"See how it works"})})]}):(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,t.jsx)(r.GoogleSignInButton,{size:"lg",label:"Start creating free"}),(0,t.jsx)(a.Button,{variant:"brutal-outline",size:"lg",asChild:!0,children:(0,t.jsx)(s.default,{href:"/#how-it-works",children:"See how it works"})})]})}e.s(["HeroCTA",()=>n])},778604,e=>{"use strict";var t=e.i(98134),s=e.i(675201),a=e.i(387106);let l="https://res.cloudinary.com/benpinchas1/image/upload",r="https://res.cloudinary.com/dy2queuww/image/upload",i=[{label:"Virtual try-on",input:`${r}/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`,outputs:[`${r}/v1773657448/zk84dd1c5hrpqz08pmvk_ffnknk.png`,`${r}/v1773657411/tgfgn851djbmib84ezfg_hhz1vd.png`,`${r}/v1773657473/qpi0prehowjz5n4ocaer_bbzbca.png`]},{label:"Car photography",input:`${r}/v1773653683/tmpt_ky7rq__f8eaxk.png`,outputs:[`${r}/v1773653710/tmpv9_xaxlr_arunwb.png`,`${r}/v1773653700/tmpimkuqpdf_j0ukpu.png`,`${r}/v1773653703/tmpxvw40vz0_ngcg9c.png`]},{label:"Color variants",input:`${r}/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`,outputs:[`${r}/v1773657477/sflh3ae1mn2g3uzljn3o_ose2s2.png`,`${r}/v1773657506/rlnfvndmwbn4ivv7ryme_hurzx6.png`,`${r}/v1773657507/trcpacwsbyhc1k01shsi_tyessm.png`]},{label:"Product shots",input:`${l}/v1771963920/ugc/b38bf880-2e85-4c9f-a4c0-4c71a2af6379/products/1771963920088-pmiw4n.avif`,outputs:[`${l}/v1771966797/ugc/b38bf880-2e85-4c9f-a4c0-4c71a2af6379/products/1771966794916-djit5.png`,`${l}/v1772204145/ugc/b38bf880-2e85-4c9f-a4c0-4c71a2af6379/products/1772204137996-3tez6en.png`,`${l}/v1771966800/ugc/b38bf880-2e85-4c9f-a4c0-4c71a2af6379/products/1771966798821-xu2lol`]}];function n(){let[e,l]=(0,s.useState)(0),[r,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(r)return;let e=setInterval(()=>{l(e=>(e+1)%i.length)},4e3);return()=>clearInterval(e)},[r]),(0,t.jsxs)("div",{className:"border-[3px] border-[#0A0A0A] bg-[#FFFFFF] shadow-[8px_8px_0_0_#0A0A0A] overflow-hidden relative",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 z-10 bg-[#F2FF00] border-b-[3px] border-l-[3px] border-[#0A0A0A] px-3 py-1",children:(0,t.jsxs)("span",{className:"font-mono-brutal text-[10px] font-bold uppercase tracking-widest text-[#0A0A0A] flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[#FF4438] animate-pulse"}),"LIVE"]})}),(0,t.jsx)("div",{className:"relative grid [&>*]:col-start-1 [&>*]:row-start-1",children:i.map((s,l)=>(0,t.jsx)("div",{className:`p-2 ${l===e?"pointer-events-auto":"pointer-events-none"}`,"aria-hidden":l!==e,children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-1.5 w-full",children:[s.outputs.length<4&&(0,t.jsx)("div",{className:`transition-all duration-500 ease-out ${l===e?"opacity-100 scale-100":"opacity-0 scale-95"}`,style:{transitionDelay:"0ms"},children:(0,t.jsxs)("div",{className:"relative overflow-hidden",children:[(0,t.jsx)(a.default,{src:s.input,alt:"Original",width:800,height:800,className:"w-full h-auto",style:{width:"100%",height:"auto"},sizes:"(max-width: 640px) 45vw, 22vw"}),(0,t.jsx)("span",{className:"absolute top-1.5 left-1.5 bg-[#0A0A0A] text-[#F2FF00] font-mono-brutal text-[9px] uppercase tracking-wider px-2 py-0.5",children:"Original"})]})}),s.outputs.map((r,i)=>{let n=s.outputs.length<4?i+1:i;return(0,t.jsx)("div",{className:`transition-all duration-500 ease-out ${l===e?"opacity-100 scale-100":"opacity-0 scale-95"}`,style:{transitionDelay:l===e?`${200*n}ms`:"0ms"},children:(0,t.jsx)(a.default,{src:r,alt:`${s.label} result ${i+1}`,width:800,height:800,className:"w-full h-auto",style:{width:"100%",height:"auto"},sizes:"(max-width: 640px) 45vw, 22vw",priority:0===l})},i)})]})},l))}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-t-[3px] border-[#0A0A0A] bg-[#0A0A0A]",children:[(0,t.jsx)("span",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#F2FF00]",children:i[e].label}),(0,t.jsx)("div",{className:"flex items-center gap-1.5",children:i.map((s,a)=>(0,t.jsx)("button",{onClick:()=>l(a),"aria-label":`Show ${s.label}`,className:`h-2 transition-all duration-300 overflow-hidden border border-[#3A3A3A] ${a===e?"w-8 bg-[#3A3A3A]":"w-2 bg-[#3A3A3A] hover:bg-[#6A6A6A]"}`,children:a===e&&(0,t.jsx)("div",{className:"h-full bg-[#F2FF00]",style:{animation:"hero-progress 4s linear forwards",animationPlayState:r?"paused":"running"}},e)},a))})]})]})}e.s(["HeroDemo",()=>n])},291898,e=>{"use strict";var t=e.i(98134),s=e.i(675201),a=e.i(387106);let l="https://res.cloudinary.com/dy2queuww/image/upload",r=[{id:"tryon",title:"Virtual Try-On",description:"Upload a product photo and see it worn by a model in seconds",baseImage:`${l}/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`,generatedImages:[`${l}/v1773657448/zk84dd1c5hrpqz08pmvk_ffnknk.png`,`${l}/v1773657411/tgfgn851djbmib84ezfg_hhz1vd.png`,`${l}/v1773657473/qpi0prehowjz5n4ocaer_bbzbca.png`]},{id:"colors",title:"Color Variants",description:"Generate your product in every color without a single reshoot",baseImage:`${l}/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`,generatedImages:[`${l}/v1773657477/sflh3ae1mn2g3uzljn3o_ose2s2.png`,`${l}/v1773657506/rlnfvndmwbn4ivv7ryme_hurzx6.png`,`${l}/v1773657507/trcpacwsbyhc1k01shsi_tyessm.png`]},{id:"car",title:"Car Photography",description:"Turn a single car photo into a studio-quality collection",baseImage:`${l}/v1773653683/tmpt_ky7rq__f8eaxk.png`,generatedImages:[`${l}/v1773653710/tmpv9_xaxlr_arunwb.png`,`${l}/v1773653700/tmpimkuqpdf_j0ukpu.png`,`${l}/v1773653703/tmpxvw40vz0_ngcg9c.png`]}];
1function i(){let[e,l]=(0,s.useState)(r[0].id),i=r.find(t=>t.id===e);return(0,t.jsx)("section",{id:"showcase",className:"py-24 bg-[#F5F1E8]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)("p",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#0A0A0A] mb-4",children:"â Showcase"}),(0,t.jsx)("h2",{className:"font-serif italic text-[#0A0A0A] mb-4",style:{fontSize:"clamp(2.5rem, 5vw, 4rem)"},children:"See the transformation"}),(0,t.jsx)("p",{className:"text-[#4A4A4A] max-w-xl leading-relaxed",children:"Upload a simple photo and watch it transform into professional-quality images across multiple styles."})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-0 mb-12 border-[3px] border-[#0A0A0A] w-fit",children:r.map((s,a)=>(0,t.jsx)("button",{onClick:()=>l(s.id),className:`px-6 py-3 font-mono-brutal text-xs font-bold uppercase tracking-widest transition-colors ${a<r.length-1?"border-r-[3px] border-[#0A0A0A]":""} ${e===s.id?"bg-[#F2FF00] text-[#0A0A0A]":"bg-[#F5F1E8] text-[#0A0A0A] hover:bg-[#E8E3D8]"}`,children:s.title},s.id))}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-8",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("p",{className:"font-mono-brutal text-[10px] font-bold uppercase tracking-widest text-[#0A0A0A] mb-3",children:"Original"}),(0,t.jsx)("div",{className:"relative w-48 md:w-56 overflow-hidden border-[3px] border-[#0A0A0A] shadow-[6px_6px_0_0_#0A0A0A] bg-[#E8E3D8]",children:(0,t.jsx)(a.default,{src:i.baseImage,alt:"Original photo",width:600,height:600,className:"w-full h-auto",sizes:"(max-width: 768px) 192px, 224px"})})]})}),(0,t.jsx)("div",{className:"flex-shrink-0 text-[#0A0A0A]",children:(0,t.jsx)("span",{className:"font-serif text-5xl font-black","aria-hidden":"true",children:"â"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"font-mono-brutal text-[10px] font-bold uppercase tracking-widest text-[#0A0A0A] mb-3",children:"Generated Variations"}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-3",children:i.generatedImages.map((e,s)=>(0,t.jsx)("div",{className:"relative overflow-hidden border-[3px] border-[#0A0A0A] shadow-[6px_6px_0_0_#0A0A0A] hover:translate-x-[6px] hover:translate-y-[6px] hover:shadow-[0_0_0_0_#0A0A0A] transition-[transform,box-shadow] duration-100 bg-[#E8E3D8]",children:(0,t.jsx)(a.default,{src:e,alt:`${i.title} variation ${s+1}`,width:600,height:600,className:"w-full h-auto",sizes:"(max-width: 768px) 40vw, 20vw"})},s))})]})]}),(0,t.jsxs)("div",{className:"mt-10 flex items-start gap-4",children:[(0,t.jsx)("div",{className:"w-1 h-16 bg-[#F2FF00] border-[2px] border-[#0A0A0A] flex-shrink-0"}),(0,t.jsx)("p",{className:"text-[#4A4A4A] text-lg leading-relaxed max-w-lg",children:i.description})]})]})})}e.s(["ShowcaseSection",()=>i])},867591,e=>{"use strict";var t=e.i(98134),s=e.i(387106);let a="https://res.cloudinary.com/dy2queuww/image/upload",l=[{label:"Product",original:`${a}/v1773653683/tmpt_ky7rq__f8eaxk.png`,result:`${a}/e_background_removal/v1773653683/tmpt_ky7rq__f8eaxk.png`},{label:"Portrait",original:`${a}/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`,result:`${a}/e_background_removal/v1773655106/xp2rgwyjv51yexbcyd44_xg0s1e.png`},{label:"Object",original:`${a}/v1773653720/zsfvijn0iwha1qhnfbey_arlezu.png`,result:`${a}/e_background_removal/v1773653720/zsfvijn0iwha1qhnfbey_arlezu.png`}];function r(){return(0,t.jsx)("section",{id:"remove-bg",className:"py-24 bg-[#0A0A0A]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)("p",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#F2FF00] mb-4",children:"â Background Removal"}),(0,t.jsx)("h2",{className:"font-serif italic text-[#F5F1E8] mb-4",style:{fontSize:"clamp(2.5rem, 5vw, 4rem)"},children:"Clean cuts, every time"}),(0,t.jsx)("p",{className:"text-[#9A9A8A] max-w-xl leading-relaxed",children:"Remove backgrounds instantly with pixel-perfect precision â no manual editing required."})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:l.map(e=>(0,t.jsxs)("div",{className:"space-y-0 border-[3px] border-[#3A3A3A] shadow-[6px_6px_0_0_#F2FF00]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 py-2 border-b-[3px] border-[#3A3A3A] bg-[#1A1A1A]",children:[(0,t.jsx)("span",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#F2FF00]",children:e.label}),(0,t.jsx)("span",{className:"font-mono-brutal text-[10px] uppercase tracking-widest text-[#6A6A5A]",children:"Original â Cut"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden border-r-[3px] border-[#3A3A3A] bg-[#2A2A2A]",children:[(0,t.jsx)(s.default,{src:e.original,alt:`${e.label} original`,width:600,height:600,className:"w-full h-auto",sizes:"(max-width: 768px) 45vw, 15vw"}),(0,t.jsx)("span",{className:"absolute top-2 left-2 bg-[#0A0A0A] text-[#F5F1E8] font-mono-brutal text-[9px] uppercase tracking-wider px-2 py-0.5",children:"Before"})]}),(0,t.jsxs)("div",{className:"relative overflow-hidden bg-[url('/checkerboard.svg')] bg-repeat bg-[length:16px_16px]",children:[(0,t.jsx)(s.default,{src:e.result,alt:`${e.label} background removed`,width:600,height:600,className:"w-full h-auto",sizes:"(max-width: 768px) 45vw, 15vw"}),(0,t.jsx)("span",{className:"absolute top-2 left-2 bg-[#F2FF00] text-[#0A0A0A] font-mono-brutal text-[9px] uppercase tracking-wider px-2 py-0.5",children:"After"})]})]})]},e.label))})]})})}e.s(["RemoveBgSection",()=>r])},974187,e=>{"use strict";var t=e.i(98134),s=e.i(675201),a=e.i(499352),l=e.i(656902),r=e.i(461865),i=e.i(496195),n=e.i(779818);let o=(0,e.i(591762).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var c=e.i(645785);let d=[{text:"import",cls:"text-purple-400"},{text:" MakePhotos ",cls:"text-green-300"},{text:"from",cls:"text-purple-400"},{text:" 'makephotos'",cls:"text-amber-300"},{text:";",cls:"text-neutral-400"},{text:"\n\n",cls:""},{text:"const",cls:"text-purple-400"},{text:" client ",cls:"text-blue-300"},{text:"=",cls:"text-neutral-400"},{text:" new",cls:"text-purple-400"},{text:" MakePhotos",cls:"text-green-300"},{text:"({\n",cls:"text-neutral-400"},{text:" apiKey",cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:"'mk_live_...'",cls:"text-amber-300"},{text:",\n});\n\n",cls:"text-neutral-400"},{text:"const",cls:"text-purple-400"},{text:" result ",cls:"text-blue-300"},{text:"=",cls:"text-neutral-400"},{text:" await",cls:"text-purple-400"},{text:" client",cls:"text-blue-300"},{text:".generate.create",cls:"text-neutral-300"},{text:"({\n",cls:"text-neutral-400"},{text:" imageUrl",cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:"'https://example.com/product.jpg'",cls:"text-amber-300"},{text:",\n",cls:"text-neutral-400"},{text:" type",cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:"'product'",cls:"text-amber-300"},{text:",\n",cls:"text-neutral-400"},{text:" style",cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:"'studio'",cls:"text-amber-300"},{text:",\n});\n\n",cls:"text-neutral-400"},{text:"console",cls:"text-blue-300"},{text:".log",cls:"text-neutral-300"},{text:"(",cls:"text-neutral-400"},{text:"result",cls:"text-blue-300"},{text:".resultUrl",cls:"text-neutral-300"},{text:");",cls:"text-neutral-400"}],x=[{text:"curl",cls:"text-green-300"},{text:" -X POST ",cls:"text-neutral-300"},{text:"\\",cls:"text-neutral-500"},{text:"\n ",cls:""},{text:'"https://makephotos.ai/api/v1/generate?key=mk_live_..."',cls:"text-amber-300"},{text:" \\\n ",cls:"text-neutral-500"},{text:"-H ",cls:"text-neutral-300"},{text:'"Content-Type: application/json"',cls:"text-amber-300"},{text:" \\\n ",cls:"text-neutral-500"},{text:"-d ",cls:"text-neutral-300"},{text:"'{\n",cls:"text-amber-300"},{text:' "image_url"',cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:'"https://example.com/product.jpg"',cls:"text-amber-300"},{text:",\n",cls:"text-neutral-400"},{text:' "type"',cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:'"product"',cls:"text-amber-300"},{text:",\n",cls:"text-neutral-400"},{text:' "style"',cls:"text-blue-300"},{text:": ",cls:"text-neutral-400"},{text:'"studio"',cls:"text-amber-300"},{text:"\n }'",cls:"text-amber-300"}],p=[{icon:n.Package,title:"TypeScript SDK",description:"npm install makephotos â typed client with full IntelliSense"}
1,{icon:o,title:"REST API",description:"5 endpoints, simple ?key= auth, JSON in/out"},{icon:c.CreditCard,title:"Shared credits",description:"Same subscription, no separate API billing"}];function u(){let[e,o]=(0,s.useState)("sdk");return(0,t.jsx)("section",{id:"api",className:"py-24 px-6 bg-[#F5F1E8]",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[(0,t.jsxs)("div",{className:"space-y-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#0A0A0A] mb-4",children:"â Developer API"}),(0,t.jsxs)("h2",{className:"font-sans font-black text-[#0A0A0A] mb-4",style:{fontSize:"clamp(2rem, 4vw, 3.5rem)"},children:["Build with our"," ",(0,t.jsx)("span",{className:"font-serif italic",children:"API"})]}),(0,t.jsx)("p",{className:"text-[#4A4A4A] leading-relaxed max-w-md",children:"Integrate AI photo generation into your app, workflow, or AI agent. Our API and TypeScript SDK make it trivial to generate studio-quality photos programmatically."})]}),(0,t.jsx)("div",{className:"space-y-4",children:p.map(e=>(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"w-10 h-10 bg-[#F2FF00] border-[3px] border-[#0A0A0A] flex items-center justify-center shrink-0",children:(0,t.jsx)(e.icon,{className:"w-4 h-4 text-[#0A0A0A]",strokeWidth:2})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-bold text-[#0A0A0A] font-sans",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-[#4A4A4A]",children:e.description})]})]},e.title))}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(l.Button,{variant:"brutal",asChild:!0,children:(0,t.jsxs)(a.default,{href:"/docs",children:["Read the docs",(0,t.jsx)(r.ArrowRight,{className:"ml-1.5 h-3.5 w-3.5"})]})}
1),(0,t.jsx)(l.Button,{variant:"brutal-outline",asChild:!0,children:(0,t.jsxs)("a",{href:"https://www.npmjs.com/package/makephotos",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(n.Package,{className:"mr-1.5 h-3.5 w-3.5"}),"npm Package"]})})]})]}),(0,t.jsxs)("div",{className:"border-[3px] border-[#0A0A0A] shadow-[8px_8px_0_0_#0A0A0A] overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between bg-[#1e1e2e] px-4 py-3 border-b-[3px] border-[#0A0A0A]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"w-3 h-3 bg-[#FF4438] border border-[#0A0A0A]"}),(0,t.jsx)("span",{className:"w-3 h-3 bg-[#F2FF00] border border-[#0A0A0A]"}),(0,t.jsx)("span",{className:"w-3 h-3 bg-[#4CAF50] border border-[#0A0A0A]"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-0",children:[(0,t.jsx)("button",{onClick:()=>o("sdk"),className:`px-4 py-1.5 font-mono-brutal text-xs font-bold uppercase tracking-widest transition-colors border-b-[3px] ${"sdk"===e?"border-[#F2FF00] text-[#F2FF00]":"border-transparent text-neutral-500 hover:text-neutral-300"}`,children:"SDK"}),(0,t.jsx)("button",{onClick:()=>o("curl"),className:`px-4 py-1.5 font-mono-brutal text-xs font-bold uppercase tracking-widest transition-colors border-b-[3px] ${"curl"===e?"border-[#F2FF00] text-[#F2FF00]":"border-transparent text-neutral-500 hover:text-neutral-300"}`,children:"cURL"})]}),(0,t.jsx)(i.Terminal,{className:"w-4 h-4 text-neutral-500"})]}),(0,t.jsx)("div",{className:"bg-[#1e1e2e] p-5 overflow-x-auto",children:(0,t.jsx)("pre",{className:"text-[13px] leading-relaxed font-mono whitespace-pre",children:("sdk"===e?d:x).map((e,s)=>(0,t.jsx)("span",{className:e.cls,children:e.text},s))})})]})]})})})}e.s(["APISection",()=>u],974187)},76953,e=>{"use strict";var t=e.i(98134),s=e.i(675201);let a=[{question:"What are AI credits?",answer:"Credits are the currency for generating photos. Each photo generation uses a certain number of credits depending on the quality settings and AI model. Your credits refresh monthly with your subscription."},{question:"Can I use photos for commercial purposes?",answer:"Yes, with Pro and Ultra plans. These include a commercial license allowing you to use generated photos for business, marketing, client work, and other commercial applications."},{question:"What is parallel processing?",answer:"Parallel processing lets you generate multiple photos at once instead of waiting for each one to finish. Pro allows 3 simultaneous generations, Ultra allows 10."},{question:"Do unused credits roll over?",answer:"Yes, unused credits roll over to the next month, up to a maximum of 2x your monthly allocation. This gives you flexibility to save credits for larger projects."},{question:"What AI models are available?",answer:"We offer multiple AI models optimized for different styles: photorealistic, artistic, illustration, and more. Pro and Ultra plans include access to all models plus early access to new releases."},{question:"Can I cancel anytime?",answer:"Yes, you can cancel your subscription at any time. You will retain access until the end of your billing period, and any remaining credits stay available during that time."},{question:"Do you have an API?",answer:"Yes. MakePhotos offers a full REST API and an official TypeScript SDK (npm install makephotos). Generate photos, remove backgrounds, upload images, and check credits â all programmatically. API usage shares your subscription credits with no separate billing."}];function l(){let[e,l]=(0,s.useState)(null);return(0,t.jsx)("section",{id:"faq",className:"py-24 px-6 bg-[#F5F1E8]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)("p",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#0A0A0A] mb-4",children:"â FAQ"}),(0,t.jsxs)("h2",{className:"font-sans font-black text-[#0A0A0A]",style:{fontSize:"clamp(2rem, 4vw, 3.5rem)"},children:["Common"," ",(0,t.jsx)("span",{className:"font-serif italic",children:"questions"})]})]}),(0,t.jsx)("div",{className:"space-y-[-3px]",children:a.map((s,a)=>{let r=e===a;return(0,t.jsxs)("div",{className:`border-[3px] border-[#0A0A0A] transition-colors ${r?"bg-[#F2FF00]":"bg-[#FFFFFF] hover:bg-[#F5F1E8]"}`,children:[(0,t.jsxs)("button",{onClick:()=>l(r?null:a),className:"w-full flex items-center justify-between px-6 py-5 text-left focus-visible:outline-none","aria-expanded":r,children:[(0,t.jsx)("span",{className:"text-base font-bold text-[#0A0A0A] font-sans pr-4",children:s.question}),(0,t.jsx)("span",{className:`font-mono-brutal text-2xl font-bold text-[#0A0A0A] flex-shrink-0 transition-transform duration-200 ${r?"rotate-45":"rotate-0"}`,"aria-hidden":"true",children:"+"})]}),(0,t.jsx)("div",{className:`overflow-hidden transition-all duration-200 ${r?"max-h-96":"max-h-0"}`,children:(0,t.jsx)("p",{className:"px-6 pb-5 text-[#0A0A0A] leading-relaxed",children:s.answer})})]},a)})})]})})}e.s(["FAQSection",()=>l])},51430,e=>{"use strict";
1var t=e.i(98134),s=e.i(656902),a=e.i(499352),l=e.i(461865),r=e.i(886733);function i(){let{user:e}=(0,r.useAuth)();return(0,t.jsx)("section",{className:"py-24 px-6 bg-[#F2FF00] border-y-[3px] border-[#0A0A0A]",children:(0,t.jsx)("div",{className:"mx-auto max-w-3xl",children:(0,t.jsxs)("div",{className:"grid md:grid-cols-[1fr_auto] gap-8 items-end",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono-brutal text-xs font-bold uppercase tracking-widest text-[#0A0A0A] mb-6 opacity-60",children:"â Get started today"}),(0,t.jsxs)("h2",{className:"font-sans font-black text-[#0A0A0A] leading-tight",style:{fontSize:"clamp(2.5rem, 6vw, 5rem)"},children:["Ready to start"," ",(0,t.jsx)("span",{className:"font-serif italic",children:"creating"}),"?"]}),(0,t.jsx)("p",{className:"text-[#0A0A0A]/70 mt-4 max-w-md text-lg leading-relaxed",children:"Describe what you envision, choose your style, and bring ideas to life in seconds."})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsx)(s.Button,{variant:"brutal-ghost",size:"lg",asChild:!0,children:(0,t.jsxs)(a.default,{href:e?"/platform":"/signup",children:[e?"Go to Dashboard":"Get started free",(0,t.jsx)(l.ArrowRight,{className:"ml-2 h-4 w-4"})]})}),!e&&(0,t.jsx)("p",{className:"font-mono-brutal text-[10px] uppercase tracking-widest text-[#0A0A0A]/60 text-center",children:"No credit card required"})]})]})})})}e.s(["CTASection",()=>i])}]);
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.