1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,527069,e=>{"use strict";function o(e,[o,t]){return Math.min(t,Math.max(o,e))}e.s(["clamp",()=>o])},515288,e=>{"use strict";var o=e.i(119584),t=e.i(975157);function i({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card",className:(0,t.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...i})}function r({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-header",className:(0,t.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...i})}function a({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-title",className:(0,t.cn)("leading-none font-semibold",e),...i})}function s({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-description",className:(0,t.cn)("text-muted-foreground text-sm",e),...i})}function n({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-action",className:(0,t.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...i})}function d({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-content",className:(0,t.cn)("px-6",e),...i})}function l({className:e,...i}){return(0,o.jsx)("div",{"data-slot":"card-footer",className:(0,t.cn)("flex items-center px-6 [.border-t]:pt-6",e),...i})}e.s(["Card",()=>i,"CardAction",()=>n,"CardContent",()=>d,"CardDescription",()=>s,"CardFooter",()=>l,"CardHeader",()=>r,"CardTitle",()=>a])},487486,e=>{"use strict";var o=e.i(119584),t=e.i(969897),i=e.i(294237),r=e.i(975157);let a=(0,i.cva)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function s({className:e,variant:i,asChild:s=!1,...n}){let d=s?t.Slot:"span";return(0,o.jsx)(d,{"data-slot":"badge",className:(0,r.cn)(a({variant:i}),e),...n})}e.s(["Badge",()=>s])},880749,e=>{"use strict";let o=Array.from({length:12},(e,o)=>o+4),t={"google-veo3.1":{id:"google-veo3.1",provider:"google",name:"Google Veo 3.1",description:"Google fast generation model",releaseDate:"October 2025",logo:"/images/ai-model-logo/gemini-color.svg",creditsCost:{base:40,perSecond:0},supportedDurations:[8],supportedAspectRatios:["16:9","9:16"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:60,features:["text_to_video"],supportsAudio:!0,preferredProvider:"kie-api"},"google-veo3.1-lite":{id:"google-veo3.1-lite",provider:"google",name:"Google Veo 3.1 Lite",description:"Google most cost-effective video model with audio, fast generation",releaseDate:"March 2026",logo:"/images/ai-model-logo/gemini-color.svg",creditsCost:{base:40,perSecond:0},supportedDurations:[8],supportedAspectRatios:["16:9","9:16"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:60,features:["text_to_video","image_to_video"],supportsAudio:!0,preferredProvider:"kie-api"},"google-veo3.1-pro":{id:"google-veo3.1-pro",provider:"google",name:"Google Veo 3.1 Pro",description:"Google high-quality generation model",releaseDate:"October 2025",logo:"/images/ai-model-logo/gemini-color.svg",creditsCost:{base:70,perSecond:0},supportedDurations:[8],supportedAspectRatios:["16:9","9:16"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:120,features:["text_to_video","high_quality"],supportsAudio:!0,preferredProvider:"kie-api"},"doubao-seedance-1-0-pro-fast-251015":{id:"doubao-seedance-1-0-pro-fast-251015",provider:"bytedance",name:"Seedance Fast",description:"ByteDance fast generation model (Cheapest)",logo:"/images/ai-model-logo/doubao.svg",creditsCost:{base:10,perSecond:0},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],supportedResolutions:["480p","720p","1080p"],estimatedProcessingTime:40,features:["text_to_video","image_to_video"],preferredProvider:"byteplus-api"},"doubao-seedance-1-0-pro-250528":{id:"doubao-seedance-1-0-pro-250528",provider:"bytedance",name:"Seedance Quality",description:"ByteDance high-quality generation model",logo:"/images/ai-model-logo/doubao.svg",creditsCost:{base:0,perSecond:2},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],supportedResolutions:["480p","720p","1080p"],estimatedProcessingTime:90,features:["text_to_video","first_last_frame","image_to_video"],preferredProvider:"byteplus-api"},"doubao-seedance-1-5-pro-251215":{id:"doubao-seedance-1-5-pro-251215",provider:"bytedance",name:"Seedance 1.5 Pro",de
1scription:"ByteDance latest model with audio generation",releaseDate:"December 2025",logo:"/images/ai-model-logo/doubao.svg",creditsCost:{base:0,perSecond:4},supportedDurations:[4,5,8,10,12],supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],supportedResolutions:["480p","720p","1080p"],estimatedProcessingTime:120,features:["text_to_video","first_last_frame","image_to_video","draft_mode"],supportsAudio:!0,preferredProvider:"byteplus-api"},"seedance-2-0":{id:"seedance-2-0",provider:"kling",name:"Seedance 2.0",description:"Seedance 2.0 video generation (high quality)",releaseDate:"February 2026",logo:"/images/ai-model-logo/doubao.svg",creditsCost:{base:0,perSecond:14},supportedDurations:o,defaultDuration:5,durationControl:"slider",maxReferenceImages:9,maxReferenceVideos:3,supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],supportedResolutions:["480p","720p","1080p"],estimatedProcessingTime:300,features:["text_to_video","image_to_video","reference_image","multimodal_reference","first_last_frame","video_to_video"],supportsAudio:!0,useManualFulfillment:!1,preferredProvider:"byteplus-api",inputConstraints:{"video-to-video":{minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:15,enforceReferenceVideoEnvelope:!0},"multimodal-reference":{maxReferenceVideos:3,minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:15,enforceReferenceVideoEnvelope:!0}},fallbackModels:[{modelId:"official-kling-v3-0",silent:!0}]},"seedance-2-0-fast":{id:"seedance-2-0-fast",provider:"kling",name:"Seedance 2.0 Fast",description:"Seedance 2.0 fast generation model (lower cost, quicker turnaround)",releaseDate:"February 2026",logo:"/images/ai-model-logo/doubao.svg",creditsCost:{base:0,perSecond:12},supportedDurations:o,defaultDuration:5,durationControl:"slider",maxReferenceImages:9,maxReferenceVideos:3,supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],supportedResolutions:["480p","720p"],estimatedProcessingTime:240,features:["text_to_video","image_to_video","reference_image","multimodal_reference","first_last_frame","video_to_video"],supportsAudio:!0,useManualFulfillment:!1,preferredProvider:"byteplus-api",inputConstraints:{"video-to-video":{minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:15,enforceReferenceVideoEnvelope:!0},"multimodal-reference":{maxReferenceVideos:3,minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:15,enforceReferenceVideoEnvelope:!0}},fallbackModels:[{modelId:"official-kling-v3-0",silent:!0}]},"minimaxi-hailuo-02":{id:"minimaxi-hailuo-02",provider:"minimax",name:"Hailuo 02",description:"MiniMax Hailuo model",releaseDate:"June 2025",logo:"/images/ai-model-logo/hailuo.svg",creditsCost:{base:30,perSecond:0},supportedDurations:[6,10],supportedResolutions:["512p","768p","1080p"],resolutionConstraints:{"1080p":[6]},estimatedProcessingTime:60,features:["text_to_video","prompt_optimizer","watermark","first_last_frame","image_to_video"]},"minimax-h3":{id:"minimax-h3",provider:"minimax",name:"MiniMax H3",description:"MiniMax H3 Developer â Atlas Cloud NSFW-capable text-to-video at 768P",releaseDate:"August 2026",logo:"/images/ai-model-logo/hailuo.svg",creditsCost:{base:0,perSecond:4},supportedDurations:[4,5,6,7,8,9,10,11,12,13,14,15],defaultDuration:5,durationControl:"slider",supportedAspectRatios:["16:9","9:16","1:1"],supportedResolutions:["768p"],estimatedProcessingTime:120,features:["text_to_video"],supportsAudio:!0,preferredProvider:"atlas",requiredProvider:"atlas"},"official-kling-v2-6":{id:"official-kling-v2-6",provider:"kling",name:"Kling v2.6",description:"Kling v2.6 latest video generation model",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:10,perSecond:6},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:180,features:["text_to_video","image_to_video"]},"official-kling-v2-5-turbo":{id:"official-kling-v2-5-turbo",provider:"kling",name:"Kling v2.5 Turbo",description:"Kling v2.5 Turbo fast generation version",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:0,perSecond:4},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:120,features:["fast_generation","text_to_video","image_to_video"],supportsAudio:!0},"official-kling-v2-1":{id:"official-kling-v2-1",provider:"kling",name:"Kling v2.1",description:"Kling v2.1 Standard Version",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:10,perSecond:4},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:180,features:["image_to_video"]},"official-kling-v2-1-master":{id:"official-kling-v2-1-master",provider:"kling",name:"Kling v2.1 Master",description:"Kling v2.1 Master advanced version, higher quality",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:10,perSecond:14},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:240,features:["high_quality","text_to_video","image_to_video"]},"kling-o1":{id:"kling-o1",provider:"kling",name:"Kling O1",description:"Kling O1 AI Reasoning Video Generation",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:0,perSecond:10},supportedDurations:[5,10],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:260,features:["ai_reasoning","image_to_video","first_last_frame","reference_image","video_to_video"],inputConstraints:{"video-to-video":{maxSourceVideoDurationSeconds:10,enforceReferenceVideoEnvelope:!0}}},"official-kling-v3-0":{id:"official-kling-v3-0",provider:"kling",name:"Kling v3.0",description:"Kling v3.0 Standard Version",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:10,perSecond:16},supportedDurations:[4,5,10,15],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:180,features:["text_to_video","image_to_video"],supportsAudio:!0},"official-kling-v3-0-pro":{id:"official-kling-v3-0-pro",provider:"kling",name:"Kling v3.0 Pro",de
1scription:"Kling v3.0 Pro High Quality Version",logo:"/images/ai-model-logo/kling.svg",creditsCost:{base:10,perSecond:22},supportedDurations:[4,5,10,15],supportedAspectRatios:["16:9","9:16","1:1"],estimatedProcessingTime:240,features:["high_quality","text_to_video","image_to_video"],supportsAudio:!0},"happy-horse-1-0":{id:"happy-horse-1-0",provider:"alibaba",name:"HappyHorse",description:"HappyHorse â text/image/reference/video editing with native audio sync and consistent character identity",releaseDate:"April 2026",logo:"/images/ai-model-logo/happy-horse.svg",creditsCost:{base:0,perSecond:18,perSecondByResolution:{"720p":11,"1080p":18}},supportedDurations:[3,4,5,6,7,8,9,10,11,12,13,14,15],defaultDuration:5,durationControl:"slider",maxReferenceImages:9,supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:240,features:["text_to_video","image_to_video","reference_image","video_to_video"],supportsAudio:!0,preferredProvider:"kie-api",modeConstraints:{"video-to-video":[3,4,5,6,7,8,9,10,11,12,13,14,15]},aspectRatioHiddenModes:["first-frame","video-to-video"],durationHiddenModes:["video-to-video"],maxReferenceImagesInVideoEdit:5,inputConstraints:{"video-to-video":{minSourceVideoDurationSeconds:3,maxSourceVideoDurationSeconds:60}},fallbackModels:[{modelId:"official-kling-v3-0",silent:!0}]},"wan-2-2":{id:"wan-2-2",provider:"alibaba",name:"Wan 2.2 Fast",description:"Alibaba Wan 2.2 Fast â lowest-cost text/image-to-video generation via MuleRouter",releaseDate:"June 2026",logo:"/images/ai-model-logo/TongYi.svg",creditsCost:{base:0,perSecond:1,perSecondByResolution:{"480p":1,"720p":1}},supportedDurations:[5],defaultDuration:5,durationControl:"buttons",supportedAspectRatios:["16:9","9:16"],supportedResolutions:["720p","480p"],estimatedProcessingTime:60,features:["text_to_video","image_to_video"],aspectRatioHiddenModes:["first-frame"],supportsAudio:!1,preferredProvider:"mulerouter",requiredProvider:"mulerouter"},"wan-2-7":{id:"wan-2-7",provider:"alibaba",name:"Wan 2.7",description:"Alibaba Wan 2.7 â text/image/video-to-video, first/last frame, multi-reference, instruction editing",releaseDate:"March 2026",logo:"/images/ai-model-logo/TongYi.svg",creditsCost:{base:0,perSecond:10,perSecondByResolution:{"720p":7,"1080p":10}},supportedDurations:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultDuration:5,durationControl:"slider",maxReferenceImages:5,supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:180,features:["text_to_video","image_to_video","first_last_frame","video_to_video","reference_image"],modeConstraints:{"video-to-video":[2,3,4,5,6,7,8,9,10]},inputConstraints:{"video-to-video":{minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:10}},aspectRatioHiddenModes:["first-frame","first-last-frame"],supportsAudio:!1,preferredProvider:"mulerouter",requiredProvider:"mulerouter"},"wan-2-7-spicy":{id:"wan-2-7-spicy",provider:"alibaba",name:"Wan 2.7 Spicy",description:"MuleRouter Wan 2.7 Spicy â NSFW image-to-video with first-frame input",releaseDate:"July 2026",logo:"/images/ai-model-logo/TongYi.svg",creditsCost:{base:0,perSecond:10,perSecondByResolution:{"720p":7,"1080p":10}},supportedDurations:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultDuration:5,durationControl:"slider",supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:180,features:["image_to_video"],aspectRatioHiddenModes:["first-frame","text-image-to-video"],supportsAudio:!0,preferredProvider:"mulerouter",requiredProvider:"mulerouter"},"wan-2-6":{id:"wan-2-6",provider:"alibaba",name:"Wan 2.6",description:"Alibaba Wan 2.6 â text/image/video-to-video generation",releaseDate:"February 2026",logo:"/images/ai-model-logo/TongYi.svg",creditsCost:{base:0,perSecond:10,perSecondByResolution:{"720p":7,"1080p":10}},supportedDurations:[5,10,15],defaultDuration:5,durationControl:"buttons",modeConstraints:{"video-to-video":[5,10]},inputConstraints:{"video-to-video":{minSourceVideoDurationSeconds:2,maxSourceVideoDurationSeconds:10}},supportedAspectRatios:["16:9","9:16","1:1"],supportedResolutions:["720p","1080p"],estimatedProcessingTime:120,features:["text_to_video","image_to_video","video_to_video"],aspectRatioHiddenModes:["text-to-vi
1deo","first-frame","video-to-video","text-image-to-video"],supportsAudio:!1,preferredProvider:"mulerouter",requiredProvider:"mulerouter"},"wan-3-0":{id:"wan-3-0",provider:"alibaba",name:"Wan 3.0",description:"Alibaba Wan 3.0 â adult-capable text/image-to-video via MuleRouter CarrotHub w3.0-video",releaseDate:"August 2026",logo:"/images/ai-model-logo/TongYi.svg",creditsCost:{base:0,perSecond:12,perSecondByResolution:{"480p":3,"720p":6,"1080p":12}},supportedDurations:[2,3,4,5,6,7,8,9,10,11,12,13,14,15],defaultDuration:5,durationControl:"slider",maxReferenceImages:10,maxReferenceVideos:5,supportedAspectRatios:["16:9","9:16","1:1","4:3","3:4"],supportedResolutions:["480p","720p","1080p"],estimatedProcessingTime:300,features:["text_to_video","image_to_video","first_last_frame","reference_image","video_to_video"],supportsAudio:!0,preferredProvider:"mulerouter",requiredProvider:"mulerouter"}};function i(e=10){let o=1/0;for(let i of Object.values(t)){if(!i.supportedDurations.includes(e))continue;let t=i.creditsCost.base+i.creditsCost.perSecond*e;t<o&&(o=t)}return Number.isFinite(o)?o:100}function r(e){let o=t[e];if(!o)throw Error(`Invalid video model: ${e}`);return o.defaultDuration??o.supportedDurations[0]??5}function a(e,o,i){let r=t[e];if(!r)throw Error(`Invalid video model: ${e}`);if(!r.supportedDurations.includes(o))throw Error(`Duration ${o}s is not supported by model ${e}. Supported durations: ${r.supportedDurations.join(", ")}`);let{base:a,perSecond:s,perSecondByResolution:n}=r.creditsCost;return a+((null!=i&&n?.[i]!=null?n[i]:void 0)??s)*o}function s(e,o,i){let r=i??Object.keys(t),s=[];for(let i of r){let r=t[i];if(!r?.supportedDurations.includes(o))continue;let n=a(i,o);n<=e&&s.push({modelId:i,config:r,requiredCredits:n})}return s.sort((e,o)=>e.requiredCredits-o.requiredCredits),s}function n(e,o){let i=t[e];if(!i)return[5];let{supportedDurations:r,modeConstraints:a}=i;return o&&a?.[o]?r.filter(e=>a[o].includes(e)):r}function d(e,o){let i=t[e];if(i&&o)return i.inputConstraints?.[o]}function l(e,o){let i=d(e,o);return i?.maxReferenceVideos??t[e]?.maxReferenceVideos??3}function u(e){return t[e]?.maxReferenceImagesInVideoEdit??0}function p(e,o){let i=t[e];return i&&i.supportedResolutions?i.resolutionConstraints?i.supportedResolutions.filter(e=>{let t=i.resolutionConstraints?.[e];return!t||t.includes(o)}):i.supportedResolutions:[]}function m(e){return({google:"Google",bytedance:"ByteDance",minimax:"MiniMax",kling:"Kling AI",alibaba:"Alibaba"})[e]}function g(e){return"wan-2-7"===e?"Quality":"google-veo3.1"===e?"Fast":"google-veo3.1-pro"===e?"Quality":e.includes("fast")?"Fast":e.includes("quality")?"Quality":""}e.s(["DEFAULT_VIDEO_MODEL",0,"minimax-h3","VIDEO_MODELS",0,t,"VIDEO_PRICING_COMPARISON",0,[{model:"minimax-h3",name:"MiniMax H3",duration5s:20,duration10s:40,rating:5,isNew:!0},{model:"wan-3-0",name:"Wan 3.0",duration5s:60,duration10s:120,rating:5,isNew:!0},{model:"wan-2-2",name:"Wan 2.2",duration5s:5,duration10s:10,rating:5,isNew:!0},{model:"wan-2-7",name:"Wan 2.7",duration5s:50,duration10s:100,rating:4,isNew:!0},{model:"wan-2-6",name:"Wan 2.6",duration5s:50,duration10s:100,rating:4,isNew:!0},{model:"seedance-2-0",name:"Seedance 2.0",duration5s:70,duration10s:140,rating:4,isNew:!0},{model:"seedance-2-0-fast",name:"Seedance 2.0 Fast",duration5s:60,duration10s:120,rating:4,isNew:!0},{model:"official-kling-v3-0",name:"Kling v3.0",duration5s:90,duration10s:170,rating:5,isNew:!0},{model:"official-kling-v3-0-pro",name:"Kling v3.0 Pro",duration5s:120,duration10s:230,rating:4,isNew:!0},{model:"doubao-seedance-1-0-pro-fast-251015",name:"Doubao Fast",duration5s:10,duration10s:10,rating:5},{model:"doubao-seedance-1-0-pro-250528",name:"Doubao Quality",duration5s:10,duration10s:20,rating:4},{model:"doubao-seedance-1-5-pro-251215",name:"Doubao 1.5 Pro",duration5s:20,duration10s:40,rating:5,isNew:!0},{model:"minimaxi-hailuo-02",name:"MiniMax Hailuo",duration5s:30,duration10s:30,rating:4},{model:"official-kling-v2-5-turbo",name:"Kling v2.5 Turbo",duration5s:20,duration10s:40,rating:4},{model:"google-veo3.1-lite",name:"Google Veo 3.1 Lite",duration5s:40,duration10s:40,rating:4,isNew:!0},{model:"google-veo3.1",name:"Google Veo 3.1",duration5s:40,duration10s:40,rating:4},{model:"official-kling-v2-1",name:"Kling v2.1",duration5s:30,duration10s:50,rating:3},{model:"google-veo3.1-pro",name:"Google Veo 3.1 Pro",duration5s:70,duration10s:70,rating:3},{model:"official-kling-v2-6",name:"Kling v2.6",duration5s:40,duration10s:70,rating:3},{model:"kling-o1",name:"Kling O1",duration5s:50,duration10s:100,rating:3},{model:"official-kling-v2-1-master",name:"Kling v2.1 Master",duration5s:80,duration10s:150,rating:2}],"calculateVideoCredits",()=>a,"getAffordableModels",()=>s,"getDefaultVideoDuration",()=>r,"getMaxReferenceImagesInVideoEdit",()=>u,"getMaxReferenceVideos",()=>l,"getModelSpeedLabel",()=>g,"getProviderName",()=>m,"getReferenceCreditsPerVideo",()=>
1i,"getSupportedDurations",()=>n,"getSupportedResolutions",()=>p,"getVideoInputConstraints",()=>d])},151742,e=>{"use strict";let o=(0,e.i(360229).default)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",()=>o])},367692,e=>{"use strict";var o=e.i(119584),t=e.i(622989),i=e.i(527069),r=e.i(291967),a=e.i(806148),s=e.i(669122),n=e.i(892857),d=e.i(887996),l=e.i(842728),u=e.i(729085),p=e.i(609732),m=e.i(765726),g=["PageUp","PageDown"],c=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],f={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},v="Slider",[b,x,h]=(0,m.createCollection)(v),[S,y]=(0,s.createContextScope)(v,[h]),[R,w]=S(v),_=t.forwardRef((e,a)=>{let{name:s,min:d=0,max:l=100,step:u=1,orientation:p="horizontal",disabled:m=!1,minStepsBetweenThumbs:f=0,defaultValue:v=[d],value:x,onValueChange:h=()=>{},onValueCommit:S=()=>{},inverted:y=!1,form:w,..._}=e,D=t.useRef(new Set),I=t.useRef(0),k="horizontal"===p,[C=[],A]=(0,n.useControllableState)({prop:x,defaultProp:v,onChange:e=>{let o=[...D.current];o[I.current]?.focus(),h(e)}}),M=t.useRef(C);function N(e,o,{commit:t}={commit:!1}){let r,a=(String(u).split(".")[1]||"").length,s=Math.round((Math.round((e-d)/u)*u+d)*(r=Math.pow(10,a)))/r,n=(0,i.clamp)(s,[d,l]);A((e=[])=>{let i=function(e=[],o,t){let i=[...e];return i[t]=o,i.sort((e,o)=>e-o)}(e,n,o);if(!function(e,o){if(o>0)return Math.min(...e.slice(0,-1).map((o,t)=>e[t+1]-o))>=o;return!0}(i,f*u))return e;{I.current=i.indexOf(n);let o=String(i)!==String(e);return o&&t&&S(i),o?i:e}})}return(0,o.jsx)(R,{scope:e.__scopeSlider,name:s,disabled:m,min:d,max:l,valueIndexToChangeRef:I,thumbs:D.current,values:C,orientation:p,form:w,children:(0,o.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,o.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,o.jsx)(k?P:K,{"aria-disabled":m,"data-disabled":m?"":void 0,..._,ref:a,onPointerDown:(0,r.composeEventHandlers)(_.onPointerDown,()=>{m||(M.current=C)}),min:d,max:l,inverted:y,onSlideStart:m?void 0:function(e){let o=function(e,o){if(1===e.length)return 0;let t=e.map(e=>Math.abs(e-o)),i=Math.min(...t);return t.indexOf(i)}(C,e);N(e,o)},onSlideMove:m?void 0:function(e){N(e,I.current)},onSlideEnd:m?void 0:function(){let e=M.current[I.current];C[I.current]!==e&&S(C)},onHomeKeyDown:()=>!m&&N(d,0,{commit:!0}),onEndKeyDown:()=>!m&&N(l,C.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:o})=>{if(!m){let t=g.includes(e.key)||e.shiftKey&&c.includes(e.key),i=I.current;N(C[i]+u*(t?10:1)*o,i,{commit:!0})}}})})})})});_.displayName=v;var[D,I]=S(v,{startEdge:"left",endEdge:"right",size:"width",direction:1}),P=t.forwardRef((e,i)=>{let{min:r,max:s,dir:n,inverted:l,onSlideStart:u,onSlideMove:p,onSlideEnd:m,onStepKeyDown:g,...c}=e,[v,b]=t.useState(null),x=(0,a.useComposedRefs)(i,e=>b(e)),h=t.useRef(void 0),S=(0,d.useDirection)(n),y="ltr"===S,R=y&&!l||!y&&l;function w(e){let o=h.current||v.getBoundingClientRect(),t=j([0,o.width],R?[r,s]:[s,r]);return h.current=o,t(e-o.left)}return(0,o.jsx)(D,{scope:e.__scopeSlider,startEdge:R?"left":"right",endEdge:R?"right":"left",direction:R?1:-1,size:"width",children:(0,o.jsx)(k,{dir:S,"data-orientation":"horizontal",...c,ref:x,style:{...c.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let o=w(e.clientX);u?.(o)},onSlideMove:e=>{let o=w(e.clientX);p?.(o)},onSlideEnd:()=>{h.current=void 0,m?.()},onStepKeyDown:e=>{let o=f[R?"from-left":"from-right"].includes(e.key);g?.({event:e,direction:o?-1:1})}})})}),K=t.forwardRef((e,i)=>{let{min:r,max:s,inverted:n,onSlideStart:d,onSlideMove:l,onSlideEnd:u,onStepKeyDown:p,...m}=e,g=t.useRef(null),c=(0,a.useComposedRefs)(i,g),v=t.useRef(void 0),b=!n;function x(e){let o=v.current||g.current.getBoundingClientRect(),t=j([0,o.height],b?[s,r]:[r,s]);return v.current=o,t(e-o.top)}return(0,o.jsx)(D,{scope:e.__scopeSlider,startEdge:b?"bottom":"top",endEdge:b?"top":"bottom",size:"height",direction:b?1:-1,children:(0,o.jsx)(k,{"data-orientation":"vertical",...m,ref:c,style:{...m.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let o=x(e.clientY);d?.(o)},onSlideMove:e=>{let o=x(e.clientY);l?.(o)},onSlideEnd:()=>{v.current=void 0,u?.()},onStepKeyDown:e=>
1{let o=f[b?"from-bottom":"from-top"].includes(e.key);p?.({event:e,direction:o?-1:1})}})})}),k=t.forwardRef((e,t)=>{let{__scopeSlider:i,onSlideStart:a,onSlideMove:s,onSlideEnd:n,onHomeKeyDown:d,onEndKeyDown:l,onStepKeyDown:u,...m}=e,f=w(v,i);return(0,o.jsx)(p.Primitive.span,{...m,ref:t,onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{"Home"===e.key?(d(e),e.preventDefault()):"End"===e.key?(l(e),e.preventDefault()):g.concat(c).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,e=>{let o=e.target;o.setPointerCapture(e.pointerId),e.preventDefault(),f.thumbs.has(o)?o.focus():a(e)}),onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&s(e)}),onPointerUp:(0,r.composeEventHandlers)(e.onPointerUp,e=>{let o=e.target;o.hasPointerCapture(e.pointerId)&&(o.releasePointerCapture(e.pointerId),n(e))})})}),C="SliderTrack",A=t.forwardRef((e,t)=>{let{__scopeSlider:i,...r}=e,a=w(C,i);return(0,o.jsx)(p.Primitive.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...r,ref:t})});A.displayName=C;var M="SliderRange",N=t.forwardRef((e,i)=>{let{__scopeSlider:r,...s}=e,n=w(M,r),d=I(M,r),l=t.useRef(null),u=(0,a.useComposedRefs)(i,l),m=n.values.length,g=n.values.map(e=>F(e,n.min,n.max)),c=m>1?Math.min(...g):0,f=100-Math.max(...g);return(0,o.jsx)(p.Primitive.span,{"data-orientation":n.orientation,"data-disabled":n.disabled?"":void 0,...s,ref:u,style:{...e.style,[d.startEdge]:c+"%",[d.endEdge]:f+"%"}})});N.displayName=M;var z="SliderThumb",T=t.forwardRef((e,i)=>{let r=x(e.__scopeSlider),[s,n]=t.useState(null),d=(0,a.useComposedRefs)(i,e=>n(e)),l=t.useMemo(()=>s?r().findIndex(e=>e.ref.current===s):-1,[r,s]);return(0,o.jsx)(V,{...e,ref:d,index:l})}),V=t.forwardRef((e,i)=>{var s,n,d,l,m;let g,c,{__scopeSlider:f,index:v,name:x,...h}=e,S=w(z,f),y=I(z,f),[R,_]=t.useState(null),D=(0,a.useComposedRefs)(i,e=>_(e)),P=!R||S.form||!!R.closest("form"),K=(0,u.useSize)(R),k=S.values[v],C=void 0===k?0:F(k,S.min,S.max),A=(s=v,(n=S.values.length)>2?`Value ${s+1} of ${n}`:2===n?["Minimum","Maximum"][s]:void 0),M=K?.[y.size],N=M?(d=M,l=C,m=y.direction,c=j([0,50],[0,g=d/2]),(g-c(l)*m)*m):0;return t.useEffect(()=>{if(R)return S.thumbs.add(R),()=>{S.thumbs.delete(R)}},[R,S.thumbs]),(0,o.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[y.startEdge]:`calc(${C}% + ${N}px)`},children:[(0,o.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,o.jsx)(p.Primitive.span,{role:"slider","aria-label":e["aria-label"]||A,"aria-valuemin":S.min,"aria-valuenow":k,"aria-valuemax":S.max,"aria-orientation":S.orientation,"data-orientation":S.orientation,"data-disabled":S.disabled?"":void 0,tabIndex:S.disabled?void 0:0,...h,ref:D,style:void 0===k?{display:"none"}:e.style,onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{S.valueIndexToChangeRef.current=v})})}),P&&(0,o.jsx)(E,{name:x??(S.name?S.name+(S.values.length>1?"[]":""):void 0),form:S.form,value:k},v)]})});T.displayName=z;var E=t.forwardRef(({__scopeSlider:e,value:i,...r},s)=>{let n=t.useRef(null),d=(0,a.useComposedRefs)(n,s),u=(0,l.usePrevious)(i);return t.useEffect(()=>{let e=n.current;if(!e)return;let o=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(u!==i&&o){let t=new Event("input",{bubbles:!0});o.call(e,i),e.dispatchEvent(t)}},[u,i]),(0,o.jsx)(p.Primitive.input,{style:{display:"none"},...r,ref:d,defaultValue:i})});function F(e,o,t){return(0,i.clamp)(100/(t-o)*(e-o),[0,100])}function j(e,o){return t=>{if(e[0]===e[1]||o[0]===o[1])return o[0];let i=(o[1]-o[0])/(e[1]-e[0]);return o[0]+i*(t-e[0])}}E.displayName="RadioBubbleInput";var q=e.i(975157);function W({className:e,defaultValue:i,value:r,min:a=0,max:s=100,...n}){let d=t.useMemo(()=>Array.isArray(r)?r:Array.isArray(i)?i:[a,s],[r,i,a,s]);return(0,o.jsxs)(_,{"data-slot":"slider",defaultValue:i,value:r,min:a,max:s,className:(0,q.cn)("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",e),...n,children:[(0,o.jsx)(A,{"data-slot":"slider-track",className:(0,q.cn)("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"),children:(0,o.jsx)(N,{"data-slot":"slider-range",className:(0,q.cn)("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full")})}),Array.from({length:d.length},(e,t)=>(0,o.jsx)(T,{"data-slot":"slider-thumb",className:"border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"},t))]})}e.s(["Slider",()=>W],367692)},979985,e=>{"use strict";var o=e.i(605821);e.s(["Clock",()=>o.default])},920932,e=>{"use strict";var o=e.i(119584),t=e.i(520133),i=e.i(77607),r=e.i(652855),a=e.i(622989);e.s(["LoginWrapper",0,({children:e,mode:s="redirect",asChild:n,callbackUrl:d})=>{let l=(0,t.useLocaleRouter)(),[u,p]=(0,a.useState)(!1),{open:m}=(0,r.useSimpleLoginModalStore)();return((0,a.useEffect)(()=>{p(!0)},[]),u)?(0,o.jsx)("span",{onClick:()=>
1{if("modal"===s)return void m(d);let e=d?`${i.Routes.Login}?callbackUrl=${encodeURIComponent(d)}`:`${i.Routes.Login}`;console.log("login wrapper, loginPath",e),l.push(e)},className:"cursor-pointer",children:e}):null}])},770151,e=>{"use strict";let o={"gemini-3-pro":{id:"gemini-3-pro-image-preview",name:"Nano Banana Pro",credits:6,description:"High quality image generation with rich details",logo:"/images/ai-model-logo/gemini-color.svg",translationKey:"pro",releaseDate:"November 2025",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportsImageInput:!0,maxImageInputs:8,maxPromptLength:1e4,fallbackModels:[{modelKey:"z-image",silent:!0}],supportedSizes:["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9","auto"]},"gemini-2.5-flash":{id:"gemini-2.5-flash-image-preview",name:"NanoBanana Flash",credits:2,description:"Fast generation, cost-effective",logo:"/images/ai-model-logo/gemini-color.svg",translationKey:"flash",releaseDate:"August 2025",supportsResolution:!1,supportsImageInput:!0,maxImageInputs:10,maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportedSizes:["1:1","9:16","16:9","3:4","4:3","3:2","2:3","auto"]},"nanobanana-2":{id:"nano-banana-2",name:"Nano Banana 2",credits:4,description:"Next-gen Nano Banana with optional web grounding",logo:"/images/ai-model-logo/gemini-color.svg",translationKey:"nanobanana2",releaseDate:"February 2026",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportsImageInput:!0,supportsWebSearch:!0,preferredProvider:"kie",fallbackModels:[{modelKey:"z-image",silent:!0}],maxImageInputs:14,maxPromptLength:2e4,supportedSizes:["1:1","2:3","3:2","3:4","4:3","9:16","16:9","auto"],isNew:!0},"flux2-klein":{id:"flux-2-klein",name:"Flux 2 Klein",credits:3,description:"Fast and efficient image generation",logo:"/images/ai-model-logo/flux.svg",translationKey:"flux2klein",releaseDate:"January 2026",kieModelId:"z-image-v2",supportsResolution:!1,supportedSizes:["1:1","4:3","3:4","16:9","9:16"],supportsImageInput:!0,maxImageInputs:3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1},flux2:{id:"flux-2",name:"Flux 2",credits:4,description:"Flux 2 intelligent image generation (auto-selects text-to-image or image-to-image)",logo:"/images/ai-model-logo/flux.svg",translationKey:"flux2",releaseDate:"November 2025",supportsResolution:!0,supportedResolutions:["1K","2K"],defaultResolution:"1K",supportedSizes:["1:1","4:3","3:4","16:9","9:16","3:2","2:3","auto"],supportsImageInput:!0,maxImageInputs:8,maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1},flux2pro:{id:"flux-2-pro",name:"Flux 2 Pro",credits:6,description:"Flux 2 Pro intelligent image generation with enhanced quality (auto-selects text-to-image or image-to-image)",logo:"/images/ai-model-logo/flux.svg",translationKey:"flux2pro",releaseDate:"November 2025",supportsResolution:!0,supportedResolutions:["1K","2K"],defaultResolution:"1K",supportedSizes:["1:1","4:3","3:4","16:9","9:16","3:2","2:3","auto"],supportsImageInput:!0,maxImageInputs:8,maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1},"qwen-image-2":{id:"qwen/text-to-image",name:"Qwen Image 2",credits:6,description:"Advanced image generation with Qwen",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"qwen2",releaseDate:"August 2025",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportsImageInput:!0,maxImageInputs:1,maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1,isNew:!0},"qwen2-image":{id:"qwen2/text-to-image",name:"Qwen2 Image",credits:6,description:"Qwen2 image generation â text-to-image or image editing via smart routing",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"qwen2image",releaseDate:"January 2026",supportsResolution:!1,supportedSizes:["1:1","4:3","3:4","16:9","9:16"],supportsImageInput:!0,maxImageInputs:1,maxPromptLength:800,preferredProvider:"kie",fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1,isNew:!0},"wan27-image":{id:"wan/2-7-image",name:"Wan 2.7 Image",credits:2,description:"Alibaba Wan 2.7 â personalized characters, precise color palette control",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"wan27image",releaseDate:"April 2026",supportsResolution:!0,supportedResolutions:["1K","2K"],defaultResolution:"2K",supportedSizes:["1:1","16:9","4:3","21:9","3:4","9:16"],supportsImageInput:!0,maxImageInputs:9,maxPromptLength:5e3,preferredProvider:"mulerouter",requiredProvider:"mulerouter",fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1,isNew:!0}
1,"wan27-image-pro":{id:"wan/2-7-image-pro",name:"Wan 2.7 Image Pro",credits:5,description:"Alibaba Wan 2.7 Pro â stable composition, sharper prompt comprehension, 4K output",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"wan27imagepro",releaseDate:"April 2026",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"2K",supportedSizes:["1:1","16:9","4:3","21:9","3:4","9:16"],supportsImageInput:!0,maxImageInputs:9,maxPromptLength:5e3,preferredProvider:"mulerouter",requiredProvider:"mulerouter",supportsNSFW:!0,isNew:!0},"z-image":{id:"z-image",name:"Z-Image Spicy Pro",credits:3,description:"MuleRouter z-image-spicy-pro text-to-image",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"zimage",releaseDate:"May 2025",supportsResolution:!1,supportedSizes:["1:1","4:3","3:4","16:9","9:16"],supportsImageInput:!1,maxImageInputs:1,maxPromptLength:5e3,preferredProvider:"mulerouter",requiredProvider:"mulerouter",fallbackModels:[{modelKey:"wan27-image-pro",silent:!0}],supportsNSFW:!0},"qwen-image-edit-spicy":{id:"qwen-image-edit-spicy",name:"Qwen Image Edit Spicy",credits:3,description:"MuleRouter NSFW image-to-image editing",logo:"/images/ai-model-logo/TongYi.svg",translationKey:"qwen2image",releaseDate:"July 2026",supportsResolution:!1,supportedSizes:["1:1","4:3","3:4","16:9","9:16"],supportsImageInput:!0,maxImageInputs:1,maxPromptLength:5e3,preferredProvider:"mulerouter",fallbackModels:[{modelKey:"wan27-image-pro",silent:!0}],supportsNSFW:!0},"seedream-5.0":{id:"seedream/5-lite-text-to-image",name:"Seedream 5.0",credits:6,description:"Next generation Seedream model",logo:"/images/ai-model-logo/doubao.svg",translationKey:"seedream5",releaseDate:"February 2026",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportsImageInput:!0,maxImageInputs:14,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1,isNew:!0},"seedream-4.0":{id:"doubao-seedance-4-0",name:"Seedream 4.0",credits:4,description:"High quality image generation",logo:"/images/ai-model-logo/doubao.svg",translationKey:"seedream4",releaseDate:"September 2025",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportsImageInput:!0,maxImageInputs:10,supportedSizes:["1:1","4:3","3:4","16:9","9:16","3:2","2:3"],maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsSequentialGeneration:!0,supportsPromptOptimization:!0,supportsNSFW:!1},"seedream-4.5":{id:"doubao-seedance-4-5",name:"Seedream 4.5",credits:5,description:"Ultra high quality, supports 2K/4K",logo:"/images/ai-model-logo/doubao.svg",translationKey:"seedream45",supportsResolution:!0,supportedResolutions:["2K","4K"],defaultResolution:"2K",supportsImageInput:!0,maxImageInputs:14,supportedSizes:["1:1","4:3","3:4","16:9","9:16","2:3","3:2"],maxPromptLength:3e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsSequentialGeneration:!0,supportsPromptOptimization:!0,supportsNSFW:!1},"grok-imagine":{id:"grok-imagine/text-to-image",name:"Grok Imagine",credits:2,description:"Photorealistic generation by Grok Imagine",logo:"/images/ai-model-logo/Grok-2.svg",translationKey:"grok",releaseDate:"December 2024",supportsResolution:!1,supportedSizes:["1:1","2:3","3:2","16:9","9:16"],supportsImageInput:!0,maxImageInputs:1,maxPromptLength:5e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportsNSFW:!1,isNew:!0},"gpt-4o":{id:"gpt-4o-image",name:"GPT-4o",credits:2,description:"OpenAI GPT-4o image generation",logo:"/images/ai-model-logo/Chat-GPT.svg",translationKey:"gpt4o",releaseDate:"March 2025",supportsResolution:!1,supportsImageInput:!0,maxImageInputs:5,maxPromptLength:1e3,fallbackModels:[{modelKey:"z-image",silent:!0}],supportedSizes:["1:1","2:3","3:2"]},"gpt-image-2":{id:"gpt-image-2",name:"GPT Image 2",credits:2,description:"OpenAI GPT Image 2 â high quality generation with 4K support",logo:"/images/ai-model-logo/Chat-GPT.svg",translationKey:"gptImage2",releaseDate:"April 2026",supportsResolution:!0,supportedResolutions:["1K","2K","4K"],defaultResolution:"1K",supportedSizes:["auto","1:1","3:2","2:3","4:3","3:4","5:4","4:5","16:9","9:16","2:1","1:2","21:9","9:21"],supportsImageInput:!0,maxImageInputs:16,preferredProvider:"apimart",isNew:!0}},t=Object.entries(o).map(([e,o])=>({modelKey:e,name:o.name,credits:o.credits,isNew:o.isNew,logo:o.logo})).sort((e,o)=>e.isNew&&!o.isNew?-1:!e.isNew&&o.isNew?1:e.credits-o.credits);function i(){return"z-image"}function r(e){return o[e]?.credits||6}e.s(["IMAGE_MODELS",0,o,"IMAGE_PRICING_COMPARISON",0,t,"getDefaultImageModel",()=>i,"getImageModelCredits",()=>r])}]);
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.