@nodaro/shared 3.70.0 → 3.72.0

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 (207) hide show
  1. package/dist/{chunk-M7LU4NTI.cjs → chunk-26GM45QE.cjs} +18 -2
  2. package/dist/chunk-26GM45QE.cjs.map +1 -0
  3. package/dist/{chunk-PWIKUOLB.cjs → chunk-32QY5AIY.cjs} +8 -8
  4. package/dist/{chunk-PWIKUOLB.cjs.map → chunk-32QY5AIY.cjs.map} +1 -1
  5. package/dist/{chunk-4U7QAUV3.cjs → chunk-4BCODXK6.cjs} +61 -61
  6. package/dist/{chunk-4U7QAUV3.cjs.map → chunk-4BCODXK6.cjs.map} +1 -1
  7. package/dist/{chunk-DOY47F7S.cjs → chunk-5WXVPPRH.cjs} +7 -7
  8. package/dist/{chunk-DOY47F7S.cjs.map → chunk-5WXVPPRH.cjs.map} +1 -1
  9. package/dist/{chunk-NS34PZ2S.js → chunk-7DMK7B3Q.js} +3 -3
  10. package/dist/{chunk-NS34PZ2S.js.map → chunk-7DMK7B3Q.js.map} +1 -1
  11. package/dist/{chunk-5DRSENY3.cjs → chunk-AIPOZKQV.cjs} +14 -12
  12. package/dist/{chunk-PKWRAMVB.js.map → chunk-AIPOZKQV.cjs.map} +1 -1
  13. package/dist/{chunk-HWBLZSM3.cjs → chunk-AXDTMRWR.cjs} +51 -28
  14. package/dist/chunk-AXDTMRWR.cjs.map +1 -0
  15. package/dist/{chunk-OW5AXH2Y.js → chunk-CL7ECTK2.js} +5 -4
  16. package/dist/chunk-CL7ECTK2.js.map +1 -0
  17. package/dist/{chunk-KKFFQUMM.js → chunk-D5NRBVUH.js} +5 -5
  18. package/dist/chunk-D5NRBVUH.js.map +1 -0
  19. package/dist/{chunk-52JNQG4K.js → chunk-D7DCDIMU.js} +3 -3
  20. package/dist/{chunk-52JNQG4K.js.map → chunk-D7DCDIMU.js.map} +1 -1
  21. package/dist/{chunk-HW6TLOK4.cjs → chunk-DRPHRE4J.cjs} +2 -2
  22. package/dist/{chunk-HW6TLOK4.cjs.map → chunk-DRPHRE4J.cjs.map} +1 -1
  23. package/dist/{chunk-PKWRAMVB.js → chunk-EI4V43DI.js} +7 -5
  24. package/dist/chunk-EI4V43DI.js.map +1 -0
  25. package/dist/{chunk-EWNDK4FV.js → chunk-EOYQD6DU.js} +3 -3
  26. package/dist/{chunk-EWNDK4FV.js.map → chunk-EOYQD6DU.js.map} +1 -1
  27. package/dist/{chunk-HA2PVTER.js → chunk-GCOS7CFL.js} +4 -4
  28. package/dist/{chunk-HA2PVTER.js.map → chunk-GCOS7CFL.js.map} +1 -1
  29. package/dist/{chunk-XBHDXURR.cjs → chunk-HJGL2UNQ.cjs} +78 -78
  30. package/dist/chunk-HJGL2UNQ.cjs.map +1 -0
  31. package/dist/{chunk-HBRDKHIW.cjs → chunk-HOQ4TLDW.cjs} +21 -21
  32. package/dist/{chunk-HBRDKHIW.cjs.map → chunk-HOQ4TLDW.cjs.map} +1 -1
  33. package/dist/{chunk-POZBRZUM.cjs → chunk-I2GFLOLD.cjs} +41 -41
  34. package/dist/{chunk-POZBRZUM.cjs.map → chunk-I2GFLOLD.cjs.map} +1 -1
  35. package/dist/{chunk-LTBM2KMY.js → chunk-INJP7EFI.js} +235 -9
  36. package/dist/chunk-INJP7EFI.js.map +1 -0
  37. package/dist/{chunk-BLGZW3UF.cjs → chunk-JUCWBIEE.cjs} +291 -20
  38. package/dist/chunk-JUCWBIEE.cjs.map +1 -0
  39. package/dist/{chunk-JEUZNHLL.cjs → chunk-L2WHTUBA.cjs} +40 -34
  40. package/dist/chunk-L2WHTUBA.cjs.map +1 -0
  41. package/dist/{chunk-V6TC2NDG.js → chunk-LMBHF5TZ.js} +4 -4
  42. package/dist/{chunk-V6TC2NDG.js.map → chunk-LMBHF5TZ.js.map} +1 -1
  43. package/dist/{chunk-QCVQVKCI.js → chunk-LP5KZZAF.js} +3 -3
  44. package/dist/{chunk-QCVQVKCI.js.map → chunk-LP5KZZAF.js.map} +1 -1
  45. package/dist/{chunk-42ICEVUN.js → chunk-M4MXK7RJ.js} +3 -3
  46. package/dist/{chunk-42ICEVUN.js.map → chunk-M4MXK7RJ.js.map} +1 -1
  47. package/dist/{chunk-BIQ7COJP.js → chunk-MR4KSZY3.js} +5 -5
  48. package/dist/{chunk-BIQ7COJP.js.map → chunk-MR4KSZY3.js.map} +1 -1
  49. package/dist/{chunk-OZHE77T3.cjs → chunk-NEBO32KZ.cjs} +9 -9
  50. package/dist/{chunk-OZHE77T3.cjs.map → chunk-NEBO32KZ.cjs.map} +1 -1
  51. package/dist/{chunk-MZ772ZXA.cjs → chunk-NSKH5ULV.cjs} +17 -17
  52. package/dist/{chunk-MZ772ZXA.cjs.map → chunk-NSKH5ULV.cjs.map} +1 -1
  53. package/dist/{chunk-QV32JI4L.cjs → chunk-OALWH5VV.cjs} +4 -4
  54. package/dist/{chunk-QV32JI4L.cjs.map → chunk-OALWH5VV.cjs.map} +1 -1
  55. package/dist/{chunk-IKN54UGB.js → chunk-OWNGS4DF.js} +3 -3
  56. package/dist/{chunk-IKN54UGB.js.map → chunk-OWNGS4DF.js.map} +1 -1
  57. package/dist/{chunk-FWPGRC4X.cjs → chunk-QFW25UCC.cjs} +5 -5
  58. package/dist/{chunk-FWPGRC4X.cjs.map → chunk-QFW25UCC.cjs.map} +1 -1
  59. package/dist/{chunk-FMQ43SJP.cjs → chunk-QVRAPR4D.cjs} +6 -6
  60. package/dist/{chunk-FMQ43SJP.cjs.map → chunk-QVRAPR4D.cjs.map} +1 -1
  61. package/dist/{chunk-PYYYBINP.cjs → chunk-RMDTBXYT.cjs} +6 -6
  62. package/dist/{chunk-PYYYBINP.cjs.map → chunk-RMDTBXYT.cjs.map} +1 -1
  63. package/dist/{chunk-O53P2D4V.js → chunk-SXDLBXSB.js} +9 -5
  64. package/dist/chunk-SXDLBXSB.js.map +1 -0
  65. package/dist/{chunk-YLDY23N2.js → chunk-U7PHAD2O.js} +5 -5
  66. package/dist/{chunk-YLDY23N2.js.map → chunk-U7PHAD2O.js.map} +1 -1
  67. package/dist/{chunk-TADEEG5E.js → chunk-UC3CMPDN.js} +18 -3
  68. package/dist/chunk-UC3CMPDN.js.map +1 -0
  69. package/dist/{chunk-QCZYYAPZ.cjs → chunk-UMUSJHH2.cjs} +48 -48
  70. package/dist/{chunk-QCZYYAPZ.cjs.map → chunk-UMUSJHH2.cjs.map} +1 -1
  71. package/dist/{chunk-H2E4QXEZ.js → chunk-VVLW63HD.js} +3 -3
  72. package/dist/{chunk-H2E4QXEZ.js.map → chunk-VVLW63HD.js.map} +1 -1
  73. package/dist/{chunk-HP3YIWNJ.js → chunk-WARGPM7P.js} +2 -2
  74. package/dist/{chunk-HP3YIWNJ.js.map → chunk-WARGPM7P.js.map} +1 -1
  75. package/dist/{chunk-QVAUBB2T.js → chunk-WXJMPWYR.js} +9 -9
  76. package/dist/{chunk-QVAUBB2T.js.map → chunk-WXJMPWYR.js.map} +1 -1
  77. package/dist/{chunk-R22UHRR6.js → chunk-X7UDZGXW.js} +51 -28
  78. package/dist/chunk-X7UDZGXW.js.map +1 -0
  79. package/dist/{chunk-2VOXSVIE.js → chunk-XEMEUKXK.js} +3 -3
  80. package/dist/{chunk-2VOXSVIE.js.map → chunk-XEMEUKXK.js.map} +1 -1
  81. package/dist/{chunk-GC77W57T.cjs → chunk-YHDTBO45.cjs} +9 -9
  82. package/dist/{chunk-GC77W57T.cjs.map → chunk-YHDTBO45.cjs.map} +1 -1
  83. package/dist/{chunk-WHV7MDNC.cjs → chunk-ZJQ2L3MI.cjs} +5 -3
  84. package/dist/chunk-ZJQ2L3MI.cjs.map +1 -0
  85. package/dist/entries/apps.cjs +42 -42
  86. package/dist/entries/apps.js +7 -7
  87. package/dist/entries/credits.cjs +418 -238
  88. package/dist/entries/credits.d.cts +263 -2
  89. package/dist/entries/credits.d.ts +263 -2
  90. package/dist/entries/credits.js +9 -9
  91. package/dist/entries/edl.cjs +60 -60
  92. package/dist/entries/edl.d.cts +96 -1
  93. package/dist/entries/edl.d.ts +96 -1
  94. package/dist/entries/edl.js +1 -1
  95. package/dist/entries/i18n.cjs +15 -11
  96. package/dist/entries/i18n.d.cts +19 -1
  97. package/dist/entries/i18n.d.ts +19 -1
  98. package/dist/entries/i18n.js +1 -1
  99. package/dist/entries/llm-models.d.cts +1 -1
  100. package/dist/entries/llm-models.d.ts +1 -1
  101. package/dist/entries/model-catalog.cjs +133 -133
  102. package/dist/entries/model-catalog.js +4 -4
  103. package/dist/entries/models.cjs +412 -404
  104. package/dist/entries/models.d.cts +2 -2
  105. package/dist/entries/models.d.ts +2 -2
  106. package/dist/entries/models.js +5 -5
  107. package/dist/entries/nodes.cjs +212 -212
  108. package/dist/entries/nodes.js +8 -8
  109. package/dist/entries/pipeline.cjs +153 -153
  110. package/dist/entries/pipeline.d.cts +1 -1
  111. package/dist/entries/pipeline.d.ts +1 -1
  112. package/dist/entries/pipeline.js +3 -3
  113. package/dist/entries/social.cjs +195 -191
  114. package/dist/entries/social.d.cts +9 -3
  115. package/dist/entries/social.d.ts +9 -3
  116. package/dist/entries/social.js +1 -1
  117. package/dist/entries/ugc.cjs +71 -71
  118. package/dist/entries/ugc.js +4 -4
  119. package/dist/entries/video.cjs +152 -152
  120. package/dist/entries/video.js +6 -6
  121. package/dist/index.cjs +1835 -1639
  122. package/dist/index.d.cts +5 -5
  123. package/dist/index.d.ts +5 -5
  124. package/dist/index.js +21 -21
  125. package/dist/{model-constants-CQr_d3Kw.d.cts → model-constants-C4RL9Xtn.d.cts} +20 -4
  126. package/dist/{model-constants-B5DNHIP8.d.ts → model-constants-kRg3YCIJ.d.ts} +20 -4
  127. package/dist/style.ar-4WUT56YH.js +63 -0
  128. package/dist/style.ar-4WUT56YH.js.map +1 -0
  129. package/dist/style.ar-ZRS6ZSSS.cjs +65 -0
  130. package/dist/style.ar-ZRS6ZSSS.cjs.map +1 -0
  131. package/dist/style.de-6543OVTB.cjs +65 -0
  132. package/dist/style.de-6543OVTB.cjs.map +1 -0
  133. package/dist/style.de-HQS4NOVN.js +63 -0
  134. package/dist/style.de-HQS4NOVN.js.map +1 -0
  135. package/dist/style.es-ADFPO6LM.cjs +65 -0
  136. package/dist/style.es-ADFPO6LM.cjs.map +1 -0
  137. package/dist/style.es-O4N36TIJ.js +63 -0
  138. package/dist/style.es-O4N36TIJ.js.map +1 -0
  139. package/dist/style.fr-A3ZO6BP3.cjs +65 -0
  140. package/dist/style.fr-A3ZO6BP3.cjs.map +1 -0
  141. package/dist/style.fr-XKYO3NOK.js +63 -0
  142. package/dist/style.fr-XKYO3NOK.js.map +1 -0
  143. package/dist/style.he-DI4PXGJG.cjs +65 -0
  144. package/dist/style.he-DI4PXGJG.cjs.map +1 -0
  145. package/dist/style.he-L4SD3G7D.js +63 -0
  146. package/dist/style.he-L4SD3G7D.js.map +1 -0
  147. package/dist/style.hi-K625E6UR.js +63 -0
  148. package/dist/style.hi-K625E6UR.js.map +1 -0
  149. package/dist/style.hi-LMDM6S3Q.cjs +65 -0
  150. package/dist/style.hi-LMDM6S3Q.cjs.map +1 -0
  151. package/dist/style.ja-3YGEMQKQ.js +63 -0
  152. package/dist/style.ja-3YGEMQKQ.js.map +1 -0
  153. package/dist/style.ja-QV4Z4B3Y.cjs +65 -0
  154. package/dist/style.ja-QV4Z4B3Y.cjs.map +1 -0
  155. package/dist/style.ko-KIKAE2WS.js +63 -0
  156. package/dist/style.ko-KIKAE2WS.js.map +1 -0
  157. package/dist/style.ko-WXYT3ZAL.cjs +65 -0
  158. package/dist/style.ko-WXYT3ZAL.cjs.map +1 -0
  159. package/dist/style.pt-BR-R6WOR67L.js +64 -0
  160. package/dist/style.pt-BR-R6WOR67L.js.map +1 -0
  161. package/dist/style.pt-BR-WWGO7RUX.cjs +66 -0
  162. package/dist/style.pt-BR-WWGO7RUX.cjs.map +1 -0
  163. package/dist/style.ru-UVLIITMR.js +63 -0
  164. package/dist/style.ru-UVLIITMR.js.map +1 -0
  165. package/dist/style.ru-ZCB4IUCW.cjs +65 -0
  166. package/dist/style.ru-ZCB4IUCW.cjs.map +1 -0
  167. package/dist/style.zh-CN-IFAAZ475.cjs +65 -0
  168. package/dist/style.zh-CN-IFAAZ475.cjs.map +1 -0
  169. package/dist/style.zh-CN-RQEZCV44.js +63 -0
  170. package/dist/style.zh-CN-RQEZCV44.js.map +1 -0
  171. package/package.json +1 -1
  172. package/src/__tests__/audio-isolation-pricing.test.ts +49 -0
  173. package/src/__tests__/competitors.test.ts +6 -1
  174. package/src/__tests__/credit-identifiers.test.ts +9 -10
  175. package/src/__tests__/motion-transfer-pricing.test.ts +252 -0
  176. package/src/__tests__/normalize-node-params.test.ts +9 -2
  177. package/src/__tests__/style-sidecar-loaders.test.ts +29 -0
  178. package/src/__tests__/video-catalog-totality.test.ts +37 -5
  179. package/src/__tests__/video-to-video-pricing.test.ts +151 -0
  180. package/src/audio-isolation-pricing.ts +80 -0
  181. package/src/competitors.ts +8 -2
  182. package/src/credit-identifiers.ts +6 -0
  183. package/src/entries/credits.ts +54 -0
  184. package/src/entries/edl.ts +2 -0
  185. package/src/entries/i18n.ts +1 -0
  186. package/src/entries/models.ts +2 -0
  187. package/src/entries/social.ts +1 -0
  188. package/src/i18n/style-sidecar-loaders.ts +30 -0
  189. package/src/model-catalog.ts +49 -23
  190. package/src/model-constants.ts +24 -4
  191. package/src/motion-transfer-pricing.ts +239 -0
  192. package/src/producer-types.ts +2 -0
  193. package/src/use-case-output.ts +102 -0
  194. package/src/video-to-video-pricing.ts +248 -0
  195. package/dist/chunk-5DRSENY3.cjs.map +0 -1
  196. package/dist/chunk-BLGZW3UF.cjs.map +0 -1
  197. package/dist/chunk-HWBLZSM3.cjs.map +0 -1
  198. package/dist/chunk-JEUZNHLL.cjs.map +0 -1
  199. package/dist/chunk-KKFFQUMM.js.map +0 -1
  200. package/dist/chunk-LTBM2KMY.js.map +0 -1
  201. package/dist/chunk-M7LU4NTI.cjs.map +0 -1
  202. package/dist/chunk-O53P2D4V.js.map +0 -1
  203. package/dist/chunk-OW5AXH2Y.js.map +0 -1
  204. package/dist/chunk-R22UHRR6.js.map +0 -1
  205. package/dist/chunk-TADEEG5E.js.map +0 -1
  206. package/dist/chunk-WHV7MDNC.cjs.map +0 -1
  207. package/dist/chunk-XBHDXURR.cjs.map +0 -1
@@ -2721,15 +2721,19 @@ var VIDEO_MODELS = {
2721
2721
  "wan": {
2722
2722
  id: "wan",
2723
2723
  kind: "video",
2724
- // "wan" id covers v2v AND t2v under different KIE endpoints; the
2725
- // pricing variants tag which mode each cost belongs to.
2726
- modes: ["v2v", "t2v"],
2724
+ // "wan" id covers text-to-video AND the Video to Video route under
2725
+ // different KIE endpoints; the pricing variants tag which each cost
2726
+ // belongs to. No "v2v" mode on purpose: that mode lists the models that
2727
+ // EDIT a clip, and this one makes a new clip featuring the input video's
2728
+ // subject. It stays a Video to Video provider (VIDEO_TO_VIDEO_PROVIDERS)
2729
+ // and is picked there by its id.
2730
+ modes: ["t2v"],
2727
2731
  family: "Alibaba",
2728
2732
  maker: "alibaba",
2729
2733
  label: "Wan 2.6",
2730
2734
  series: "Wan",
2731
- description: "Wan 2.6 \u2014 text-to-video and video-to-video under a single id.",
2732
- useCases: ["v2v", "t2v", "restyle"],
2735
+ description: "Wan 2.6 \u2014 text-to-video and video-to-video under a single id. Its video-to-video makes a new clip featuring the subject of the input video, in the scene the prompt describes; it does not edit or restyle the clip.",
2736
+ useCases: ["v2v", "t2v", "reference"],
2733
2737
  durations: [5],
2734
2738
  defaultDuration: 5,
2735
2739
  resolutions: ["720p", "1080p"],
@@ -2741,12 +2745,15 @@ var VIDEO_MODELS = {
2741
2745
  "wan-flash": {
2742
2746
  id: "wan-flash",
2743
2747
  kind: "video",
2744
- modes: ["v2v"],
2748
+ // No mode on purpose: "v2v" lists the models that EDIT a clip, and this
2749
+ // one makes a new clip featuring the input video's subject. It runs only
2750
+ // on the Video to Video route (VIDEO_TO_VIDEO_PROVIDERS), picked by its id.
2751
+ modes: [],
2745
2752
  family: "Alibaba",
2746
2753
  maker: "alibaba",
2747
- label: "Wan Flash V2V",
2754
+ label: "Wan 2.6 Flash",
2748
2755
  series: "Wan",
2749
- description: "Faster Wan V2V variant.",
2756
+ description: "Faster Wan 2.6 video-to-video: a new clip featuring the subject of the input video, in the scene the prompt describes (not an edit or restyle of the clip); optional audio and multi-shot.",
2750
2757
  useCases: ["v2v", "fast"],
2751
2758
  pricing: [{ identifier: "wan-flash", credits: 100 }]
2752
2759
  },
@@ -2758,10 +2765,13 @@ var VIDEO_MODELS = {
2758
2765
  maker: "alibaba",
2759
2766
  label: "Wan 2.7 VideoEdit",
2760
2767
  series: "Wan",
2761
- description: "Guided video editing with optional reference image, audio control, and prompt expansion.",
2768
+ description: "Guided video editing of a 2-10s clip with optional reference image, audio control, and prompt expansion; priced per second of the clip it delivers, never below the listed price.",
2762
2769
  useCases: ["v2v", "restyle", "reference"],
2763
2770
  resolutions: ["720p", "1080p"],
2764
- pricing: [{ identifier: "wan-videoedit", credits: 320 }]
2771
+ pricing: [
2772
+ { identifier: "wan-videoedit", credits: 320, note: "the least a run costs" },
2773
+ { identifier: "wan-videoedit:1080p:per-4s", credits: 240, note: "per 4 seconds of the clip it delivers (720p at this row too); charged per whole second, never below the flat row" }
2774
+ ]
2765
2775
  },
2766
2776
  // ── Wan 2.7 ──
2767
2777
  "wan-2.7": {
@@ -2982,11 +2992,13 @@ var VIDEO_MODELS = {
2982
2992
  maker: "alibaba",
2983
2993
  label: "HappyHorse Edit",
2984
2994
  series: "HappyHorse",
2985
- description: "HappyHorse video-edit \u2014 video-to-video transformation, up to 60s input, 720p/1080p output.",
2995
+ description: "HappyHorse video-edit \u2014 video-to-video transformation of a 3-60s clip, 720p/1080p output; priced per started half-second of the clip, above the listed flat price.",
2986
2996
  useCases: ["v2v", "restyle"],
2987
2997
  resolutions: ["720p", "1080p"],
2988
2998
  pricing: [
2989
- { identifier: "happyhorse-edit", credits: 350, note: "720p default (5s-equivalent flat rate)" }
2999
+ { identifier: "happyhorse-edit", credits: 350, note: "flat row of runs priced before per-clip-second pricing" },
3000
+ { identifier: "happyhorse-edit:720p:per-4s", credits: 560, note: "720p (default): per 4 seconds of the clip; charged per started half-second" },
3001
+ { identifier: "happyhorse-edit:1080p:per-4s", credits: 960, note: "1080p: per 4 seconds of the clip; charged per started half-second" }
2990
3002
  ]
2991
3003
  },
2992
3004
  // ── Vidu (ShengShu Technology) ──
@@ -3485,7 +3497,9 @@ var VIDEO_MODELS = {
3485
3497
  { identifier: "motion-transfer:10s", credits: 150 },
3486
3498
  { identifier: "motion-transfer:15s", credits: 230 },
3487
3499
  { identifier: "motion-transfer:30s", credits: 450 },
3488
- { identifier: "motion-transfer:1080p:10s", credits: 230 }
3500
+ { identifier: "motion-transfer:1080p:10s", credits: 230 },
3501
+ { identifier: "motion-transfer:720p:per-4s", credits: 126, note: "720p: per 4 seconds of the driving video; charged per whole second" },
3502
+ { identifier: "motion-transfer:1080p:per-4s", credits: 203, note: "1080p: per 4 seconds of the driving video; charged per whole second" }
3489
3503
  ]
3490
3504
  },
3491
3505
  "kling-3.0-motion": {
@@ -3504,17 +3518,21 @@ var VIDEO_MODELS = {
3504
3518
  { identifier: "kling-3.0-motion", credits: 300, note: "10s 720p default" },
3505
3519
  { identifier: "kling-3.0-motion:5s", credits: 150 },
3506
3520
  { identifier: "kling-3.0-motion:10s", credits: 300 },
3507
- { identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
3521
+ { identifier: "kling-3.0-motion:1080p:10s", credits: 500 },
3522
+ { identifier: "kling-3.0-motion:720p:per-4s", credits: 228, note: "720p: per 4 seconds of the driving video; charged per whole second" },
3523
+ { identifier: "kling-3.0-motion:1080p:per-4s", credits: 302, note: "1080p: per 4 seconds of the driving video; charged per whole second" }
3508
3524
  ]
3509
3525
  },
3510
3526
  // Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
3511
3527
  // restriction can name them. Before, `models.allow` could not withhold them
3512
3528
  // while the Motion Transfer node and /v1/motion-transfer kept running them
3513
- // beside the Kling models. The sizes are the three each runs at and is priced
3514
- // on today (one flat row per size, any clip length); a size it does not have
3515
- // (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
3516
- // size `normalizeModelInput` moves it to (`motionTransferResolution`), and
3517
- // the size a request naming none has always run at.
3529
+ // beside the Kling models. Replace runs at three sizes; Move at 720p only (the
3530
+ // one size the provider takes for it). A size a model does not have (Move's
3531
+ // 480p / 580p, the route's 1080p) runs, and is charged, as 720p —
3532
+ // `defaultResolution`, the size `normalizeModelInput` moves it to
3533
+ // (`motionTransferResolution`), and the size a request naming none has always
3534
+ // run at. Each is charged per second of the driving video at its `:per-4s`
3535
+ // row, never below its flat row for the size it runs at.
3518
3536
  "wan-animate-move": {
3519
3537
  id: "wan-animate-move",
3520
3538
  kind: "video",
@@ -3525,12 +3543,14 @@ var VIDEO_MODELS = {
3525
3543
  series: "Wan",
3526
3544
  description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
3527
3545
  useCases: ["motion-transfer", "cheap"],
3528
- resolutions: ["480p", "580p", "720p"],
3546
+ resolutions: ["720p"],
3529
3547
  defaultResolution: "720p",
3530
3548
  pricing: [
3531
- { identifier: "wan-animate-move", credits: 255, note: "480p" },
3532
- { identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
3533
- { identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
3549
+ // 720p first: the size Move runs at, so its default variant's price.
3550
+ { identifier: "wan-animate-move:720p", credits: 410, note: "720p, the only size it runs at" },
3551
+ { identifier: "wan-animate-move", credits: 255, note: "480p (runs, and is charged, as 720p)" },
3552
+ { identifier: "wan-animate-move:580p", credits: 330, note: "580p (runs, and is charged, as 720p)" },
3553
+ { identifier: "wan-animate-move:720p:per-4s", credits: 125, note: "per 4 seconds of the driving video, never below the 720p row; charged per whole second" }
3534
3554
  ]
3535
3555
  },
3536
3556
  "wan-animate-replace": {
@@ -3548,7 +3568,10 @@ var VIDEO_MODELS = {
3548
3568
  pricing: [
3549
3569
  { identifier: "wan-animate-replace", credits: 255, note: "480p" },
3550
3570
  { identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
3551
- { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
3571
+ { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" },
3572
+ { identifier: "wan-animate-replace:480p:per-4s", credits: 60, note: "480p: per 4 seconds of the driving video, never below the 480p row; charged per whole second" },
3573
+ { identifier: "wan-animate-replace:580p:per-4s", credits: 95, note: "580p: per 4 seconds of the driving video, never below the 580p row; charged per whole second" },
3574
+ { identifier: "wan-animate-replace:720p:per-4s", credits: 125, note: "720p: per 4 seconds of the driving video, never below the 720p row; charged per whole second" }
3552
3575
  ]
3553
3576
  },
3554
3577
  // ── Lip sync / talking-head ──
@@ -4476,9 +4499,9 @@ var AUDIO_MODELS = {
4476
4499
  maker: "elevenlabs",
4477
4500
  label: "ElevenLabs Voice Isolation",
4478
4501
  series: "ElevenLabs",
4479
- description: "Strip background noise / music from a vocal track.",
4502
+ description: "Strip background noise / music from a vocal track. Audio up to 30 minutes; priced per started 10 seconds of the audio.",
4480
4503
  useCases: ["cleanup", "isolation"],
4481
- pricing: [{ identifier: "elevenlabs-isolation", credits: 74, note: "variable per second" }]
4504
+ pricing: [{ identifier: "elevenlabs-isolation:per-10s", credits: 10, note: "per started 10 seconds of the audio, up to 30 minutes" }]
4482
4505
  },
4483
4506
  "elevenlabs-dubbing": {
4484
4507
  id: "elevenlabs-dubbing",
@@ -5408,5 +5431,5 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
5408
5431
  }
5409
5432
 
5410
5433
  export { CONTAINER_OVERHANG_SEC, FLUX2_RES_MP, FLUX_3_KLEIN_DEFAULT_RESOLUTION, FLUX_3_KLEIN_I2I, FLUX_3_KLEIN_MAX_INPUT_IMAGES, FLUX_3_KLEIN_RESOLUTIONS, FLUX_3_KLEIN_T2I, GEMINI_3_1_DEFAULT_VOICE, GEMINI_3_1_TTS_ACCENTS, GEMINI_3_1_TTS_PACES, GEMINI_3_1_TTS_STYLES, GEMINI_3_1_TTS_VOICES, GEMINI_3_8_DEFAULT_VOICE, GEMINI_3_8_TONE_TAGS, GEMINI_3_8_TTS_VOICES, GEMINI_TTS_MAX_CHARS, GEMINI_TTS_VOICE_GROUPS, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, REPLICA_CONSENT_ATTESTATION, REPLICA_CONSENT_MAX_SEC, REPLICA_CONSENT_SENTENCE, REPLICA_MAX_BYTES, REPLICA_SOURCE_MAX_SEC, REPLICA_SOURCE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_PER_1K_PRICE_NOTE, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, TTS_DIRECTION_MAX_CHARS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, editPlanSourceDurationSec, extractVideoDurationFromNode, fitAspectRatioToModel, flux3KleinCreditId, flux3KleinResolution, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isFlux3Klein, isFlux3KleinI2i, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt };
5411
- //# sourceMappingURL=chunk-R22UHRR6.js.map
5412
- //# sourceMappingURL=chunk-R22UHRR6.js.map
5434
+ //# sourceMappingURL=chunk-X7UDZGXW.js.map
5435
+ //# sourceMappingURL=chunk-X7UDZGXW.js.map