@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
@@ -2723,15 +2723,19 @@ var VIDEO_MODELS = {
2723
2723
  "wan": {
2724
2724
  id: "wan",
2725
2725
  kind: "video",
2726
- // "wan" id covers v2v AND t2v under different KIE endpoints; the
2727
- // pricing variants tag which mode each cost belongs to.
2728
- modes: ["v2v", "t2v"],
2726
+ // "wan" id covers text-to-video AND the Video to Video route under
2727
+ // different KIE endpoints; the pricing variants tag which each cost
2728
+ // belongs to. No "v2v" mode on purpose: that mode lists the models that
2729
+ // EDIT a clip, and this one makes a new clip featuring the input video's
2730
+ // subject. It stays a Video to Video provider (VIDEO_TO_VIDEO_PROVIDERS)
2731
+ // and is picked there by its id.
2732
+ modes: ["t2v"],
2729
2733
  family: "Alibaba",
2730
2734
  maker: "alibaba",
2731
2735
  label: "Wan 2.6",
2732
2736
  series: "Wan",
2733
- description: "Wan 2.6 \u2014 text-to-video and video-to-video under a single id.",
2734
- useCases: ["v2v", "t2v", "restyle"],
2737
+ 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.",
2738
+ useCases: ["v2v", "t2v", "reference"],
2735
2739
  durations: [5],
2736
2740
  defaultDuration: 5,
2737
2741
  resolutions: ["720p", "1080p"],
@@ -2743,12 +2747,15 @@ var VIDEO_MODELS = {
2743
2747
  "wan-flash": {
2744
2748
  id: "wan-flash",
2745
2749
  kind: "video",
2746
- modes: ["v2v"],
2750
+ // No mode on purpose: "v2v" lists the models that EDIT a clip, and this
2751
+ // one makes a new clip featuring the input video's subject. It runs only
2752
+ // on the Video to Video route (VIDEO_TO_VIDEO_PROVIDERS), picked by its id.
2753
+ modes: [],
2747
2754
  family: "Alibaba",
2748
2755
  maker: "alibaba",
2749
- label: "Wan Flash V2V",
2756
+ label: "Wan 2.6 Flash",
2750
2757
  series: "Wan",
2751
- description: "Faster Wan V2V variant.",
2758
+ 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.",
2752
2759
  useCases: ["v2v", "fast"],
2753
2760
  pricing: [{ identifier: "wan-flash", credits: 100 }]
2754
2761
  },
@@ -2760,10 +2767,13 @@ var VIDEO_MODELS = {
2760
2767
  maker: "alibaba",
2761
2768
  label: "Wan 2.7 VideoEdit",
2762
2769
  series: "Wan",
2763
- description: "Guided video editing with optional reference image, audio control, and prompt expansion.",
2770
+ 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.",
2764
2771
  useCases: ["v2v", "restyle", "reference"],
2765
2772
  resolutions: ["720p", "1080p"],
2766
- pricing: [{ identifier: "wan-videoedit", credits: 320 }]
2773
+ pricing: [
2774
+ { identifier: "wan-videoedit", credits: 320, note: "the least a run costs" },
2775
+ { 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" }
2776
+ ]
2767
2777
  },
2768
2778
  // ── Wan 2.7 ──
2769
2779
  "wan-2.7": {
@@ -2984,11 +2994,13 @@ var VIDEO_MODELS = {
2984
2994
  maker: "alibaba",
2985
2995
  label: "HappyHorse Edit",
2986
2996
  series: "HappyHorse",
2987
- description: "HappyHorse video-edit \u2014 video-to-video transformation, up to 60s input, 720p/1080p output.",
2997
+ 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.",
2988
2998
  useCases: ["v2v", "restyle"],
2989
2999
  resolutions: ["720p", "1080p"],
2990
3000
  pricing: [
2991
- { identifier: "happyhorse-edit", credits: 350, note: "720p default (5s-equivalent flat rate)" }
3001
+ { identifier: "happyhorse-edit", credits: 350, note: "flat row of runs priced before per-clip-second pricing" },
3002
+ { identifier: "happyhorse-edit:720p:per-4s", credits: 560, note: "720p (default): per 4 seconds of the clip; charged per started half-second" },
3003
+ { identifier: "happyhorse-edit:1080p:per-4s", credits: 960, note: "1080p: per 4 seconds of the clip; charged per started half-second" }
2992
3004
  ]
2993
3005
  },
2994
3006
  // ── Vidu (ShengShu Technology) ──
@@ -3487,7 +3499,9 @@ var VIDEO_MODELS = {
3487
3499
  { identifier: "motion-transfer:10s", credits: 150 },
3488
3500
  { identifier: "motion-transfer:15s", credits: 230 },
3489
3501
  { identifier: "motion-transfer:30s", credits: 450 },
3490
- { identifier: "motion-transfer:1080p:10s", credits: 230 }
3502
+ { identifier: "motion-transfer:1080p:10s", credits: 230 },
3503
+ { identifier: "motion-transfer:720p:per-4s", credits: 126, note: "720p: per 4 seconds of the driving video; charged per whole second" },
3504
+ { identifier: "motion-transfer:1080p:per-4s", credits: 203, note: "1080p: per 4 seconds of the driving video; charged per whole second" }
3491
3505
  ]
3492
3506
  },
3493
3507
  "kling-3.0-motion": {
@@ -3506,17 +3520,21 @@ var VIDEO_MODELS = {
3506
3520
  { identifier: "kling-3.0-motion", credits: 300, note: "10s 720p default" },
3507
3521
  { identifier: "kling-3.0-motion:5s", credits: 150 },
3508
3522
  { identifier: "kling-3.0-motion:10s", credits: 300 },
3509
- { identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
3523
+ { identifier: "kling-3.0-motion:1080p:10s", credits: 500 },
3524
+ { identifier: "kling-3.0-motion:720p:per-4s", credits: 228, note: "720p: per 4 seconds of the driving video; charged per whole second" },
3525
+ { identifier: "kling-3.0-motion:1080p:per-4s", credits: 302, note: "1080p: per 4 seconds of the driving video; charged per whole second" }
3510
3526
  ]
3511
3527
  },
3512
3528
  // Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
3513
3529
  // restriction can name them. Before, `models.allow` could not withhold them
3514
3530
  // while the Motion Transfer node and /v1/motion-transfer kept running them
3515
- // beside the Kling models. The sizes are the three each runs at and is priced
3516
- // on today (one flat row per size, any clip length); a size it does not have
3517
- // (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
3518
- // size `normalizeModelInput` moves it to (`motionTransferResolution`), and
3519
- // the size a request naming none has always run at.
3531
+ // beside the Kling models. Replace runs at three sizes; Move at 720p only (the
3532
+ // one size the provider takes for it). A size a model does not have (Move's
3533
+ // 480p / 580p, the route's 1080p) runs, and is charged, as 720p —
3534
+ // `defaultResolution`, the size `normalizeModelInput` moves it to
3535
+ // (`motionTransferResolution`), and the size a request naming none has always
3536
+ // run at. Each is charged per second of the driving video at its `:per-4s`
3537
+ // row, never below its flat row for the size it runs at.
3520
3538
  "wan-animate-move": {
3521
3539
  id: "wan-animate-move",
3522
3540
  kind: "video",
@@ -3527,12 +3545,14 @@ var VIDEO_MODELS = {
3527
3545
  series: "Wan",
3528
3546
  description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
3529
3547
  useCases: ["motion-transfer", "cheap"],
3530
- resolutions: ["480p", "580p", "720p"],
3548
+ resolutions: ["720p"],
3531
3549
  defaultResolution: "720p",
3532
3550
  pricing: [
3533
- { identifier: "wan-animate-move", credits: 255, note: "480p" },
3534
- { identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
3535
- { identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
3551
+ // 720p first: the size Move runs at, so its default variant's price.
3552
+ { identifier: "wan-animate-move:720p", credits: 410, note: "720p, the only size it runs at" },
3553
+ { identifier: "wan-animate-move", credits: 255, note: "480p (runs, and is charged, as 720p)" },
3554
+ { identifier: "wan-animate-move:580p", credits: 330, note: "580p (runs, and is charged, as 720p)" },
3555
+ { 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" }
3536
3556
  ]
3537
3557
  },
3538
3558
  "wan-animate-replace": {
@@ -3550,7 +3570,10 @@ var VIDEO_MODELS = {
3550
3570
  pricing: [
3551
3571
  { identifier: "wan-animate-replace", credits: 255, note: "480p" },
3552
3572
  { identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
3553
- { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
3573
+ { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" },
3574
+ { 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" },
3575
+ { 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" },
3576
+ { 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" }
3554
3577
  ]
3555
3578
  },
3556
3579
  // ── Lip sync / talking-head ──
@@ -4478,9 +4501,9 @@ var AUDIO_MODELS = {
4478
4501
  maker: "elevenlabs",
4479
4502
  label: "ElevenLabs Voice Isolation",
4480
4503
  series: "ElevenLabs",
4481
- description: "Strip background noise / music from a vocal track.",
4504
+ description: "Strip background noise / music from a vocal track. Audio up to 30 minutes; priced per started 10 seconds of the audio.",
4482
4505
  useCases: ["cleanup", "isolation"],
4483
- pricing: [{ identifier: "elevenlabs-isolation", credits: 74, note: "variable per second" }]
4506
+ pricing: [{ identifier: "elevenlabs-isolation:per-10s", credits: 10, note: "per started 10 seconds of the audio, up to 30 minutes" }]
4484
4507
  },
4485
4508
  "elevenlabs-dubbing": {
4486
4509
  id: "elevenlabs-dubbing",
@@ -5520,5 +5543,5 @@ exports.sourceImageSizeNeeded = sourceImageSizeNeeded;
5520
5543
  exports.svgLevelOptionsByKind = svgLevelOptionsByKind;
5521
5544
  exports.validateModelInput = validateModelInput;
5522
5545
  exports.videoAutoAspectRunsAt = videoAutoAspectRunsAt;
5523
- //# sourceMappingURL=chunk-HWBLZSM3.cjs.map
5524
- //# sourceMappingURL=chunk-HWBLZSM3.cjs.map
5546
+ //# sourceMappingURL=chunk-AXDTMRWR.cjs.map
5547
+ //# sourceMappingURL=chunk-AXDTMRWR.cjs.map