@flaqai/model-adapter 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{rolldown-runtime-DK3Fl9T5.mjs → _virtual/_rolldown/runtime.mjs} +1 -1
- package/dist/flaq/3d/adapter.d.mts +12 -0
- package/dist/flaq/3d/adapter.mjs +1 -0
- package/dist/flaq/3d/flaq-three-d-types.d.mts +52 -0
- package/dist/flaq/3d/index.d.mts +4 -0
- package/dist/flaq/3d/providers/tripo.d.mts +18 -0
- package/dist/flaq/3d/providers/tripo.mjs +1 -0
- package/dist/flaq/image/adapter.d.mts +9 -0
- package/dist/flaq/image/adapter.mjs +1 -0
- package/dist/flaq/image/catalog.d.mts +27 -0
- package/dist/flaq/image/catalog.mjs +1 -0
- package/dist/flaq/image/flaq-image-catalog-types.d.mts +128 -0
- package/dist/flaq/image/flaq-image-types.d.mts +85 -0
- package/dist/flaq/image/index.d.mts +12 -0
- package/dist/flaq/image/providers/gemini.d.mts +20 -0
- package/dist/flaq/image/providers/gemini.mjs +1 -0
- package/dist/flaq/image/providers/gpt-image-2.d.mts +29 -0
- package/dist/flaq/image/providers/gpt-image-2.mjs +1 -0
- package/dist/flaq/image/providers/hidream.d.mts +11 -0
- package/dist/flaq/image/providers/hidream.mjs +1 -0
- package/dist/flaq/image/providers/qwen.d.mts +15 -0
- package/dist/flaq/image/providers/qwen.mjs +1 -0
- package/dist/flaq/image/providers/seedream.d.mts +6 -0
- package/dist/flaq/image/providers/seedream.mjs +1 -0
- package/dist/flaq/image/ratios.d.mts +8 -0
- package/dist/flaq/image/ratios.mjs +1 -0
- package/dist/flaq/image/resolutions.d.mts +11 -0
- package/dist/flaq/image/resolutions.mjs +1 -0
- package/dist/flaq/index.d.mts +33 -0
- package/dist/flaq/video/adapter.d.mts +9 -0
- package/dist/flaq/video/adapter.mjs +1 -0
- package/dist/flaq/video/catalog.d.mts +176 -0
- package/dist/flaq/video/catalog.mjs +1 -0
- package/dist/flaq/video/flaq-video-catalog-types.d.mts +138 -0
- package/dist/flaq/video/flaq-video-types.d.mts +64 -0
- package/dist/flaq/video/index.d.mts +16 -0
- package/dist/flaq/video/providers/alibaba.d.mts +7 -0
- package/dist/flaq/video/providers/alibaba.mjs +1 -0
- package/dist/flaq/video/providers/hailuo.d.mts +11 -0
- package/dist/flaq/video/providers/hailuo.mjs +1 -0
- package/dist/flaq/video/providers/hedra.d.mts +12 -0
- package/dist/flaq/video/providers/hedra.mjs +1 -0
- package/dist/flaq/video/providers/higgsfield.d.mts +6 -0
- package/dist/flaq/video/providers/higgsfield.mjs +1 -0
- package/dist/flaq/video/providers/infinitetalk.d.mts +6 -0
- package/dist/flaq/video/providers/infinitetalk.mjs +1 -0
- package/dist/flaq/video/providers/kling.d.mts +55 -0
- package/dist/flaq/video/providers/kling.mjs +1 -0
- package/dist/flaq/video/providers/seedance-2-0.d.mts +14 -0
- package/dist/flaq/video/providers/seedance-2-0.mjs +1 -0
- package/dist/flaq/video/providers/seedance.d.mts +11 -0
- package/dist/flaq/video/providers/seedance.mjs +1 -0
- package/dist/flaq/video/providers/veo.d.mts +12 -0
- package/dist/flaq/video/providers/veo.mjs +1 -0
- package/dist/flaq/video/providers/vidu.d.mts +11 -0
- package/dist/flaq/video/providers/vidu.mjs +5 -0
- package/dist/flaq/video/ratios.d.mts +17 -0
- package/dist/flaq/video/ratios.mjs +1 -0
- package/dist/flaq-namespace.d.mts +35 -0
- package/dist/flaq-namespace.mjs +1 -0
- package/dist/flaq.d.mts +30 -1
- package/dist/flaq.mjs +1 -1
- package/dist/index.d.mts +107 -3
- package/dist/index.mjs +1 -1
- package/dist/{parameter-list-adapter-neVZQpYP.d.mts → parameter-list-adapter.d.mts} +1 -1
- package/dist/{parameter-list-adapter-BVKxc6Bx.mjs → parameter-list-adapter.mjs} +1 -1
- package/dist/videoweb/audio/adapter.d.mts +7 -0
- package/dist/videoweb/audio/adapter.mjs +1 -0
- package/dist/videoweb/audio/index.d.mts +4 -0
- package/dist/videoweb/audio/providers/elevenlabs-tts.d.mts +6 -0
- package/dist/videoweb/audio/providers/elevenlabs-tts.mjs +1 -0
- package/dist/videoweb/audio/videoweb-audio-types.d.mts +25 -0
- package/dist/videoweb/image/adapter.d.mts +18 -0
- package/dist/videoweb/image/adapter.mjs +1 -0
- package/dist/videoweb/image/any.d.mts +35 -0
- package/dist/videoweb/image/any.mjs +1 -0
- package/dist/videoweb/image/featured-models.d.mts +50 -0
- package/dist/videoweb/image/featured-models.mjs +1 -0
- package/dist/videoweb/image/group-v2.d.mts +38 -0
- package/dist/videoweb/image/group-v2.mjs +1 -0
- package/dist/videoweb/image/group.d.mts +81 -0
- package/dist/videoweb/image/group.mjs +1 -0
- package/dist/videoweb/image/index.d.mts +33 -0
- package/dist/videoweb/image/providers/4o-image.d.mts +18 -0
- package/dist/videoweb/image/providers/4o-image.mjs +1 -0
- package/dist/videoweb/image/providers/flux-2.d.mts +15 -0
- package/dist/videoweb/image/providers/flux-2.mjs +1 -0
- package/dist/videoweb/image/providers/flux-canny-redux.d.mts +13 -0
- package/dist/videoweb/image/providers/flux-canny-redux.mjs +1 -0
- package/dist/videoweb/image/providers/flux-kontext.d.mts +22 -0
- package/dist/videoweb/image/providers/flux-kontext.mjs +1 -0
- package/dist/videoweb/image/providers/flux-krea.d.mts +9 -0
- package/dist/videoweb/image/providers/flux-krea.mjs +1 -0
- package/dist/videoweb/image/providers/flux.d.mts +12 -0
- package/dist/videoweb/image/providers/flux.mjs +1 -0
- package/dist/videoweb/image/providers/ghiblify.d.mts +33 -0
- package/dist/videoweb/image/providers/ghiblify.mjs +1 -0
- package/dist/videoweb/image/providers/glm.d.mts +7 -0
- package/dist/videoweb/image/providers/glm.mjs +1 -0
- package/dist/videoweb/image/providers/gpt-image-2-free.d.mts +7 -0
- package/dist/videoweb/image/providers/gpt-image-2-free.mjs +1 -0
- package/dist/videoweb/image/providers/gpt-image-2.d.mts +25 -0
- package/dist/videoweb/image/providers/gpt-image-2.mjs +1 -0
- package/dist/videoweb/image/providers/ideogram-v2.d.mts +11 -0
- package/dist/videoweb/image/providers/ideogram-v2.mjs +1 -0
- package/dist/videoweb/image/providers/ideogram-v3.d.mts +8 -0
- package/dist/videoweb/image/providers/ideogram-v3.mjs +1 -0
- package/dist/videoweb/image/providers/image-effect.d.mts +7 -0
- package/dist/videoweb/image/providers/image-effect.mjs +1 -0
- package/dist/videoweb/image/providers/index.d.mts +25 -0
- package/dist/videoweb/image/providers/nano-banana-2.d.mts +9 -0
- package/dist/videoweb/image/providers/nano-banana-2.mjs +1 -0
- package/dist/videoweb/image/providers/nano-banana-free.d.mts +7 -0
- package/dist/videoweb/image/providers/nano-banana-free.mjs +1 -0
- package/dist/videoweb/image/providers/nano-banana-pro.d.mts +9 -0
- package/dist/videoweb/image/providers/nano-banana-pro.mjs +1 -0
- package/dist/videoweb/image/providers/nano-banana.d.mts +12 -0
- package/dist/videoweb/image/providers/nano-banana.mjs +1 -0
- package/dist/videoweb/image/providers/qwen-image-2.d.mts +9 -0
- package/dist/videoweb/image/providers/qwen-image-2.mjs +1 -0
- package/dist/videoweb/image/providers/qwen-image-official.d.mts +12 -0
- package/dist/videoweb/image/providers/qwen-image-official.mjs +1 -0
- package/dist/videoweb/image/providers/qwen-image.d.mts +7 -0
- package/dist/videoweb/image/providers/qwen-image.mjs +1 -0
- package/dist/videoweb/image/providers/seedream-4-5.d.mts +13 -0
- package/dist/videoweb/image/providers/seedream-4-5.mjs +1 -0
- package/dist/videoweb/image/providers/seedream-5-0-pro.d.mts +14 -0
- package/dist/videoweb/image/providers/seedream-5-0-pro.mjs +1 -0
- package/dist/videoweb/image/providers/seedream-5-0.d.mts +13 -0
- package/dist/videoweb/image/providers/seedream-5-0.mjs +1 -0
- package/dist/videoweb/image/providers/seedream-v4.d.mts +13 -0
- package/dist/videoweb/image/providers/seedream-v4.mjs +1 -0
- package/dist/videoweb/image/videoweb-image-catalog-types.d.mts +48 -0
- package/dist/videoweb/image/videoweb-image-types.d.mts +34 -0
- package/dist/videoweb/model-select.d.mts +26 -0
- package/dist/videoweb/model-select.mjs +1 -0
- package/dist/videoweb/music/adapter.d.mts +11 -0
- package/dist/videoweb/music/adapter.mjs +1 -0
- package/dist/videoweb/music/index.d.mts +4 -0
- package/dist/videoweb/music/providers/suno.d.mts +21 -0
- package/dist/videoweb/music/providers/suno.mjs +1 -0
- package/dist/videoweb/music/videoweb-music-types.d.mts +31 -0
- package/dist/videoweb/video/adapter.d.mts +23 -0
- package/dist/videoweb/video/adapter.mjs +1 -0
- package/dist/videoweb/video/any.d.mts +42 -0
- package/dist/videoweb/video/any.mjs +20 -0
- package/dist/videoweb/video/collection-options.d.mts +7 -0
- package/dist/videoweb/video/collection-options.mjs +1 -0
- package/dist/videoweb/video/group-v2.d.mts +39 -0
- package/dist/videoweb/video/group-v2.mjs +1 -0
- package/dist/videoweb/video/group.d.mts +24 -0
- package/dist/videoweb/video/group.mjs +1 -0
- package/dist/videoweb/video/index.d.mts +63 -0
- package/dist/videoweb/video/landing-page.d.mts +28 -0
- package/dist/videoweb/video/landing-page.mjs +1 -0
- package/dist/videoweb/video/legacy-groups.d.mts +11 -0
- package/dist/videoweb/video/legacy-groups.mjs +1 -0
- package/dist/videoweb/video/providers/grok-imagine-1-5.d.mts +16 -0
- package/dist/videoweb/video/providers/grok-imagine-1-5.mjs +1 -0
- package/dist/videoweb/video/providers/hailuo-2-0.d.mts +21 -0
- package/dist/videoweb/video/providers/hailuo-2-0.mjs +1 -0
- package/dist/videoweb/video/providers/hailuo-2-3.d.mts +17 -0
- package/dist/videoweb/video/providers/hailuo-2-3.mjs +1 -0
- package/dist/videoweb/video/providers/happy-horse-1-0.d.mts +21 -0
- package/dist/videoweb/video/providers/happy-horse-1-0.mjs +1 -0
- package/dist/videoweb/video/providers/happy-horse-1-1.d.mts +21 -0
- package/dist/videoweb/video/providers/happy-horse-1-1.mjs +1 -0
- package/dist/videoweb/video/providers/hedra.d.mts +6 -0
- package/dist/videoweb/video/providers/hedra.mjs +1 -0
- package/dist/videoweb/video/providers/higgsfield.d.mts +19 -0
- package/dist/videoweb/video/providers/higgsfield.mjs +1 -0
- package/dist/videoweb/video/providers/index.d.mts +53 -0
- package/dist/videoweb/video/providers/infinitetalk.d.mts +9 -0
- package/dist/videoweb/video/providers/infinitetalk.mjs +1 -0
- package/dist/videoweb/video/providers/kling-2-5.d.mts +20 -0
- package/dist/videoweb/video/providers/kling-2-5.mjs +1 -0
- package/dist/videoweb/video/providers/kling-2-6.d.mts +16 -0
- package/dist/videoweb/video/providers/kling-2-6.mjs +1 -0
- package/dist/videoweb/video/providers/kling-3-0-4k.d.mts +16 -0
- package/dist/videoweb/video/providers/kling-3-0-4k.mjs +1 -0
- package/dist/videoweb/video/providers/kling-3-0-turbo.d.mts +16 -0
- package/dist/videoweb/video/providers/kling-3-0-turbo.mjs +1 -0
- package/dist/videoweb/video/providers/kling-3-0.d.mts +18 -0
- package/dist/videoweb/video/providers/kling-3-0.mjs +1 -0
- package/dist/videoweb/video/providers/kling-effects-korean-baseball.d.mts +8 -0
- package/dist/videoweb/video/providers/kling-effects-korean-baseball.mjs +1 -0
- package/dist/videoweb/video/providers/kling-motion-control.d.mts +11 -0
- package/dist/videoweb/video/providers/kling-motion-control.mjs +1 -0
- package/dist/videoweb/video/providers/kling-o1.d.mts +14 -0
- package/dist/videoweb/video/providers/kling-o1.mjs +1 -0
- package/dist/videoweb/video/providers/kling-omni-3-reference.d.mts +35 -0
- package/dist/videoweb/video/providers/kling-omni-3-reference.mjs +1 -0
- package/dist/videoweb/video/providers/kling.d.mts +56 -0
- package/dist/videoweb/video/providers/kling.mjs +1 -0
- package/dist/videoweb/video/providers/luma-modify-video.d.mts +10 -0
- package/dist/videoweb/video/providers/luma-modify-video.mjs +1 -0
- package/dist/videoweb/video/providers/midjourney-image-to-video.d.mts +11 -0
- package/dist/videoweb/video/providers/midjourney-image-to-video.mjs +1 -0
- package/dist/videoweb/video/providers/midjourney.d.mts +10 -0
- package/dist/videoweb/video/providers/midjourney.mjs +1 -0
- package/dist/videoweb/video/providers/pixverse-4-5.d.mts +135 -0
- package/dist/videoweb/video/providers/pixverse-4-5.mjs +1 -0
- package/dist/videoweb/video/providers/pixverse-5-0.d.mts +16 -0
- package/dist/videoweb/video/providers/pixverse-5-0.mjs +1 -0
- package/dist/videoweb/video/providers/pixverse-5-5.d.mts +56 -0
- package/dist/videoweb/video/providers/pixverse-5-5.mjs +1 -0
- package/dist/videoweb/video/providers/pixverse-6-0.d.mts +13 -0
- package/dist/videoweb/video/providers/pixverse-6-0.mjs +1 -0
- package/dist/videoweb/video/providers/runway-gen3a.d.mts +6 -0
- package/dist/videoweb/video/providers/runway-gen3a.mjs +1 -0
- package/dist/videoweb/video/providers/runway-gen4.d.mts +9 -0
- package/dist/videoweb/video/providers/runway-gen4.mjs +1 -0
- package/dist/videoweb/video/providers/seedance-1-5.d.mts +33 -0
- package/dist/videoweb/video/providers/seedance-1-5.mjs +1 -0
- package/dist/videoweb/video/providers/seedance-2-0-mini.d.mts +35 -0
- package/dist/videoweb/video/providers/seedance-2-0-mini.mjs +1 -0
- package/dist/videoweb/video/providers/seedance-2-0-reference.d.mts +56 -0
- package/dist/videoweb/video/providers/seedance-2-0-reference.mjs +1 -0
- package/dist/videoweb/video/providers/seedance-2-0.d.mts +49 -0
- package/dist/videoweb/video/providers/seedance-2-0.mjs +1 -0
- package/dist/videoweb/video/providers/seedance-v1.d.mts +19 -0
- package/dist/videoweb/video/providers/seedance-v1.mjs +1 -0
- package/dist/videoweb/video/providers/sora-2-pro.d.mts +14 -0
- package/dist/videoweb/video/providers/sora-2-pro.mjs +1 -0
- package/dist/videoweb/video/providers/sora-2.d.mts +38 -0
- package/dist/videoweb/video/providers/sora-2.mjs +1 -0
- package/dist/videoweb/video/providers/veo-2.d.mts +10 -0
- package/dist/videoweb/video/providers/veo-2.mjs +1 -0
- package/dist/videoweb/video/providers/veo-3-1.d.mts +13 -0
- package/dist/videoweb/video/providers/veo-3-1.mjs +1 -0
- package/dist/videoweb/video/providers/veo-3.d.mts +16 -0
- package/dist/videoweb/video/providers/veo-3.mjs +1 -0
- package/dist/videoweb/video/providers/video-effect.d.mts +15 -0
- package/dist/videoweb/video/providers/video-effect.mjs +5 -0
- package/dist/videoweb/video/providers/video-upscaler.d.mts +17 -0
- package/dist/videoweb/video/providers/video-upscaler.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-2-0.d.mts +29 -0
- package/dist/videoweb/video/providers/vidu-2-0.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-christmas-effect.d.mts +8 -0
- package/dist/videoweb/video/providers/vidu-christmas-effect.mjs +8 -0
- package/dist/videoweb/video/providers/vidu-q1.d.mts +8 -0
- package/dist/videoweb/video/providers/vidu-q1.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-q2-reference.d.mts +22 -0
- package/dist/videoweb/video/providers/vidu-q2-reference.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-q2.d.mts +54 -0
- package/dist/videoweb/video/providers/vidu-q2.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-q3-reference.d.mts +26 -0
- package/dist/videoweb/video/providers/vidu-q3-reference.mjs +1 -0
- package/dist/videoweb/video/providers/vidu-q3.d.mts +35 -0
- package/dist/videoweb/video/providers/vidu-q3.mjs +1 -0
- package/dist/videoweb/video/providers/wan-2-2-animate.d.mts +17 -0
- package/dist/videoweb/video/providers/wan-2-2-animate.mjs +1 -0
- package/dist/videoweb/video/providers/wan-2-5.d.mts +62 -0
- package/dist/videoweb/video/providers/wan-2-5.mjs +1 -0
- package/dist/videoweb/video/providers/wan-2-6.d.mts +61 -0
- package/dist/videoweb/video/providers/wan-2-6.mjs +1 -0
- package/dist/videoweb/video/providers/wan-2-7-lora.d.mts +15 -0
- package/dist/videoweb/video/providers/wan-2-7-lora.mjs +1 -0
- package/dist/videoweb/video/providers/wan-2-7.d.mts +22 -0
- package/dist/videoweb/video/providers/wan-2-7.mjs +1 -0
- package/dist/videoweb/video/providers/wan.d.mts +38 -0
- package/dist/videoweb/video/providers/wan.mjs +1 -0
- package/dist/videoweb/video/videoweb-video-catalog-types.d.mts +63 -0
- package/dist/videoweb/video/videoweb-video-types.d.mts +38 -0
- package/dist/videoweb.d.mts +104 -2
- package/dist/videoweb.mjs +1 -1
- package/package.json +5 -2
- package/dist/flaq-CANiSsGU.mjs +0 -5
- package/dist/index-BUoUYnbk.d.mts +0 -910
- package/dist/index-Dc0qezUL.d.mts +0 -2030
- package/dist/videoweb-CFFO7_aP.mjs +0 -31
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptParameterList as e,adaptParameterListWithPresentation as t}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as n}from"../adapter.mjs";import{IMAGE_QWEN_IMAGE_OFFICIAL_MODELS as r,QWEN_IMAGE_EDIT_RATIO_LIST as i,QWEN_IMAGE_RATIO_LIST as a,QWEN_IMAGE_VERSION_LIST as o}from"@flaqai/model-core";const s=e(o),c=t(a,{"1:1":{iconWidth:`12px`,iconHeight:`12px`},"16:9":{iconWidth:`16px`,iconHeight:`9px`},"9:16":{iconWidth:`9px`,iconHeight:`16px`},"4:3":{iconWidth:`12px`,iconHeight:`9px`},"3:4":{iconWidth:`9px`,iconHeight:`12px`}}),l=t(i,{"1:1":{iconWidth:`12px`,iconHeight:`12px`},"16:9":{iconWidth:`16px`,iconHeight:`9px`},"9:16":{iconWidth:`9px`,iconHeight:`16px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`},"4:3":{iconWidth:`12px`,iconHeight:`9px`},"3:4":{iconWidth:`9px`,iconHeight:`12px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`}}),u=n(r[`qwen-image`],{name:`Qwen Image`,isPaid:!1,pricingType:`image`}),d=n(r[`qwen-image-edit`],{parameterOverride:{maxImages:3},name:`Qwen Image Edit`,isPaid:!1,pricingType:`image`}),f=n(r[`qwen-image-plus`],{name:`Qwen Image Plus`,isPaid:!1,pricingType:`image`}),p=n(r[`qwen-image-plus-edit`],{parameterOverride:{maxImages:3},name:`Qwen Image Plus Edit`,isPaid:!1,pricingType:`image`}),m=n(r[`qwen-image-max`],{name:`Qwen Image Max`,isPaid:!1,pricingType:`image`});export{u as QWEN_IMAGE_OFFICIAL,d as QWEN_IMAGE_OFFICIAL_EDIT,m as QWEN_IMAGE_OFFICIAL_MAX,f as QWEN_IMAGE_OFFICIAL_PLUS,p as QWEN_IMAGE_OFFICIAL_PLUS_EDIT,c as QWEN_IMAGE_RATIO_LIST,l as QWEN_IMAGE_RATIO_LIST_PLUS_EDIT,s as QWEN_IMAGE_VERSION_LIST};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ImageStyle, RatioType } from "../videoweb-image-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/image/providers/qwen-image.d.ts
|
|
3
|
+
declare const QwenImageRatioList: RatioType[];
|
|
4
|
+
declare const QwenTextToImageEditModel: ImageStyle;
|
|
5
|
+
declare const QwenImageEditModel: ImageStyle;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { QwenImageEditModel, QwenImageRatioList, QwenTextToImageEditModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptPresentedParameterList as e}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as t}from"../adapter.mjs";import{IMAGE_QWEN_IMAGE_OFFICIAL_MODELS as n,QWEN_IMAGE_EDIT_RATIO_LIST as r}from"@flaqai/model-core";const i=e(r,{"1:1":{iconWidth:`12px`,iconHeight:`12px`},"16:9":{iconWidth:`16px`,iconHeight:`9px`},"9:16":{iconWidth:`9px`,iconHeight:`16px`},"4:3":{iconWidth:`12px`,iconHeight:`9px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:4":{iconWidth:`9px`,iconHeight:`12px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`}}),a=t(n[`qwen-image`],{factOverride:{platformType:44},name:`Qwen Image Edit`,isPaid:!1,pricingType:`image`}),o=t(n[`qwen-image-edit`],{parameterOverride:{maxImages:3},factOverride:{platformType:44},name:`Qwen Image Edit`,isPaid:!1,pricingType:`image`});export{o as QwenImageEditModel,i as QwenImageRatioList,a as QwenTextToImageEditModel};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImageStyle, RatioType } from "../videoweb-image-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/image/providers/seedream-4-5.d.ts
|
|
3
|
+
declare const SEEDREAM_4_5_RATIO_LIST: RatioType[];
|
|
4
|
+
declare const SEEDREAM_4_5_RESOLUTION_LIST: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
declare const SEEDREAM_4_5_ACCEPTED_IMAGE_TYPES: Record<string, string[]>;
|
|
9
|
+
declare const SEEDREAM_4_5_IMAGE_RATIO_LIMIT: [number, number];
|
|
10
|
+
declare const SEEDREAM_4_5_TEXT_TO_IMAGE_MODEL: ImageStyle;
|
|
11
|
+
declare const SEEDREAM_4_5_IMAGE_TO_IMAGE_MODEL: ImageStyle;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SEEDREAM_4_5_ACCEPTED_IMAGE_TYPES, SEEDREAM_4_5_IMAGE_RATIO_LIMIT, SEEDREAM_4_5_IMAGE_TO_IMAGE_MODEL, SEEDREAM_4_5_RATIO_LIST, SEEDREAM_4_5_RESOLUTION_LIST, SEEDREAM_4_5_TEXT_TO_IMAGE_MODEL };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptParameterList as e,adaptPresentedParameterList as t}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as n}from"../adapter.mjs";import{IMAGE_SEEDREAM_4_5_MODELS as r,SEEDREAM_4_5_RATIO_LIST as i,SEEDREAM_4_5_RESOLUTION_LIST as a}from"@flaqai/model-core";const o=t(i,{"1:1":{iconWidth:`14px`,iconHeight:`14px`},"16:9":{iconWidth:`22px`,iconHeight:`12px`},"9:16":{iconWidth:`12px`,iconHeight:`22px`},"4:3":{iconWidth:`16px`,iconHeight:`12px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:4":{iconWidth:`12px`,iconHeight:`16px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`}}),s=e(a),c={"image/jpeg":[`.jpg`,`.jpeg`],"image/png":[`.png`]},l=[.33,3],u=n(r[`seedream-v4.5`],{parameterOverride:{maxImages:10},name:`Seedream 4.5`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s}),d=n(r[`seedream-v4.5-edit`],{parameterOverride:{maxImages:10},name:`Seedream 4.5`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s});export{c as SEEDREAM_4_5_ACCEPTED_IMAGE_TYPES,l as SEEDREAM_4_5_IMAGE_RATIO_LIMIT,d as SEEDREAM_4_5_IMAGE_TO_IMAGE_MODEL,o as SEEDREAM_4_5_RATIO_LIST,s as SEEDREAM_4_5_RESOLUTION_LIST,u as SEEDREAM_4_5_TEXT_TO_IMAGE_MODEL};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ImageStyle, RatioType } from "../videoweb-image-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/image/providers/seedream-5-0-pro.d.ts
|
|
3
|
+
declare const SEEDREAM_5_0_PRO_RATIO_LIST: RatioType[];
|
|
4
|
+
declare const SEEDREAM_5_0_PRO_RESOLUTION_LIST: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
declare const SEEDREAM_5_0_PRO_ACCEPTED_IMAGE_TYPES: Record<string, string[]>;
|
|
9
|
+
declare const SEEDREAM_5_0_PRO_IMAGE_RATIO_LIMIT: [number, number];
|
|
10
|
+
declare const SEEDREAM_5_0_PRO_TEXT_TO_IMAGE_MODEL: ImageStyle;
|
|
11
|
+
declare const SEEDREAM_5_0_PRO_IMAGE_TO_IMAGE_MODEL: ImageStyle;
|
|
12
|
+
declare const GROUP_SEEDREAM_5_0_PRO: Record<string, ImageStyle>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { GROUP_SEEDREAM_5_0_PRO, SEEDREAM_5_0_PRO_ACCEPTED_IMAGE_TYPES, SEEDREAM_5_0_PRO_IMAGE_RATIO_LIMIT, SEEDREAM_5_0_PRO_IMAGE_TO_IMAGE_MODEL, SEEDREAM_5_0_PRO_RATIO_LIST, SEEDREAM_5_0_PRO_RESOLUTION_LIST, SEEDREAM_5_0_PRO_TEXT_TO_IMAGE_MODEL };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptParameterList as e,adaptParameterListWithPresentation as t}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as n}from"../adapter.mjs";import{IMAGE_SEEDREAM_5_0_PRO_MODELS as r,SEEDREAM_5_0_PRO_RATIO_LIST as i,SEEDREAM_5_0_PRO_RESOLUTION_LIST as a}from"@flaqai/model-core";const o=t(i,{"1:1":{iconWidth:`14px`,iconHeight:`14px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:4":{iconWidth:`12px`,iconHeight:`16px`},"4:3":{iconWidth:`16px`,iconHeight:`12px`},"4:5":{iconWidth:`12px`,iconHeight:`15px`},"5:4":{iconWidth:`15px`,iconHeight:`12px`},"9:16":{iconWidth:`9px`,iconHeight:`16px`},"16:9":{iconWidth:`16px`,iconHeight:`9px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`}}),s=e(a),c={"image/jpeg":[`.jpg`,`.jpeg`],"image/png":[`.png`],"image/webp":[`.webp`]},l=[.33,3],u=n(r[`seedream-v5-0-pro`],{parameterOverride:{imageOptionsType:`text-to-image`},name:`Seedream 5.0 Pro`,isPaid:!1,pricingType:`image`}),d=n(r[`seedream-v5-0-pro-edit`],{parameterOverride:{imageOptionsType:`multi-images`,maxImages:10},name:`Seedream 5.0 Pro`,isPaid:!1,pricingType:`image`}),f={"text-to-image__1k":u,"text-to-image__2k":{...u,credit:90},"image-to-image__1k":d,"image-to-image__2k":{...d,credit:100}};export{f as GROUP_SEEDREAM_5_0_PRO,c as SEEDREAM_5_0_PRO_ACCEPTED_IMAGE_TYPES,l as SEEDREAM_5_0_PRO_IMAGE_RATIO_LIMIT,d as SEEDREAM_5_0_PRO_IMAGE_TO_IMAGE_MODEL,o as SEEDREAM_5_0_PRO_RATIO_LIST,s as SEEDREAM_5_0_PRO_RESOLUTION_LIST,u as SEEDREAM_5_0_PRO_TEXT_TO_IMAGE_MODEL};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImageStyle, RatioType } from "../videoweb-image-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/image/providers/seedream-5-0.d.ts
|
|
3
|
+
declare const SEEDREAM_5_0_RATIO_LIST: RatioType[];
|
|
4
|
+
declare const SEEDREAM_5_0_RESOLUTION_LIST: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
declare const SEEDREAM_5_0_ACCEPTED_IMAGE_TYPES: Record<string, string[]>;
|
|
9
|
+
declare const SEEDREAM_5_0_IMAGE_RATIO_LIMIT: [number, number];
|
|
10
|
+
declare const SEEDREAM_5_0_TEXT_TO_IMAGE_MODEL: ImageStyle;
|
|
11
|
+
declare const SEEDREAM_5_0_IMAGE_TO_IMAGE_MODEL: ImageStyle;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SEEDREAM_5_0_ACCEPTED_IMAGE_TYPES, SEEDREAM_5_0_IMAGE_RATIO_LIMIT, SEEDREAM_5_0_IMAGE_TO_IMAGE_MODEL, SEEDREAM_5_0_RATIO_LIST, SEEDREAM_5_0_RESOLUTION_LIST, SEEDREAM_5_0_TEXT_TO_IMAGE_MODEL };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptParameterList as e,adaptPresentedParameterList as t}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as n}from"../adapter.mjs";import{IMAGE_SEEDREAM_5_0_MODELS as r,SEEDREAM_5_0_RATIO_LIST as i,SEEDREAM_5_0_RESOLUTION_LIST as a}from"@flaqai/model-core";const o=t(i,{"1:1":{iconWidth:`14px`,iconHeight:`14px`},"16:9":{iconWidth:`16px`,iconHeight:`9px`},"9:16":{iconWidth:`9px`,iconHeight:`16px`},"4:3":{iconWidth:`16px`,iconHeight:`12px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:4":{iconWidth:`12px`,iconHeight:`16px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`}}),s=e(a),c={"image/jpeg":[`.jpg`,`.jpeg`],"image/png":[`.png`]},l=[.33,3],u=n(r[`seedream-v5-0`],{parameterOverride:{maxImages:10},name:`Seedream 5.0`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s}),d=n(r[`seedream-v5-0-edit`],{parameterOverride:{maxImages:10},name:`Seedream 5.0`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s});export{c as SEEDREAM_5_0_ACCEPTED_IMAGE_TYPES,l as SEEDREAM_5_0_IMAGE_RATIO_LIMIT,d as SEEDREAM_5_0_IMAGE_TO_IMAGE_MODEL,o as SEEDREAM_5_0_RATIO_LIST,s as SEEDREAM_5_0_RESOLUTION_LIST,u as SEEDREAM_5_0_TEXT_TO_IMAGE_MODEL};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImageStyle, RatioType } from "../videoweb-image-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/image/providers/seedream-v4.d.ts
|
|
3
|
+
declare const SEEDREAM_RATIO_LIST: RatioType[];
|
|
4
|
+
declare const SEEDREAM_RESOLUTION_LIST: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
declare const SEEDREAM_4_0_ACCEPTED_IMAGE_TYPES: Record<string, string[]>;
|
|
9
|
+
declare const SEEDREAM_4_0_IMAGE_RATIO_LIMIT: [number, number];
|
|
10
|
+
declare const SEEDREAM_4_0_TEXT_TO_IMAGE_MODEL: ImageStyle;
|
|
11
|
+
declare const SEEDREAM_4_0_IMAGE_TO_IMAGE_MODEL: ImageStyle;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { SEEDREAM_4_0_ACCEPTED_IMAGE_TYPES, SEEDREAM_4_0_IMAGE_RATIO_LIMIT, SEEDREAM_4_0_IMAGE_TO_IMAGE_MODEL, SEEDREAM_4_0_TEXT_TO_IMAGE_MODEL, SEEDREAM_RATIO_LIST, SEEDREAM_RESOLUTION_LIST };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptParameterList as e,adaptPresentedParameterList as t}from"../../../parameter-list-adapter.mjs";import{adaptVideoWebImageModel as n}from"../adapter.mjs";import{IMAGE_SEEDREAM_V4_MODELS as r,SEEDREAM_RATIO_LIST as i,SEEDREAM_RESOLUTION_LIST as a}from"@flaqai/model-core";const o=t(i,{"1:1":{iconWidth:`14px`,iconHeight:`14px`},"16:9":{iconWidth:`22px`,iconHeight:`12px`},"9:16":{iconWidth:`12px`,iconHeight:`22px`},"4:3":{iconWidth:`16px`,iconHeight:`12px`},"3:2":{iconWidth:`15px`,iconHeight:`10px`},"21:9":{iconWidth:`21px`,iconHeight:`9px`},"2:3":{iconWidth:`10px`,iconHeight:`15px`},"3:4":{iconWidth:`12px`,iconHeight:`16px`},"9:21":{iconWidth:`9px`,iconHeight:`21px`}}),s=e(a),c={"image/jpeg":[`.jpg`,`.jpeg`],"image/png":[`.png`]},l=[.33,3],u=n(r[`seedream-v4`],{parameterOverride:{maxImages:5},factOverride:{platformType:39},name:`Seedream 4.0`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s}),d=n(r[`seedream-v4-edit`],{parameterOverride:{maxImages:5},factOverride:{platformType:39},name:`Seedream 4.0`,isPaid:!1,pricingType:`image`,ratioList:o,resolutionList:s});export{c as SEEDREAM_4_0_ACCEPTED_IMAGE_TYPES,l as SEEDREAM_4_0_IMAGE_RATIO_LIMIT,d as SEEDREAM_4_0_IMAGE_TO_IMAGE_MODEL,u as SEEDREAM_4_0_TEXT_TO_IMAGE_MODEL,o as SEEDREAM_RATIO_LIST,s as SEEDREAM_RESOLUTION_LIST};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
//#region src/videoweb/image/videoweb-image-catalog-types.d.ts
|
|
2
|
+
type RatioType = {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
iconWidth: string;
|
|
6
|
+
iconHeight: string;
|
|
7
|
+
};
|
|
8
|
+
type Resolution = RatioType;
|
|
9
|
+
type SelectOptionType<T extends string = string> = {
|
|
10
|
+
name: string;
|
|
11
|
+
value: T;
|
|
12
|
+
};
|
|
13
|
+
type ImageGenerateType = 'all' | 'image-to-image' | 'text-to-image';
|
|
14
|
+
type CreditUpdateValue = number | null;
|
|
15
|
+
type CreditUpdateMeta = {
|
|
16
|
+
oldCredit?: CreditUpdateValue;
|
|
17
|
+
newCredit?: CreditUpdateValue;
|
|
18
|
+
};
|
|
19
|
+
type ImageOptionsModelKey = 'nano-banana-ai' | 'nano-banana-pro' | 'gpt-image-2' | 'seedream-4-0' | 'seedream-4-5' | 'seedream-5-0' | 'seedream-5-0-pro' | 'flux-kontext-pro' | 'flux-kontext-max' | 'flux-1-schnell' | 'flux-1-pro' | 'flux-1-1-pro-ultra' | 'flux-2';
|
|
20
|
+
type ImageModelPlatform = 'nano-banana' | 'gpt-image' | 'seedream' | 'flux-kontext' | 'flux-1' | 'flux-2';
|
|
21
|
+
type ImageModelInfoTags = '10 credits' | '30 credits' | '40 credits' | '50 credits' | '50+ credits' | '75 credits' | '100 credits' | 'auto_ratio' | '2k_4k' | '1k_2k_4k' | 'multi_images_edit';
|
|
22
|
+
type ImageStyle = {
|
|
23
|
+
name: string;
|
|
24
|
+
nameSubfix?: string;
|
|
25
|
+
value: string;
|
|
26
|
+
isPaid: boolean;
|
|
27
|
+
credit: number;
|
|
28
|
+
pricingType: string;
|
|
29
|
+
platformType: number;
|
|
30
|
+
isHidden?: boolean;
|
|
31
|
+
tag?: 'flux-video-ai';
|
|
32
|
+
prompt?: string;
|
|
33
|
+
width?: number;
|
|
34
|
+
height?: number;
|
|
35
|
+
imageOptionsType?: 'one-image' | 'multi-images' | 'text-to-image';
|
|
36
|
+
maxImages?: number;
|
|
37
|
+
ratioList?: RatioType[];
|
|
38
|
+
resolutionList?: {
|
|
39
|
+
name: string;
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
supportAutoRatio?: boolean;
|
|
43
|
+
imageInfoTags?: ImageModelInfoTags[];
|
|
44
|
+
imageModelPlatform?: ImageModelPlatform;
|
|
45
|
+
creditUpdate?: CreditUpdateMeta;
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
export { CreditUpdateMeta, CreditUpdateValue, ImageGenerateType, ImageModelInfoTags, ImageModelPlatform, ImageOptionsModelKey, ImageStyle, RatioType, Resolution, SelectOptionType };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { GptImage2Quality, GptImage2Resolution } from "@flaqai/model-core";
|
|
2
|
+
//#region src/videoweb/image/videoweb-image-types.d.ts
|
|
3
|
+
interface VideoWebImageRatioOption {
|
|
4
|
+
iconHeight: string;
|
|
5
|
+
iconWidth: string;
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
interface VideoWebImageResolutionOption {
|
|
10
|
+
name: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
type VideoWebImageOptionsType = 'one-image' | 'multi-images' | 'text-to-image';
|
|
14
|
+
type VideoWebImageInfoTag = '1k_2k_4k';
|
|
15
|
+
interface VideoWebImageModel {
|
|
16
|
+
credit: number;
|
|
17
|
+
imageInfoTags?: VideoWebImageInfoTag[];
|
|
18
|
+
imageOptionsType?: VideoWebImageOptionsType;
|
|
19
|
+
isPaid: boolean;
|
|
20
|
+
maxImages?: number;
|
|
21
|
+
name: string;
|
|
22
|
+
platformType: number;
|
|
23
|
+
pricingType: 'image';
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
type VideoWebGptImage2GroupKey = `${'text-to-image' | 'image-to-image'}__${GptImage2Quality}__${GptImage2Resolution}`;
|
|
27
|
+
type VideoWebGptImage2Group = Record<string, VideoWebImageModel> & Record<VideoWebGptImage2GroupKey, VideoWebImageModel>;
|
|
28
|
+
interface ResolveVideoWebGptImage2ModelInput {
|
|
29
|
+
readonly hasImages: boolean;
|
|
30
|
+
readonly quality?: GptImage2Quality;
|
|
31
|
+
readonly resolution?: GptImage2Resolution;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ResolveVideoWebGptImage2ModelInput, VideoWebGptImage2Group, VideoWebGptImage2GroupKey, VideoWebImageInfoTag, VideoWebImageModel, VideoWebImageOptionsType, VideoWebImageRatioOption, VideoWebImageResolutionOption };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/videoweb/model-select.d.ts
|
|
2
|
+
type ModelSelectTagStyleVersion = 'seconds' | 'audio' | 'resolution' | 'version';
|
|
3
|
+
interface ModelSelectTag {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
styleVersion?: ModelSelectTagStyleVersion;
|
|
7
|
+
}
|
|
8
|
+
interface ModelSelectGroup {
|
|
9
|
+
name: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}
|
|
12
|
+
interface ModelSelectSourceItem<TValue extends string = string> {
|
|
13
|
+
name: string;
|
|
14
|
+
value: TValue;
|
|
15
|
+
description?: string;
|
|
16
|
+
descriptionKey?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
group: string;
|
|
19
|
+
topTags?: ModelSelectTag[];
|
|
20
|
+
bottomTags?: ModelSelectTag[];
|
|
21
|
+
}
|
|
22
|
+
declare function getModelSelectTagStyleVersion(tag: string): ModelSelectTagStyleVersion | undefined;
|
|
23
|
+
declare function createModelSelectTags(tags?: readonly string[]): ModelSelectTag[] | undefined;
|
|
24
|
+
declare function createModelSelectCreditTag(credit: number, isPerSecond?: boolean): ModelSelectTag;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ModelSelectGroup, ModelSelectSourceItem, ModelSelectTag, ModelSelectTagStyleVersion, createModelSelectCreditTag, createModelSelectTags, getModelSelectTagStyleVersion };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){switch(e){case`4s`:case`5s`:case`6s`:case`8s`:case`10s`:case`15s`:case`25s`:case`5/10s`:case`6/10s`:case`5/10/15s`:return`seconds`;case`audio`:return`audio`;case`2k`:case`4K`:case`1080p`:case`720p`:case`480p`:return`resolution`;case`standard`:case`pro`:case`Pro`:case`fast`:case`master`:case`multiVersion`:return`version`;default:return}}function t(t){return t?.map(t=>({name:t,value:t,styleVersion:e(t)}))}function n(e,t=!1){let n=t?`credits/s`:`credits`;return{name:`${e}+ ${n}`,value:`${e}-${n}`}}export{n as createModelSelectCreditTag,t as createModelSelectTags,e as getModelSelectTagStyleVersion};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VideoWebMusicModel } from "./videoweb-music-types.mjs";
|
|
2
|
+
import { MusicModelFact } from "@flaqai/model-core";
|
|
3
|
+
//#region src/videoweb/music/adapter.d.ts
|
|
4
|
+
interface VideoWebMusicAdapterOptions {
|
|
5
|
+
readonly isPaid: boolean;
|
|
6
|
+
readonly limits: Pick<VideoWebMusicModel, 'customTextLength' | 'promptLength' | 'styleLength'>;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
}
|
|
9
|
+
declare function adaptVideoWebMusicModel(model: MusicModelFact, { isPaid, limits, name }: VideoWebMusicAdapterOptions): VideoWebMusicModel;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { VideoWebMusicAdapterOptions, adaptVideoWebMusicModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,{isPaid:t,limits:n,name:r}){return{...e,name:r,isPaid:t,pricingType:`music`,promptLength:n.promptLength,styleLength:n.styleLength,customTextLength:n.customTextLength}}export{e as adaptVideoWebMusicModel};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MusicModelType, VideoWebModelSelectGroup, VideoWebModelSelectTag, VideoWebModelSelectTagStyleVersion, VideoWebMusicModel, VideoWebMusicModelSelectSourceItem } from "./videoweb-music-types.mjs";
|
|
2
|
+
import { adaptVideoWebMusicModel } from "./adapter.mjs";
|
|
3
|
+
import { AIMusicModal, GROUP_MUSIC_MODEL, GROUP_MUSIC_MODEL_SELECT, GROUP_MUSIC_MODEL_SELECT_GROUPS, GROUP_MUSIC_MODEL_SELECT_RECOMMENDATIONS, SUNO_3_5_MUSIC_MODEL, SUNO_4_0_MUSIC_MODEL, SUNO_4_5_MUSIC_MODEL, SUNO_4_5_PLUS_MUSIC_MODEL, SUNO_5_0_MUSIC_MODEL, getMusicModelSelectGroupKey } from "./providers/suno.mjs";
|
|
4
|
+
export { AIMusicModal, GROUP_MUSIC_MODEL, GROUP_MUSIC_MODEL_SELECT, GROUP_MUSIC_MODEL_SELECT_GROUPS, GROUP_MUSIC_MODEL_SELECT_RECOMMENDATIONS, MusicModelType, SUNO_3_5_MUSIC_MODEL, SUNO_4_0_MUSIC_MODEL, SUNO_4_5_MUSIC_MODEL, SUNO_4_5_PLUS_MUSIC_MODEL, SUNO_5_0_MUSIC_MODEL, VideoWebModelSelectGroup, VideoWebModelSelectTag, VideoWebModelSelectTagStyleVersion, VideoWebMusicModel, VideoWebMusicModelSelectSourceItem, adaptVideoWebMusicModel, getMusicModelSelectGroupKey };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { VideoWebModelSelectGroup, VideoWebMusicModel, VideoWebMusicModelSelectSourceItem } from "../videoweb-music-types.mjs";
|
|
2
|
+
//#region src/videoweb/music/providers/suno.d.ts
|
|
3
|
+
declare const AIMusicModal: VideoWebMusicModel;
|
|
4
|
+
declare const SUNO_3_5_MUSIC_MODEL: VideoWebMusicModel;
|
|
5
|
+
declare const SUNO_4_0_MUSIC_MODEL: VideoWebMusicModel;
|
|
6
|
+
declare const SUNO_4_5_MUSIC_MODEL: VideoWebMusicModel;
|
|
7
|
+
declare const SUNO_4_5_PLUS_MUSIC_MODEL: VideoWebMusicModel;
|
|
8
|
+
declare const SUNO_5_0_MUSIC_MODEL: VideoWebMusicModel;
|
|
9
|
+
declare const GROUP_MUSIC_MODEL: Record<string, VideoWebMusicModel>;
|
|
10
|
+
declare const GROUP_MUSIC_MODEL_SELECT_GROUPS: VideoWebModelSelectGroup[];
|
|
11
|
+
declare function getMusicModelSelectGroupKey(modelKey: string, modelName?: string): string;
|
|
12
|
+
declare const GROUP_MUSIC_MODEL_SELECT: {
|
|
13
|
+
readonly 'v3.5': VideoWebMusicModelSelectSourceItem<"v3.5">;
|
|
14
|
+
readonly 'v4.0': VideoWebMusicModelSelectSourceItem<"v4.0">;
|
|
15
|
+
readonly 'v4.5': VideoWebMusicModelSelectSourceItem<"v4.5">;
|
|
16
|
+
readonly 'v4.5-plus': VideoWebMusicModelSelectSourceItem<"v4.5-plus">;
|
|
17
|
+
readonly 'v5.0': VideoWebMusicModelSelectSourceItem<"v5.0">;
|
|
18
|
+
};
|
|
19
|
+
declare const GROUP_MUSIC_MODEL_SELECT_RECOMMENDATIONS: readonly ['v5.0', 'v4.5-plus', 'v4.5', 'v4.0', 'v3.5'];
|
|
20
|
+
//#endregion
|
|
21
|
+
export { AIMusicModal, GROUP_MUSIC_MODEL, GROUP_MUSIC_MODEL_SELECT, GROUP_MUSIC_MODEL_SELECT_GROUPS, GROUP_MUSIC_MODEL_SELECT_RECOMMENDATIONS, SUNO_3_5_MUSIC_MODEL, SUNO_4_0_MUSIC_MODEL, SUNO_4_5_MUSIC_MODEL, SUNO_4_5_PLUS_MUSIC_MODEL, SUNO_5_0_MUSIC_MODEL, getMusicModelSelectGroupKey };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{adaptVideoWebMusicModel as e}from"../adapter.mjs";import{MUSIC_SUNO_MODELS as t}from"@flaqai/model-core";const n=Object.freeze({promptLength:400,styleLength:200,customTextLength:3e3}),r=Object.freeze({promptLength:400,styleLength:1e3,customTextLength:5e3}),i=e(t[`suno-302-chirp-v4`],{name:`AI Music`,isPaid:!1,limits:n}),a=e(t[`suno-chirp-v3.5`],{name:`Suno 3.5`,isPaid:!1,limits:n}),o=e(t[`suno-chirp-v4.0`],{name:`Suno 4.0`,isPaid:!0,limits:n}),s=e(t[`suno-chirp-v4.5`],{name:`Suno 4.5`,isPaid:!0,limits:r}),c=e(t[`suno-chirp-v4.5-plus`],{name:`Suno 4.5+`,isPaid:!0,limits:r}),l=e(t[`suno-chirp-v5.0`],{name:`Suno 5.0`,isPaid:!0,limits:r}),u={"v3.5":a,"v4.0":o,"v4.5":s,"v4.5-plus":c,"v5.0":l},d=[{name:`Suno`,value:`suno`}];function f(e,t){return`${e} ${t??``}`.toLowerCase().includes(`suno`)?`suno`:`music`}function p(e,t){return{name:t.name,value:e,group:f(e,t.name),bottomTags:[{name:`${t.credit}+ credits`,value:`${t.credit}-credits`},{name:`Music`,value:t.pricingType,styleVersion:`audio`},...t.isPaid?[{name:`pro`,value:`pro`,styleVersion:`version`}]:[]]}}const m={"v3.5":p(`v3.5`,a),"v4.0":p(`v4.0`,o),"v4.5":p(`v4.5`,s),"v4.5-plus":p(`v4.5-plus`,c),"v5.0":p(`v5.0`,l)},h=[`v5.0`,`v4.5-plus`,`v4.5`,`v4.0`,`v3.5`];export{i as AIMusicModal,u as GROUP_MUSIC_MODEL,m as GROUP_MUSIC_MODEL_SELECT,d as GROUP_MUSIC_MODEL_SELECT_GROUPS,h as GROUP_MUSIC_MODEL_SELECT_RECOMMENDATIONS,a as SUNO_3_5_MUSIC_MODEL,o as SUNO_4_0_MUSIC_MODEL,s as SUNO_4_5_MUSIC_MODEL,c as SUNO_4_5_PLUS_MUSIC_MODEL,l as SUNO_5_0_MUSIC_MODEL,f as getMusicModelSelectGroupKey};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region src/videoweb/music/videoweb-music-types.d.ts
|
|
2
|
+
interface VideoWebMusicModel {
|
|
3
|
+
credit: number;
|
|
4
|
+
customTextLength: number;
|
|
5
|
+
isPaid: boolean;
|
|
6
|
+
name: string;
|
|
7
|
+
platformType: number;
|
|
8
|
+
pricingType: 'music';
|
|
9
|
+
promptLength: number;
|
|
10
|
+
styleLength: number;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
type MusicModelType = VideoWebMusicModel;
|
|
14
|
+
type VideoWebModelSelectTagStyleVersion = 'audio' | 'resolution' | 'seconds' | 'version';
|
|
15
|
+
interface VideoWebModelSelectTag {
|
|
16
|
+
name: string;
|
|
17
|
+
styleVersion?: VideoWebModelSelectTagStyleVersion;
|
|
18
|
+
value: string;
|
|
19
|
+
}
|
|
20
|
+
interface VideoWebModelSelectGroup {
|
|
21
|
+
name: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}
|
|
24
|
+
interface VideoWebMusicModelSelectSourceItem<TValue extends string = string> {
|
|
25
|
+
bottomTags?: VideoWebModelSelectTag[];
|
|
26
|
+
group: string;
|
|
27
|
+
name: string;
|
|
28
|
+
value: TValue;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { MusicModelType, VideoWebModelSelectGroup, VideoWebModelSelectTag, VideoWebModelSelectTagStyleVersion, VideoWebMusicModel, VideoWebMusicModelSelectSourceItem };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { VideoModelType } from "./videoweb-video-catalog-types.mjs";
|
|
2
|
+
import { VideoModelFact } from "@flaqai/model-core";
|
|
3
|
+
//#region src/videoweb/video/adapter.d.ts
|
|
4
|
+
type VideoWebVideoParameterProjection = Pick<VideoModelType, 'maxImages' | 'supportAudio' | 'supportEndFrame' | 'supportRatio' | 'supportStartFrame' | 'supportTextToVideo' | 'supportVideo' | 'videoSecondsRange'>;
|
|
5
|
+
type VideoWebVideoAdapterControlOptions = {
|
|
6
|
+
readonly factOverride?: Partial<Pick<VideoModelFact, 'credit' | 'platformType'>>;
|
|
7
|
+
readonly parameterOverride?: Partial<VideoWebVideoParameterProjection>;
|
|
8
|
+
readonly credit?: never;
|
|
9
|
+
readonly maxImages?: never;
|
|
10
|
+
readonly platformType?: never;
|
|
11
|
+
readonly supportAudio?: never;
|
|
12
|
+
readonly supportEndFrame?: never;
|
|
13
|
+
readonly supportRatio?: never;
|
|
14
|
+
readonly supportStartFrame?: never;
|
|
15
|
+
readonly supportTextToVideo?: never;
|
|
16
|
+
readonly supportVideo?: never;
|
|
17
|
+
readonly value?: never;
|
|
18
|
+
readonly videoSecondsRange?: never;
|
|
19
|
+
};
|
|
20
|
+
type VideoWebVideoAdapterOptions = Omit<VideoModelType, 'credit' | 'platformType' | 'value'> & VideoWebVideoAdapterControlOptions;
|
|
21
|
+
declare function adaptVideoWebVideoModel<TOptions extends VideoWebVideoAdapterOptions>(model: VideoModelFact, options: TOptions): VideoModelFact & Omit<TOptions, keyof VideoWebVideoAdapterControlOptions> & VideoWebVideoParameterProjection;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { VideoWebVideoAdapterOptions, adaptVideoWebVideoModel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){let n=e,{factOverride:r,parameterOverride:i,...a}=t;return{...n,...r,...i,...a}}export{e as adaptVideoWebVideoModel};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { RatioType } from "../image/videoweb-image-catalog-types.mjs";
|
|
2
|
+
import "../image/index.mjs";
|
|
3
|
+
import { VideoModelType } from "./videoweb-video-catalog-types.mjs";
|
|
4
|
+
//#region src/videoweb/video/any.d.ts
|
|
5
|
+
declare const VIDEO_DURATION_LIST: {
|
|
6
|
+
name: string;
|
|
7
|
+
value: string;
|
|
8
|
+
}[];
|
|
9
|
+
declare const VIDEO_RESOLUTION_LIST: RatioType[];
|
|
10
|
+
declare const LUMA_MODIFY_VIDEO_MODEL: VideoModelType;
|
|
11
|
+
declare const AI_TEXT_TO_VIDEO_MODEL: VideoModelType;
|
|
12
|
+
declare const AI_IMAGE_TO_VIDEO_MODEL: VideoModelType;
|
|
13
|
+
declare const AI_VENOM_VIDEO_MODEL: VideoModelType;
|
|
14
|
+
declare const AI_MUSCLE_VIDEO_MODEL: VideoModelType;
|
|
15
|
+
declare const AI_DANCE_VIDEO_MODEL: VideoModelType;
|
|
16
|
+
declare const AI_SQUISH_VIDEO_MODEL: VideoModelType;
|
|
17
|
+
declare const AI_HAIR_GROWTH_VIDEO_MODEL: VideoModelType;
|
|
18
|
+
declare const AI_HANDSHAKE_VIDEO_MODEL: VideoModelType;
|
|
19
|
+
declare const AI_INFLATE_EFFECT_VIDEO_MODEL: VideoModelType;
|
|
20
|
+
declare const AI_OLD_PHOTO_ANIMATION_VIDEO_MODEL: VideoModelType;
|
|
21
|
+
declare const LABUBU_VIDEO_MODEL: VideoModelType;
|
|
22
|
+
declare const LUMA_MODIFY_VERSION_LIST: readonly [{
|
|
23
|
+
readonly name: 'Luma Modify';
|
|
24
|
+
readonly value: 'luma-modify';
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: 'Luma Flash Modify';
|
|
27
|
+
readonly value: 'luma-flash-modify';
|
|
28
|
+
}];
|
|
29
|
+
declare const LUMA_FLASH_MODIFY_VIDEO_MODEL: VideoModelType;
|
|
30
|
+
declare const AI_CHEEK_KISS_VIDEO_MODEL: VideoModelType;
|
|
31
|
+
declare const AI_BLOW_KISS_VIDEO_MODEL: VideoModelType;
|
|
32
|
+
declare const RAIN_KISS_RATIO_LIST: {
|
|
33
|
+
name: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}[];
|
|
36
|
+
declare const AI_RAIN_KISS_VIDEO_MODEL: VideoModelType;
|
|
37
|
+
declare const AI_SUPERMAN_VIDEO_MODEL: VideoModelType;
|
|
38
|
+
declare const AI_HULK_VIDEO_MODEL: VideoModelType;
|
|
39
|
+
declare const AI_FLYING_VIDEO_GENERATOR_MODEL: VideoModelType;
|
|
40
|
+
declare const AI_BALLOON_FLYAWAY_VIDEO_MODEL: VideoModelType;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { AI_BALLOON_FLYAWAY_VIDEO_MODEL, AI_BLOW_KISS_VIDEO_MODEL, AI_CHEEK_KISS_VIDEO_MODEL, AI_DANCE_VIDEO_MODEL, AI_FLYING_VIDEO_GENERATOR_MODEL, AI_HAIR_GROWTH_VIDEO_MODEL, AI_HANDSHAKE_VIDEO_MODEL, AI_HULK_VIDEO_MODEL, AI_IMAGE_TO_VIDEO_MODEL, AI_INFLATE_EFFECT_VIDEO_MODEL, AI_MUSCLE_VIDEO_MODEL, AI_OLD_PHOTO_ANIMATION_VIDEO_MODEL, AI_RAIN_KISS_VIDEO_MODEL, AI_SQUISH_VIDEO_MODEL, AI_SUPERMAN_VIDEO_MODEL, AI_TEXT_TO_VIDEO_MODEL, AI_VENOM_VIDEO_MODEL, LABUBU_VIDEO_MODEL, LUMA_FLASH_MODIFY_VIDEO_MODEL, LUMA_MODIFY_VERSION_LIST, LUMA_MODIFY_VIDEO_MODEL, RAIN_KISS_RATIO_LIST, VIDEO_DURATION_LIST, VIDEO_RESOLUTION_LIST };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{adaptVideoWebVideoModel as e}from"./adapter.mjs";import{VIDEO_KLING_MODELS as t,VIDEO_LUMA_MODIFY_VIDEO_MODELS as n,VIDEO_VIDEO_EFFECT_MODELS as r}from"@flaqai/model-core";const i=[{name:`5s`,value:`5`},{name:`10s`,value:`10`}],a=[{name:`16:9`,value:`16:9`,iconWidth:`22px`,iconHeight:`12px`},{name:`9:16`,value:`9:16`,iconWidth:`12px`,iconHeight:`22px`}],o=e(n[`luma-modify`],{parameterOverride:{supportVideo:!0},factOverride:{platformType:27,credit:350},name:`Luma Modify Video`,isPaid:!1,pricingType:`video`,videoType:`video-to-video`,creditPerSecond:350}),s=e(t[`kling-v1.6-std-5s`],{name:`AI Text to Video`,isPaid:!1,pricingType:`video`,videoType:`Text-to-video`}),c=e(t[`kling-v1.6-std-5s`],{name:`AI Image to Video`,isPaid:!1,pricingType:`video`,videoType:`ai-image-to-video`}),l=e(r[`pix-verse-302`],{name:`AI Venom Video`,isPaid:!1,pricingType:`video`,videoType:`venom-video`,videoTemplateId:`304358279051648`}),u=e(r[`pix-verse-302`],{name:`AI Muscle Video`,isPaid:!1,pricingType:`video`,videoType:`muscle-video`,videoTemplateId:`308621408717184`}),d=e(t[`kling-v1.6-std-5s`],{name:`AI Dance Video`,isPaid:!1,pricingType:`video`,videoType:`dance-video`}),f=e(r[`falai-kling-effects-squish-5s`],{name:`AI Squish Video`,isPaid:!1,pricingType:`video`,videoType:`ai-squish-effect`,prompt:`A pair of large hands grips and squeezes the motionless subject like clay, causing it to shrink and deform. Apply this effect to all subjects in the scene, ensuring a consistent and logical background without repetition.`}),p=e(r[`pix-verse-302`],{name:`AI Hair Growth Video`,isPaid:!1,pricingType:`video`,videoType:`hair-growth-video`,videoTemplateId:`308552687706496`}),m=e(t[`kling-v1.6-std-5s`],{factOverride:{platformType:28},name:`AI Handshake Video`,isPaid:!1,pricingType:`video`,videoType:`ai-handshake-video`,prompt:`Make the two people in the photo smile and shake hands. Keep the same original function.`}),h=e(r[`falai-kling-effects-expansion-5s`],{name:`AI Inflate Effect Video`,isPaid:!1,pricingType:`video`,videoType:`ai-inflate-effect`,prompt:`The main subject in the scene begins to inflate, becoming larger and rounder, resembling a balloon as it slowly floats up. If there are multiple subjects in the scene, each subject should be inflated as described previously. Ensure that the background is consistent and logical, without repeating any details.`}),g=e(t[`kling-v1.6-std-5s`],{name:`AI Old Photo Animation Video`,isPaid:!1,pricingType:`video`,videoType:`old-photo-animation`,prompt:`Animate the characters in the photo engaging in simple interactions, smiling while looking at the screen. Accurately determine the number of individuals in the image.`}),_=e(r[`template-to-video-ladudu-me-random`],{name:`Labubu Video`,isPaid:!1,pricingType:`video`,videoType:`labubu-video`,prompt:`ladudu me bind box`}),v=[{name:`Luma Modify`,value:`luma-modify`},{name:`Luma Flash Modify`,value:`luma-flash-modify`}],y=e(n[`luma-flash-modify`],{name:`Luma Flash Modify Video`,isPaid:!1,pricingType:`video`,videoType:`video-to-video`,creditPerSecond:120}),b=e(r[`template-to-video-cheek-kiss`],{name:`AI Cheek Kiss Video`,isPaid:!1,pricingType:`video`,prompt:`In [scene/background], [character 1], [character 2] (and [character 3], if present) are [standing/sitting] together, with a [warm/relaxed/shy] mood. \\n- Two characters: Left kisses right on the cheek; right faces the camera, blushing with a shy smile. \\n- Three characters: Left and right kiss the middle on both cheeks; middle faces forward, blushing, nervously smiling. \\nRequirements:\\1.Replace all [ ] with actual details based on the image.\\n2. Motion Level:Large`}),x=e(r[`template-to-video-blow-kiss`],{name:`AI Blow Kiss Video`,isPaid:!1,pricingType:`video`,prompt:`Image Description:
|
|
2
|
+
The image is a [close-up / wide shot / medium shot], featuring [number] subject(s), with the subject(s) [facing the camera / turned to the side].
|
|
3
|
+
Camera Logic:
|
|
4
|
+
If the image is a wide or medium shot, the camera should rapidly push in from the beginning, ending with a close-up of the subject’s face.
|
|
5
|
+
If the original image is already a close-up, the video should begin directly with the subject’s action.
|
|
6
|
+
If the subject is turned to the side, they should naturally turn to face the camera before starting the performance.
|
|
7
|
+
Action Sequence:
|
|
8
|
+
The subject gently leans forward, blows a kiss toward the camera from just below the lips using the right hand, then naturally waves at the camera.
|
|
9
|
+
Afterward, she unfolds a sweet and warm smile. The entire motion is smooth and soft, emphasizing approachability and emotional expressiveness.
|
|
10
|
+
Multi-subject Adaptation:
|
|
11
|
+
If there are multiple subjects in the image, describe the following:
|
|
12
|
+
(All individuals should smile and face the camera, performing the kiss-blowing gesture in unison to maintain a naturally coordinated rhythm.)`}),S=[{name:`16:9`,value:`16:9`},{name:`9:16`,value:`9:16`},{name:`1:1`,value:`1:1`}],C=e(r[`template-to-video-rain-kiss`],{name:`AI Rain Kiss Video`,isPaid:!1,pricingType:`video`,prompt:`The picture depicts two people. The overall style is aesthetically pleasing and full of passion to highlight the fervor of the emotions. In the rain, the hair and clothes of the two people are completely soaked, and the water droplets on their clothes and hair are clearly visible. The two first look at each other affectionately, with love and longing filling their eyes, and then they kiss each other passionately. When kissing, the lips should be in sync with each other. The movements are smooth and natural, without any stiff posture of pulling back and forth. The raindrops are normal and natural, and they don't splash around randomly. The camera captures their upper bodies and remains stationary. Soft rain fell, soaking their clothes until the fabric clung to their skin. Water droplets trickled down, glistening under the daylight. The fabric gradually turned heavy and sodden, clinging to their bodies as it absorbed the moisture. Dark patches spread across the material, marking where the water seeped in deepest. It is prohibited to change the original appearance, clothing, and hairstyle of the characters. It is prohibited to have black liquid appear. Keep the background unchanged.`}),w=e(r[`template-to-video-superman`],{name:`AI Superman Video`,isPaid:!1,pricingType:`video`,videoType:`superman-video`,prompt:`Subject: [Male/Female]
|
|
13
|
+
[Specify the subject's gender] suddenly rises, seamlessly transforming into Superman in an instant. With explosive momentum, they shoot into the sky at lightning speed. The surrounding scenery shifts rapidly as the flight path quickly transitions from close-up to distant views, soaring through high-altitude scenes with an immense range. The cape flutters violently in the high-speed airflow. The movements are grand and powerful, filled with dynamic energy, and the camera captures a strong sense of speed and force.
|
|
14
|
+
Gender-specific appearance rules:
|
|
15
|
+
If identified as female, she wears a classic red-and-blue Superman top, a brown skirt, and red leather shoes, complemented by a bright red cape. Her posture is agile and bursting with power, with smooth and clean flight movements.
|
|
16
|
+
If identified as male, he wears the traditional Superman suit: a form-fitting red-and-blue outfit with a clearly visible “S” symbol on the chest. He has a muscular build with defined lines, showcasing a rugged sense of strength.`}),T=e(r[`template-to-video-hulk`],{name:`AI Hulk Video`,isPaid:!1,pricingType:`video`,videoType:`hulk-video`,prompt:`Video content\\nThe character experiences a radical transformation where their body shatters into numerous fragments. From the dispersing pieces, a strong force emerges, remolding them into a much larger and more powerful form. The muscles enlarge and reshape, creating a huge, towering Red Giant. The remnants of the shredded body vanish into chaos, leaving only this powerful being with bulging muscles and a fierce look, wearing only tattered shorts. Its thunderous roar shakes the ground and debris swirls around, signifying the intense and violent appearance of this new, unstoppable form.`}),E=e(r[`template-to-video-flying`],{name:`AI Flying Video Generator`,isPaid:!1,pricingType:`video`,videoType:`hulk-video`,prompt:`Video content\\n The character in the image floats and flies like a superhero.\\n# Requirements\\n1.Camera Movement:track-up shot.\\n2.Motion Level:Large.`}),D=e(r[`template-to-video-ballon-flyaway`],{name:`AI Balloon Flyaway Video`,isPaid:!1,pricingType:`video`,videoType:`hulk-video`,prompt:`The subject in the image turns into a balloon and flies away while spinning
|
|
17
|
+
|
|
18
|
+
# Requirements
|
|
19
|
+
1. Determine the style solely based on the image.
|
|
20
|
+
2. Determine the number of subjects based on the image, and each subject should turn into a balloon and fly away.`});export{D as AI_BALLOON_FLYAWAY_VIDEO_MODEL,x as AI_BLOW_KISS_VIDEO_MODEL,b as AI_CHEEK_KISS_VIDEO_MODEL,d as AI_DANCE_VIDEO_MODEL,E as AI_FLYING_VIDEO_GENERATOR_MODEL,p as AI_HAIR_GROWTH_VIDEO_MODEL,m as AI_HANDSHAKE_VIDEO_MODEL,T as AI_HULK_VIDEO_MODEL,c as AI_IMAGE_TO_VIDEO_MODEL,h as AI_INFLATE_EFFECT_VIDEO_MODEL,u as AI_MUSCLE_VIDEO_MODEL,g as AI_OLD_PHOTO_ANIMATION_VIDEO_MODEL,C as AI_RAIN_KISS_VIDEO_MODEL,f as AI_SQUISH_VIDEO_MODEL,w as AI_SUPERMAN_VIDEO_MODEL,s as AI_TEXT_TO_VIDEO_MODEL,l as AI_VENOM_VIDEO_MODEL,_ as LABUBU_VIDEO_MODEL,y as LUMA_FLASH_MODIFY_VIDEO_MODEL,v as LUMA_MODIFY_VERSION_LIST,o as LUMA_MODIFY_VIDEO_MODEL,S as RAIN_KISS_RATIO_LIST,i as VIDEO_DURATION_LIST,a as VIDEO_RESOLUTION_LIST};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SelectOptionType } from "../image/videoweb-image-catalog-types.mjs";
|
|
2
|
+
import "../image/index.mjs";
|
|
3
|
+
//#region src/videoweb/video/collection-options.d.ts
|
|
4
|
+
declare const HAILUO_AI_VIDEO_MODEL_LIST: SelectOptionType[];
|
|
5
|
+
declare const WAN_AI_VIDEO_MODEL_LIST: SelectOptionType[];
|
|
6
|
+
//#endregion
|
|
7
|
+
export { HAILUO_AI_VIDEO_MODEL_LIST, WAN_AI_VIDEO_MODEL_LIST };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{name:`Hailuo 2.0`,value:`hailuo-2-0`},{name:`Hailuo 2.3`,value:`hailuo-2-3`}],t=[{name:`Wan 2.7`,value:`wan-2-7`},{name:`Wan 2.5`,value:`wan-2-5`},{name:`Wan 2.2`,value:`wan-2-2`},{name:`Wan 2.1`,value:`wan-2-1`}];export{e as HAILUO_AI_VIDEO_MODEL_LIST,t as WAN_AI_VIDEO_MODEL_LIST};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ModelSelectGroup, ModelSelectSourceItem } from "../model-select.mjs";
|
|
2
|
+
import { VideoModelType } from "./videoweb-video-catalog-types.mjs";
|
|
3
|
+
//#region src/videoweb/video/group-v2.d.ts
|
|
4
|
+
interface VideoModelSelectSourceItem<TValue extends string = string> extends ModelSelectSourceItem<TValue> {
|
|
5
|
+
model: string;
|
|
6
|
+
presentationKey: string;
|
|
7
|
+
version?: string;
|
|
8
|
+
}
|
|
9
|
+
interface VideoModelSelectRuntimeValue {
|
|
10
|
+
model: string;
|
|
11
|
+
version: string;
|
|
12
|
+
}
|
|
13
|
+
type VideoModelSelectMode = 'text' | 'image';
|
|
14
|
+
declare const GROUP_AI_VIDEO_MODEL_SELECT_GROUPS: ModelSelectGroup[];
|
|
15
|
+
declare const GROUP_AI_VIDEO_MODEL_SELECT_RECOMMENDATIONS: readonly ['seedance-2-0-mini', 'seedance-2-0-fast', 'seedance-2-0', 'veo-3-1-fast', 'veo-3-1'];
|
|
16
|
+
declare function getVideoModelSelectGroupKey(modelKey: string, platform?: string): string;
|
|
17
|
+
declare function getVideoModelSelectPresentationKey(modelKey: string): string;
|
|
18
|
+
declare function createVideoModelSelectItems<TValue extends string>(modelKey: TValue, model: Pick<VideoModelType, 'name' | 'credit' | 'modelTags' | 'infoTags' | 'videoModelPlatform'>, mode?: VideoModelSelectMode): VideoModelSelectSourceItem[];
|
|
19
|
+
declare const GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT: {
|
|
20
|
+
readonly 'seedance-2-0-reference-fast': VideoModelSelectSourceItem<"seedance-2-0-reference-fast">;
|
|
21
|
+
readonly 'seedance-2-0-reference-standard': VideoModelSelectSourceItem<"seedance-2-0-reference-standard">;
|
|
22
|
+
readonly 'kling-omni-3-reference-std': VideoModelSelectSourceItem<"kling-omni-3-reference-std">;
|
|
23
|
+
readonly 'kling-omni-3-reference-pro': VideoModelSelectSourceItem<"kling-omni-3-reference-pro">;
|
|
24
|
+
readonly 'kling-omni-3-reference-4k': VideoModelSelectSourceItem<"kling-omni-3-reference-4k">;
|
|
25
|
+
readonly 'vidu-q3-reference-pro': VideoModelSelectSourceItem<"vidu-q3-reference-pro">;
|
|
26
|
+
};
|
|
27
|
+
declare const GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS: readonly ['seedance-2-0-reference-fast', 'seedance-2-0-reference-standard', 'kling-omni-3-reference-std', 'kling-omni-3-reference-pro', 'vidu-q3-reference-pro'];
|
|
28
|
+
declare const GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT: {
|
|
29
|
+
readonly 'wan-2-2-animate': VideoModelSelectSourceItem<"wan-2-2-animate">;
|
|
30
|
+
readonly 'kling-motion-control-std': VideoModelSelectSourceItem<"kling-motion-control-std">;
|
|
31
|
+
readonly 'kling-motion-control-pro': VideoModelSelectSourceItem<"kling-motion-control-pro">;
|
|
32
|
+
};
|
|
33
|
+
declare const GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS: readonly ['wan-2-2-animate', 'kling-motion-control-std', 'kling-motion-control-pro'];
|
|
34
|
+
declare function resolveVideoModelSelectValue(model: string, fallbackVersion?: string): VideoModelSelectRuntimeValue;
|
|
35
|
+
declare function getVideoModelSelectBaseModel(model: string): string;
|
|
36
|
+
declare function getVideoModelSelectVersion(model: string, fallbackVersion?: string): string;
|
|
37
|
+
declare function getVideoModelSelectValue(model: string, version?: string): string;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT, GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS, GROUP_AI_VIDEO_MODEL_SELECT_GROUPS, GROUP_AI_VIDEO_MODEL_SELECT_RECOMMENDATIONS, GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT, GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS, VideoModelSelectRuntimeValue, VideoModelSelectSourceItem, createVideoModelSelectItems, getVideoModelSelectBaseModel, getVideoModelSelectGroupKey, getVideoModelSelectPresentationKey, getVideoModelSelectValue, getVideoModelSelectVersion, resolveVideoModelSelectValue };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createModelSelectCreditTag as e,createModelSelectTags as t}from"../model-select.mjs";import{HAILUO_2_0_PRO_6S_MODEL as n,HAILUO_2_0_PRO_6S_TEXT_TO_VIDEO_MODEL as r,HAILUO_2_0_STANDARD_6S_MODEL as i,HAILUO_2_0_STANDARD_6S_TEXT_TO_VIDEO_MODEL as a}from"./providers/hailuo-2-0.mjs";import{HAILUO_2_3_FAST_IMAGE_TO_VIDEO_6S as o,HAILUO_2_3_PRO_IMAGE_TO_VIDEO_6S as s,HAILUO_2_3_STANDARD_IMAGE_TO_VIDEO_6S as c}from"./providers/hailuo-2-3.mjs";import{KLING_2_6_PRO_MODEL_5S as l,KLING_2_6_STD_MODEL_5S as u}from"./providers/kling-2-6.mjs";import{KLING_3_0_PRO_MODEL_5S as d,KLING_3_0_STD_MODEL_5S as f}from"./providers/kling-3-0.mjs";import{KLING_MOTION_CONTROL_2_6_PRO as p}from"./providers/kling-motion-control.mjs";import{GROUP_KLING_OMNI_3_REFERENCE_MODELS as m}from"./providers/kling-omni-3-reference.mjs";import{KLING_1_6_MODEL_PRO_5S as h,KLING_1_6_MODEL_STD_5S as g,KLING_2_1_MODEL_MASTER_5S as ee,KLING_2_1_MODEL_PRO_5S as _,KLING_2_1_MODEL_STD_5S as v}from"./providers/kling.mjs";import{GROUP_SEEDANCE_2_0_REFERENCE_MODELS as y}from"./providers/seedance-2-0-reference.mjs";import{GROUP_SEEDANCE_2_0 as b}from"./providers/seedance-2-0.mjs";import{SEEDANCE_V1_LITE_5S_MODEL as x,SEEDANCE_V1_PRO_5S_MODEL as S}from"./providers/seedance-v1.mjs";import{VEO_3_1_FAST_VIDEO_MODEL_720P as C,VEO_3_1_VIDEO_MODEL_720P as w}from"./providers/veo-3-1.mjs";import{GROUP_VIDU_Q3_REFERENCE_MODELS as T}from"./providers/vidu-q3-reference.mjs";import{WAN_2_5_FAST_IMAGE_TO_VIDEO_MODEL_720P_5S as E,WAN_2_5_FAST_TEXT_TO_VIDEO_MODEL_720P_5S as D,WAN_2_5_IMAGE_TO_VIDEO_MODEL_480P_5S as O,WAN_2_5_TEXT_TO_VIDEO_MODEL_480P_5S as k}from"./providers/wan-2-5.mjs";import{WAN_2_6_FLASH_IMAGE_TO_VIDEO_MODEL_720P_5S as A,WAN_2_6_IMAGE_TO_VIDEO_MODEL_720P_5S as j,WAN_2_6_TEXT_TO_VIDEO_MODEL_720P_5S as M}from"./providers/wan-2-6.mjs";import{GROUP_AI_IMAGE_TO_VIDEO_MODEL as N,GROUP_AI_TEXT_TO_VIDEO_MODEL as P,GROUP_AI_VIDEO_TO_VIDEO_MODEL as F,GroupFluxTextToVideoModel as I}from"./group.mjs";const L=[{name:`Seedance`,value:`seedance`},{name:`Google`,value:`veo`},{name:`Kling`,value:`kling`},{name:`Happy Horse`,value:`happy-horse`},{name:`Wan`,value:`wan`},{name:`Vidu`,value:`vidu`},{name:`Hailuo`,value:`hailuo`},{name:`Grok`,value:`grok`},{name:`Sora`,value:`sora`},{name:`Pixverse`,value:`pixverse`}],R=[`seedance-2-0-mini`,`seedance-2-0-fast`,`seedance-2-0`,`veo-3-1-fast`,`veo-3-1`],z={"seedance-2-0":[{name:`Seedance 2.0 Fast`,value:`seedance-2-0-fast`,version:`fast`,tags:[`fast`],creditSource:b[`fast__text-to-video__480p__5s`]},{name:`Seedance 2.0`,value:`seedance-2-0`,version:`standard`,tags:[`standard`],creditSource:b[`standard__text-to-video__480p__5s`]}],"seedance-1-0":[{name:`Seedance 1.0`,value:`seedance-1-0-standard`,version:`standard`,tags:[`standard`],creditSource:x},{name:`Seedance 1.0 Pro`,value:`seedance-1-0-pro`,version:`pro`,tags:[`pro`],creditSource:S}],"veo-3-1":[{name:`VEO 3.1 Fast`,value:`veo-3-1-fast`,version:`veo-3-1-fast`,tags:[`fast`],creditSource:C},{name:`VEO 3.1`,value:`veo-3-1`,version:`veo-3-1`,tags:[`standard`],creditSource:w}],"wan-2-6":[{name:`Wan 2.6`,value:`wan-2-6`,version:`wan-2-6`,tags:[`standard`],creditSourcesByMode:{text:M,image:j}},{name:`Wan 2.6 Flash`,value:`wan-2-6-flash`,version:`wan-2-6-flash`,modes:[`image`],tags:[`fast`],creditSource:A}],"wan-2-5":[{name:`Wan 2.5`,value:`wan-2-5`,version:`wan-v2-5`,tags:[`standard`],creditSourcesByMode:{text:k,image:O}},{name:`Wan 2.5 Fast`,value:`wan-2-5-fast`,version:`wan-v2-5-fast`,tags:[`fast`],creditSourcesByMode:{text:D,image:E}}],"hailuo-2-3":[{name:`Hailuo 2.3 Fast`,value:`hailuo-2-3-fast`,version:`hailuo-2-3-fast`,tags:[`fast`],creditSource:o},{name:`Hailuo 2.3 Standard`,value:`hailuo-2-3-standard`,version:`hailuo-2-3-standard`,tags:[`standard`],creditSource:c},{name:`Hailuo 2.3 Pro`,value:`hailuo-2-3-pro`,version:`hailuo-2-3-pro`,tags:[`pro`],creditSource:s}],"hailuo-2-0":[{name:`Hailuo 2.0 Standard`,value:`hailuo-2-0-standard`,version:`standard`,tags:[`standard`],creditSourcesByMode:{text:a,image:i}},{name:`Hailuo 2.0 Pro`,value:`hailuo-2-0-pro`,version:`pro`,tags:[`pro`],creditSourcesByMode:{text:r,image:n}}],"kling-3-0":[{name:`Kling 3.0 STD`,value:`kling-3-0-std`,version:`std`,tags:[`standard`],creditSource:f},{name:`Kling 3.0 Pro`,value:`kling-3-0-pro`,version:`pro`,tags:[`pro`],creditSource:d}],"kling-2-6":[{name:`Kling 2.6 STD`,value:`kling-2-6-std`,version:`std`,tags:[`standard`],creditSource:u},{name:`Kling 2.6 Pro`,value:`kling-2-6-pro`,version:`pro`,tags:[`pro`],creditSource:l}],"kling-2-1":[{name:`Kling 2.1 STD`,value:`kling-2-1-std`,version:`std`,tags:[`standard`],creditSource:v},{name:`Kling 2.1 Pro`,value:`kling-2-1-pro`,version:`pro`,tags:[`pro`],creditSource:_},{name:`Kling 2.1 Master`,value:`kling-2-1-master`,version:`master`,tags:[`master`],creditSource:ee}],"kling-1-6":[{name:`Kling 1.6 STD`,value:`kling-1-6-std`,version:`std`,tags:[`standard`],creditSource:g},{name:`Kling 1.6 Pro`,value:`kling-1-6-pro`,version:`pro`,tags:[`pro`],creditSource:h}]};function B(e,t){return t||(e.startsWith(`happy-horse`)?`happy-horse`:e.startsWith(`seedance`)?`seedance`:e.startsWith(`kling`)?`kling`:e.startsWith(`wan`)?`wan`:e.startsWith(`vidu`)?`vidu`:e.startsWith(`hailuo`)?`hailuo`:e.startsWith(`grok`)?`grok`:e.startsWith(`sora`)?`sora`:e.startsWith(`pixverse`)?`pixverse`:e.startsWith(`veo`)?`veo`:`video`)}function V(e){return e===`happy-horse-1-1`?`happy-horse-1-0`:e===`seedance-2-0-mini`?`seedance-2-0`:e===`wan-2-7-lora`?`wan-2-7`:e}function H(e){return e.startsWith(`seedance-2-0`)?t([`new`]):void 0}function U(e){return[`fast`,`standard`,`pro`,`master`].includes(e)}function W(t){return e(t.creditPerSecond??t.credit,t.creditPerSecond!==void 0)}function G({model:e,tags:n,creditSource:r}){let i=n?.some(U),a=e.infoTags?.filter(e=>e!==`multiVersion`&&!e.includes(`credits`)&&!(i&&U(e)))||[],o=t([...n||[],...e.modelTags||[],...a])||[],s=o.filter((e,t)=>o.findIndex(t=>t.value===e.value)===t);return[W(r??e),...s]}function K({modelKey:e,model:t,name:n,value:r,version:i,presentationKey:a=V(e),tags:o,creditSource:s,modelTags:c=t.modelTags,infoTags:l=t.infoTags,videoModelPlatform:u=t.videoModelPlatform}){return{name:n,value:r,group:B(e,u),model:e,presentationKey:a,version:i,topTags:H(e),bottomTags:G({model:{credit:t.credit,creditPerSecond:t.creditPerSecond,modelTags:c,infoTags:l},tags:o,creditSource:s})}}function q(e,t,n){let r=z[e];return r?r.filter(e=>!n||!e.modes||e.modes.includes(n)).map(r=>K({modelKey:e,model:t,name:r.name,value:r.value,version:r.version,presentationKey:r.presentationKey||V(e),tags:r.tags,creditSource:(n&&r.creditSourcesByMode?.[n])??r.creditSource})):[K({modelKey:e,model:t,name:t.name,value:e})]}const J={"seedance-2-0-reference-fast":K({modelKey:`seedance-2-0-reference`,model:y[`fast__reference-to-video__480p__5s`],modelTags:[`15s`,`720p`,`ratio`],videoModelPlatform:`seedance`,name:`Seedance 2.0 Fast`,value:`seedance-2-0-reference-fast`,version:`fast`,tags:[`fast`],presentationKey:`seedance-2-0`}),"seedance-2-0-reference-standard":K({modelKey:`seedance-2-0-reference`,model:y[`standard__reference-to-video__480p__5s`],modelTags:[`15s`,`720p`,`ratio`],videoModelPlatform:`seedance`,name:`Seedance 2.0`,value:`seedance-2-0-reference-standard`,version:`standard`,tags:[`standard`],presentationKey:`seedance-2-0`}),"kling-omni-3-reference-std":K({modelKey:`kling-omni-3-reference`,model:m[`std__reference-to-video__4k__5s`],modelTags:[`15s`,`ratio`],videoModelPlatform:`kling`,name:`Kling Omni 3 STD`,value:`kling-omni-3-reference-std`,version:`std`,tags:[`standard`],presentationKey:`kling-3-0`}),"kling-omni-3-reference-pro":K({modelKey:`kling-omni-3-reference`,model:m[`pro__reference-to-video__4k__5s`],modelTags:[`15s`,`ratio`],videoModelPlatform:`kling`,name:`Kling Omni 3 Pro`,value:`kling-omni-3-reference-pro`,version:`pro`,tags:[`pro`],presentationKey:`kling-3-0`}),"kling-omni-3-reference-4k":K({modelKey:`kling-omni-3-reference`,model:m[`4k__reference-to-video__4k__5s`],modelTags:[`15s`,`ratio`],videoModelPlatform:`kling`,name:`Kling Omni 3 4K`,value:`kling-omni-3-reference-4k`,version:`4k`,tags:[`4K`],presentationKey:`kling-3-0`}),"vidu-q3-reference-pro":K({modelKey:`vidu-q3-reference`,model:T[`reference-to-video__540p__5s`],modelTags:[`15s`,`1080p`,`ratio`],videoModelPlatform:`vidu`,name:`Vidu Q3`,value:`vidu-q3-reference-pro`,version:`pro`,tags:[`pro`],presentationKey:`vidu-q3`})},Y=[`seedance-2-0-reference-fast`,`seedance-2-0-reference-standard`,`kling-omni-3-reference-std`,`kling-omni-3-reference-pro`,`vidu-q3-reference-pro`],X={"wan-2-2-animate":K({modelKey:`wan-2-2-animate`,model:F[`wan-2-2-animate`],name:F[`wan-2-2-animate`].name,value:`wan-2-2-animate`}),"kling-motion-control-std":K({modelKey:`kling-motion-control`,model:F[`kling-motion-control`],modelTags:[],name:`Kling Motion Control STD`,value:`kling-motion-control-std`,version:`std`,tags:[`standard`]}),"kling-motion-control-pro":K({modelKey:`kling-motion-control`,model:F[`kling-motion-control`],creditSource:p,modelTags:[],name:`Kling Motion Control Pro`,value:`kling-motion-control-pro`,version:`pro`,tags:[`pro`]})},Z=[`wan-2-2-animate`,`kling-motion-control-std`,`kling-motion-control-pro`];function Q(){return[...Object.entries(P).flatMap(([e,t])=>q(e,t)),...Object.entries(N).flatMap(([e,t])=>q(e,t)),...Object.entries(I).flatMap(([e,t])=>q(e,t)),...Object.values(J),...Object.values(X)]}function $(e,t=``){let n=Q().find(t=>t.value===e);return n?{model:n.model,version:n.version??t}:{model:e,version:t}}function te(e){return $(e).model}function ne(e,t=``){return $(e,t).version}function re(e,t){return Q().find(n=>n.model===e&&n.version===t)?.value??e}export{J as GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT,Y as GROUP_AI_REFERENCE_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS,L as GROUP_AI_VIDEO_MODEL_SELECT_GROUPS,R as GROUP_AI_VIDEO_MODEL_SELECT_RECOMMENDATIONS,X as GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT,Z as GROUP_AI_VIDEO_TO_VIDEO_MODEL_SELECT_RECOMMENDATIONS,q as createVideoModelSelectItems,te as getVideoModelSelectBaseModel,B as getVideoModelSelectGroupKey,V as getVideoModelSelectPresentationKey,re as getVideoModelSelectValue,ne as getVideoModelSelectVersion,$ as resolveVideoModelSelectValue};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VideoModelType, VideoOptionsModelKey } from "./videoweb-video-catalog-types.mjs";
|
|
2
|
+
//#region src/videoweb/video/group.d.ts
|
|
3
|
+
declare const videoModelVersionList: {
|
|
4
|
+
name: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}[];
|
|
7
|
+
declare const videoModelProVersionList: {
|
|
8
|
+
name: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
declare const SUPPORT_AUDIO_MODEL_LIST: string[];
|
|
12
|
+
declare const GroupImageToVideoModel: Record<string, VideoModelType>;
|
|
13
|
+
declare const GroupImageToVideoProModel: Record<string, VideoModelType>;
|
|
14
|
+
declare const GroupImageToVideoModelAll: Record<string, VideoModelType>;
|
|
15
|
+
declare const VIP_ONLY_VIDEO_MODEL_LIST: string[];
|
|
16
|
+
declare const GROK_IMAGINE_1_5_MODEL: VideoModelType;
|
|
17
|
+
declare const GROUP_AI_IMAGE_TO_VIDEO_MODEL: Record<string, VideoModelType>;
|
|
18
|
+
declare const GROUP_AI_TEXT_TO_VIDEO_MODEL: Record<string, VideoModelType>;
|
|
19
|
+
declare const GROUP_AI_VIDEO_MODEL_ORDER: readonly VideoOptionsModelKey[];
|
|
20
|
+
declare function getOrderedVideoModelEntries(models: Record<string, VideoModelType>, order: readonly string[]): Array<[string, VideoModelType]>;
|
|
21
|
+
declare const GroupFluxTextToVideoModel: Record<string, VideoModelType>;
|
|
22
|
+
declare const GROUP_AI_VIDEO_TO_VIDEO_MODEL: Record<string, VideoModelType>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { GROK_IMAGINE_1_5_MODEL, GROUP_AI_IMAGE_TO_VIDEO_MODEL, GROUP_AI_TEXT_TO_VIDEO_MODEL, GROUP_AI_VIDEO_MODEL_ORDER, GROUP_AI_VIDEO_TO_VIDEO_MODEL, GroupFluxTextToVideoModel, GroupImageToVideoModel, GroupImageToVideoModelAll, GroupImageToVideoProModel, SUPPORT_AUDIO_MODEL_LIST, VIP_ONLY_VIDEO_MODEL_LIST, getOrderedVideoModelEntries, videoModelProVersionList, videoModelVersionList };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{GROK_IMAGINE_1_5_PREVIEW_720P_5S as e}from"./providers/grok-imagine-1-5.mjs";import{HAILUO_2_0_STANDARD_10S_MODEL as t,HAILUO_2_0_STANDARD_10S_TEXT_TO_VIDEO_MODEL as n,HAILUO_2_0_STANDARD_6S_MODEL as r,HAILUO_2_0_STANDARD_6S_TEXT_TO_VIDEO_MODEL as i}from"./providers/hailuo-2-0.mjs";import{HAILUO_2_3_FAST_IMAGE_TO_VIDEO_6S as a,HAILUO_2_3_PRO_IMAGE_TO_VIDEO_6S as o,HAILUO_2_3_PRO_TEXT_TO_VIDEO_6S as s,HAILUO_2_3_STANDARD_IMAGE_TO_VIDEO_6S as c,HAILUO_2_3_STANDARD_TEXT_TO_VIDEO_6S as ee}from"./providers/hailuo-2-3.mjs";import{HAPPY_HORSE_1_0_IMAGE_TO_VIDEO_720P_5S_MODEL as l,HAPPY_HORSE_1_0_TEXT_TO_VIDEO_720P_5S_MODEL as u}from"./providers/happy-horse-1-0.mjs";import{HAPPY_HORSE_1_1_IMAGE_TO_VIDEO_720P_5S_MODEL as d,HAPPY_HORSE_1_1_TEXT_TO_VIDEO_720P_5S_MODEL as f}from"./providers/happy-horse-1-1.mjs";import{KLING_2_5_MODEL_10S as p,KLING_2_5_MODEL_5S as m}from"./providers/kling-2-5.mjs";import{KLING_2_6_STD_MODEL_5S as h}from"./providers/kling-2-6.mjs";import{KLING_3_0_TURBO_MODEL_720P_5S as g}from"./providers/kling-3-0-turbo.mjs";import{KLING_3_0_STD_MODEL_5S as _}from"./providers/kling-3-0.mjs";import{KLING_MOTION_CONTROL_2_6_STD as v}from"./providers/kling-motion-control.mjs";import{KLING_O1_MODEL_5S as y}from"./providers/kling-o1.mjs";import{KLING_1_0_MODEL_STD_5S as b,KLING_1_5_MODEL_STD_5S as x,KLING_1_6_MODEL_PRO_10S as S,KLING_1_6_MODEL_PRO_5S as C,KLING_1_6_MODEL_STD_10S as w,KLING_1_6_MODEL_STD_5S as T,KLING_2_1_MODEL_PRO_10S as E,KLING_2_1_MODEL_PRO_5S as D,KLING_2_1_MODEL_STD_10S as te,KLING_2_1_MODEL_STD_5S as O}from"./providers/kling.mjs";import{SEEDANCE_2_0_MINI_IMAGE_TO_VIDEO_480P_5S_MODEL as ne,SEEDANCE_2_0_MINI_TEXT_TO_VIDEO_480P_5S_MODEL as re}from"./providers/seedance-2-0-mini.mjs";import{SEEDANCE_2_0_FAST_IMAGE_TO_VIDEO_480P_5S_MODEL as k,SEEDANCE_2_0_FAST_TEXT_TO_VIDEO_480P_5S_MODEL as A}from"./providers/seedance-2-0.mjs";import{SEEDANCE_V1_LITE_10S_MODEL as j,SEEDANCE_V1_LITE_10S_TEXT_TO_VIDEO_MODEL as M,SEEDANCE_V1_LITE_5S_MODEL as N,SEEDANCE_V1_LITE_5S_TEXT_TO_VIDEO_MODEL as P}from"./providers/seedance-v1.mjs";import{VEO_3_1_FAST_VIDEO_MODEL_720P as F,VEO_3_1_VIDEO_MODEL_720P as I}from"./providers/veo-3-1.mjs";import{veo3FastVideoModel as L,veo3ProVideoModel as R}from"./providers/veo-3.mjs";import{VIDU_Q3_VIDEO_MODEL_IMAGE_540P_5S as z}from"./providers/vidu-q3.mjs";import{WAN_2_2_ANIMATE_VIDEO_MODEL_480P as B}from"./providers/wan-2-2-animate.mjs";import{WAN_2_5_FAST_IMAGE_TO_VIDEO_MODEL_720P_5S as V,WAN_2_5_FAST_TEXT_TO_VIDEO_MODEL_720P_5S as H,WAN_2_5_IMAGE_TO_VIDEO_MODEL_720P_5S as U,WAN_2_5_TEXT_TO_VIDEO_MODEL_720P_5S as W}from"./providers/wan-2-5.mjs";import{WAN_2_6_IMAGE_TO_VIDEO_MODEL_720P_5S as ie,WAN_2_6_TEXT_TO_VIDEO_MODEL_720P_5S as G}from"./providers/wan-2-6.mjs";import{WAN_2_7_LORA_IMAGE_TO_VIDEO_720P_5S_MODEL as K}from"./providers/wan-2-7-lora.mjs";import{WAN_2_7_IMAGE_TO_VIDEO_720P_5S_MODEL as q,WAN_2_7_TEXT_TO_VIDEO_720P_5S_MODEL as J}from"./providers/wan-2-7.mjs";const Y=[{name:`STD 2.1`,value:`2.1`},{name:`STD 1.6`,value:`1.6`},{name:`STD 1.0`,value:`1.0`},{name:`VEO 3 Fast`,value:`veo3-fast`}],ae=[{name:`PRO 2.1`,value:`pro-2.1`},{name:`PRO 1.6`,value:`pro-1.6`},{name:`PRO 1.0`,value:`pro-1.0`},{name:`VEO 3 Pro`,value:`veo3-pro`}],oe=[`normal__veo3-fast__8`,`veo3-fast__5s`,`wan-2.5`,`wan-2.5-fast`,`sora-2`,`sora-2-pro`,`veo-3-1-fast`,`veo-3-1`,`pro__veo3-pro__8`],X={"veo-3-1-fast":{...F,name:`${F.name}`},"normal__veo3-fast__8":{...L,name:`${L.name}`},"wan-2.5-fast":{...V,name:`${V.name}`},"hailuo-2-3-fast":{...a,name:`Hailuo 2.3 Fast`},"hailuo-2-3-standard":{...c,name:`Hailuo 2.3 Standard`},"normal__2.1__5":O,"normal__2.1__10":te,"normal__1.6__5":T,"hailuo-2.0__6s":r,"hailuo-2.0__10s":t,"seedance-1.0__5s":N,"seedance-1.0__10s":j,"normal__1.5__5":x,"normal__1.0__5":b},Z={"wan-2.5":{...U,name:`${U.name}`},"veo-3-1":{...I,name:`${I.name}`},"pro__veo3-pro__8":{...R,name:`${R.name}`},"hailuo-2-3-pro":{...o,name:`Hailuo 2.3 Pro`},"pro__pro-2.5__5":m,"pro__pro-2.5__10":p,"pro__pro-2.1__5":D,"pro__pro-2.1__10":E,"pro__pro-1.6__5":C,"pro__pro-1.6__10":S,"pro__pro-1.0__5":C,"pro__pro-1.0__10":S},se={...X,...Z},Q=[`wan-2-7`,`wan-2-6`,`wan-2-5`],$={...e,name:`Grok Imagine 1.5`,modelTags:[`15s`,`720p`,`ratio`],infoTags:[`650 credits`],videoModelPlatform:`grok`},ce={"seedance-2-0-mini":{...ne,name:`Seedance 2.0 Mini`,modelTags:[`4K`,`15s`,`ratio`],infoTags:[`endFrame`,`100 credits`],videoModelPlatform:`seedance`},"seedance-2-0":{...k,name:`Seedance 2.0`,modelTags:[`5/10s`,`15s`],infoTags:[`multiVersion`,`endFrame`,`300+ credits`],videoModelPlatform:`seedance`},"happy-horse-1-0":{...l,name:`Happy Horse 1.0`,modelTags:[`1080p`,`15s`],infoTags:[`700+ credits`]},"happy-horse-1-1":{...d,name:`Happy Horse 1.1`,modelTags:[`1080p`,`15s`],infoTags:[`700+ credits`]},"kling-3-0":{..._,name:`Kling 3.0`,modelTags:[`5/10s`,`audio`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"kling-3-0-turbo":{...g,name:`Kling 3.0 Turbo`,modelTags:[`1080p`,`15s`,`audio`],infoTags:[`400+ credits`],videoModelPlatform:`kling`},"wan-2-7":{...q,name:`Wan 2.7`,modelTags:[`1080p`,`audio`,`ratio`],infoTags:[`500+ credits`],videoModelPlatform:`wan`},"wan-2-7-lora":{...K,name:`Wan 2.7 LoRA`,modelTags:[`1080p`,`15s`,`audio`],infoTags:[`650+ credits`],videoModelPlatform:`wan`},"veo-3-1":{...F,name:`VEO 3.1`,modelTags:[`8s`,`audio`,`ratio`],infoTags:[`multiVersion`,`endFrame`,`300+ credits`],videoModelPlatform:`veo`},"vidu-q3":{...z,name:`Vidu Q3`,modelTags:[`15s`,`audio`,`2k`],infoTags:[`multiVersion`],videoModelPlatform:`vidu`},"grok-imagine-1-5":$,"wan-2-6":{...ie,name:`Wan 2.6`,modelTags:[`15s`,`1080p`,`audio`],infoTags:[`500+ credits`],videoModelPlatform:`wan`},"seedance-1-0":{...N,name:`Seedance 1.0`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`,`160+ credits`],videoModelPlatform:`seedance`},"kling-2-6":{...h,name:`Kling 2.6`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"kling-o1":{...y,name:`Kling O1`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"kling-2-1":{...O,name:`Kling 2.1`,modelTags:[`5/10s`],infoTags:[`endFrame`,`multiVersion`,`200+ credits`],videoModelPlatform:`kling`},"wan-2-5":{...V,name:`Wan 2.5`,modelTags:[`1080p`,`audio`,`ratio`],infoTags:[`multiVersion`,`300+ credits`],videoModelPlatform:`wan`},"kling-2-5-turbo-pro":{...m,name:`Kling 2.5 Turbo`,modelTags:[`5/10s`],infoTags:[`Pro`,`350+ credits`],videoModelPlatform:`kling`},"hailuo-2-3":{...a,name:`Hailuo 2.3`,modelTags:[`6/10s`],infoTags:[`multiVersion`,`200+ credits`],videoModelPlatform:`hailuo`},"hailuo-2-0":{...r,name:`Hailuo 02`,modelTags:[`6/10s`],infoTags:[`multiVersion`,`endFrame`,`230+ credits`],videoModelPlatform:`hailuo`},"kling-1-6":{...T,name:`Kling 1.6`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`,`200+ credits`],videoModelPlatform:`kling`},"kling-1-5":{...x,name:`Kling 1.5`,modelTags:[`5s`],infoTags:[`200 credits`],videoModelPlatform:`kling`},"kling-1-0":{...b,name:`Kling 1.0`,modelTags:[`5s`],infoTags:[`100 credits`],videoModelPlatform:`kling`}},le={"seedance-2-0-mini":{...re,name:`Seedance 2.0 Mini`,modelTags:[`4K`,`15s`,`ratio`],infoTags:[`100 credits`],videoModelPlatform:`seedance`},"seedance-2-0":{...A,name:`Seedance 2.0`,modelTags:[`5/10s`,`15s`,`ratio`],infoTags:[`fast`,`300+ credits`],videoModelPlatform:`seedance`},"happy-horse-1-0":{...u,name:`Happy Horse 1.0`,modelTags:[`1080p`,`15s`,`ratio`],infoTags:[`700+ credits`]},"happy-horse-1-1":{...f,name:`Happy Horse 1.1`,modelTags:[`1080p`,`15s`,`ratio`],infoTags:[`700+ credits`]},"kling-3-0":{..._,name:`Kling 3.0`,modelTags:[`5/10s`,`audio`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"kling-3-0-turbo":{...g,name:`Kling 3.0 Turbo`,modelTags:[`1080p`,`15s`,`audio`],infoTags:[`400+ credits`],videoModelPlatform:`kling`},"seedance-1-0":{...P,name:`Seedance 1.0`,modelTags:[`5/10s`,`ratio`],infoTags:[`pro`,`endFrame`,`160+ credits`],videoModelPlatform:`seedance`},"kling-2-6":{...h,name:`Kling 2.6`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"kling-o1":{...y,name:`Kling O1`,modelTags:[`5/10s`],infoTags:[`multiVersion`,`endFrame`],videoModelPlatform:`kling`},"veo-3-1":{...F,name:`VEO 3.1`,modelTags:[`8s`,`audio`,`ratio`],infoTags:[`multiVersion`,`endFrame`,`300+ credits`],videoModelPlatform:`veo`},"wan-2-7":{...J,name:`Wan 2.7`,modelTags:[`1080p`,`audio`,`ratio`],infoTags:[`500+ credits`],videoModelPlatform:`wan`},"wan-2-6":{...G,name:`Wan 2.6`,modelTags:[`15s`,`1080p`,`audio`],infoTags:[`500+ credits`],videoModelPlatform:`wan`},"wan-2-5":{...W,name:`Wan 2.5`,modelTags:[`1080p`,`audio`,`ratio`],infoTags:[`multiVersion`,`300+ credits`],videoModelPlatform:`wan`},"vidu-q3":{...z,name:`Vidu Q3`,modelTags:[`15s`,`audio`,`2k`],infoTags:[`multiVersion`],videoModelPlatform:`vidu`},"kling-2-5-turbo-pro":{...m,name:`Kling 2.5 Turbo`,modelTags:[`5/10s`],infoTags:[`Pro`,`350+ credits`],videoModelPlatform:`kling`},"hailuo-2-3":{...a,name:`Hailuo 2.3`,modelTags:[`6/10s`],infoTags:[`multiVersion`,`200+ credits`],videoModelPlatform:`hailuo`},"hailuo-2-0":{...i,name:`Hailuo 2.0`,modelTags:[`6/10s`],infoTags:[`pro`,`endFrame`,`230+ credits`],videoModelPlatform:`hailuo`},"kling-2-1":{...O,name:`Kling 2.1`,modelTags:[`5/10s`,`ratio`],infoTags:[`endFrame`,`multiVersion`,`200+ credits`],videoModelPlatform:`kling`},"kling-1-6":{...T,name:`Kling 1.6`,modelTags:[`5/10s`,`ratio`],infoTags:[`multiVersion`,`endFrame`,`200+ credits`],videoModelPlatform:`kling`},"kling-1-0":{...b,name:`Kling 1.0`,modelTags:[`5/10s`,`ratio`],infoTags:[`100 credits`],videoModelPlatform:`kling`}},ue=[`seedance-2-0-mini`,`seedance-2-0`,`veo-3-1`,`happy-horse-1-1`,`happy-horse-1-0`,`kling-3-0`,`kling-3-0-turbo`,`grok-imagine-1-5`,`kling-o1`,`seedance-1-0`,`kling-2-6`,`wan-2-7`,`wan-2-7-lora`,`wan-2-6`,`wan-2-5`,`vidu-q3`,`kling-2-5-turbo-pro`,`hailuo-2-3`,`hailuo-2-0`,`kling-2-1`,`kling-1-6`,`kling-1-5`,`kling-1-0`];function de(e,t){let n=new Set(t),r=[];return t.forEach(t=>{let n=e[t];n&&r.push([t,n])}),[...r,...Object.entries(e).filter(([e])=>!n.has(e))]}const fe={"veo-3-1-fast":{...F,name:`${F.name}`},"veo-3-1":{...I,name:`${I.name}`},"veo3-fast__5s":{...L,name:`${L.name}`},"wan-2.5-fast":{...H,name:`${H.name}`},"wan-2.5":{...W,name:`${W.name}`},"hailuo-2-3-standard":{...ee,name:`Hailuo 2.3 Standard`},"hailuo-2-3-pro":{...s,name:`Hailuo 2.3 Pro`},"kling-2-5__5s":m,"kling-2-5__10s":p,"std-1.6__5s":T,"std-1.6__10s":w,"hailuo-2.0__6s":i,"hailuo-2.0__10s":n,"seedance-1.0__5s":P,"seedance-1.0__10s":M},pe={"wan-2-2-animate":{...B,name:`Wan 2.2 Animate`,modelTags:[`480p`,`720p`],infoTags:[`50-100 credits/s`],videoModelPlatform:`wan`},"kling-motion-control":{...v,name:`Kling Motion Control`,modelTags:[`standard`,`pro`],infoTags:[`50-80 credits/s`],videoModelPlatform:`kling`}};export{$ as GROK_IMAGINE_1_5_MODEL,ce as GROUP_AI_IMAGE_TO_VIDEO_MODEL,le as GROUP_AI_TEXT_TO_VIDEO_MODEL,ue as GROUP_AI_VIDEO_MODEL_ORDER,pe as GROUP_AI_VIDEO_TO_VIDEO_MODEL,fe as GroupFluxTextToVideoModel,X as GroupImageToVideoModel,se as GroupImageToVideoModelAll,Z as GroupImageToVideoProModel,oe as SUPPORT_AUDIO_MODEL_LIST,Q as VIP_ONLY_VIDEO_MODEL_LIST,de as getOrderedVideoModelEntries,ae as videoModelProVersionList,Y as videoModelVersionList};
|