PageSourceSearch

https://legnext.ai/_next/static/chunks/app/%5Blocale%5D/page-f287328ea0a24efc.js

js legnext.ai collected 2026-10-05 12:09:39 UTC 53,044 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5061],{28117:function(e,t,s){Promise.resolve().then(s.bind(s,52063)),Promise.resolve().then(s.bind(s,43430)),Promise.resolve().then(s.bind(s,50892)),Promise.resolve().then(s.bind(s,35548)),Promise.resolve().then(s.bind(s,60880)),Promise.resolve().then(s.bind(s,43019)),Promise.resolve().then(s.bind(s,16886)),Promise.resolve().then(s.bind(s,5081)),Promise.resolve().then(s.bind(s,29140)),Promise.resolve().then(s.bind(s,54966)),Promise.resolve().then(s.bind(s,35661)),Promise.resolve().then(s.bind(s,29308)),Promise.resolve().then(s.bind(s,58453)),Promise.resolve().then(s.bind(s,97169)),Promise.resolve().then(s.bind(s,6641)),Promise.resolve().then(s.bind(s,79441)),Promise.resolve().then(s.t.bind(s,88003,23)),Promise.resolve().then(s.bind(s,81523)),Promise.resolve().then(s.bind(s,70049))},35548:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(38706),l=s(33145),i=s(2265);t.default=()=>{let e=(0,r.T)("aiTools"),[t,s]=(0,i.useState)("image_generation"),n=(0,i.useRef)({}),o=[{id:"image_generation",label:e("imageGeneration.short"),desktopLabel:e("imageGeneration.full"),icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}),(0,a.jsx)("circle",{cx:"9",cy:"9",r:"2"}),(0,a.jsx)("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]}),color:"text-[#8b5cf6]",bgColor:"bg-[#8b5cf6]/10"},{id:"updating_image",label:e("updatingImage.short"),desktopLabel:e("updatingImage.full"),icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M12 20h9"}),(0,a.jsx)("path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"})]}),color:"text-purple-600",bgColor:"bg-purple-100"},{id:"enhance_image",label:e("enhanceImage.short"),desktopLabel:e("enhanceImage.full"),icon:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})}),color:"text-green-600",bgColor:"bg-green-100"},{id:"video_generation",label:e("videoGeneration.short"),desktopLabel:e("videoGeneration.full"),icon:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("polygon",{points:"23 7 16 12 23 17 23 7"}),(0,a.jsx)("rect",{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"})]}),color:"text-purple-600",bgColor:"bg-purple-100"}],d=e=>{s(e);let t=n.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"start"})};return(0,i.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&s(e.target.id)})},{rootMargin:"-20% 0px -80% 0px",threshold:0}),t=setTimeout(()=>{Object.values(n.current).forEach(t=>{t&&e.observe(t)})},100);return()=>{clearTimeout(t),e.disconnect()}},[]),(0,a.jsx)("section",{className:"py-20 md:py-24 bg-white",id:"ai-tools",children:(0,a.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-8 md:mb-12",children:[(0,a.jsx)("p",{className:"text-xs md:text-sm font-semibold uppercase text-[#8b5cf6] mb-2",children:e("header.badge")}),(0,a.jsx)("h2",{className:"text-black font-sans mb-4 md:mb-5 text-2xl md:text-3xl lg:text-4xl font-bold leading-tight",children:e("header.title")}),(0,a.jsx)("p",{className:"text-black font-medium mb-6 md:mb-8 text-base md:text-xl leading-relaxed text-gray-600 max-w-3xl mx-auto",children:e("header.subtitle")})]}),(0,a.jsxs)("div",{className:"mb-6 md:mb-8",children:[(0,a.jsx)("div",{className:"sticky top-0 z-10 backdrop-blur-sm md:border-b border-gray-200 mb-8 md:mb-12 bg-white/95",children:(0,a.jsxs)("div",{className:"px-3 py-3 md:px-4 md:py-4",children:[(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsx)("div",{className:"flex gap-2 flex-wrap justify-center",children:o.map(e=>(0,a.jsxs)("button",{className:"nav-tab-mobile flex items-center space-x-2 px-3 py-2 rounded-full text-xs font-medium transition-all duration-200 whitespace-nowrap ".concat(t===e.id?"bg-[#8b5cf6] text-white shadow-md":"bg-gray-100 text-gray-600 hover:bg-gray-200 hover:text-gray-800"),onClick:()=>d(e.id),children:[(0,a.jsx)("span",{className:"text-xs",children:e.icon}),(0,a.jsx)("span",{children:e.label})]},e.id))})}),(0,a.jsx)("div",{className:"hidden md:flex gap-2 justify-center flex-wrap",children:o.map(e=>(0,a.jsxs)("button",{className:"nav-tab-desktop flex items-center space-x-2 px-4 py-3 rounded-lg text-sm font-medium transition-all duration-200 whitespace-nowrap ".concat(t===e.id?"bg-[#8b5cf6] text-white shadow-lg":"text-gray-600 hover:text-gray-800 hover:bg-gray-100"),onClick:()=>d(e.id),children:[(0,a.jsx)("span",{className:"text-xl",children:e.icon}),(0,a.jsx)("span",{children:e.desktopLabel})]},e.id))})]})}),(0,a.jsxs)("div",{className:"space-y-8 md:space-y-14",children:[(0,a.jsx)("section",{id:"image_generation",className:"scroll-mt-32 md:scroll-mt-40",ref:e=>{e&&(n.current.image_generation=e)},children:(0,a.jsx)("div",{className:"block bg-white rounded-lg md:rounded-xl shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100",children:(0,a.jsxs)("div",{className:"block md:grid md:grid-cols-2 md:gap-0",children:[(0,a.jsx)("div",{className:"relative bg-linear-to-br from-purple-600/10 to-purple-50 w-full h-48 sm:h-56 md:h-64 lg:h-80 xl:h-96 flex items-center justify-center overflow-hidden md:p-6 lg:p-8",children:(0,a.jsx)(l.default,{src:"/images/example/0_640_n(1).WEBP",alt:"AI Avatar Generation with Midjourney API - Create avatars from text prompts or reference images",width:400,height:400,className:"w-full h-full rounded-lg object-cover object-center",loading:"lazy",quality:85})}),(0,a.jsxs)("div",{className:"p-4 md:p-8 flex flex-col justify-center",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-3 mb-3 md:mb-4",children:[(0,a.jsx)("div",{className:"w-6 h-6 md:w-8 md:h-8 ".concat(o[0].bgColor," rounded-lg flex items-center justify-center ").concat(o[0].color," shrink-0"),children:o[0].icon}),(0,a.jsx)("h3",{className:"text-lg md:text-2xl font-bold text-gray-900 leading-tight",children:e("imageGeneration.title")})]}),(0,a.jsx)("p",{className:"text-sm md:text-base text-gray-600 mb-4 md:mb-6 leading-relaxed",children:e("imageGeneration.description")}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 md:grid-cols-2 md:gap-3 mb-4 md:mb-6",children:[(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/imagine"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/reroll"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/blend"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/pan"})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,a.jsx)("span",{className:"inline-flex items-center text-[#8b5cf6] font-medium text-sm md:text-base",children:e("imageGeneration.checkmark")})})]})]})})}),(0,a.jsx)("section",{id:"updating_image",className:"scroll-mt-32 md:scroll-mt-40",ref:e=>{e&&(n.current.updating_image=e)},children:(0,a.jsx)("div",{className:"block bg-white rounded-lg md:rounded-xl shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100",children:(0,a.jsxs)("div",{className:"block md:grid md:grid-cols-2 md:gap-0",children:[(0,a.jsx)("div",{className:"relative bg-linear-to-br from-purple-50 to-pink-50 w-full h-48 sm:h-56 md:h-64 lg:h-80 xl:h-96 flex items-center justify-center overflow-hidden md:p-6 lg:p-8 md:order-2",children:(0,a.jsx)(l.default,{src:"/images/example/0_640_n(4).WEBP",alt:"Image variations created with Midjourney API - Multiple expressions and styles generated from single prompt",width:400,height:400,className:"w-full h-full rounded-lg object-cover object-center",loading:"lazy",quality:85})}),(0,a.jsxs)("div",{className:"p-4 md:p-8 flex flex-col justify-center md:order-1",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-3 mb-3 md:mb-4",children:[(0,a.jsx)("div",{className:"w-6 h-6 md:w-8 md:h-8 ".concat(o[1].bgColor," rounded-lg flex items-center justify-center ").concat(o[1].c
1olor," shrink-0"),children:o[1].icon}),(0,a.jsx)("h3",{className:"text-lg md:text-2xl font-bold text-gray-900 leading-tight",children:e("updatingImage.title")})]}),(0,a.jsx)("p",{className:"text-sm md:text-base text-gray-600 mb-4 md:mb-6 leading-relaxed",children:e("updatingImage.description")}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 md:grid-cols-2 md:gap-3 mb-4 md:mb-6",children:[(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/upscale"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/variations"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/inpaint"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/outpaint"})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,a.jsx)("span",{className:"inline-flex items-center text-purple-600 font-medium text-sm md:text-base",children:e("updatingImage.checkmark")})})]})]})})}),(0,a.jsx)("section",{id:"enhance_image",className:"scroll-mt-32 md:scroll-mt-40",ref:e=>{e&&(n.current.enhance_image=e)},children:(0,a.jsx)("div",{className:"block bg-white rounded-lg md:rounded-xl shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100",children:(0,a.jsxs)("div",{className:"block md:grid md:grid-cols-2 md:gap-0",children:[(0,a.jsx)("div",{className:"relative bg-linear-to-br from-green-50 to-teal-50 w-full h-48 sm:h-56 md:h-64 lg:h-80 xl:h-96 flex items-center justify-center overflow-hidden md:p-6 lg:p-8",children:(0,a.jsx)(l.default,{src:"/images/example/0_640_n(13).WEBP",alt:"AI Image Enhancement with Midjourney API - Enhanced and refined image quality example",width:400,height:400,className:"w-full h-full rounded-lg object-cover object-center",loading:"lazy",quality:85})}),(0,a.jsxs)("div",{className:"p-4 md:p-8 flex flex-col justify-center",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-3 mb-3 md:mb-4",children:[(0,a.jsx)("div",{className:"w-6 h-6 md:w-8 md:h-8 ".concat(o[2].bgColor," rounded-lg flex items-center justify-center ").concat(o[2].color," shrink-0"),children:o[2].icon}),(0,a.jsx)("h3",{className:"text-lg md:text-2xl font-bold text-gray-900 leading-tight",children:e("enhanceImage.title")})]}),(0,a.jsx)("p",{className:"text-sm md:text-base text-gray-600 mb-4 md:mb-6 leading-relaxed",children:e("enhanceImage.description")}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 md:grid-cols-2 md:gap-3 mb-4 md:mb-6",children:[(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/remove-background"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/retexture"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/enhance"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/remix"})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,a.jsx)("span",{className:"inline-flex items-center text-green-600 font-medium text-sm md:text-base",children:e("enhanceImage.checkmark")})})]})]})})}),(0,a.jsx)("section",{id:"video_generation",className:"scroll-mt-32 md:scroll-mt-40",ref:e=>{e&&(n.current.video_generation=e)},children:(0,a.jsx)("div",{className:"block bg-white rounded-lg md:rounded-xl shadow-sm hover:shadow-md transition-shadow duration-300 border border-gray-100",children:(0,a.jsxs)("div",{className:"block md:grid md:grid-cols-2 md:gap-0",children:[(0,a.jsx)("div",{className:"relative bg-linear-to-br from-purple-50 to-purple-50 w-full h-48 sm:h-56 md:h-64 lg:h-80 xl:h-96 flex items-center justify-center overflow-hidden md:p-6 lg:p-8 md:order-2",children:(0,a.jsx)("video",{src:"/images/example/Explore.webm",autoPlay:!0,loop:!0,muted:!0,playsInl
1ine:!0,className:"w-full h-full rounded-lg object-cover object-center"})}),(0,a.jsxs)("div",{className:"p-4 md:p-8 flex flex-col justify-center md:order-1",children:[(0,a.jsxs)("div",{className:"flex items-center space-x-3 mb-3 md:mb-4",children:[(0,a.jsx)("div",{className:"w-6 h-6 md:w-8 md:h-8 ".concat(o[3].bgColor," rounded-lg flex items-center justify-center ").concat(o[3].color," shrink-0"),children:o[3].icon}),(0,a.jsx)("h3",{className:"text-lg md:text-2xl font-bold text-gray-900 leading-tight",children:e("videoGeneration.title")})]}),(0,a.jsx)("p",{className:"text-sm md:text-base text-gray-600 mb-4 md:mb-6 leading-relaxed",children:e("videoGeneration.description")}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 md:grid-cols-2 md:gap-3 mb-4 md:mb-6",children:[(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/video-diffusion"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/extend-video"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"/video-upscale"})}),(0,a.jsx)("div",{className:"flex items-center p-2 md:p-3 bg-gray-50 rounded-lg",children:(0,a.jsx)("span",{className:"text-gray-700 text-xs md:text-sm font-medium",children:"Video Model V1"})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-3",children:(0,a.jsx)("span",{className:"inline-flex items-center text-purple-600 font-medium text-sm md:text-base",children:e("videoGeneration.checkmark")})})]})]})})})]})]})]})})}},50892:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(38706),l=s(2265);let i="npx skills add legnext-ai/skills",n="https://docs.legnext.ai/mcp",o=e=>{let{text:t,tone:s="dark"}=e,i=(0,r.T)("agentSection"),[n,o]=(0,l.useState)(!1),d=async()=>{try{await navigator.clipboard.writeText(t)}catch(s){let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}o(!0),setTimeout(()=>o(!1),2e3)};return(0,a.jsxs)("button",{type:"button",onClick:d,"aria-label":i(n?"copied":"copy"),className:"flex shrink-0 items-center gap-1.5 rounded-md border px-2.5 py-1 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 active:translate-y-px ".concat("dark"===s?"border-white/20 text-white/70 hover:border-white/40 hover:text-white focus-visible:ring-offset-neutral":"border-black/10 text-base-content/70 hover:border-black/25 hover:text-base-content focus-visible:ring-offset-white"),children:[n?(0,a.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}):(0,a.jsx)("svg",{className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),i(n?"copied":"copy")]})};t.default=()=>{let e=(0,r.T)("agentSection");return(0,a.jsx)("section",{className:"border-y border-black/5 bg-white py-16 md:py-20",id:"ai-agents",children:(0,a.jsxs)("div",{className:"mx-auto grid max-w-7xl gap-12 px-4 sm:px-6 lg:grid-cols-[0.85fr_1.15fr] lg:gap-20 lg:px-8",children:[(0,a.jsxs)("div",{className:"max-w-xl",children:[(0,a.jsx)("h2",{className:"text-4xl font-bold tracking-tight text-base-content md:text-5xl",children:e("title")}),(0,a.jsx)("p",{className:"mt-6 text-lg leading-8 text-base-content/70",children:e("subtitle")}),(0,a.jsxs)("a",{href:"https://docs.legnext.ai/getting-started/ai-agents",target:"_blank",rel:"noopener noreferrer",className:"mt-8 inl
1ine-flex items-center gap-2 font-semibold text-primary transition-colors hover:text-primary-focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-4",children:[(0,a.jsx)("span",{children:e("cta")}),(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"border-b border-black/10 pb-8",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-base-content",children:e("installLabel")}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-6 text-base-content/65",children:e("installHint")}),(0,a.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-4 rounded-lg bg-neutral px-4 py-3 text-neutral-content",children:[(0,a.jsx)("code",{className:"break-all font-mono text-sm sm:text-base",children:i}),(0,a.jsx)(o,{text:i})]})]}),(0,a.jsxs)("div",{className:"border-b border-black/10 py-8",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-base-content",children:e("mcpLabel")}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-6 text-base-content/65",children:e("mcpHint")}),(0,a.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-4 rounded-lg bg-neutral px-4 py-3 text-neutral-content",children:[(0,a.jsx)("code",{className:"break-all font-mono text-sm sm:text-base",children:n}),(0,a.jsx)(o,{text:n})]})]}),(0,a.jsxs)("div",{className:"pt-8",children:[(0,a.jsx)("p",{className:"text-base font-semibold text-base-content",children:e("promptLabel")}),(0,a.jsxs)("div",{className:"mt-3 flex items-start justify-between gap-4 rounded-lg border border-black/10 bg-base-100 px-4 py-3",children:[(0,a.jsx)("p",{className:"text-sm leading-6 text-base-content/75",children:e("promptExample")}),(0,a.jsx)(o,{text:e("promptExample"),tone:"light"})]})]})]})]})})}},60880:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return i}});var a=s(57437),r=s(73687),l=s(38706);function i(){let e=(0,l.T)("byokPage.homeBand");return(0,a.jsx)("section",{className:"py-16 bg-white",children:(0,a.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsx)("div",{className:"rounded-2xl border border-cyan-100 bg-linear-to-br from-cyan-50 to-white p-8 md:p-10 shadow-sm",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 items-center",children:[(0,a.jsxs)("div",{className:"md:col-span-2",children:[(0,a.jsx)("span",{className:"inline-block bg-cyan-100 text-cyan-700 text-xs font-bold px-3 py-1 rounded-full mb-3",children:e("badge")}),(0,a.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-3",children:e("title")}),(0,a.jsx)("p",{className:"text-gray-600 mb-5",children:e("description")}),(0,a.jsx)("ul",{className:"space-y-2",children:["f1","f2","f3"].map(t=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-gray-600",children:[(0,a.jsx)("span",{className:"mt-0.5 shrink-0 font-bold text-cyan-500",children:"✓"}),(0,a.jsx)("span",{children:e("features.".concat(t))})]},t))})]}),(0,a.jsxs)("div",{className:"text-center md:text-right",children:[(0,a.jsx)("p",{className:"text-2xl font-bold text-gray-900",children:e("price")}),(0,a.jsx)("p",{className:"text-sm text-gray-500 mb-5",children:e("priceNote")}),(0,a.jsx)(r.rU,{href:"/byok",className:"inline-block bg-cyan-600 hover:bg-cyan-700 text-white font-semibold px-6 py-3 rounded-lg transition-colors",children:e("cta")})]})]})})})})}},43019:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(29),l=s.n(r),i=s(73687),n=s(38706);t.default=()=>{let e=(0,n.T)("community.telegram");return(0,a.jsxs)("section",{className:"jsx-5e0bf1101f9f63e1 py-20 md:py-24 bg-white",children:[(0,a.jsxs)("div",{className:"jsx-5e0bf1101f9f63e1 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[(0,a.jsx)("div",{className:"jsx-5e0bf1101f9f63e1 mb-8",children:(0,a.jsx)("h2",{className:"jsx-5e0bf1101f9f63e1 text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:e("title")})}),(0,a.jsx)("div",{className:"jsx-5e0bf1101f9f63e1 mb-12",children:(0,a.jsx)("p",{className:"jsx-5e0bf1101f9f63e1 text-gray-600 text-lg",children:e("subtitle")})}),(0,a.jsx)("div",{className:"jsx-5e0bf1101f9f63e1 flex justify-center",children:(0,a.jsx)(i.rU,{href:"https://t.me/+PsZ-Qun0hKViNjZl",target:"_blank",rel:"noopener noreferrer",className:"group relative inline-flex items-center justify-center",children:(0,a.jsxs)("div",{className:"jsx-5e0bf1101f9f63e1 relative bg-blue-500 hover:bg-blue-600 rounded-full p-4 transition-all duration-300 transform group-hover:scale-110 shadow-lg group-hover:shadow-xl",children:[(0,a.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"
1currentColor",xmlns:"http://www.w3.org/2000/svg",className:"jsx-5e0bf1101f9f63e1 text-white drop-shadow-sm",children:(0,a.jsx)("path",{d:"M20.665 3.717l-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.787L21.815 4.922c.314-1.272-.472-1.849-1.15-1.205z",className:"jsx-5e0bf1101f9f63e1"})}),(0,a.jsx)("div",{className:"jsx-5e0bf1101f9f63e1 absolute inset-0 rounded-full bg-blue-500 animate-ping opacity-25"})]})})})]}),(0,a.jsx)(l(),{id:"5e0bf1101f9f63e1",children:"@-webkit-keyframes pulse-glow{0%,100%{-webkit-box-shadow:0 0 20px rgba(59,130,246,.5);box-shadow:0 0 20px rgba(59,130,246,.5)}50%{-webkit-box-shadow:0 0 30px rgba(59,130,246,.8);box-shadow:0 0 30px rgba(59,130,246,.8)}}@-moz-keyframes pulse-glow{0%,100%{-moz-box-shadow:0 0 20px rgba(59,130,246,.5);box-shadow:0 0 20px rgba(59,130,246,.5)}50%{-moz-box-shadow:0 0 30px rgba(59,130,246,.8);box-shadow:0 0 30px rgba(59,130,246,.8)}}@-o-keyframes pulse-glow{0%,100%{box-shadow:0 0 20px rgba(59,130,246,.5)}50%{box-shadow:0 0 30px rgba(59,130,246,.8)}}@keyframes pulse-glow{0%,100%{-webkit-box-shadow:0 0 20px rgba(59,130,246,.5);-moz-box-shadow:0 0 20px rgba(59,130,246,.5);box-shadow:0 0 20px rgba(59,130,246,.5)}50%{-webkit-box-shadow:0 0 30px rgba(59,130,246,.8);-moz-box-shadow:0 0 30px rgba(59,130,246,.8);box-shadow:0 0 30px rgba(59,130,246,.8)}}.group.jsx-5e0bf1101f9f63e1:hover .pulse-glow.jsx-5e0bf1101f9f63e1{-webkit-animation:pulse-glow 2s infinite;-moz-animation:pulse-glow 2s infinite;-o-animation:pulse-glow 2s infinite;animation:pulse-glow 2s infinite}"})]})}},16886:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(29),l=s.n(r),i=s(38706),n=s(2265);let o=e=>{let{item:t}=e,[s,r]=(0,n.useState)(!1);return(0,a.jsxs)("div",{className:"faq-item border border-gray-200 rounded-xl bg-white shadow-sm transition-all duration-200 ease-in-out hover:border-primary-300 hover:shadow-md",children:[(0,a.jsxs)("button",{className:"faq-question w-full text-left p-4 md:p-5 flex items-center justify-between text-gray-800 hover:text-primary-900 transition-colors",onClick:()=>r(!s),"aria-expanded":s,"aria-controls":"faq-answer-".concat(t.id),children:[(0,a.jsx)("span",{className:"text-sm md:text-base font-semibold pr-4 md:pr-6 leading-snug",children:t.question}),(0,a.jsx)("svg",{className:"faq-icon w-4 h-4 md:w-5 md:h-5 shrink-0 transform transition-transform duration-200 text-primary-600 ".concat(s?"rotate-45":"rotate-0"),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 6v6m0 0v6m0-6h6m-6 0H6"})})]}),(0,a.jsx)("div",{id:"faq-answer-".concat(t.id),role:"region",className:"faq-answer border-t border-gray-200 p-4 md:p-5 text-gray-700 leading-relaxed overflow-hidden transition-all duration-300 ease-in-out text-sm md:text-base ".concat(s?"max-h-[500px] opacity-100":"max-h-0 opacity-0 py-0"),children:(0,a.jsx)("div",{className:"prose prose-sm md:prose-base max-w-none",children:t.answer})})]})};t.default=e=>{let{title:t,faqList:s,variant:r="default",className:n="",maxWidth:d="max-w-4xl"}=e,c=(0,i.T)("faq"),m=t||c("title");return(0,a.jsxs)("section",{id:"faq",className:"jsx-1c129510ccafa0c0 "+((()=>{switch(r){case"midjourney":return"";case"custom":return n;default:return"bg-white"}})()||""),children:[(0,a.jsxs)("div",{className:"jsx-1c129510ccafa0c0 py-16 md:py-20 lg:py-24 px-4 sm:px-6 lg:px-8 max-w-[1600px] mx-auto",children:[(0,a.jsx)("h2",{className:"jsx-1c129510ccafa0c0 "+(("midjourney"===r?"text-center text-3xl md:text-4xl font-bold text-purple-600 mb-16":"text-center text-3xl font-bold text-gray-900 mb-16")||""),children:m}),(0,a.jsx)("div",{className:"jsx-1c129510ccafa0c0 "+"".concat("midjourney"===r?"max-w-5xl":d," mx-auto space-y-3 md:space-y-4"),children:s.map(e=>(0,a.jsx)(o,{item:e},e.id))})]}),(0,a.jsx)(l(),{id:"1c129510ccafa0c0",children:".faq-item.jsx-1c129510ccafa0c0{-webkit-transition:all.2s ease-in-out;-moz-transition:all.2s ease-in-out;-o-transition:all.2s ease-in-out;transition:all.2s ease-in-out}.faq-item.jsx-1c129510ccafa0c0:hover{border-color:#4B5563}.faq-answer.jsx-1c129510ccafa0c0{-webkit-animation:fadeIn.3s ease-in-out;-moz-animation:fadeIn.3s ease-in-out;-o-animation:fadeIn.3s ease-in-out;animation:fadeIn.3s ease-in-out}@-webkit-keyframes fadeIn{from{opacity:0;-webkit-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-moz-keyframes fadeIn{from{opacity:0;-moz-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-moz-transform:translatey(0);transform:translatey(0)}}@-o-keyframes fadeIn{from{opacity:0;-o-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-o-transform:translatey(0);transform:translatey(0)}}@keyframes fadeIn{from{opacity:0;-webkit-transform:translatey(-10px);-moz-transform:translatey(-10px);-o-transform:translatey(-10px);transform:translatey(-10px)}to{opacity:1;-webkit-transform:translatey(0);-moz-transform:translatey(0);-o-transform:translatey(0);transform:translatey(0)}}"})]})}},5081:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(38706);t.default=()=>{let e=(0,r.T)("features");return(0,a.jsx)("section",{className:"py-20 bg-white",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsxs)("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:[e("titlePrefix")," ",(0,a.jsx)("span",{className:"bg-linear-to-r from-[#8b5cf6] to-[#a855f7] bg-clip-text text-transparent",children:e("midjourneyAPI")}),e("titleSuffix")]}),(0,a.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:e("subtitle")})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[(0,a.jsxs)("div",{className:"bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100 transition-all duration-300 ease-in-out hover:-translate-y-2",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("allCoreFeatures.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("allCoreFeatures.description")})]}),(0,a.jsxs)("div",{className:"bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100 transition-all duration-300 ease-in-out hover:-translate-y-2",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("latestModels.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("latestModels.description")})]}),(0,a.jsxs)("div",{className:"feature-card bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("enterpriseStability.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("enterpriseStability.description")})]}),(0,a.jsxs)("div",{className:"feature-card bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("bulkCreation.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("bulkCreation.description")})]}),(0,a.jsxs)("div",{className:"feature-card bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("speedModes.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("speedModes.description")})]}),(0,a.jsxs)("div",{className:"feature-card bg-white rounded-xl p-8 h-full shadow-lg border border-gray-100",children:[(0,a.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:e("byok.title")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed",children:e("byok.description")})]})]}),(0,a.jsx)("div",{className:"flex justify-center mt-16",children:(0,a.jsxs)("a",{href:"/app/api-keys",className:"bg-[#8b5cf6] hover:bg-[#8b5cf6]/90 text-white font-semibold px-6 py-2 rounded-full transition-all hover:scale-105 inline-flex items-center gap-2",children:[(0,a.jsx)("span",{children:e("getAPIAccess")}),(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]})})}},29140:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(30574),l=s(38706),i=s(33145);let n=["/images/example/0_640_n.WEBP","/images/example/0_640_n(1).WEBP","/images/example/0_640_n(2).WEBP","/images/example/0_640_n(3).WEBP","/images/example/0_640_n(4).WEBP","/images/example/0_640_n(5).WEBP","/images/example/0_640_n(6).WEBP","/images/example/0_640_n(7).WEBP","/images/example/0_640_n(8).WEBP","/images/example/0_640_n(9).WEBP","/images/example/0_640_n(10).WEBP","/images/example/1.WEBP","/images/example/2.WEBP","/images/example/3.WEBP","/images/example/4.WEBP","/images/example/5.WEBP"],o=["/images/example/0_640_n(11).WEBP","/images/example/0_640_n(12).WEBP","/images/example/0_640_n(13).WEBP","/images/example/0_640_n(14).WEBP","/images/example/0_640_n(15).WEBP","/images/example/0_640_n(16).WEBP","/images/example/0_640_n(17).WEBP","/images/example/0_640_n(18).WEBP","/images/example/0_640_n(19).WEBP","/images/example/0_640_n(20).WEBP","/images/example/0_640_n(21).WEBP","/images/example/6.WEBP","/images/example/7.WEBP","/images/example/8.WEBP","/images/example/9.W
1EBP","/images/example/10.WEBP"];t.default=()=>{let e=(0,l.T)("imageShowcase");return(0,a.jsxs)("section",{className:"py-16 relative bg-white w-screen -mx-4 sm:-mx-6 lg:-mx-8 z-10",children:[(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center z-10 pointer-events-none",children:(0,a.jsx)("div",{className:"bg-black/40 backdrop-blur-md rounded-2xl px-8 py-6 border border-white/10",children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,a.jsx)("div",{className:"bg-white/95 backdrop-blur-sm rounded-full px-6 py-3 flex items-center gap-3 shadow-lg",children:(0,a.jsx)(i.default,{src:r.Z,alt:"Legnext - Midjourney API Platform Logo",width:120,height:30,className:"h-6 w-auto",priority:!0})}),(0,a.jsxs)("h2",{className:"text-white text-2xl md:text-3xl font-bold text-center",children:["— ",e("titlePrefix")," ",(0,a.jsx)("span",{className:"bg-linear-to-r from-[#8b5cf6] to-[#a855f7] bg-clip-text text-transparent",children:e("highlight")})," ",e("titleSuffix")]})]})})}),(0,a.jsxs)("div",{className:"overflow-hidden w-full",children:[(0,a.jsx)("div",{className:"flex mb-4 whitespace-nowrap",children:(0,a.jsx)("div",{className:"flex gap-4 shrink-0 animate-[scroll-left_30s_linear_infinite] motion-reduce:animate-none",children:[...n,...n].map((e,t)=>(0,a.jsx)(i.default,{src:e,alt:"AI-generated image example ".concat(t+1," - High-quality artwork created with Midjourney API"),width:160,height:160,className:"w-40 h-40 object-cover rounded-lg shrink-0",loading:"lazy",quality:85},t))})}),(0,a.jsx)("div",{className:"flex whitespace-nowrap",children:(0,a.jsx)("div",{className:"flex gap-4 shrink-0 animate-[scroll-right_30s_linear_infinite] motion-reduce:animate-none",children:[...o,...o].map((e,t)=>(0,a.jsx)(i.default,{src:e,alt:"AI-generated image example ".concat(t+17," - Professional artwork created with Midjourney API"),width:160,height:160,className:"w-40 h-40 object-cover rounded-lg shrink-0",loading:"lazy",quality:85},t))})})]})]})}},54966:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(73687),l=s(38706),i=s(33145);t.default=()=>{let e=(0,l.T)("midjourney");return(0,a.jsx)("section",{className:"py-12 md:py-20 bg-white",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:"text-center mb-12 md:mb-16",children:(0,a.jsxs)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:[(0,a.jsx)("span",{className:"block mb-2",children:e("title")}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-3 mt-4",children:[(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-full px-3 sm:px-4 py-2 flex items-center gap-2 shadow-lg",children:[(0,a.jsxs)("svg",{className:"w-5 sm:w-6 h-5 sm:h-6 text-purple-600",fill:"currentColor",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{d:"M3 18h18v2H3v-2zm16-4H5l-2-8h18l-2 8zM7 8l1.5-6h7L17 8H7z"}),(0,a.jsx)("path",{d:"M12 4l-1 4h2l-1-4z",fill:"currentColor"})]}),(0,a.jsx)("span",{className:"text-gray-900 font-bold text-xl sm:text-2xl md:text-3xl",children:e("subtitle")})]}),(0,a.jsx)("span",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900",children:e("description")})]})]})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-stretch",children:[(0,a.jsxs)("div",{className:"flex flex-col h-full order-2 lg:order-1",children:[(0,a.jsxs)("div",{className:"bg-gray-50 border border-gray-200 rounded-2xl p-6 md:p-8 flex-1",children:[(0,a.jsxs)("div",{className:"mb-6 md:mb-8",children:[(0,a.jsx)("h3",{className:"text-xl md:text-2xl font-bold text-gray-900 mb-3 md:mb-4",children:e("heading")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed text-base md:text-lg",children:e("description1")})]}),(0,a.jsxs)("div",{className:"border-t border-gray-200 pt-4 md:pt-6",children:[(0,a.jsxs)("div",{className:"mb-3 md:mb-4",children:[(0,a.jsx)("h4",{className:"text-gray-900 font-semibold text-sm md:text-base",children:e("testimonial.author")}),(0,a.jsx)("p",{className:"text-gray-500 text-xs md:text-sm",children:e("testimonial.role")})]}),(0,a.jsxs)("p",{className:"text-gray-600 italic text-sm md:text-base",children:["“",e("testimonial.quote"),"”"]}
1)]})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 md:gap-4 mt-4 md:mt-6",children:[(0,a.jsxs)(r.rU,{href:"/app/midjourney",className:"relative flex h-11 w-full items-center justify-center px-6 before:absolute before:inset-0 before:rounded-full before:bg-gray-200 before:transition before:duration-300 hover:before:scale-105 active:duration-75 active:before:scale-95 cursor-pointer",children:[(0,a.jsxs)("svg",{className:"relative w-4 md:w-5 h-4 md:h-5 mr-2 text-purple-600",fill:"currentColor",viewBox:"0 0 24 24",children:[(0,a.jsx)("path",{d:"M3 18h18v2H3v-2zm16-4H5l-2-8h18l-2 8zM7 8l1.5-6h7L17 8H7z"}),(0,a.jsx)("path",{d:"M12 4l-1 4h2l-1-4z",fill:"currentColor"})]}),(0,a.jsx)("span",{className:"relative text-sm md:text-base font-semibold text-black",children:e("tryImageAPI")})]}),(0,a.jsx)("a",{href:"https://docs.legnext.ai/",target:"_blank",rel:"noopener noreferrer",className:"relative flex h-11 w-full items-center justify-center px-6 before:absolute before:inset-0 before:rounded-full before:border before:border-gray-600 before:bg-transparent before:transition before:duration-300 hover:before:scale-105 active:duration-75 active:before:scale-95",children:(0,a.jsx)("span",{className:"relative text-sm md:text-base font-semibold text-gray-900",children:e("viewDocs")})})]})]}),(0,a.jsx)("div",{className:"relative order-1 lg:order-2",children:(0,a.jsx)("div",{className:"aspect-16/10 md:aspect-[4/3] bg-linear-to-br from-gray-100 to-gray-200 rounded-2xl overflow-hidden border border-gray-200 shadow-2xl",children:(0,a.jsx)(i.default,{src:"/images/showcase00.webp",alt:"High-quality AI generated portrait created with Midjourney API - Professional image generation example",width:600,height:400,className:"w-full h-full object-cover",loading:"lazy",quality:90})})})]})]})})}},35661:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(73687),l=s(38706),i=s(33145);t.default=()=>{let e=(0,l.T)("partner");return(0,a.jsx)("section",{className:"py-24 md:py-28 bg-white",id:"partner",children:(0,a.jsxs)("div",{className:"relative z-10 max-w-7xl mx-auto px-6",children:[(0,a.jsxs)("div",{className:"text-center mb-14 md:mb-16",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-white/50 backdrop-blur-sm border border-gray-200/50 mb-5",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-linear-to-r from-purple-500 to-blue-500 animate-pulse"}),(0,a.jsx)("span",{className:"text-sm font-medium text-gray-600",children:e("badge")})]}),(0,a.jsx)("h2",{className:"text-4xl md:text-5xl font-bold tracking-tight text-gray-900 mb-5",children:e("title")}),(0,a.jsx)("p",{className:"text-lg md:text-xl text-gray-600 max-w-2xl mx-auto leading-relaxed",children:e("subtitle")})]}),(0,a.jsx)("div",{className:"grid lg:grid-cols-2 gap-5 mb-6",children:[{id:"piapi",name:"piapi.ai",url:"/piapi",external:!1,description:"A broad catalog of AI model APIs for image, video, 3D, and audio workflows.",footerLabel:"Broad model catalog",cta:"View model catalog",accent:"text-purple-600",surface:"bg-white border-gray-200 hover:border-purple-200 hover:shadow-lg",logo:"/images/piapi-logo.png",logoWidth:40,logoHeight:40,highlights:[{name:"Kling 3.0",meta:"video API",logo:"/images/piapi/kling.svg"},{name:"Veo 3.1",meta:"video API",logo:"/images/piapi/google.svg"},{name:"GPT Image 2.0",meta:"image API",logo:"/images/piapi/openai.svg"},{name:"Trellis 2",meta:"3D API",logo:"/images/piapi/microsoft.svg"}]},{id:"hotapi",name:"HotAPI.ai",url:"/hotapi",external:!1,description:"A developer-first API resource for uncensored image generation and NSFW video workflows, with Seedance and Wan models available behind one integration.",footerLabel:"Uncensored image + video APIs",cta:"Browse uncensored APIs",accent:"text-rose-600",surface:"bg-white border-gray-200 hover:border-rose-200 hover:shadow-lg",logo:"/images/hotapi/logo-light.svg",logoWidth:134,logoHeight:28,showTitle:!1,highlights:[{name:"Seedance 2.0",meta:"uncensored NSFW video API",logo:"/images/lobehub/bytedance-color.svg"},{name:"Seedance 2.0 Fast",meta:"low-latency NSFW video API",logo:"/images/lobehub/bytedance-color.svg"},{name:"Wan 2.7",meta:"uncensored image and video API",logo:"/images/lobehub/alibabacloud-color.svg"},{name:"Wan 2.2",meta:"multimodal image generation",logo:"/images/lobehub/alibabacloud-color.svg"}]}].map(e=>(0,a.jsx)(r.rU,{href:e.url,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:"group relative ".concat(e.surface," rounded-[28px] p-5 md:p-6 border transition-all duration-300 hover:-translate-y-0.5 overflow-hidden"),children:(0,a.jsxs)("div",{className:"relative h-full flex flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-4 mb-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[(0,a.jsx)(i.default,{src:e.logo,alt:"".concat(e.name," logo"),width:e.logoWidth,height:e.logoHeight,className:"".concat("hotapi"===e.id?"h-8":"h-9"," w-auto shrink-0 object-contain"),priority:"piapi"===e.id}),!1===e.showTitle?null:(0,a.jsx)("h3",{className:"text-[2rem] md:text-[2.25rem] font-bold leading-none text-gray-900 truncate",children:e.name})]}),(0,a.jsx)("div",{className:"hidden md:flex items-center rounded-full border border-gray-200/70 bg-white px-3 py-1 text-[11px] font-medium text-gray-600",children:"Recommended resource"})]}),(0,a.jsx)("div",{className:"mb-5",children:(0,a.jsx)("p",{className:"text-base text-gray-600 leading-8 max-w-xl",children:e.description})}),(0,a.jsx)("div",{className:"grid sm:grid-cols-2 gap-2.5 mb-5",children:e.highlights.map(e=>(0,a.jsx)("div",{className:"rounded-[20px] border border-gray-200 bg-white px-3.5 py-2.5",children:(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[e.logo?(0,a.jsx)(i.default,{src:e.logo,alt:"".concat(e.name," logo"),width:24,height:24,className:"h-5 w-5 shrink-0 object-contain"}):null,(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("div",{className:"text-[15px] font-semibold leading-5 text-gray-900 truncate",children:e.name}),(0,a.jsx)("p",{className:"text-sm leading-5 text-gray-600 truncate",children:e.meta})]})]})},e.name))}),(0,a.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-4 border-t border-gray-100 pt-4",children:[(0,a.jsx)("p",{className:"text-sm text-gray-500",children:e.footerLabel}),(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 text-[15px] font-semibold transition-all duration-300 group-hover:gap-3 ".concat(e.accent),children:[(0,a.jsx)("span",{children:e.cta}),(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5 12H19M19 12L12 5M19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})},e.id))}),(0,a.jsx)("p",{className:"text-center text-sm text-gray-500 mt-10",children:"Additional model resources we think builders may want to keep nearby when comparing APIs."})]})})}},29308:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(99464),l=s(73687),i=s(25145),n=s(80605),o=s(38706);t.default=()=>
1{let e=(0,o.T)("pricing"),t=(0,o.G)(),s=(0,n.useSession)();null==s||s.data;let d=e=>t.number(e,{style:"currency",currency:"USD",maximumFractionDigits:0});return(0,a.jsx)("section",{className:"py-20 md:py-24 bg-white",id:"pricing",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-8",children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsx)("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:e("title")}),(0,a.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-6",children:e("subtitle")}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("span",{className:"inline-flex items-center rounded-full border px-4 py-1.5 text-sm font-semibold",style:{color:r.ZP.colors.main,borderColor:"".concat(r.ZP.colors.main,"33"),backgroundColor:"".concat(r.ZP.colors.main,"0d")},children:e("creditRate")})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 max-w-5xl mx-auto mb-16",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5 rounded-2xl border border-purple-100 bg-linear-to-b from-purple-50 to-white p-8 shadow-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-purple-600",children:e("options.payg.tagline")}),(0,a.jsx)("h2",{className:"mt-1 text-2xl font-bold text-gray-900",children:e("options.payg.title")}),(0,a.jsx)("p",{className:"mt-2 text-3xl font-bold text-gray-900",children:e("options.payg.price")})]}),(0,a.jsx)("ul",{className:"space-y-2.5",children:["f1","f2","f3"].map(t=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-gray-600",children:[(0,a.jsx)("span",{className:"mt-0.5 shrink-0 font-bold text-purple-500",children:"✓"}),(0,a.jsx)("span",{children:e("options.payg.features.".concat(t))})]},t))}),(0,a.jsxs)("div",{className:"rounded-lg bg-white/80 border border-purple-100 px-4 py-3",children:[(0,a.jsx)("p",{className:"text-xs font-semibold text-gray-700 mb-1.5",children:e("bonus.title")}),(0,a.jsx)("p",{className:"text-xs text-gray-500",children:i.pf.map(e=>"+".concat(e.bonusPercentage,"% ").concat(d(e.minAmount),"+")).join(" \xb7 ")})]}),(0,a.jsx)("p",{className:"text-xs text-gray-500",children:e("options.payg.idealFor")}),(0,a.jsx)(l.rU,{href:"/app/credit-balance",className:"block text-center bg-purple-600 hover:bg-purple-700 text-white font-semibold px-6 py-3 rounded-lg transition-colors",children:e("options.payg.cta")})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-5 rounded-2xl border border-cyan-100 bg-linear-to-b from-cyan-50 to-white p-8 shadow-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-cyan-600",children:e("options.byok.tagline")}),(0,a.jsx)("h2",{className:"mt-1 text-2xl font-bold text-gray-900",children:e("options.byok.title")}),(0,a.jsx)("p",{className:"mt-2 text-3xl font-bold text-gray-900",children:e("options.byok.price")}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:e("options.byok.priceNote")})]}),(0,a.jsx)("ul",{className:"space-y-2.5 flex-1",children:["f1","f2","f3","f4"].map(t=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-gray-600",children:[(0,a.jsx)("span",{className:"mt-0.5 shrink-0 font-bold text-cyan-500",children:"✓"}),(0,a.jsx)("span",{children:e("options.byok.features.".concat(t))})]},t))}),(0,a.jsx)("p",{className:"text-xs text-gray-500",children:e("options.byok.idealFor")}),(0,a.jsx)(l.rU,{href:"/app/byok",className:"block text-center bg-cyan-600 hover:bg-cyan-700 text-white font-semibold px-6 py-3 rounded-lg transition-colors",children:e("options.byok.cta")})]})]})]})})}},58453:function(e,t,s){"use strict";s.r(t);var a=s(57437),r=s(73687),l=s(38706);t.default=()=>{let e=(0,l.T)("video");return(0,a.jsx)("section",{className:"py-12 md:py-20 bg-white",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:"text-center mb-12 md:mb-16",children:(0,a.jsxs)("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:[(0,a.jsx)("span",{className:"block mb-2",children:e("title")}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-2 sm:gap-3 mt-4",children:[(0,a.jsxs)("div",{className:"bg-white border border-gray-200 rounded-full px-3 sm:px-4 py-2 flex items-center gap-2 shadow-lg",children:[(0,a.jsxs)("svg",{className:"w-5 sm:w-6 h-5 sm:h-6 text-purple-600",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M3 18h18v2H3v-2zm16-4H5l-2-8h18l-2 8zM7 8l1.5-6h7L17 8H7z"}
1),(0,a.jsx)("path",{d:"M12 4l-1 4h2l-1-4z",fill:"currentColor"})]}),(0,a.jsx)("span",{className:"text-gray-900 font-bold text-xl sm:text-2xl md:text-3xl",children:e("subtitle")})]}),(0,a.jsx)("span",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900",children:e("description")})]})]})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-stretch",children:[(0,a.jsxs)("div",{className:"flex flex-col h-full order-2 lg:order-1",children:[(0,a.jsxs)("div",{className:"bg-gray-50 border border-gray-200 rounded-2xl p-6 md:p-8 flex-1",children:[(0,a.jsxs)("div",{className:"mb-6 md:mb-8",children:[(0,a.jsx)("h3",{className:"text-xl md:text-2xl font-bold text-gray-900 mb-3 md:mb-4",children:e("heading")}),(0,a.jsx)("p",{className:"text-gray-600 leading-relaxed text-base md:text-lg",children:e("description1")})]}),(0,a.jsxs)("div",{className:"border-t border-gray-200 pt-4 md:pt-6",children:[(0,a.jsxs)("div",{className:"mb-3 md:mb-4",children:[(0,a.jsx)("h4",{className:"text-gray-900 font-semibold text-sm md:text-base",children:e("testimonial.author")}),(0,a.jsx)("p",{className:"text-gray-500 text-xs md:text-sm",children:e("testimonial.role")})]}),(0,a.jsxs)("p",{className:"text-gray-600 italic text-sm md:text-base",children:["“",e("testimonial.quote"),"”"]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 md:gap-4 mt-4 md:mt-6",children:[(0,a.jsxs)(r.rU,{href:"/app/midjourney",className:"relative flex h-11 w-full items-center justify-center px-6 before:absolute before:inset-0 before:rounded-full before:bg-gray-200 before:transition before:duration-300 hover:before:scale-105 active:duration-75 active:before:scale-95 cursor-pointer",children:[(0,a.jsxs)("svg",{className:"relative w-4 md:w-5 h-4 md:h-5 mr-2 text-purple-600",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M3 18h18v2H3v-2zm16-4H5l-2-8h18l-2 8zM7 8l1.5-6h7L17 8H7z"}),(0,a.jsx)("path",{d:"M12 4l-1 4h2l-1-4z",fill:"currentColor"})]}),(0,a.jsx)("span",{className:"relative text-sm md:text-base font-semibold text-black",children:e("tryVideoAPI")})]}),(0,a.jsx)("a",{href:"https://docs.legnext.ai/",target:"_blank",rel:"noopener noreferrer",className:"relative flex h-11 w-full items-center justify-center px-6 before:absolute before:inset-0 before:rounded-full before:border before:border-gray-600 before:bg-transparent before:transition before:duration-300 hover:before:scale-105 active:duration-75 active:before:scale-95",children:(0,a.jsx)("span",{className:"relative text-sm md:text-base font-semibold text-gray-900",children:e("viewDocs")})})]})]}),(0,a.jsx)("div",{className:"relative order-1 lg:order-2",children:(0,a.jsx)("div",{className:"aspect-16/10 md:aspect-[4/3] bg-linear-to-br from-gray-100 to-gray-200 rounded-2xl overflow-hidden border border-gray-200 shadow-2xl",children:(0,a.jsxs)("video",{src:"/images/showcase01.mp4",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",poster:"/images/showcase01-poster.webp",className:"w-full h-full object-cover",children:[(0,a.jsx)("track",{kind:"descriptions",label:"Video showcase of AI-generated images"}),"Your browser does not support the video tag."]})})})]})]})})}},97169:function(e,t,s){"use strict";var a=s(57437),r=s(38706),l=s(33145);t.default=()=>{let e=(0,r.T)("ui.stepSection");return(0,a.jsx)("section",{className:"relative -my-12 py-8 flex justify-center bg-white z-20",children:(0,a.jsx)("div",{className:"relative max-w-6xl w-full mx-4",children:(0,a.jsx)("div",{className:"p-[2px] bg-linear-to-r from-[#8b5cf6]/30 to-[#a855f7]/30 rounded-2xl",children:(0,a.jsx)("div",{className:"bg-white rounded-2xl",children:(0,a.jsx)(l.default,{src:"/images/Step.png",alt:e("imageAlt"),className:"w-full h-auto rounded-2xl",width:800,height:0,loading:"lazy",quality:85})})})})})}},25145:function(e,t,s){"use strict";s.d(t,{SV:function(){return l},W6:function(){return i},pf:function(){return a},rd:function(){return r}});let a=[{minAmount:500,maxAmount:999,bonusPercentage:5,description:"$500 - $999: 5% bonus"},{minAmount:1e3,maxAmount:2999,bonusPercentage:10,description:"$1000 - $2999: 10% bonus"},{minAmount:3e3,maxAmount:null,bonusPercentage:12,description:"$3000+: 12% bonus"}];function r(e){var t;let s=a.find(t=>e>=t.minAmount&&(null===t.maxAmount||e<=t.maxAmount));return null!==(t=null==s?void 0:s.bonusPercentage)&&void 0!==t?t:0}function l(e){return 1e3*function(e){let t=r(e);return e*t/100}(e)}function i(e){var t;return null!==(t=a.find(t=>e>=t.minAmount&&(null===t.maxAmount||e<=t.maxAmount)))&&void 0!==t?t:null}}},function(e){e.O(0,[2972,2397,605,5878,6488,8003,4329,7479,7617,2971,2117,1744],function(){return e(e.s=28117)}),_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.