@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.
Files changed (271) hide show
  1. package/dist/{rolldown-runtime-DK3Fl9T5.mjs → _virtual/_rolldown/runtime.mjs} +1 -1
  2. package/dist/flaq/3d/adapter.d.mts +12 -0
  3. package/dist/flaq/3d/adapter.mjs +1 -0
  4. package/dist/flaq/3d/flaq-three-d-types.d.mts +52 -0
  5. package/dist/flaq/3d/index.d.mts +4 -0
  6. package/dist/flaq/3d/providers/tripo.d.mts +18 -0
  7. package/dist/flaq/3d/providers/tripo.mjs +1 -0
  8. package/dist/flaq/image/adapter.d.mts +9 -0
  9. package/dist/flaq/image/adapter.mjs +1 -0
  10. package/dist/flaq/image/catalog.d.mts +27 -0
  11. package/dist/flaq/image/catalog.mjs +1 -0
  12. package/dist/flaq/image/flaq-image-catalog-types.d.mts +128 -0
  13. package/dist/flaq/image/flaq-image-types.d.mts +85 -0
  14. package/dist/flaq/image/index.d.mts +12 -0
  15. package/dist/flaq/image/providers/gemini.d.mts +20 -0
  16. package/dist/flaq/image/providers/gemini.mjs +1 -0
  17. package/dist/flaq/image/providers/gpt-image-2.d.mts +29 -0
  18. package/dist/flaq/image/providers/gpt-image-2.mjs +1 -0
  19. package/dist/flaq/image/providers/hidream.d.mts +11 -0
  20. package/dist/flaq/image/providers/hidream.mjs +1 -0
  21. package/dist/flaq/image/providers/qwen.d.mts +15 -0
  22. package/dist/flaq/image/providers/qwen.mjs +1 -0
  23. package/dist/flaq/image/providers/seedream.d.mts +6 -0
  24. package/dist/flaq/image/providers/seedream.mjs +1 -0
  25. package/dist/flaq/image/ratios.d.mts +8 -0
  26. package/dist/flaq/image/ratios.mjs +1 -0
  27. package/dist/flaq/image/resolutions.d.mts +11 -0
  28. package/dist/flaq/image/resolutions.mjs +1 -0
  29. package/dist/flaq/index.d.mts +33 -0
  30. package/dist/flaq/video/adapter.d.mts +9 -0
  31. package/dist/flaq/video/adapter.mjs +1 -0
  32. package/dist/flaq/video/catalog.d.mts +176 -0
  33. package/dist/flaq/video/catalog.mjs +1 -0
  34. package/dist/flaq/video/flaq-video-catalog-types.d.mts +138 -0
  35. package/dist/flaq/video/flaq-video-types.d.mts +64 -0
  36. package/dist/flaq/video/index.d.mts +16 -0
  37. package/dist/flaq/video/providers/alibaba.d.mts +7 -0
  38. package/dist/flaq/video/providers/alibaba.mjs +1 -0
  39. package/dist/flaq/video/providers/hailuo.d.mts +11 -0
  40. package/dist/flaq/video/providers/hailuo.mjs +1 -0
  41. package/dist/flaq/video/providers/hedra.d.mts +12 -0
  42. package/dist/flaq/video/providers/hedra.mjs +1 -0
  43. package/dist/flaq/video/providers/higgsfield.d.mts +6 -0
  44. package/dist/flaq/video/providers/higgsfield.mjs +1 -0
  45. package/dist/flaq/video/providers/infinitetalk.d.mts +6 -0
  46. package/dist/flaq/video/providers/infinitetalk.mjs +1 -0
  47. package/dist/flaq/video/providers/kling.d.mts +55 -0
  48. package/dist/flaq/video/providers/kling.mjs +1 -0
  49. package/dist/flaq/video/providers/seedance-2-0.d.mts +14 -0
  50. package/dist/flaq/video/providers/seedance-2-0.mjs +1 -0
  51. package/dist/flaq/video/providers/seedance.d.mts +11 -0
  52. package/dist/flaq/video/providers/seedance.mjs +1 -0
  53. package/dist/flaq/video/providers/veo.d.mts +12 -0
  54. package/dist/flaq/video/providers/veo.mjs +1 -0
  55. package/dist/flaq/video/providers/vidu.d.mts +11 -0
  56. package/dist/flaq/video/providers/vidu.mjs +5 -0
  57. package/dist/flaq/video/ratios.d.mts +17 -0
  58. package/dist/flaq/video/ratios.mjs +1 -0
  59. package/dist/flaq-namespace.d.mts +35 -0
  60. package/dist/flaq-namespace.mjs +1 -0
  61. package/dist/flaq.d.mts +30 -1
  62. package/dist/flaq.mjs +1 -1
  63. package/dist/index.d.mts +107 -3
  64. package/dist/index.mjs +1 -1
  65. package/dist/{parameter-list-adapter-neVZQpYP.d.mts → parameter-list-adapter.d.mts} +1 -1
  66. package/dist/{parameter-list-adapter-BVKxc6Bx.mjs → parameter-list-adapter.mjs} +1 -1
  67. package/dist/videoweb/audio/adapter.d.mts +7 -0
  68. package/dist/videoweb/audio/adapter.mjs +1 -0
  69. package/dist/videoweb/audio/index.d.mts +4 -0
  70. package/dist/videoweb/audio/providers/elevenlabs-tts.d.mts +6 -0
  71. package/dist/videoweb/audio/providers/elevenlabs-tts.mjs +1 -0
  72. package/dist/videoweb/audio/videoweb-audio-types.d.mts +25 -0
  73. package/dist/videoweb/image/adapter.d.mts +18 -0
  74. package/dist/videoweb/image/adapter.mjs +1 -0
  75. package/dist/videoweb/image/any.d.mts +35 -0
  76. package/dist/videoweb/image/any.mjs +1 -0
  77. package/dist/videoweb/image/featured-models.d.mts +50 -0
  78. package/dist/videoweb/image/featured-models.mjs +1 -0
  79. package/dist/videoweb/image/group-v2.d.mts +38 -0
  80. package/dist/videoweb/image/group-v2.mjs +1 -0
  81. package/dist/videoweb/image/group.d.mts +81 -0
  82. package/dist/videoweb/image/group.mjs +1 -0
  83. package/dist/videoweb/image/index.d.mts +33 -0
  84. package/dist/videoweb/image/providers/4o-image.d.mts +18 -0
  85. package/dist/videoweb/image/providers/4o-image.mjs +1 -0
  86. package/dist/videoweb/image/providers/flux-2.d.mts +15 -0
  87. package/dist/videoweb/image/providers/flux-2.mjs +1 -0
  88. package/dist/videoweb/image/providers/flux-canny-redux.d.mts +13 -0
  89. package/dist/videoweb/image/providers/flux-canny-redux.mjs +1 -0
  90. package/dist/videoweb/image/providers/flux-kontext.d.mts +22 -0
  91. package/dist/videoweb/image/providers/flux-kontext.mjs +1 -0
  92. package/dist/videoweb/image/providers/flux-krea.d.mts +9 -0
  93. package/dist/videoweb/image/providers/flux-krea.mjs +1 -0
  94. package/dist/videoweb/image/providers/flux.d.mts +12 -0
  95. package/dist/videoweb/image/providers/flux.mjs +1 -0
  96. package/dist/videoweb/image/providers/ghiblify.d.mts +33 -0
  97. package/dist/videoweb/image/providers/ghiblify.mjs +1 -0
  98. package/dist/videoweb/image/providers/glm.d.mts +7 -0
  99. package/dist/videoweb/image/providers/glm.mjs +1 -0
  100. package/dist/videoweb/image/providers/gpt-image-2-free.d.mts +7 -0
  101. package/dist/videoweb/image/providers/gpt-image-2-free.mjs +1 -0
  102. package/dist/videoweb/image/providers/gpt-image-2.d.mts +25 -0
  103. package/dist/videoweb/image/providers/gpt-image-2.mjs +1 -0
  104. package/dist/videoweb/image/providers/ideogram-v2.d.mts +11 -0
  105. package/dist/videoweb/image/providers/ideogram-v2.mjs +1 -0
  106. package/dist/videoweb/image/providers/ideogram-v3.d.mts +8 -0
  107. package/dist/videoweb/image/providers/ideogram-v3.mjs +1 -0
  108. package/dist/videoweb/image/providers/image-effect.d.mts +7 -0
  109. package/dist/videoweb/image/providers/image-effect.mjs +1 -0
  110. package/dist/videoweb/image/providers/index.d.mts +25 -0
  111. package/dist/videoweb/image/providers/nano-banana-2.d.mts +9 -0
  112. package/dist/videoweb/image/providers/nano-banana-2.mjs +1 -0
  113. package/dist/videoweb/image/providers/nano-banana-free.d.mts +7 -0
  114. package/dist/videoweb/image/providers/nano-banana-free.mjs +1 -0
  115. package/dist/videoweb/image/providers/nano-banana-pro.d.mts +9 -0
  116. package/dist/videoweb/image/providers/nano-banana-pro.mjs +1 -0
  117. package/dist/videoweb/image/providers/nano-banana.d.mts +12 -0
  118. package/dist/videoweb/image/providers/nano-banana.mjs +1 -0
  119. package/dist/videoweb/image/providers/qwen-image-2.d.mts +9 -0
  120. package/dist/videoweb/image/providers/qwen-image-2.mjs +1 -0
  121. package/dist/videoweb/image/providers/qwen-image-official.d.mts +12 -0
  122. package/dist/videoweb/image/providers/qwen-image-official.mjs +1 -0
  123. package/dist/videoweb/image/providers/qwen-image.d.mts +7 -0
  124. package/dist/videoweb/image/providers/qwen-image.mjs +1 -0
  125. package/dist/videoweb/image/providers/seedream-4-5.d.mts +13 -0
  126. package/dist/videoweb/image/providers/seedream-4-5.mjs +1 -0
  127. package/dist/videoweb/image/providers/seedream-5-0-pro.d.mts +14 -0
  128. package/dist/videoweb/image/providers/seedream-5-0-pro.mjs +1 -0
  129. package/dist/videoweb/image/providers/seedream-5-0.d.mts +13 -0
  130. package/dist/videoweb/image/providers/seedream-5-0.mjs +1 -0
  131. package/dist/videoweb/image/providers/seedream-v4.d.mts +13 -0
  132. package/dist/videoweb/image/providers/seedream-v4.mjs +1 -0
  133. package/dist/videoweb/image/videoweb-image-catalog-types.d.mts +48 -0
  134. package/dist/videoweb/image/videoweb-image-types.d.mts +34 -0
  135. package/dist/videoweb/model-select.d.mts +26 -0
  136. package/dist/videoweb/model-select.mjs +1 -0
  137. package/dist/videoweb/music/adapter.d.mts +11 -0
  138. package/dist/videoweb/music/adapter.mjs +1 -0
  139. package/dist/videoweb/music/index.d.mts +4 -0
  140. package/dist/videoweb/music/providers/suno.d.mts +21 -0
  141. package/dist/videoweb/music/providers/suno.mjs +1 -0
  142. package/dist/videoweb/music/videoweb-music-types.d.mts +31 -0
  143. package/dist/videoweb/video/adapter.d.mts +23 -0
  144. package/dist/videoweb/video/adapter.mjs +1 -0
  145. package/dist/videoweb/video/any.d.mts +42 -0
  146. package/dist/videoweb/video/any.mjs +20 -0
  147. package/dist/videoweb/video/collection-options.d.mts +7 -0
  148. package/dist/videoweb/video/collection-options.mjs +1 -0
  149. package/dist/videoweb/video/group-v2.d.mts +39 -0
  150. package/dist/videoweb/video/group-v2.mjs +1 -0
  151. package/dist/videoweb/video/group.d.mts +24 -0
  152. package/dist/videoweb/video/group.mjs +1 -0
  153. package/dist/videoweb/video/index.d.mts +63 -0
  154. package/dist/videoweb/video/landing-page.d.mts +28 -0
  155. package/dist/videoweb/video/landing-page.mjs +1 -0
  156. package/dist/videoweb/video/legacy-groups.d.mts +11 -0
  157. package/dist/videoweb/video/legacy-groups.mjs +1 -0
  158. package/dist/videoweb/video/providers/grok-imagine-1-5.d.mts +16 -0
  159. package/dist/videoweb/video/providers/grok-imagine-1-5.mjs +1 -0
  160. package/dist/videoweb/video/providers/hailuo-2-0.d.mts +21 -0
  161. package/dist/videoweb/video/providers/hailuo-2-0.mjs +1 -0
  162. package/dist/videoweb/video/providers/hailuo-2-3.d.mts +17 -0
  163. package/dist/videoweb/video/providers/hailuo-2-3.mjs +1 -0
  164. package/dist/videoweb/video/providers/happy-horse-1-0.d.mts +21 -0
  165. package/dist/videoweb/video/providers/happy-horse-1-0.mjs +1 -0
  166. package/dist/videoweb/video/providers/happy-horse-1-1.d.mts +21 -0
  167. package/dist/videoweb/video/providers/happy-horse-1-1.mjs +1 -0
  168. package/dist/videoweb/video/providers/hedra.d.mts +6 -0
  169. package/dist/videoweb/video/providers/hedra.mjs +1 -0
  170. package/dist/videoweb/video/providers/higgsfield.d.mts +19 -0
  171. package/dist/videoweb/video/providers/higgsfield.mjs +1 -0
  172. package/dist/videoweb/video/providers/index.d.mts +53 -0
  173. package/dist/videoweb/video/providers/infinitetalk.d.mts +9 -0
  174. package/dist/videoweb/video/providers/infinitetalk.mjs +1 -0
  175. package/dist/videoweb/video/providers/kling-2-5.d.mts +20 -0
  176. package/dist/videoweb/video/providers/kling-2-5.mjs +1 -0
  177. package/dist/videoweb/video/providers/kling-2-6.d.mts +16 -0
  178. package/dist/videoweb/video/providers/kling-2-6.mjs +1 -0
  179. package/dist/videoweb/video/providers/kling-3-0-4k.d.mts +16 -0
  180. package/dist/videoweb/video/providers/kling-3-0-4k.mjs +1 -0
  181. package/dist/videoweb/video/providers/kling-3-0-turbo.d.mts +16 -0
  182. package/dist/videoweb/video/providers/kling-3-0-turbo.mjs +1 -0
  183. package/dist/videoweb/video/providers/kling-3-0.d.mts +18 -0
  184. package/dist/videoweb/video/providers/kling-3-0.mjs +1 -0
  185. package/dist/videoweb/video/providers/kling-effects-korean-baseball.d.mts +8 -0
  186. package/dist/videoweb/video/providers/kling-effects-korean-baseball.mjs +1 -0
  187. package/dist/videoweb/video/providers/kling-motion-control.d.mts +11 -0
  188. package/dist/videoweb/video/providers/kling-motion-control.mjs +1 -0
  189. package/dist/videoweb/video/providers/kling-o1.d.mts +14 -0
  190. package/dist/videoweb/video/providers/kling-o1.mjs +1 -0
  191. package/dist/videoweb/video/providers/kling-omni-3-reference.d.mts +35 -0
  192. package/dist/videoweb/video/providers/kling-omni-3-reference.mjs +1 -0
  193. package/dist/videoweb/video/providers/kling.d.mts +56 -0
  194. package/dist/videoweb/video/providers/kling.mjs +1 -0
  195. package/dist/videoweb/video/providers/luma-modify-video.d.mts +10 -0
  196. package/dist/videoweb/video/providers/luma-modify-video.mjs +1 -0
  197. package/dist/videoweb/video/providers/midjourney-image-to-video.d.mts +11 -0
  198. package/dist/videoweb/video/providers/midjourney-image-to-video.mjs +1 -0
  199. package/dist/videoweb/video/providers/midjourney.d.mts +10 -0
  200. package/dist/videoweb/video/providers/midjourney.mjs +1 -0
  201. package/dist/videoweb/video/providers/pixverse-4-5.d.mts +135 -0
  202. package/dist/videoweb/video/providers/pixverse-4-5.mjs +1 -0
  203. package/dist/videoweb/video/providers/pixverse-5-0.d.mts +16 -0
  204. package/dist/videoweb/video/providers/pixverse-5-0.mjs +1 -0
  205. package/dist/videoweb/video/providers/pixverse-5-5.d.mts +56 -0
  206. package/dist/videoweb/video/providers/pixverse-5-5.mjs +1 -0
  207. package/dist/videoweb/video/providers/pixverse-6-0.d.mts +13 -0
  208. package/dist/videoweb/video/providers/pixverse-6-0.mjs +1 -0
  209. package/dist/videoweb/video/providers/runway-gen3a.d.mts +6 -0
  210. package/dist/videoweb/video/providers/runway-gen3a.mjs +1 -0
  211. package/dist/videoweb/video/providers/runway-gen4.d.mts +9 -0
  212. package/dist/videoweb/video/providers/runway-gen4.mjs +1 -0
  213. package/dist/videoweb/video/providers/seedance-1-5.d.mts +33 -0
  214. package/dist/videoweb/video/providers/seedance-1-5.mjs +1 -0
  215. package/dist/videoweb/video/providers/seedance-2-0-mini.d.mts +35 -0
  216. package/dist/videoweb/video/providers/seedance-2-0-mini.mjs +1 -0
  217. package/dist/videoweb/video/providers/seedance-2-0-reference.d.mts +56 -0
  218. package/dist/videoweb/video/providers/seedance-2-0-reference.mjs +1 -0
  219. package/dist/videoweb/video/providers/seedance-2-0.d.mts +49 -0
  220. package/dist/videoweb/video/providers/seedance-2-0.mjs +1 -0
  221. package/dist/videoweb/video/providers/seedance-v1.d.mts +19 -0
  222. package/dist/videoweb/video/providers/seedance-v1.mjs +1 -0
  223. package/dist/videoweb/video/providers/sora-2-pro.d.mts +14 -0
  224. package/dist/videoweb/video/providers/sora-2-pro.mjs +1 -0
  225. package/dist/videoweb/video/providers/sora-2.d.mts +38 -0
  226. package/dist/videoweb/video/providers/sora-2.mjs +1 -0
  227. package/dist/videoweb/video/providers/veo-2.d.mts +10 -0
  228. package/dist/videoweb/video/providers/veo-2.mjs +1 -0
  229. package/dist/videoweb/video/providers/veo-3-1.d.mts +13 -0
  230. package/dist/videoweb/video/providers/veo-3-1.mjs +1 -0
  231. package/dist/videoweb/video/providers/veo-3.d.mts +16 -0
  232. package/dist/videoweb/video/providers/veo-3.mjs +1 -0
  233. package/dist/videoweb/video/providers/video-effect.d.mts +15 -0
  234. package/dist/videoweb/video/providers/video-effect.mjs +5 -0
  235. package/dist/videoweb/video/providers/video-upscaler.d.mts +17 -0
  236. package/dist/videoweb/video/providers/video-upscaler.mjs +1 -0
  237. package/dist/videoweb/video/providers/vidu-2-0.d.mts +29 -0
  238. package/dist/videoweb/video/providers/vidu-2-0.mjs +1 -0
  239. package/dist/videoweb/video/providers/vidu-christmas-effect.d.mts +8 -0
  240. package/dist/videoweb/video/providers/vidu-christmas-effect.mjs +8 -0
  241. package/dist/videoweb/video/providers/vidu-q1.d.mts +8 -0
  242. package/dist/videoweb/video/providers/vidu-q1.mjs +1 -0
  243. package/dist/videoweb/video/providers/vidu-q2-reference.d.mts +22 -0
  244. package/dist/videoweb/video/providers/vidu-q2-reference.mjs +1 -0
  245. package/dist/videoweb/video/providers/vidu-q2.d.mts +54 -0
  246. package/dist/videoweb/video/providers/vidu-q2.mjs +1 -0
  247. package/dist/videoweb/video/providers/vidu-q3-reference.d.mts +26 -0
  248. package/dist/videoweb/video/providers/vidu-q3-reference.mjs +1 -0
  249. package/dist/videoweb/video/providers/vidu-q3.d.mts +35 -0
  250. package/dist/videoweb/video/providers/vidu-q3.mjs +1 -0
  251. package/dist/videoweb/video/providers/wan-2-2-animate.d.mts +17 -0
  252. package/dist/videoweb/video/providers/wan-2-2-animate.mjs +1 -0
  253. package/dist/videoweb/video/providers/wan-2-5.d.mts +62 -0
  254. package/dist/videoweb/video/providers/wan-2-5.mjs +1 -0
  255. package/dist/videoweb/video/providers/wan-2-6.d.mts +61 -0
  256. package/dist/videoweb/video/providers/wan-2-6.mjs +1 -0
  257. package/dist/videoweb/video/providers/wan-2-7-lora.d.mts +15 -0
  258. package/dist/videoweb/video/providers/wan-2-7-lora.mjs +1 -0
  259. package/dist/videoweb/video/providers/wan-2-7.d.mts +22 -0
  260. package/dist/videoweb/video/providers/wan-2-7.mjs +1 -0
  261. package/dist/videoweb/video/providers/wan.d.mts +38 -0
  262. package/dist/videoweb/video/providers/wan.mjs +1 -0
  263. package/dist/videoweb/video/videoweb-video-catalog-types.d.mts +63 -0
  264. package/dist/videoweb/video/videoweb-video-types.d.mts +38 -0
  265. package/dist/videoweb.d.mts +104 -2
  266. package/dist/videoweb.mjs +1 -1
  267. package/package.json +5 -2
  268. package/dist/flaq-CANiSsGU.mjs +0 -5
  269. package/dist/index-BUoUYnbk.d.mts +0 -910
  270. package/dist/index-Dc0qezUL.d.mts +0 -2030
  271. package/dist/videoweb-CFFO7_aP.mjs +0 -31
@@ -1,910 +0,0 @@
1
- import { t as AdaptedParameter } from "./parameter-list-adapter-neVZQpYP.mjs";
2
- import { GptImage2Quality, ImageModelFact, ThreeDModelFact, VideoModelFact } from "@flaqai/model-core";
3
- //#region src/flaq/3d/flaq-three-d-types.d.ts
4
- type FlaqThreeDGenerationType = 'image-to-3d' | 'multiview-to-3d' | 'text-to-3d';
5
- type ThreeDGenerationType = FlaqThreeDGenerationType;
6
- interface FlaqThreeDModelOptions {
7
- imageInput: {
8
- isSupported: boolean;
9
- max: number;
10
- min: number;
11
- required: boolean;
12
- };
13
- promptInput: {
14
- isSupported: boolean;
15
- required: boolean;
16
- };
17
- }
18
- interface FlaqThreeDModel {
19
- baseCredit: number;
20
- generationType: FlaqThreeDGenerationType;
21
- isPaid: boolean;
22
- isComingSoon?: boolean;
23
- model: string;
24
- modelVersion: string;
25
- name: string;
26
- options: FlaqThreeDModelOptions;
27
- platformType: number;
28
- pricingType: '3d';
29
- previewUrl?: string;
30
- provider: string;
31
- tag?: string;
32
- }
33
- type ThreeDModel = FlaqThreeDModel;
34
- interface FlaqThreeDModelVersionConfig {
35
- baseCredit: number;
36
- isPaid: boolean;
37
- isComingSoon?: boolean;
38
- modelVersion: string;
39
- models: FlaqThreeDModel[];
40
- name: string;
41
- options: FlaqThreeDModelOptions;
42
- platformType: number;
43
- pricingType: '3d';
44
- provider: string;
45
- }
46
- type ThreeDModelVersionConfig = FlaqThreeDModelVersionConfig;
47
- interface FlaqThreeDProviderConfig {
48
- name: string;
49
- provider: string;
50
- versions: FlaqThreeDModelVersionConfig[];
51
- }
52
- type ThreeDProviderConfig = FlaqThreeDProviderConfig;
53
- //#endregion
54
- //#region src/flaq/3d/adapter.d.ts
55
- interface FlaqThreeDAdapterOptions {
56
- readonly generationType: FlaqThreeDGenerationType;
57
- readonly modelVersion: string;
58
- readonly name: string;
59
- readonly options: FlaqThreeDModelOptions;
60
- }
61
- declare function adaptFlaqThreeDModel(fact: ThreeDModelFact, { generationType, modelVersion, name, options }: FlaqThreeDAdapterOptions): FlaqThreeDModel;
62
- //#endregion
63
- //#region src/flaq/3d/providers/tripo.d.ts
64
- declare const TRIPO_V2_5_IMAGE_TO_3D: FlaqThreeDModel;
65
- declare const TRIPO_H3_1_TEXT_TO_3D: FlaqThreeDModel;
66
- declare const TRIPO_H3_1_IMAGE_TO_3D: FlaqThreeDModel;
67
- declare const TRIPO_H3_1_MULTIVIEW_TO_3D: FlaqThreeDModel;
68
- declare const TRIPO_V2_5_VERSION: FlaqThreeDModelVersionConfig;
69
- declare const TRIPO_H3_1_VERSION: FlaqThreeDModelVersionConfig;
70
- declare const TRIPO_PROVIDER: FlaqThreeDProviderConfig;
71
- declare const TRIPO_ALL_MODELS: FlaqThreeDModel[];
72
- declare const ALL_3D_PROVIDERS: FlaqThreeDProviderConfig[];
73
- declare const ALL_3D_MODELS: FlaqThreeDModel[];
74
- declare function select3DModelByGenerationType(generationType: string): FlaqThreeDModel | undefined;
75
- declare function get3DVersionConfig(modelVersion: string): FlaqThreeDModelVersionConfig | undefined;
76
- declare function get3DModelVersionName(modelName: string): string | undefined;
77
- declare function get3DProviderByModelVersion(modelVersion: string): string | null;
78
- //#endregion
79
- //#region src/flaq/image/flaq-image-types.d.ts
80
- type FlaqImageGenerationType = 'text-to-image' | 'image-to-image' | 'multi-image-to-image' | 'image-edit' | 'image-variation';
81
- type FlaqImageSupportedType = FlaqImageGenerationType;
82
- interface FlaqImageResolutionOption {
83
- name: string;
84
- value: string;
85
- credit?: number;
86
- }
87
- interface FlaqImageRatioOption {
88
- name: string;
89
- value: string;
90
- iconWidth: string;
91
- iconHeight: string;
92
- credit?: number;
93
- }
94
- interface FlaqDynamicParameterConfig {
95
- resolutionCredits?: Record<string, number>;
96
- ratioCredits?: Record<string, number>;
97
- combinedCredits?: Record<string, number>;
98
- }
99
- interface FlaqImageInputConfig {
100
- required: boolean;
101
- isSupported: boolean;
102
- min?: number;
103
- max?: number;
104
- supportsMask?: boolean;
105
- }
106
- interface FlaqImageModelOptions {
107
- imageInput?: FlaqImageInputConfig;
108
- resolution?: FlaqImageResolutionOption[];
109
- ratio?: FlaqImageRatioOption[];
110
- quality?: Array<{
111
- name: string;
112
- value: string;
113
- }>;
114
- dynamicParams?: FlaqDynamicParameterConfig;
115
- prompt?: string;
116
- }
117
- interface FlaqImageModel {
118
- provider: string;
119
- modelVersion: string;
120
- model: string;
121
- name: string;
122
- platformType: number;
123
- baseCredit: number;
124
- isPaid: boolean;
125
- pricingType: 'image';
126
- generationType: FlaqImageGenerationType;
127
- supportedTypes?: FlaqImageSupportedType[];
128
- options: FlaqImageModelOptions;
129
- quality?: string;
130
- }
131
- interface FlaqImageVersionOptions {
132
- resolution?: FlaqImageResolutionOption[];
133
- ratio?: FlaqImageRatioOption[];
134
- quality?: Array<{
135
- name: string;
136
- value: string;
137
- }>;
138
- }
139
- interface FlaqImageModelVersionConfig {
140
- provider: string;
141
- modelVersion: string;
142
- name: string;
143
- baseCredit: number;
144
- platformType: number;
145
- isPaid: boolean;
146
- pricingType: 'image';
147
- options: FlaqImageVersionOptions;
148
- models: FlaqImageModel[];
149
- }
150
- interface FlaqImageProviderConfig {
151
- provider: string;
152
- name: string;
153
- versions: FlaqImageModelVersionConfig[];
154
- }
155
- interface FlaqGptImage2Adaptation {
156
- readonly displayName: string;
157
- readonly generationType: 'text-to-image' | 'image-edit';
158
- readonly quality: GptImage2Quality;
159
- readonly resolutionCredits: Readonly<Record<string, number>>;
160
- }
161
- //#endregion
162
- //#region src/flaq/image/flaq-image-catalog-types.d.ts
163
- /**
164
- * 图片生成类型
165
- * 严格对应后端模型支持的输入输出类型
166
- */
167
- type ImageGenerationType = 'text-to-image' | 'image-to-image' | 'multi-image-to-image' | 'image-edit' | 'image-variation';
168
- /**
169
- * 分辨率选项类型
170
- */
171
- interface ResolutionOption {
172
- name: string;
173
- value: string;
174
- credit?: number;
175
- }
176
- /**
177
- * 比例选项类型
178
- */
179
- interface RatioOption {
180
- name: string;
181
- value: string;
182
- iconWidth: string;
183
- iconHeight: string;
184
- credit?: number;
185
- }
186
- /**
187
- * 动态参数配置映射
188
- */
189
- interface DynamicParameterConfig {
190
- resolutionCredits?: Record<string, number>;
191
- ratioCredits?: Record<string, number>;
192
- combinedCredits?: Record<string, number>;
193
- }
194
- /**
195
- * 图片模型配置
196
- */
197
- interface ImageModel {
198
- provider: string;
199
- modelVersion: string;
200
- model: string;
201
- name: string;
202
- platformType: number;
203
- baseCredit: number;
204
- isPaid: boolean;
205
- pricingType: 'image';
206
- generationType: ImageGenerationType;
207
- supportedTypes?: ImageGenerationType[];
208
- options: ImageModelOptions;
209
- previewUrl?: string;
210
- tag?: string;
211
- isComingSoon?: boolean;
212
- quality?: string;
213
- }
214
- /**
215
- * 图片模型参数选项
216
- */
217
- interface ImageModelOptions {
218
- imageInput?: {
219
- required: boolean;
220
- isSupported: boolean;
221
- min?: number;
222
- max?: number;
223
- supportsMask?: boolean;
224
- };
225
- resolution?: ResolutionOption[];
226
- ratio?: RatioOption[];
227
- quality?: Array<{
228
- name: string;
229
- value: string;
230
- }>;
231
- dynamicParams?: DynamicParameterConfig;
232
- prompt?: string;
233
- }
234
- /**
235
- * 页面级表单配置(Image)
236
- */
237
- interface ImageFormConfig {
238
- generationType: ImageGenerationType;
239
- fields?: {
240
- showPrompt?: boolean;
241
- showImageUpload?: boolean;
242
- showRatio?: boolean;
243
- showResolution?: boolean;
244
- showModelVersion?: boolean;
245
- };
246
- imageUpload?: {
247
- type?: 'single' | 'multiple';
248
- min?: number;
249
- max?: number;
250
- required?: boolean;
251
- supportsMask?: boolean;
252
- };
253
- defaultValues?: {
254
- resolution?: string;
255
- ratio?: string;
256
- };
257
- }
258
- /**
259
- * 模型版本配置
260
- */
261
- interface ImageModelVersionConfig {
262
- provider: string;
263
- modelVersion: string;
264
- name: string;
265
- baseCredit: number;
266
- platformType: number;
267
- isPaid: boolean;
268
- pricingType: 'image';
269
- isComingSoon?: boolean;
270
- options: {
271
- resolution?: ResolutionOption[];
272
- ratio?: RatioOption[];
273
- quality?: Array<{
274
- name: string;
275
- value: string;
276
- }>;
277
- };
278
- models: ImageModel[];
279
- }
280
- /**
281
- * 提供商配置
282
- */
283
- interface ImageProviderConfig {
284
- provider: string;
285
- name: string;
286
- versions: ImageModelVersionConfig[];
287
- }
288
- //#endregion
289
- //#region src/flaq/image/ratios.d.ts
290
- declare const HIDREAM_RATIO_LIST: RatioOption[];
291
- declare const SEEDREAM_RATIO_LIST$1: RatioOption[];
292
- declare const GEMINI_RATIO_LIST: RatioOption[];
293
- declare const FLAQ_NANO_BANANA_PRO_RATIO_LIST: RatioOption[];
294
- //#endregion
295
- //#region src/flaq/image/resolutions.d.ts
296
- declare const RESOLUTION_1K: ResolutionOption;
297
- declare const RESOLUTION_2K: ResolutionOption;
298
- declare const RESOLUTION_4K: ResolutionOption;
299
- declare const RESOLUTION_LIST_SEEDREAM_V4: ResolutionOption[];
300
- declare const RESOLUTION_LIST_SEEDREAM_V4_5: ResolutionOption[];
301
- declare const RESOLUTION_LIST_NANO_BANANA_PRO: ResolutionOption[];
302
- declare const RESOLUTION_LIST_NANO_BANANA_2: ResolutionOption[];
303
- //#endregion
304
- //#region src/flaq/image/providers/seedream.d.ts
305
- declare const SEEDREAM_PROVIDER: ImageProviderConfig;
306
- declare const SEEDREAM_ALL_MODELS: ImageModel[];
307
- //#endregion
308
- //#region src/flaq/image/providers/gemini.d.ts
309
- /**
310
- * ============================================================================
311
- * Provider Configurations & Exports
312
- * ============================================================================
313
- */
314
- declare const GEMINI_PROVIDER: ImageProviderConfig;
315
- declare const NANO_BANANA_PROVIDER: ImageProviderConfig;
316
- declare const GEMINI_ALL_MODELS: ImageModel[];
317
- declare const NANO_BANANA_IMAGE_MODEL: ImageModel;
318
- declare const NANO_BANANA_IMAGE_EDIT_MODEL: ImageModel;
319
- declare const NANO_BANANA_PRO_MODEL: ImageModel;
320
- declare const NANO_BANANA_PRO_EDIT_MODEL: ImageModel;
321
- declare const GEMINI_25_FLASH_IMAGE_MODEL: ImageModel;
322
- declare const GEMINI_25_FLASH_IMAGE_EDIT_MODEL: ImageModel;
323
- declare const GEMINI_3_PRO_IMAGE_PREVIEW_MODEL: ImageModel;
324
- declare const GEMINI_3_PRO_IMAGE_PREVIEW_EDIT_MODEL: ImageModel;
325
- //#endregion
326
- //#region src/flaq/image/providers/hidream.d.ts
327
- /**
328
- * ============================================================================
329
- * Provider Configuration & Exports
330
- * ============================================================================
331
- */
332
- declare const HIDREAM_PROVIDER: ImageProviderConfig;
333
- declare const HIDREAM_ALL_MODELS: ImageModel[];
334
- //#endregion
335
- //#region src/flaq/image/providers/gpt-image-2.d.ts
336
- declare const FLAQ_GPT_IMAGE_2_RATIO_LIST: FlaqImageRatioOption[];
337
- declare const FLAQ_GPT_IMAGE_2_RESOLUTION_LIST: FlaqImageResolutionOption[];
338
- declare const FLAQ_GPT_IMAGE_2_QUALITY_LIST: AdaptedParameter<{
339
- readonly name: 'Low';
340
- readonly value: 'low';
341
- } | {
342
- readonly name: 'Medium';
343
- readonly value: 'medium';
344
- } | {
345
- readonly name: 'High';
346
- readonly value: 'high';
347
- }>[];
348
- declare function adaptFlaqGptImage2Model(fact: ImageModelFact, { displayName, generationType, quality, resolutionCredits }: FlaqGptImage2Adaptation): FlaqImageModel;
349
- declare const GPT_IMAGE_2_LOW: FlaqImageModel;
350
- declare const GPT_IMAGE_2_MEDIUM: FlaqImageModel;
351
- declare const GPT_IMAGE_2_HIGH: FlaqImageModel;
352
- declare const GPT_IMAGE_2_LOW_EDIT: FlaqImageModel;
353
- declare const GPT_IMAGE_2_MEDIUM_EDIT: FlaqImageModel;
354
- declare const GPT_IMAGE_2_HIGH_EDIT: FlaqImageModel;
355
- declare const GPT_IMAGE_2_VERSION: FlaqImageModelVersionConfig;
356
- declare const GPT_PROVIDER: FlaqImageProviderConfig;
357
- declare const GPT_IMAGE_2_ALL_MODELS: FlaqImageModel[];
358
- declare function resolveFlaqGptImage2Model(hasImages: boolean, quality?: GptImage2Quality): FlaqImageModel;
359
- //#endregion
360
- //#region src/flaq/image/providers/qwen.d.ts
361
- /**
362
- * ============================================================================
363
- * Provider Configuration & Exports
364
- * ============================================================================
365
- */
366
- declare const QWEN_PROVIDER: ImageProviderConfig;
367
- declare const QWEN_ALL_MODELS: ImageModel[];
368
- declare const QWEN_IMAGE_MODEL: ImageModel;
369
- declare const QWEN_IMAGE_EDIT_MODEL: ImageModel;
370
- declare const QWEN_IMAGE_2_0_MODEL: ImageModel;
371
- declare const QWEN_IMAGE_2_0_EDIT_MODEL: ImageModel;
372
- //#endregion
373
- //#region src/flaq/image/catalog.d.ts
374
- /**
375
- * 所有品牌配置
376
- */
377
- declare const ALL_IMAGE_PROVIDERS: ImageProviderConfig[];
378
- declare function sortImageModelVersionsByPriority<T extends Pick<ImageModelVersionConfig, 'modelVersion'>>(versions: T[]): T[];
379
- /**
380
- * 所有模型配置(扁平数组)
381
- */
382
- declare const ALL_IMAGE_MODELS: ImageModel[];
383
- declare const NANO_BANANA_ALL_MODELS: ImageModel[];
384
- declare const COMMON_MOTIONS_IMAGE_MODELS: ImageModel[];
385
- /**
386
- * 根据内部模型名称(model)获取版本显示名称
387
- * 例如:'seedream-v4-text-to-image' -> 'Seedream 4.0'
388
- */
389
- declare function getImageModelVersionName(modelName: string): string | undefined;
390
- //#endregion
391
- //#region src/flaq/image/adapter.d.ts
392
- type FlaqImageAdapterOptions = Omit<ImageModel, 'baseCredit' | 'model' | 'platformType'> & {
393
- readonly factOverride?: Partial<Pick<ImageModel, 'baseCredit' | 'platformType'>>;
394
- };
395
- declare function adaptFlaqImageModel(model: ImageModelFact, { factOverride, ...options }: FlaqImageAdapterOptions): ImageModel;
396
- //#endregion
397
- //#region src/flaq/video/flaq-video-types.d.ts
398
- interface FlaqVideoRatioOption {
399
- name: string;
400
- value: string;
401
- iconWidth: string;
402
- iconHeight: string;
403
- }
404
- interface FlaqVideoFrameConfig {
405
- required: boolean;
406
- isSupported: boolean;
407
- }
408
- interface FlaqVideoModelOptions {
409
- duration?: number;
410
- resolution?: string;
411
- ratio?: FlaqVideoRatioOption[] | null;
412
- startFrame?: FlaqVideoFrameConfig;
413
- endFrame?: FlaqVideoFrameConfig;
414
- audio?: boolean;
415
- }
416
- interface FlaqVideoVersionOptions {
417
- duration?: string[];
418
- resolution?: string[];
419
- ratio?: FlaqVideoRatioOption[] | null;
420
- startFrame?: FlaqVideoFrameConfig;
421
- endFrame?: FlaqVideoFrameConfig;
422
- audio?: boolean;
423
- }
424
- interface FlaqVideoModel {
425
- provider: string;
426
- modelVersion: string;
427
- model: string;
428
- name: string;
429
- platformType: number;
430
- pricingType: 'video';
431
- credit: number;
432
- isPaid: boolean;
433
- generationType?: 'text-to-video' | 'image-to-video';
434
- options: FlaqVideoModelOptions;
435
- }
436
- interface FlaqVideoModelTemplate {
437
- generationType: 'text-to-video' | 'image-to-video';
438
- modelPattern: string;
439
- options?: FlaqVideoVersionOptions;
440
- creditMatrix: Record<string, number>;
441
- }
442
- interface FlaqVideoModelVersionConfig {
443
- provider: string;
444
- modelVersion: string;
445
- name: string;
446
- baseCredit: number;
447
- platformType: number;
448
- isPaid: boolean;
449
- pricingType: 'video';
450
- options: FlaqVideoVersionOptions;
451
- modelTemplates?: FlaqVideoModelTemplate[];
452
- models: FlaqVideoModel[];
453
- }
454
- interface FlaqVideoProviderConfig {
455
- provider: string;
456
- name: string;
457
- versions: FlaqVideoModelVersionConfig[];
458
- }
459
- //#endregion
460
- //#region src/flaq/video/flaq-video-catalog-types.d.ts
461
- /**
462
- * 视频模型基础类型定义
463
- * 基于 aitryon 的配置结构
464
- */
465
- interface RatioConfig {
466
- name: string;
467
- value: string;
468
- iconWidth: string;
469
- iconHeight: string;
470
- }
471
- interface FrameConfig {
472
- required: boolean;
473
- isSupported: boolean;
474
- }
475
- interface MultiImageConfig {
476
- required: boolean;
477
- isSupported?: boolean;
478
- minImages?: number;
479
- maxImages: number;
480
- }
481
- interface ModelOptions {
482
- duration?: number;
483
- resolution?: string;
484
- ratio?: RatioConfig[] | null;
485
- startFrame?: FrameConfig;
486
- endFrame?: FrameConfig;
487
- multiImage?: MultiImageConfig;
488
- audio?: boolean;
489
- audioUrl?: boolean;
490
- videoInput?: FrameConfig;
491
- }
492
- interface ModelVersionOptions {
493
- duration?: string[];
494
- resolution?: string[];
495
- ratio?: RatioConfig[] | null;
496
- startFrame?: FrameConfig;
497
- endFrame?: FrameConfig;
498
- multiImage?: MultiImageConfig;
499
- audio?: boolean;
500
- audioUrl?: boolean;
501
- }
502
- interface GenerationTypeSpecificOptions {
503
- duration?: string[];
504
- resolution?: string[];
505
- ratio?: RatioConfig[] | null;
506
- startFrame?: FrameConfig;
507
- endFrame?: FrameConfig;
508
- audio?: boolean;
509
- audioUrl?: boolean;
510
- }
511
- type CreditMatrix = Record<string, number>;
512
- /**
513
- * 视频模型模板
514
- * 用于简化配置:一个模板代表一组参数组合的模型
515
- */
516
- interface VideoModelTemplate {
517
- generationType: 'text-to-video' | 'image-to-video';
518
- modelPattern: string;
519
- options?: Partial<GenerationTypeSpecificOptions>;
520
- creditMatrix: CreditMatrix;
521
- }
522
- interface VideoModel {
523
- provider: string;
524
- modelVersion: string;
525
- model: string;
526
- name: string;
527
- platformType: number;
528
- pricingType: 'video';
529
- credit: number;
530
- isPaid: boolean;
531
- generationType?: 'text-to-video' | 'image-to-video';
532
- supportedTypes?: VideoGenerationType[];
533
- options: ModelOptions;
534
- motionId?: string;
535
- previewUrl?: string;
536
- prompt?: string;
537
- }
538
- interface ModelVersionConfig {
539
- provider: string;
540
- modelVersion: string;
541
- name: string;
542
- baseCredit: number;
543
- platformType: number;
544
- isPaid: boolean;
545
- pricingType: 'video';
546
- isComingSoon?: boolean;
547
- hidden?: boolean;
548
- options: ModelVersionOptions;
549
- modelTemplates?: VideoModelTemplate[];
550
- models: VideoModel[];
551
- }
552
- interface ProviderConfig {
553
- provider: string;
554
- name: string;
555
- versions: ModelVersionConfig[];
556
- }
557
- interface ModelTypeOption {
558
- name: string;
559
- value: string;
560
- label: string;
561
- }
562
- interface VideoResolutionOption {
563
- name: string;
564
- value: string;
565
- label: string;
566
- }
567
- interface DurationOption {
568
- name: string;
569
- value: string;
570
- label: string;
571
- }
572
- type VideoGenerationType = 'text-to-video' | 'image-to-video' | 'video-to-video';
573
- /**
574
- * 页面级表单配置(heydream 扩展)
575
- */
576
- interface VideoFormConfig {
577
- generationType?: VideoGenerationType;
578
- fields?: {
579
- showPrompt?: boolean;
580
- showImageUpload?: boolean;
581
- showDuration?: boolean;
582
- showResolution?: boolean;
583
- showRatio?: boolean;
584
- showAudio?: boolean;
585
- };
586
- imageUpload?: {
587
- type?: 'start-frame' | 'start-end-frames';
588
- required?: boolean;
589
- };
590
- defaultValues?: {
591
- duration?: number;
592
- resolution?: string;
593
- ratio?: string;
594
- };
595
- }
596
- //#endregion
597
- //#region src/flaq/video/ratios.d.ts
598
- declare const RATIO_16_9: RatioConfig;
599
- declare const RATIO_9_16: RatioConfig;
600
- declare const RATIO_1_1: RatioConfig;
601
- declare const RATIO_21_9: RatioConfig;
602
- declare const RATIO_4_3: RatioConfig;
603
- declare const RATIO_3_4: RatioConfig;
604
- declare const RATIO_9_21: RatioConfig;
605
- declare const RATIO_LIST_1: RatioConfig[];
606
- declare const RATIO_LIST_2: RatioConfig[];
607
- declare const RATIO_LIST_SEEDANCE: RatioConfig[];
608
- declare const RATIO_LIST_SEEDANCE_V1_5: RatioConfig[];
609
- declare const RATIO_LIST_WAN_V2_6: RatioConfig[];
610
- declare const RATIO_LIST_VIDU_Q3: RatioConfig[];
611
- //#endregion
612
- //#region src/flaq/video/providers/seedance.d.ts
613
- /**
614
- * ============================================================================
615
- * Provider Configuration & Exports
616
- * ============================================================================
617
- */
618
- declare const SEEDANCE_PROVIDER: ProviderConfig;
619
- declare const SEEDANCE_ALL_MODELS: VideoModel[];
620
- //#endregion
621
- //#region src/flaq/video/providers/kling.d.ts
622
- /**
623
- * ============================================================================
624
- * Kling v2.1 Standard Version (使用模板配置)
625
- * ============================================================================
626
- *
627
- * 模型说明:
628
- * - 仅支持图生视频(仅首帧),不支持比例
629
- *
630
- * 生成的模型名称格式:kling-v2.1-std-{duration}
631
- */
632
- /**
633
- * ============================================================================
634
- * Kling v1.6 Pro Version (使用模板配置)
635
- * ============================================================================
636
- *
637
- * 模型说明:
638
- * - 仅支持图生视频(首帧,首尾帧)。图生视频不支持比例
639
- *
640
- * 生成的模型名称格式:kling-v1.6-pro-{duration}
641
- */
642
- /**
643
- * ============================================================================
644
- * Kling v1.6 Standard Version (使用模板配置)
645
- * ============================================================================
646
- *
647
- * 模型说明:
648
- * - 支持文生视频和图生视频(仅首帧)
649
- * - 文生视频:支持比例 16:9 9:16 1:1,不需要首帧
650
- * - 图生视频:不支持比例,必须上传首帧
651
- *
652
- * 生成的模型名称格式:kling-v1.6-std-{duration}
653
- */
654
- /**
655
- * ============================================================================
656
- * Kling v1 Version (Legacy, 使用模板配置)
657
- * ============================================================================
658
- *
659
- * 模型说明:
660
- * - 支持文生视频和图生视频(首帧,首尾帧)
661
- * - 文生视频:支持比例 16:9 9:16 1:1,不需要首帧
662
- * - 图生视频:不支持比例,支持首帧和首尾帧
663
- *
664
- * 生成的模型名称格式:kling-v1-{duration}
665
- */
666
- /**
667
- * ============================================================================
668
- * Provider Configuration & Exports
669
- * ============================================================================
670
- */
671
- declare const KLING_PROVIDER: ProviderConfig;
672
- declare const KLING_ALL_MODELS: VideoModel[];
673
- //#endregion
674
- //#region src/flaq/video/providers/hailuo.d.ts
675
- /**
676
- * ============================================================================
677
- * Provider Configuration & Exports
678
- * ============================================================================
679
- */
680
- declare const HAILUO_PROVIDER: ProviderConfig;
681
- declare const HAILUO_ALL_MODELS: VideoModel[];
682
- //#endregion
683
- //#region src/flaq/video/providers/alibaba.d.ts
684
- declare const ALIBABA_PROVIDER: ProviderConfig;
685
- declare const ALIBABA_ALL_MODELS: VideoModel[];
686
- declare const HAPPY_HORSE_1_0_VERSIONS: ModelVersionConfig[];
687
- //#endregion
688
- //#region src/flaq/video/providers/hedra.d.ts
689
- /**
690
- * Hedra 品牌配置
691
- */
692
- declare const HEDRA_PROVIDER: ProviderConfig;
693
- /**
694
- * 所有 Hedra 模型(扁平化列表)
695
- */
696
- declare const HEDRA_ALL_MODELS: VideoModel[];
697
- //#endregion
698
- //#region src/flaq/video/providers/veo.d.ts
699
- /**
700
- * ============================================================================
701
- * Provider Configuration & Exports
702
- * ============================================================================
703
- */
704
- declare const VEO_3_VERSIONS: ModelVersionConfig[];
705
- declare const VEO_PROVIDER: ProviderConfig;
706
- declare const VEO_ALL_MODELS: VideoModel[];
707
- //#endregion
708
- //#region src/flaq/video/providers/vidu.d.ts
709
- /**
710
- * ============================================================================
711
- * Provider Configuration & Exports
712
- * ============================================================================
713
- */
714
- declare const VIDU_PROVIDER: ProviderConfig;
715
- declare const VIDU_ALL_MODELS: VideoModel[];
716
- //#endregion
717
- //#region src/flaq/video/providers/higgsfield.d.ts
718
- declare const HIGGSFIELD_PROVIDER: ProviderConfig;
719
- declare const HIGGSFIELD_ALL_MODELS: VideoModel[];
720
- //#endregion
721
- //#region src/flaq/video/providers/infinitetalk.d.ts
722
- declare const INFINITETALK_PROVIDER: ProviderConfig;
723
- declare const INFINITETALK_ALL_MODELS: VideoModel[];
724
- //#endregion
725
- //#region src/flaq/video/catalog.d.ts
726
- /**
727
- * 所有品牌配置(不含 WAN,向后兼容)
728
- */
729
- declare const ALL_PROVIDERS: ProviderConfig[];
730
- /**
731
- * 全局可见的品牌配置(用于通用视频生成表单,不含 WAN,向后兼容)
732
- * 排除特殊用途模型:HEDRA(lipsync)、HIGGSFIELD(motion特效)
733
- */
734
- declare const VISIBLE_VIDEO_PROVIDERS: ProviderConfig[];
735
- /**
736
- * 所有模型配置(扁平数组)
737
- */
738
- declare const ALL_VIDEO_MODELS: VideoModel[];
739
- /**
740
- * 根据 modelVersion 查找对应的 Provider
741
- */
742
- declare function getVideoProviderByModelVersion(modelVersion: string): string | null;
743
- /**
744
- * 根据内部模型名称(model)获取版本显示名称
745
- * 例如:'sora-2-small-10s' -> 'Sora 2'
746
- *
747
- * 匹配逻辑:
748
- * 1. 精确匹配 modelVersion(优先)
749
- * 2. 检查模型名称是否匹配某个版本的 modelPattern
750
- * 3. 从模型名称中解析(fallback)
751
- */
752
- declare function getVideoModelVersionName(modelName: string): string | undefined;
753
- /**
754
- * 获取版本支持的生成类型列表
755
- * 同时检查 modelTemplates 和 models 数组
756
- */
757
- declare function getVersionSupportedTypes(version: ModelVersionConfig): ('text-to-video' | 'image-to-video')[];
758
- /**
759
- * 判断版本是否支持图生视频
760
- * 同时检查 models 数组和 modelTemplates
761
- */
762
- declare function versionSupportsImageToVideo(version: ModelVersionConfig): boolean;
763
- /**
764
- * 判断版本是否支持文生视频
765
- * 同时检查 models 数组和 modelTemplates
766
- */
767
- declare function versionSupportsTextToVideo(version: ModelVersionConfig): boolean;
768
- /**
769
- * 根据 modelVersion 获取版本配置(搜索所有 provider,含 WAN)
770
- */
771
- declare function getVersionConfig(modelVersion: string): ModelVersionConfig | undefined;
772
- /**
773
- * 根据是否有图片选择具体模型(对标 image-form 的 selectModel)
774
- * 支持模板配置和传统 models 配置
775
- * @param version - 版本配置
776
- * @param hasImages - 是否有图片上传
777
- * @param duration - 可选的 duration (如 '5s', '10s')
778
- * @param resolution - 可选的 resolution (如 '720p', '1080p')
779
- */
780
- declare function selectVideoModelByGenerationType(version: ModelVersionConfig | undefined, hasImages: boolean, duration?: string, resolution?: string, enableAudio?: boolean): VideoModel | null;
781
- /**
782
- * 计算版本的 UI 选项配置
783
- * 根据 hasImages 动态计算应该显示的选项
784
- * 支持模板配置和传统 models 配置
785
- */
786
- declare function computeUIOptionsForVersion(version: ModelVersionConfig | undefined, hasImages: boolean): {
787
- durationOptions: {
788
- name: string;
789
- value: string;
790
- }[];
791
- resolutionOptions: {
792
- name: string;
793
- value: string;
794
- }[];
795
- ratioOptions: RatioConfig[];
796
- supportsImageInput: boolean;
797
- supportsEndFrame: boolean;
798
- supportsAudio: boolean;
799
- supportsAudioUrl: boolean;
800
- supportsOptionalAudio: boolean;
801
- multiImageMaxImages: number;
802
- };
803
- /**
804
- * 获取所有支持图生视频的版本
805
- * 用于在用户上传图片后过滤模型列表
806
- */
807
- declare function getImageToVideoVersions(): ModelVersionConfig[];
808
- /**
809
- * 获取模型模板(根据 generationType)
810
- */
811
- declare function getModelTemplate(version: ModelVersionConfig, generationType: 'text-to-video' | 'image-to-video', enableAudio?: boolean): VideoModelTemplate | undefined;
812
- /**
813
- * 获取有效的 options(自动合并版本级 + 模板级)
814
- *
815
- * 合并规则:
816
- * 1. 版本级 options 作为基础
817
- * 2. 模板级 options 覆盖(如果存在)
818
- * 3. null 表示"不支持"(如图生视频的 ratio: null)
819
- */
820
- declare function getEffectiveOptions(version: ModelVersionConfig, generationType: 'text-to-video' | 'image-to-video', enableAudio?: boolean): ModelVersionOptions;
821
- /**
822
- * 获取 credit(从 creditMatrix 查找)
823
- *
824
- * @param version - 版本配置
825
- * @param params - 参数:generationType, duration, resolution(可选)
826
- * @returns credit 值,如果找不到返回 baseCredit
827
- *
828
- * creditMatrix 支持多种 key 格式:
829
- * - 'resolution-duration': 如 '720p-5s'(有 resolution 的模型)
830
- * - 'duration': 如 '5s'(无 resolution 的模型,如 Kling)
831
- * - 'default': 固定 credit(如 Veo)
832
- */
833
- declare function getTemplateCredit(version: ModelVersionConfig, params: {
834
- duration: string;
835
- resolution: string;
836
- enableAudio?: boolean;
837
- generationType?: 'text-to-video' | 'image-to-video';
838
- }): number;
839
- /**
840
- * 生成模型名称(根据模板)
841
- *
842
- * @param version - 版本配置
843
- * @param params - 参数:generationType, duration, resolution(可选)
844
- * @returns 模型名称,如 'wan-v2.5-text-to-video-720p-5s' 或 'kling-v2.1-std-5s'
845
- *
846
- * modelPattern 支持的占位符:
847
- * - {generationType}: 生成类型
848
- * - {duration}: 时长
849
- * - {resolution}: 分辨率(可选,无此占位符时不替换)
850
- */
851
- declare function getTemplateModelName(version: ModelVersionConfig, params: {
852
- generationType: 'text-to-video' | 'image-to-video';
853
- duration: string;
854
- resolution: string;
855
- enableAudio?: boolean;
856
- }): string | undefined;
857
- /**
858
- * 判断版本是否使用模板配置(新架构)
859
- */
860
- declare function versionUsesTemplates(version: ModelVersionConfig): boolean;
861
- /**
862
- * 判断模型版本是否支持音频控制
863
- * 通过检查同一版本下是否同时存在 audio 和 non-audio 两种模型来判断
864
- *
865
- * @param versionConfig - 模型版本配置
866
- * @returns true 表示音频可控(显示开关),false 表示音频不可控(显示提示或不支持音频)
867
- *
868
- * @example
869
- * // Seedance v1.5: 有 audio 和 non-audio 两种模型 -> 可控
870
- * isAudioControllable(SEEDANCE_V1_5_PRO_VERSION) // true
871
- *
872
- * // Veo 3.1: 所有模型都是 audio: true -> 不可控
873
- * isAudioControllable(VEO_3_1_VERSION) // false
874
- */
875
- declare function isAudioControllable(versionConfig: ModelVersionConfig | undefined): boolean;
876
- /**
877
- * 根据用户权限过滤所有 Provider 列表(含 WAN)
878
- * - 允许渠道:返回完整列表(含 WAN)
879
- * - 非允许渠道:过滤掉 RESTRICTED_PROVIDERS
880
- */
881
- declare function getFilteredProviders(isAllowed: boolean): ProviderConfig[];
882
- /**
883
- * 根据用户权限过滤可见 Provider 列表(含 WAN,排除 HEDRA/HIGGSFIELD)
884
- * - 允许渠道:返回完整列表(含 WAN)
885
- * - 非允许渠道:过滤掉 RESTRICTED_PROVIDERS
886
- */
887
- declare function getFilteredVisibleProviders(isAllowed: boolean): ProviderConfig[];
888
- //#endregion
889
- //#region src/flaq/video/adapter.d.ts
890
- type FlaqVideoAdapterOptions = Omit<VideoModel, 'credit' | 'model' | 'platformType'> & {
891
- readonly factOverride?: Partial<Pick<VideoModel, 'credit' | 'platformType'>>;
892
- };
893
- declare function adaptFlaqVideoModel(model: VideoModelFact, { factOverride, ...options }: FlaqVideoAdapterOptions): VideoModel;
894
- //#endregion
895
- //#region src/flaq/video/providers/seedance-2-0.d.ts
896
- declare const FLAQ_SEEDANCE_2_0_RATIO_LIST: FlaqVideoRatioOption[];
897
- declare const SEEDANCE_V2_0_FAST_CREDIT_MATRIX: Record<string, number>;
898
- declare const SEEDANCE_V2_0_STD_CREDIT_MATRIX: Record<string, number>;
899
- declare const SEEDANCE_V2_0_FAST_T2V_TEMPLATE: FlaqVideoModelTemplate;
900
- declare const SEEDANCE_V2_0_FAST_I2V_TEMPLATE: FlaqVideoModelTemplate;
901
- declare const SEEDANCE_V2_0_STD_T2V_TEMPLATE: FlaqVideoModelTemplate;
902
- declare const SEEDANCE_V2_0_STD_I2V_TEMPLATE: FlaqVideoModelTemplate;
903
- declare const SEEDANCE_V2_0_FAST_VERSION: FlaqVideoModelVersionConfig;
904
- declare const SEEDANCE_V2_0_VERSION: FlaqVideoModelVersionConfig;
905
- declare const SEEDANCE_2_0_PROVIDER: FlaqVideoProviderConfig;
906
- declare namespace index_d_exports {
907
- export { ALIBABA_ALL_MODELS, ALIBABA_PROVIDER, ALL_3D_MODELS, ALL_3D_PROVIDERS, ALL_IMAGE_MODELS, ALL_IMAGE_PROVIDERS, ALL_PROVIDERS, ALL_VIDEO_MODELS, COMMON_MOTIONS_IMAGE_MODELS, CreditMatrix, DurationOption, DynamicParameterConfig, FLAQ_GPT_IMAGE_2_QUALITY_LIST, FLAQ_GPT_IMAGE_2_RATIO_LIST, FLAQ_GPT_IMAGE_2_RESOLUTION_LIST, FLAQ_NANO_BANANA_PRO_RATIO_LIST, FLAQ_SEEDANCE_2_0_RATIO_LIST, FlaqDynamicParameterConfig, FlaqGptImage2Adaptation, FlaqImageAdapterOptions, FlaqImageGenerationType, FlaqImageInputConfig, FlaqImageModel, FlaqImageModelOptions, FlaqImageModelVersionConfig, FlaqImageProviderConfig, FlaqImageRatioOption, FlaqImageResolutionOption, FlaqImageSupportedType, FlaqImageVersionOptions, FlaqThreeDGenerationType, FlaqThreeDModel, FlaqThreeDModelOptions, FlaqThreeDModelVersionConfig, FlaqThreeDProviderConfig, FlaqVideoAdapterOptions, FlaqVideoFrameConfig, FlaqVideoModel, FlaqVideoModelOptions, FlaqVideoModelTemplate, FlaqVideoModelVersionConfig, FlaqVideoProviderConfig, FlaqVideoRatioOption, FlaqVideoVersionOptions, FrameConfig, GEMINI_25_FLASH_IMAGE_EDIT_MODEL, GEMINI_25_FLASH_IMAGE_MODEL, GEMINI_3_PRO_IMAGE_PREVIEW_EDIT_MODEL, GEMINI_3_PRO_IMAGE_PREVIEW_MODEL, GEMINI_ALL_MODELS, GEMINI_PROVIDER, GEMINI_RATIO_LIST, GPT_IMAGE_2_ALL_MODELS, GPT_IMAGE_2_HIGH, GPT_IMAGE_2_HIGH_EDIT, GPT_IMAGE_2_LOW, GPT_IMAGE_2_LOW_EDIT, GPT_IMAGE_2_MEDIUM, GPT_IMAGE_2_MEDIUM_EDIT, GPT_IMAGE_2_VERSION, GPT_PROVIDER, GenerationTypeSpecificOptions, HAILUO_ALL_MODELS, HAILUO_PROVIDER, HAPPY_HORSE_1_0_VERSIONS, HEDRA_ALL_MODELS, HEDRA_PROVIDER, HIDREAM_ALL_MODELS, HIDREAM_PROVIDER, HIDREAM_RATIO_LIST, HIGGSFIELD_ALL_MODELS, HIGGSFIELD_PROVIDER, INFINITETALK_ALL_MODELS, INFINITETALK_PROVIDER, ImageFormConfig, ImageGenerationType, ImageModel, ImageModelOptions, ImageModelVersionConfig, ImageProviderConfig, KLING_ALL_MODELS, KLING_PROVIDER, ModelOptions, ModelTypeOption, ModelVersionConfig, ModelVersionOptions, MultiImageConfig, NANO_BANANA_ALL_MODELS, NANO_BANANA_IMAGE_EDIT_MODEL, NANO_BANANA_IMAGE_MODEL, NANO_BANANA_PROVIDER, NANO_BANANA_PRO_EDIT_MODEL, NANO_BANANA_PRO_MODEL, ProviderConfig, QWEN_ALL_MODELS, QWEN_IMAGE_2_0_EDIT_MODEL, QWEN_IMAGE_2_0_MODEL, QWEN_IMAGE_EDIT_MODEL, QWEN_IMAGE_MODEL, QWEN_PROVIDER, RATIO_16_9, RATIO_1_1, RATIO_21_9, RATIO_3_4, RATIO_4_3, RATIO_9_16, RATIO_9_21, RATIO_LIST_1, RATIO_LIST_2, RATIO_LIST_SEEDANCE, RATIO_LIST_SEEDANCE_V1_5, RATIO_LIST_VIDU_Q3, RATIO_LIST_WAN_V2_6, RESOLUTION_1K, RESOLUTION_2K, RESOLUTION_4K, RESOLUTION_LIST_NANO_BANANA_2, RESOLUTION_LIST_NANO_BANANA_PRO, RESOLUTION_LIST_SEEDREAM_V4, RESOLUTION_LIST_SEEDREAM_V4_5, RatioConfig, RatioOption, ResolutionOption, SEEDANCE_2_0_PROVIDER, SEEDANCE_ALL_MODELS, SEEDANCE_PROVIDER, SEEDANCE_V2_0_FAST_CREDIT_MATRIX, SEEDANCE_V2_0_FAST_I2V_TEMPLATE, SEEDANCE_V2_0_FAST_T2V_TEMPLATE, SEEDANCE_V2_0_FAST_VERSION, SEEDANCE_V2_0_STD_CREDIT_MATRIX, SEEDANCE_V2_0_STD_I2V_TEMPLATE, SEEDANCE_V2_0_STD_T2V_TEMPLATE, SEEDANCE_V2_0_VERSION, SEEDREAM_ALL_MODELS, SEEDREAM_PROVIDER, SEEDREAM_RATIO_LIST$1 as SEEDREAM_RATIO_LIST, TRIPO_ALL_MODELS, TRIPO_H3_1_IMAGE_TO_3D, TRIPO_H3_1_MULTIVIEW_TO_3D, TRIPO_H3_1_TEXT_TO_3D, TRIPO_H3_1_VERSION, TRIPO_PROVIDER, TRIPO_V2_5_IMAGE_TO_3D, TRIPO_V2_5_VERSION, ThreeDGenerationType, ThreeDModel, ThreeDModelVersionConfig, ThreeDProviderConfig, VEO_3_VERSIONS, VEO_ALL_MODELS, VEO_PROVIDER, VIDU_ALL_MODELS, VIDU_PROVIDER, VISIBLE_VIDEO_PROVIDERS, VideoFormConfig, VideoGenerationType, VideoModel, VideoModelTemplate, VideoResolutionOption, adaptFlaqGptImage2Model, adaptFlaqImageModel, adaptFlaqThreeDModel, adaptFlaqVideoModel, computeUIOptionsForVersion, get3DModelVersionName, get3DProviderByModelVersion, get3DVersionConfig, getEffectiveOptions, getFilteredProviders, getFilteredVisibleProviders, getImageModelVersionName, getImageToVideoVersions, getModelTemplate, getTemplateCredit, getTemplateModelName, getVersionConfig, getVersionSupportedTypes, getVideoModelVersionName, getVideoProviderByModelVersion, isAudioControllable, resolveFlaqGptImage2Model, select3DModelByGenerationType, selectVideoModelByGenerationType, sortImageModelVersionsByPriority, versionSupportsImageToVideo, versionSupportsTextToVideo, versionUsesTemplates };
908
- }
909
- //#endregion
910
- export { SEEDANCE_PROVIDER as $, FlaqImageProviderConfig as $n, FLAQ_GPT_IMAGE_2_RESOLUTION_LIST as $t, selectVideoModelByGenerationType as A, RESOLUTION_LIST_NANO_BANANA_PRO as An, FlaqVideoModel as At, VEO_3_VERSIONS as B, ImageModel as Bn, ALL_IMAGE_PROVIDERS as Bt, getTemplateCredit as C, NANO_BANANA_PRO_MODEL as Cn, FlaqThreeDProviderConfig as Cr, RatioConfig as Ct, getVideoModelVersionName as D, RESOLUTION_2K as Dn, ThreeDProviderConfig as Dr, VideoModelTemplate as Dt, getVersionSupportedTypes as E, RESOLUTION_1K as En, ThreeDModelVersionConfig as Er, VideoModel as Et, INFINITETALK_PROVIDER as F, HIDREAM_RATIO_LIST as Fn, FlaqVideoRatioOption as Ft, ALIBABA_ALL_MODELS as G, ResolutionOption as Gn, QWEN_ALL_MODELS as Gt, VEO_PROVIDER as H, ImageModelVersionConfig as Hn, NANO_BANANA_ALL_MODELS as Ht, HIGGSFIELD_ALL_MODELS as I, SEEDREAM_RATIO_LIST$1 as In, FlaqVideoVersionOptions as It, HAILUO_ALL_MODELS as J, FlaqImageGenerationType as Jn, QWEN_IMAGE_EDIT_MODEL as Jt, ALIBABA_PROVIDER as K, FlaqDynamicParameterConfig as Kn, QWEN_IMAGE_2_0_EDIT_MODEL as Kt, HIGGSFIELD_PROVIDER as L, DynamicParameterConfig as Ln, FlaqImageAdapterOptions as Lt, versionSupportsTextToVideo as M, RESOLUTION_LIST_SEEDREAM_V4_5 as Mn, FlaqVideoModelTemplate as Mt, versionUsesTemplates as N, FLAQ_NANO_BANANA_PRO_RATIO_LIST as Nn, FlaqVideoModelVersionConfig as Nt, getVideoProviderByModelVersion as O, RESOLUTION_4K as On, VideoResolutionOption as Ot, INFINITETALK_ALL_MODELS as P, GEMINI_RATIO_LIST as Pn, FlaqVideoProviderConfig as Pt, SEEDANCE_ALL_MODELS as Q, FlaqImageModelVersionConfig as Qn, FLAQ_GPT_IMAGE_2_RATIO_LIST as Qt, VIDU_ALL_MODELS as R, ImageFormConfig as Rn, adaptFlaqImageModel as Rt, getModelTemplate as S, NANO_BANANA_PRO_EDIT_MODEL as Sn, FlaqThreeDModelVersionConfig as Sr, ProviderConfig as St, getVersionConfig as T, SEEDREAM_PROVIDER as Tn, ThreeDModel as Tr, VideoGenerationType as Tt, HEDRA_ALL_MODELS as U, ImageProviderConfig as Un, getImageModelVersionName as Ut, VEO_ALL_MODELS as V, ImageModelOptions as Vn, COMMON_MOTIONS_IMAGE_MODELS as Vt, HEDRA_PROVIDER as W, RatioOption as Wn, sortImageModelVersionsByPriority as Wt, KLING_ALL_MODELS as X, FlaqImageModel as Xn, QWEN_PROVIDER as Xt, HAILUO_PROVIDER as Y, FlaqImageInputConfig as Yn, QWEN_IMAGE_MODEL as Yt, KLING_PROVIDER as Z, FlaqImageModelOptions as Zn, FLAQ_GPT_IMAGE_2_QUALITY_LIST as Zt, computeUIOptionsForVersion as _, GEMINI_ALL_MODELS as _n, select3DModelByGenerationType as _r, ModelOptions as _t, SEEDANCE_V2_0_FAST_I2V_TEMPLATE as a, GPT_IMAGE_2_MEDIUM as an, ALL_3D_PROVIDERS as ar, RATIO_9_16 as at, getFilteredVisibleProviders as b, NANO_BANANA_IMAGE_MODEL as bn, FlaqThreeDModel as br, ModelVersionOptions as bt, SEEDANCE_V2_0_STD_CREDIT_MATRIX as c, GPT_PROVIDER as cn, TRIPO_H3_1_MULTIVIEW_TO_3D as cr, RATIO_LIST_2 as ct, SEEDANCE_V2_0_VERSION as d, HIDREAM_ALL_MODELS as dn, TRIPO_PROVIDER as dr, RATIO_LIST_VIDU_Q3 as dt, GPT_IMAGE_2_ALL_MODELS as en, FlaqImageRatioOption as er, RATIO_16_9 as et, FlaqVideoAdapterOptions as f, HIDREAM_PROVIDER as fn, TRIPO_V2_5_IMAGE_TO_3D as fr, RATIO_LIST_WAN_V2_6 as ft, VISIBLE_VIDEO_PROVIDERS as g, GEMINI_3_PRO_IMAGE_PREVIEW_MODEL as gn, get3DVersionConfig as gr, GenerationTypeSpecificOptions as gt, ALL_VIDEO_MODELS as h, GEMINI_3_PRO_IMAGE_PREVIEW_EDIT_MODEL as hn, get3DProviderByModelVersion as hr, FrameConfig as ht, SEEDANCE_V2_0_FAST_CREDIT_MATRIX as i, GPT_IMAGE_2_LOW_EDIT as in, ALL_3D_MODELS as ir, RATIO_4_3 as it, versionSupportsImageToVideo as j, RESOLUTION_LIST_SEEDREAM_V4 as jn, FlaqVideoModelOptions as jt, isAudioControllable as k, RESOLUTION_LIST_NANO_BANANA_2 as kn, FlaqVideoFrameConfig as kt, SEEDANCE_V2_0_STD_I2V_TEMPLATE as l, adaptFlaqGptImage2Model as ln, TRIPO_H3_1_TEXT_TO_3D as lr, RATIO_LIST_SEEDANCE as lt, ALL_PROVIDERS as m, GEMINI_25_FLASH_IMAGE_MODEL as mn, get3DModelVersionName as mr, DurationOption as mt, FLAQ_SEEDANCE_2_0_RATIO_LIST as n, GPT_IMAGE_2_HIGH_EDIT as nn, FlaqImageSupportedType as nr, RATIO_21_9 as nt, SEEDANCE_V2_0_FAST_T2V_TEMPLATE as o, GPT_IMAGE_2_MEDIUM_EDIT as on, TRIPO_ALL_MODELS as or, RATIO_9_21 as ot, adaptFlaqVideoModel as p, GEMINI_25_FLASH_IMAGE_EDIT_MODEL as pn, TRIPO_V2_5_VERSION as pr, CreditMatrix as pt, HAPPY_HORSE_1_0_VERSIONS as q, FlaqGptImage2Adaptation as qn, QWEN_IMAGE_2_0_MODEL as qt, SEEDANCE_2_0_PROVIDER as r, GPT_IMAGE_2_LOW as rn, FlaqImageVersionOptions as rr, RATIO_3_4 as rt, SEEDANCE_V2_0_FAST_VERSION as s, GPT_IMAGE_2_VERSION as sn, TRIPO_H3_1_IMAGE_TO_3D as sr, RATIO_LIST_1 as st, index_d_exports as t, GPT_IMAGE_2_HIGH as tn, FlaqImageResolutionOption as tr, RATIO_1_1 as tt, SEEDANCE_V2_0_STD_T2V_TEMPLATE as u, resolveFlaqGptImage2Model as un, TRIPO_H3_1_VERSION as ur, RATIO_LIST_SEEDANCE_V1_5 as ut, getEffectiveOptions as v, GEMINI_PROVIDER as vn, adaptFlaqThreeDModel as vr, ModelTypeOption as vt, getTemplateModelName as w, SEEDREAM_ALL_MODELS as wn, ThreeDGenerationType as wr, VideoFormConfig as wt, getImageToVideoVersions as x, NANO_BANANA_PROVIDER as xn, FlaqThreeDModelOptions as xr, MultiImageConfig as xt, getFilteredProviders as y, NANO_BANANA_IMAGE_EDIT_MODEL as yn, FlaqThreeDGenerationType as yr, ModelVersionConfig as yt, VIDU_PROVIDER as z, ImageGenerationType as zn, ALL_IMAGE_MODELS as zt };