@nodaro/shared 3.40.0 → 3.43.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 (154) hide show
  1. package/dist/{chunk-N2KG5AMQ.cjs → chunk-3J6JYP4X.cjs} +4 -4
  2. package/dist/{chunk-N2KG5AMQ.cjs.map → chunk-3J6JYP4X.cjs.map} +1 -1
  3. package/dist/{chunk-YEZ2YUKK.js → chunk-3UAQVTIO.js} +3 -3
  4. package/dist/{chunk-YEZ2YUKK.js.map → chunk-3UAQVTIO.js.map} +1 -1
  5. package/dist/{chunk-ZXIP5T5V.js → chunk-4GYMWGUG.js} +3 -3
  6. package/dist/{chunk-ZXIP5T5V.js.map → chunk-4GYMWGUG.js.map} +1 -1
  7. package/dist/{chunk-25PAKSMK.cjs → chunk-4URFSG3O.cjs} +57 -39
  8. package/dist/chunk-4URFSG3O.cjs.map +1 -0
  9. package/dist/{chunk-4LKEOIOT.cjs → chunk-4VDQFY27.cjs} +6 -6
  10. package/dist/{chunk-4LKEOIOT.cjs.map → chunk-4VDQFY27.cjs.map} +1 -1
  11. package/dist/{chunk-TUUEQ2WR.cjs → chunk-52IHBMTM.cjs} +8 -8
  12. package/dist/{chunk-TUUEQ2WR.cjs.map → chunk-52IHBMTM.cjs.map} +1 -1
  13. package/dist/{chunk-LOTL72UI.js → chunk-5C6WODPL.js} +4 -5
  14. package/dist/chunk-5C6WODPL.js.map +1 -0
  15. package/dist/{chunk-4IWVZR44.cjs → chunk-7TQRTEWG.cjs} +5 -5
  16. package/dist/{chunk-4IWVZR44.cjs.map → chunk-7TQRTEWG.cjs.map} +1 -1
  17. package/dist/{chunk-PYDZ7ZGH.js → chunk-BJGJXYGO.js} +3 -3
  18. package/dist/{chunk-PYDZ7ZGH.js.map → chunk-BJGJXYGO.js.map} +1 -1
  19. package/dist/{chunk-BOUEGYGI.cjs → chunk-CDEWNDBO.cjs} +33 -37
  20. package/dist/chunk-CDEWNDBO.cjs.map +1 -0
  21. package/dist/{chunk-IKCFSNNH.cjs → chunk-CLYX5WIS.cjs} +21 -21
  22. package/dist/{chunk-IKCFSNNH.cjs.map → chunk-CLYX5WIS.cjs.map} +1 -1
  23. package/dist/{chunk-ZAOBNW6Y.cjs → chunk-DFBWBEXO.cjs} +12 -20
  24. package/dist/chunk-DFBWBEXO.cjs.map +1 -0
  25. package/dist/{chunk-RLVZ3RLE.cjs → chunk-DUWBODKW.cjs} +8 -8
  26. package/dist/{chunk-RLVZ3RLE.cjs.map → chunk-DUWBODKW.cjs.map} +1 -1
  27. package/dist/{chunk-VNC5DNIQ.cjs → chunk-ESBO2KR7.cjs} +11 -13
  28. package/dist/chunk-ESBO2KR7.cjs.map +1 -0
  29. package/dist/chunk-GAPZHS2X.cjs +27 -0
  30. package/dist/{chunk-XOZIHGR5.cjs.map → chunk-GAPZHS2X.cjs.map} +1 -1
  31. package/dist/{chunk-E4MLBJKG.js → chunk-GBUHNZZU.js} +8 -8
  32. package/dist/{chunk-E4MLBJKG.js.map → chunk-GBUHNZZU.js.map} +1 -1
  33. package/dist/{chunk-5J5L26IZ.js → chunk-IAH67SHO.js} +5 -7
  34. package/dist/chunk-IAH67SHO.js.map +1 -0
  35. package/dist/{chunk-YEET2QGF.cjs → chunk-IHPDWGBN.cjs} +4 -4
  36. package/dist/{chunk-YEET2QGF.cjs.map → chunk-IHPDWGBN.cjs.map} +1 -1
  37. package/dist/{chunk-VSDJCJKP.cjs → chunk-J32WVEJH.cjs} +46 -45
  38. package/dist/chunk-J32WVEJH.cjs.map +1 -0
  39. package/dist/{chunk-MLB6YNLS.js → chunk-KUWE6E2E.js} +4 -4
  40. package/dist/{chunk-MLB6YNLS.js.map → chunk-KUWE6E2E.js.map} +1 -1
  41. package/dist/{chunk-LOWOJN65.js → chunk-KZGGUDAB.js} +45 -7
  42. package/dist/chunk-KZGGUDAB.js.map +1 -0
  43. package/dist/{chunk-NRSYWQKM.js → chunk-L6G6G5BB.js} +17 -6
  44. package/dist/chunk-L6G6G5BB.js.map +1 -0
  45. package/dist/{chunk-5CKTBGB6.js → chunk-LRJAGGKY.js} +5 -24
  46. package/dist/chunk-LRJAGGKY.js.map +1 -0
  47. package/dist/{chunk-DJIRIBKX.cjs → chunk-LZBJJ6TC.cjs} +5 -6
  48. package/dist/chunk-LZBJJ6TC.cjs.map +1 -0
  49. package/dist/{chunk-GNY2S63W.js → chunk-N5NT3WZD.js} +4 -4
  50. package/dist/{chunk-GNY2S63W.js.map → chunk-N5NT3WZD.js.map} +1 -1
  51. package/dist/{chunk-BWQRAQUD.cjs → chunk-NSTIHL5G.cjs} +43 -43
  52. package/dist/{chunk-BWQRAQUD.cjs.map → chunk-NSTIHL5G.cjs.map} +1 -1
  53. package/dist/{chunk-X7IRSO4L.js → chunk-O2VQLVKB.js} +3 -3
  54. package/dist/{chunk-X7IRSO4L.js.map → chunk-O2VQLVKB.js.map} +1 -1
  55. package/dist/{chunk-SYUY7GNT.js → chunk-OAAQG66Y.js} +7 -6
  56. package/dist/chunk-OAAQG66Y.js.map +1 -0
  57. package/dist/{chunk-GLON7ANZ.cjs → chunk-P4QT7JGD.cjs} +7 -2
  58. package/dist/chunk-P4QT7JGD.cjs.map +1 -0
  59. package/dist/{chunk-YX5FW7ON.js → chunk-PLU7RIDO.js} +4 -12
  60. package/dist/chunk-PLU7RIDO.js.map +1 -0
  61. package/dist/{chunk-A4NDZBSJ.js → chunk-PVAOXI2W.js} +14 -20
  62. package/dist/chunk-PVAOXI2W.js.map +1 -0
  63. package/dist/{chunk-GXTWKAJF.js → chunk-PZE6WTA3.js} +3 -3
  64. package/dist/{chunk-GXTWKAJF.js.map → chunk-PZE6WTA3.js.map} +1 -1
  65. package/dist/{chunk-TGZJXCLL.cjs → chunk-QHODM5TS.cjs} +46 -6
  66. package/dist/chunk-QHODM5TS.cjs.map +1 -0
  67. package/dist/{chunk-JN3V33AN.cjs → chunk-QJ2VGB5J.cjs} +6 -6
  68. package/dist/{chunk-JN3V33AN.cjs.map → chunk-QJ2VGB5J.cjs.map} +1 -1
  69. package/dist/{chunk-ADYPAGQF.cjs → chunk-RPQ2KF6L.cjs} +5 -24
  70. package/dist/chunk-RPQ2KF6L.cjs.map +1 -0
  71. package/dist/{chunk-2BJADMEX.js → chunk-S4UAYQQV.js} +3 -3
  72. package/dist/{chunk-2BJADMEX.js.map → chunk-S4UAYQQV.js.map} +1 -1
  73. package/dist/{chunk-R6B2UDFR.js → chunk-T4EBNTKT.js} +7 -2
  74. package/dist/chunk-T4EBNTKT.js.map +1 -0
  75. package/dist/{chunk-FVZMFDRO.js → chunk-TTD6MZAM.js} +4 -4
  76. package/dist/{chunk-FVZMFDRO.js.map → chunk-TTD6MZAM.js.map} +1 -1
  77. package/dist/entries/apps.cjs +42 -42
  78. package/dist/entries/apps.js +7 -7
  79. package/dist/entries/credits.cjs +150 -150
  80. package/dist/entries/credits.d.cts +1 -1
  81. package/dist/entries/credits.d.ts +1 -1
  82. package/dist/entries/credits.js +7 -7
  83. package/dist/entries/llm-models.d.cts +1 -1
  84. package/dist/entries/llm-models.d.ts +1 -1
  85. package/dist/entries/media.cjs +56 -48
  86. package/dist/entries/media.d.cts +65 -3
  87. package/dist/entries/media.d.ts +65 -3
  88. package/dist/entries/media.js +1 -1
  89. package/dist/entries/model-catalog.cjs +66 -66
  90. package/dist/entries/model-catalog.js +4 -4
  91. package/dist/entries/models.cjs +273 -237
  92. package/dist/entries/models.d.cts +38 -8
  93. package/dist/entries/models.d.ts +38 -8
  94. package/dist/entries/models.js +4 -4
  95. package/dist/entries/nodes.cjs +206 -206
  96. package/dist/entries/nodes.js +8 -8
  97. package/dist/entries/pipeline.cjs +149 -149
  98. package/dist/entries/pipeline.d.cts +10 -14
  99. package/dist/entries/pipeline.d.ts +10 -14
  100. package/dist/entries/pipeline.js +3 -3
  101. package/dist/entries/types.d.cts +8 -0
  102. package/dist/entries/types.d.ts +8 -0
  103. package/dist/entries/ugc.cjs +71 -71
  104. package/dist/entries/ugc.js +4 -4
  105. package/dist/entries/video.cjs +117 -117
  106. package/dist/entries/video.js +4 -4
  107. package/dist/entries/workflow.cjs +98 -98
  108. package/dist/entries/workflow.js +1 -1
  109. package/dist/index.cjs +1204 -1160
  110. package/dist/index.d.cts +3 -3
  111. package/dist/index.d.ts +3 -3
  112. package/dist/index.js +19 -19
  113. package/dist/{model-constants-B5ka4TQr.d.cts → model-constants-BL-Ae0OU.d.cts} +24 -7
  114. package/dist/{model-constants-B5ka4TQr.d.ts → model-constants-BL-Ae0OU.d.ts} +24 -7
  115. package/package.json +1 -1
  116. package/src/__tests__/cast-swap-limits.test.ts +27 -0
  117. package/src/__tests__/credit-identifiers.test.ts +13 -32
  118. package/src/__tests__/pricing-default-duration.test.ts +0 -2
  119. package/src/__tests__/retired-video-provider.test.ts +42 -0
  120. package/src/__tests__/video-audio-capability.test.ts +4 -13
  121. package/src/__tests__/video-mask.test.ts +31 -0
  122. package/src/__tests__/video-mode-aliases.test.ts +10 -1
  123. package/src/__tests__/workflow-export-strip.test.ts +14 -0
  124. package/src/cast-swap-limits.ts +46 -0
  125. package/src/catalog-projection.ts +8 -0
  126. package/src/credit-identifiers.ts +4 -1
  127. package/src/entries/models.ts +10 -0
  128. package/src/film-pricing.ts +0 -1
  129. package/src/model-catalog.ts +3 -22
  130. package/src/model-constants.ts +29 -15
  131. package/src/pipeline-types.ts +4 -2
  132. package/src/provider-directive-defaults.ts +0 -1
  133. package/src/video-mask.ts +69 -2
  134. package/src/video-output-canvas.ts +0 -8
  135. package/src/workflow-export.ts +7 -0
  136. package/dist/chunk-25PAKSMK.cjs.map +0 -1
  137. package/dist/chunk-5CKTBGB6.js.map +0 -1
  138. package/dist/chunk-5J5L26IZ.js.map +0 -1
  139. package/dist/chunk-A4NDZBSJ.js.map +0 -1
  140. package/dist/chunk-ADYPAGQF.cjs.map +0 -1
  141. package/dist/chunk-BOUEGYGI.cjs.map +0 -1
  142. package/dist/chunk-DJIRIBKX.cjs.map +0 -1
  143. package/dist/chunk-GLON7ANZ.cjs.map +0 -1
  144. package/dist/chunk-LOTL72UI.js.map +0 -1
  145. package/dist/chunk-LOWOJN65.js.map +0 -1
  146. package/dist/chunk-NRSYWQKM.js.map +0 -1
  147. package/dist/chunk-R6B2UDFR.js.map +0 -1
  148. package/dist/chunk-SYUY7GNT.js.map +0 -1
  149. package/dist/chunk-TGZJXCLL.cjs.map +0 -1
  150. package/dist/chunk-VNC5DNIQ.cjs.map +0 -1
  151. package/dist/chunk-VSDJCJKP.cjs.map +0 -1
  152. package/dist/chunk-XOZIHGR5.cjs +0 -27
  153. package/dist/chunk-YX5FW7ON.js.map +0 -1
  154. package/dist/chunk-ZAOBNW6Y.cjs.map +0 -1
@@ -352,13 +352,13 @@ type ImageGenProvider = typeof IMAGE_GEN_PROVIDERS[number];
352
352
  type ImageI2IProvider = typeof IMAGE_I2I_PROVIDERS[number];
353
353
  type ImageEditProvider = typeof IMAGE_EDIT_PROVIDERS[number];
354
354
  /** Image-to-video providers */
355
- declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
355
+ declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
356
356
  type ImageToVideoProvider = typeof IMAGE_TO_VIDEO_PROVIDERS[number];
357
357
  /** Text-to-video providers */
358
- declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
358
+ declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
359
359
  type TextToVideoProvider = typeof TEXT_TO_VIDEO_PROVIDERS[number];
360
360
  /** Unified video-generation providers (image-to-video ∪ text-to-video) for the generate-video node. */
361
- declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
361
+ declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
362
362
  type VideoGenProvider = typeof VIDEO_GEN_PROVIDERS[number];
363
363
  /**
364
364
  * Video models that expose DISTINCT provider ids per mode (text-to-video vs
@@ -386,14 +386,31 @@ interface VideoModeAlias {
386
386
  t2v: string;
387
387
  }
388
388
  declare const VIDEO_MODE_ALIASES: readonly VideoModeAlias[];
389
+ /**
390
+ * Video model ids the provider retired, each with the model it now runs as.
391
+ * They have no catalog entry and are in no provider list: every boundary that
392
+ * receives a stored or sent id (editor load, a run's payload and its estimate,
393
+ * a request body, the video worker, a pipeline pin, the MCP model choice, the
394
+ * credit id) passes it through {@link canonicalVideoProvider} first,
395
+ * so a saved node, an app run or an API call naming one keeps working and is
396
+ * priced as the model it runs as.
397
+ *
398
+ * - `seedance` (Seedance 1.5 Pro, KIE `bytedance/seedance-1.5-pro`): retired
399
+ * upstream 2026-10-25 (KIE answers 410). Runs as Seedance 2 Mini, the
400
+ * cheapest Seedance left (owner's decision 2026-10-25).
401
+ */
402
+ declare const RETIRED_VIDEO_PROVIDERS: Readonly<Record<string, string>>;
403
+ /** A retired video model id becomes the id it runs as; any other value passes through unchanged. Own properties only. */
404
+ declare function canonicalVideoProvider<T>(provider: T): T | string;
389
405
  /**
390
406
  * Resolve a (possibly base / cross-mode) video provider id to the concrete KIE
391
407
  * id for the given execution mode. Accepts any member id of an alias group
392
408
  * (base, i2v, or t2v) so existing workflows that stored either mode's id keep
393
- * working. Non-aliased providers (single-id models, VEO, Replicate, etc.) pass
409
+ * working, and a retired id ({@link RETIRED_VIDEO_PROVIDERS}) as the model it
410
+ * runs as. Non-aliased providers (single-id models, VEO, Replicate, etc.) pass
394
411
  * through unchanged.
395
412
  */
396
- declare function resolveVideoProviderForMode(provider: string, mode: "image-to-video" | "text-to-video"): string;
413
+ declare function resolveVideoProviderForMode(rawProvider: string, mode: "image-to-video" | "text-to-video"): string;
397
414
  /**
398
415
  * Which execution mode a unified Generate Video run takes from what is wired.
399
416
  * Shared by the frontend DAG executor (`execute-node.ts`) and the backend
@@ -1537,7 +1554,7 @@ type LocationAtmosphereProvider = (typeof LOCATION_ATMOSPHERE_PROVIDERS)[number]
1537
1554
  * Phase 2 candidate for adding veo3.1 if demand for premium hero shots
1538
1555
  * materializes.
1539
1556
  */
1540
- declare const OBJECT_MOTION_PROVIDERS: readonly ["kling-turbo", "kling", "kling-3.0", "minimax", "hailuo-2.3", "wan-i2v", "seedance", "bytedance-lite"];
1557
+ declare const OBJECT_MOTION_PROVIDERS: readonly ["kling-turbo", "kling", "kling-3.0", "minimax", "hailuo-2.3", "wan-i2v", "seedance-2-mini", "bytedance-lite"];
1541
1558
  type ObjectMotionProvider = (typeof OBJECT_MOTION_PROVIDERS)[number];
1542
1559
  /**
1543
1560
  * SceneInputMode — the input-shape contract a video model exposes to the
@@ -1646,4 +1663,4 @@ declare function applyDefaultVideoSelection<D>(input: {
1646
1663
  duration: D | number | undefined;
1647
1664
  };
1648
1665
 
1649
- export { IMAGE_TO_VIDEO_PROVIDERS as $, AI_WRITER_PROVIDERS as A, GVP_ANCHOR_CHOICES as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_PROVIDERS as G, GVP_DEFAULT_PROVIDER as H, GVP_END_FRAME_PROVIDERS as I, GVP_EXTEND_PROVIDERS as J, GVP_SUPPORTED_PROVIDERS as K, type GvpAnchorChoice as L, type GvpAnchorWireMode as M, HIGH_QUALITY_PROVIDERS as N, I2I_MASK_SUPPORT as O, I2I_STRENGTH_SUPPORT as P, IDEOGRAM_PROVIDERS as Q, IMAGE_ASPECT_RATIO_VALUES as R, IMAGE_EDIT_PROVIDERS as S, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as T, IMAGE_GEN_PROVIDERS as U, IMAGE_I2I_PROVIDERS as V, IMAGE_MASK_MODE as W, IMAGE_PROMPT_MAX as X, IMAGE_QUALITY_VALUES as Y, IMAGE_RENDERING_SPEED_VALUES as Z, IMAGE_RESOLUTION_VALUES as _, ASPECT_RATIO_DIMENSIONS as a, SEED_SUPPORT as a$, type ImageAspectRatio as a0, type ImageEditProvider as a1, type ImageEditTargetResolution as a2, type ImageGenProvider as a3, type ImageI2IProvider as a4, type ImageMaskMode as a5, type ImageQuality as a6, type ImageRenderingSpeed as a7, type ImageResolution as a8, type ImageToVideoProvider as a9, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aA, NEGATIVE_PROMPT_MAX as aB, OBJECT_MOTION_PROVIDERS as aC, type ObjectMotionProvider as aD, PRICING_DEFAULT_DURATION_SEC as aE, PRICING_DEFAULT_RESOLUTION as aF, PROMPT_HARD_CEILING as aG, QA_CHECK_PROVIDERS as aH, type QaCheckProvider as aI, REF_IMAGE_MAX_LIMITS as aJ, RENDERING_SPEED_SUPPORT as aK, REPLICATE_LIP_SYNC_PROVIDERS as aL, type RefAudioCheck as aM, type RefAudioProbe as aN, type RefAudioRule as aO, type RefVideoDurationLimit as aP, SCRIPT_PROVIDERS as aQ, SEEDANCE_2_5_REF_LIMITS as aR, SEEDANCE_2_CONTINUATION_REF_SEC as aS, SEEDANCE_2_EXTEND_STITCH as aT, SEEDANCE_2_PROVIDERS as aU, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as aV, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as aW, SEEDANCE_2_REF_LIMITS as aX, SEEDANCE_LIP_SYNC_PROVIDERS as aY, SEEDANCE_VIDEO_EDIT_PROVIDERS as aZ, SEEDANCE_VIDEO_EDIT_SHAPE as a_, KLING_4_DEFAULT_RESOLUTION as aa, KLING_4_MAX_MIDDLE_FRAMES as ab, KLING_4_PROVIDERS as ac, LIP_SYNC_PROVIDERS as ad, LLM_TEXT_INPUT_MAX as ae, LOCATION_ATMOSPHERE_PROVIDERS as af, type LipSyncProvider as ag, type LocationAtmosphereProvider as ah, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ai, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aj, MAX_TTS_CHARS_BY_PROVIDER as ak, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as al, MINIMAX_H3_DEFAULT_RESOLUTION as am, MINIMAX_H3_PROVIDERS as an, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as ao, MODIFY_IMAGE_PROVIDERS as ap, MOTION_TRANSFER_PROVIDERS as aq, MUSIC_CREDIT_ID as ar, MUSIC_PROVIDERS as as, MUSIC_PROVIDER_LABELS as at, type ModelPromptingStyle as au, type ModifyImageProvider as av, type MotionTransferProviderType as aw, type MusicProvider as ax, NATIVE_ADAPTIVE_ASPECT as ay, NATIVE_NEGATIVE_PROMPT_MODELS as az, AUDIO_ADDON_PROVIDERS as b, type VideoToVideoNodeProvider as b$, SUNO_ACTIVE_MODELS as b0, SUNO_ADD_TRACK_MODELS as b1, SUNO_DURATION_MODELS as b2, SUNO_HARD_CEILING as b3, SUNO_LEGACY_MODELS as b4, SUNO_MODELS as b5, SUNO_TEXT_MAX as b6, SUNO_TITLE_MAX as b7, type SceneInputMode as b8, SceneInputModeSchema as b9, VIDEO_DURATION_TIERS as bA, VIDEO_GEN_COLLAPSED_T2V_IDS as bB, VIDEO_GEN_PROVIDERS as bC, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bD, VIDEO_MODEL_CAPS as bE, VIDEO_MODE_ALIASES as bF, VIDEO_PROMPT_MAX as bG, VIDEO_PROVIDERS_REQUIRING_IMAGE as bH, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bI, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bJ, VIDEO_REF_AUDIO_RULES as bK, VIDEO_REF_LIMITS_BY_PROVIDER as bL, VIDEO_REF_RATE_PROVIDERS as bM, VIDEO_REF_VIDEO_DURATION_LIMITS as bN, VIDEO_TO_VIDEO_NODE_PROVIDERS as bO, VIDEO_TO_VIDEO_PROVIDERS as bP, VIDEO_UPSCALE_PROVIDERS as bQ, VIDEO_VARIABLE_PRICING as bR, VIDU_Q4_DEFAULT_RESOLUTION as bS, VIDU_Q4_PROVIDERS as bT, VOICE_DESIGN_MODELS as bU, type VideoAudioCapability as bV, type VideoAudioMode as bW, type VideoGenProvider as bX, type VideoModeAlias as bY, type VideoModelCapabilities as bZ, type VideoReferenceSyntax as b_, type ScriptProvider as ba, type SeedanceVideoEditProvider as bb, type SunoAddTrackModel as bc, type SunoModel as bd, T2I_TO_I2I_VARIANT as be, TASK_CHAINED_EDIT_PROVIDERS as bf, TASK_CHAINED_EDIT_PROVIDER_IDS as bg, TEXT_TO_AUDIO_PROVIDERS as bh, TEXT_TO_VIDEO_PROVIDERS as bi, TRANSCRIBE_LANES as bj, TRANSCRIBE_PROVIDERS as bk, TRANSCRIBE_PROVIDER_CAPABILITIES as bl, TTS_PROVIDERS as bm, TTS_TEXT_MAX as bn, TWO_K_RESOLUTION_PROVIDERS as bo, type TaskChainedEditProvider as bp, type TextToAudioProvider as bq, type TextToVideoProvider as br, type TranscribeLane as bs, type TranscribeProvider as bt, type TtsProvider as bu, UPSCALE_IMAGE_PROVIDERS as bv, type UpscaleImageProvider as bw, VARIABLE_PRICING_MODELS as bx, VEO_PROVIDERS as by, VIDEO_AUDIO_CAPABILITY as bz, type AiWriterProvider as c, videoProviderRefModeFrameSeats as c$, type VideoToVideoProvider as c0, type VideoUpscaleProvider as c1, type VoiceDesignModel as c2, WAN_3_DEFAULT_RESOLUTION as c3, WAN_3_PROVIDERS as c4, applyDefaultVideoSelection as c5, applyVideoAudioToggle as c6, applyVideoNegativePrompt as c7, billsReferenceVideoSeconds as c8, checkRefAudioRules as c9, minSegmentSecFor as cA, modelsForInputMode as cB, normalizeKling4Resolution as cC, normalizeMinimaxH3Resolution as cD, normalizeViduQ4Resolution as cE, normalizeWan3Resolution as cF, preferredInputModeForModel as cG, pricedOutputDurationSec as cH, resolveGvpAnchorWire as cI, resolveMusicProvider as cJ, resolveVideoModeForInputs as cK, resolveVideoProviderForMode as cL, seedance2AudioLimitSec as cM, segmentDurationsFor as cN, snapToNearestDuration as cO, sunoModelHonoursDuration as cP, supportsAutoVideoDuration as cQ, supportsEndAnchor as cR, supportsExtendRender as cS, transcribeLaneSupportsWordTimestamps as cT, transcribeProvidersWithWordTimestamps as cU, videoDefaultDurationSec as cV, videoModelCanSpeakDialogue as cW, videoModelSupportsAudio as cX, videoNegativeSuffix as cY, videoProviderAppendsFrames as cZ, videoProviderFoldsLoneEndFrame as c_, checkRefVideoDurations as ca, defaultVideoAspectRatio as cb, findSeedance2AudioOverLimit as cc, getMaxImagePromptChars as cd, getMaxNegativePromptChars as ce, getMaxSunoPromptChars as cf, getMaxSunoStyleChars as cg, getMaxTtsChars as ch, getMaxVideoPromptChars as ci, getVideoAudioCapability as cj, hasContiguousSegmentDurations as ck, imageReferenceLimit as cl, isGeminiOmniProvider as cm, isGvpSupportedProvider as cn, isKling4Provider as co, isLegacySunoModel as cp, isMinimaxH3Provider as cq, isSeedance2Provider as cr, isSeedanceVideoEditProvider as cs, isVeoProvider as ct, isViduQ4Provider as cu, isWan3Provider as cv, kling4KeyframeFrameCap as cw, maxSegmentSecFor as cx, maxSegmentsFor as cy, maxVideoDurationSec as cz, COMPOSER_PLAN_FIELDS as d, videoProviderReferenceSyntax as d0, videoProviderRequiresImage as d1, videoProviderRunsFromReferences as d2, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_SUNO_MODEL as j, DEFAULT_TEXT_TO_AUDIO_PROVIDER as k, DEFAULT_TRANSCRIBE_NODE_PROVIDER as l, DEFAULT_TRANSCRIBE_PROVIDER as m, DEFAULT_TTS_PROVIDER as n, DEFAULT_VIDEO_DURATION_SEC as o, DEFAULT_VIDEO_PROVIDER as p, DEFAULT_VOICE_DESIGN_MODEL as q, DIALOGUE_PROVIDERS as r, DURATION_PRICED_PROVIDERS as s, type DialogueProvider as t, type ExtendVideoProvider as u, FAL_LIP_SYNC_PROVIDERS as v, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as w, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as x, type FaceSwapProvider as y, GUIDANCE_SCALE_SUPPORT as z };
1666
+ export { IMAGE_TO_VIDEO_PROVIDERS as $, AI_WRITER_PROVIDERS as A, GVP_ANCHOR_CHOICES as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_PROVIDERS as G, GVP_DEFAULT_PROVIDER as H, GVP_END_FRAME_PROVIDERS as I, GVP_EXTEND_PROVIDERS as J, GVP_SUPPORTED_PROVIDERS as K, type GvpAnchorChoice as L, type GvpAnchorWireMode as M, HIGH_QUALITY_PROVIDERS as N, I2I_MASK_SUPPORT as O, I2I_STRENGTH_SUPPORT as P, IDEOGRAM_PROVIDERS as Q, IMAGE_ASPECT_RATIO_VALUES as R, IMAGE_EDIT_PROVIDERS as S, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as T, IMAGE_GEN_PROVIDERS as U, IMAGE_I2I_PROVIDERS as V, IMAGE_MASK_MODE as W, IMAGE_PROMPT_MAX as X, IMAGE_QUALITY_VALUES as Y, IMAGE_RENDERING_SPEED_VALUES as Z, IMAGE_RESOLUTION_VALUES as _, ASPECT_RATIO_DIMENSIONS as a, SEEDANCE_VIDEO_EDIT_SHAPE as a$, type ImageAspectRatio as a0, type ImageEditProvider as a1, type ImageEditTargetResolution as a2, type ImageGenProvider as a3, type ImageI2IProvider as a4, type ImageMaskMode as a5, type ImageQuality as a6, type ImageRenderingSpeed as a7, type ImageResolution as a8, type ImageToVideoProvider as a9, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aA, NEGATIVE_PROMPT_MAX as aB, OBJECT_MOTION_PROVIDERS as aC, type ObjectMotionProvider as aD, PRICING_DEFAULT_DURATION_SEC as aE, PRICING_DEFAULT_RESOLUTION as aF, PROMPT_HARD_CEILING as aG, QA_CHECK_PROVIDERS as aH, type QaCheckProvider as aI, REF_IMAGE_MAX_LIMITS as aJ, RENDERING_SPEED_SUPPORT as aK, REPLICATE_LIP_SYNC_PROVIDERS as aL, RETIRED_VIDEO_PROVIDERS as aM, type RefAudioCheck as aN, type RefAudioProbe as aO, type RefAudioRule as aP, type RefVideoDurationLimit as aQ, SCRIPT_PROVIDERS as aR, SEEDANCE_2_5_REF_LIMITS as aS, SEEDANCE_2_CONTINUATION_REF_SEC as aT, SEEDANCE_2_EXTEND_STITCH as aU, SEEDANCE_2_PROVIDERS as aV, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as aW, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as aX, SEEDANCE_2_REF_LIMITS as aY, SEEDANCE_LIP_SYNC_PROVIDERS as aZ, SEEDANCE_VIDEO_EDIT_PROVIDERS as a_, KLING_4_DEFAULT_RESOLUTION as aa, KLING_4_MAX_MIDDLE_FRAMES as ab, KLING_4_PROVIDERS as ac, LIP_SYNC_PROVIDERS as ad, LLM_TEXT_INPUT_MAX as ae, LOCATION_ATMOSPHERE_PROVIDERS as af, type LipSyncProvider as ag, type LocationAtmosphereProvider as ah, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ai, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aj, MAX_TTS_CHARS_BY_PROVIDER as ak, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as al, MINIMAX_H3_DEFAULT_RESOLUTION as am, MINIMAX_H3_PROVIDERS as an, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as ao, MODIFY_IMAGE_PROVIDERS as ap, MOTION_TRANSFER_PROVIDERS as aq, MUSIC_CREDIT_ID as ar, MUSIC_PROVIDERS as as, MUSIC_PROVIDER_LABELS as at, type ModelPromptingStyle as au, type ModifyImageProvider as av, type MotionTransferProviderType as aw, type MusicProvider as ax, NATIVE_ADAPTIVE_ASPECT as ay, NATIVE_NEGATIVE_PROMPT_MODELS as az, AUDIO_ADDON_PROVIDERS as b, type VideoReferenceSyntax as b$, SEED_SUPPORT as b0, SUNO_ACTIVE_MODELS as b1, SUNO_ADD_TRACK_MODELS as b2, SUNO_DURATION_MODELS as b3, SUNO_HARD_CEILING as b4, SUNO_LEGACY_MODELS as b5, SUNO_MODELS as b6, SUNO_TEXT_MAX as b7, SUNO_TITLE_MAX as b8, type SceneInputMode as b9, VIDEO_AUDIO_CAPABILITY as bA, VIDEO_DURATION_TIERS as bB, VIDEO_GEN_COLLAPSED_T2V_IDS as bC, VIDEO_GEN_PROVIDERS as bD, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bE, VIDEO_MODEL_CAPS as bF, VIDEO_MODE_ALIASES as bG, VIDEO_PROMPT_MAX as bH, VIDEO_PROVIDERS_REQUIRING_IMAGE as bI, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bJ, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bK, VIDEO_REF_AUDIO_RULES as bL, VIDEO_REF_LIMITS_BY_PROVIDER as bM, VIDEO_REF_RATE_PROVIDERS as bN, VIDEO_REF_VIDEO_DURATION_LIMITS as bO, VIDEO_TO_VIDEO_NODE_PROVIDERS as bP, VIDEO_TO_VIDEO_PROVIDERS as bQ, VIDEO_UPSCALE_PROVIDERS as bR, VIDEO_VARIABLE_PRICING as bS, VIDU_Q4_DEFAULT_RESOLUTION as bT, VIDU_Q4_PROVIDERS as bU, VOICE_DESIGN_MODELS as bV, type VideoAudioCapability as bW, type VideoAudioMode as bX, type VideoGenProvider as bY, type VideoModeAlias as bZ, type VideoModelCapabilities as b_, SceneInputModeSchema as ba, type ScriptProvider as bb, type SeedanceVideoEditProvider as bc, type SunoAddTrackModel as bd, type SunoModel as be, T2I_TO_I2I_VARIANT as bf, TASK_CHAINED_EDIT_PROVIDERS as bg, TASK_CHAINED_EDIT_PROVIDER_IDS as bh, TEXT_TO_AUDIO_PROVIDERS as bi, TEXT_TO_VIDEO_PROVIDERS as bj, TRANSCRIBE_LANES as bk, TRANSCRIBE_PROVIDERS as bl, TRANSCRIBE_PROVIDER_CAPABILITIES as bm, TTS_PROVIDERS as bn, TTS_TEXT_MAX as bo, TWO_K_RESOLUTION_PROVIDERS as bp, type TaskChainedEditProvider as bq, type TextToAudioProvider as br, type TextToVideoProvider as bs, type TranscribeLane as bt, type TranscribeProvider as bu, type TtsProvider as bv, UPSCALE_IMAGE_PROVIDERS as bw, type UpscaleImageProvider as bx, VARIABLE_PRICING_MODELS as by, VEO_PROVIDERS as bz, type AiWriterProvider as c, videoProviderAppendsFrames as c$, type VideoToVideoNodeProvider as c0, type VideoToVideoProvider as c1, type VideoUpscaleProvider as c2, type VoiceDesignModel as c3, WAN_3_DEFAULT_RESOLUTION as c4, WAN_3_PROVIDERS as c5, applyDefaultVideoSelection as c6, applyVideoAudioToggle as c7, applyVideoNegativePrompt as c8, billsReferenceVideoSeconds as c9, maxSegmentsFor as cA, maxVideoDurationSec as cB, minSegmentSecFor as cC, modelsForInputMode as cD, normalizeKling4Resolution as cE, normalizeMinimaxH3Resolution as cF, normalizeViduQ4Resolution as cG, normalizeWan3Resolution as cH, preferredInputModeForModel as cI, pricedOutputDurationSec as cJ, resolveGvpAnchorWire as cK, resolveMusicProvider as cL, resolveVideoModeForInputs as cM, resolveVideoProviderForMode as cN, seedance2AudioLimitSec as cO, segmentDurationsFor as cP, snapToNearestDuration as cQ, sunoModelHonoursDuration as cR, supportsAutoVideoDuration as cS, supportsEndAnchor as cT, supportsExtendRender as cU, transcribeLaneSupportsWordTimestamps as cV, transcribeProvidersWithWordTimestamps as cW, videoDefaultDurationSec as cX, videoModelCanSpeakDialogue as cY, videoModelSupportsAudio as cZ, videoNegativeSuffix as c_, canonicalVideoProvider as ca, checkRefAudioRules as cb, checkRefVideoDurations as cc, defaultVideoAspectRatio as cd, findSeedance2AudioOverLimit as ce, getMaxImagePromptChars as cf, getMaxNegativePromptChars as cg, getMaxSunoPromptChars as ch, getMaxSunoStyleChars as ci, getMaxTtsChars as cj, getMaxVideoPromptChars as ck, getVideoAudioCapability as cl, hasContiguousSegmentDurations as cm, imageReferenceLimit as cn, isGeminiOmniProvider as co, isGvpSupportedProvider as cp, isKling4Provider as cq, isLegacySunoModel as cr, isMinimaxH3Provider as cs, isSeedance2Provider as ct, isSeedanceVideoEditProvider as cu, isVeoProvider as cv, isViduQ4Provider as cw, isWan3Provider as cx, kling4KeyframeFrameCap as cy, maxSegmentSecFor as cz, COMPOSER_PLAN_FIELDS as d, videoProviderFoldsLoneEndFrame as d0, videoProviderRefModeFrameSeats as d1, videoProviderReferenceSyntax as d2, videoProviderRequiresImage as d3, videoProviderRunsFromReferences as d4, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_SUNO_MODEL as j, DEFAULT_TEXT_TO_AUDIO_PROVIDER as k, DEFAULT_TRANSCRIBE_NODE_PROVIDER as l, DEFAULT_TRANSCRIBE_PROVIDER as m, DEFAULT_TTS_PROVIDER as n, DEFAULT_VIDEO_DURATION_SEC as o, DEFAULT_VIDEO_PROVIDER as p, DEFAULT_VOICE_DESIGN_MODEL as q, DIALOGUE_PROVIDERS as r, DURATION_PRICED_PROVIDERS as s, type DialogueProvider as t, type ExtendVideoProvider as u, FAL_LIP_SYNC_PROVIDERS as v, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as w, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as x, type FaceSwapProvider as y, GUIDANCE_SCALE_SUPPORT as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/shared",
3
- "version": "3.40.0",
3
+ "version": "3.43.0",
4
4
  "description": "Shared types, model catalog, wire contracts, and structural vocabularies for the Nodaro platform and SDK.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -7,8 +7,15 @@ import { describe, expect, it } from "vitest"
7
7
  import {
8
8
  CAST_SWAP_FACE_MASKING_BOUNDS,
9
9
  CAST_SWAP_FACE_MASKING_DEFAULTS,
10
+ CAST_SWAP_ENGINE_WHEN_OMITTED,
11
+ CAST_SWAP_ENGINES,
10
12
  CAST_SWAP_POST_PROMPT_MAX,
13
+ CAST_SWAP_RESOLUTIONS_BY_ENGINE,
11
14
  TREND_PROMPT_LIMITS,
15
+ castSwapEngineHasDraft,
16
+ CAST_SWAP_KLING_LENGTHS,
17
+ CAST_SWAP_KLING_LENGTH_WHEN_OMITTED,
18
+ CAST_SWAP_KLING_MAX_IMAGES,
12
19
  } from "../cast-swap-limits.js"
13
20
 
14
21
  describe("Cast Swap limits", () => {
@@ -46,4 +53,24 @@ describe("Cast Swap limits", () => {
46
53
  it("leaves 10 % margins at the left and right when the zone is left out", () => {
47
54
  expect(CAST_SWAP_FACE_MASKING_DEFAULTS.zone).toEqual({ leftPct: 10, rightPct: 10, topPct: 0, bottomPct: 0 })
48
55
  })
56
+
57
+ it("runs on Seedance 2.5 or Kling 4, Seedance when no engine is named", () => {
58
+ expect(CAST_SWAP_ENGINES).toEqual(["seedance-2-5", "kling-4"])
59
+ expect(CAST_SWAP_ENGINE_WHEN_OMITTED).toBe("seedance-2-5")
60
+ })
61
+
62
+ it("offers Kling 4 720p and 1080p with no draft, and Seedance 2.5 its 480p draft first", () => {
63
+ expect(CAST_SWAP_RESOLUTIONS_BY_ENGINE).toEqual({ "seedance-2-5": ["480p", "720p", "1080p"], "kling-4": ["720p", "1080p"] })
64
+ expect(castSwapEngineHasDraft("seedance-2-5")).toBe(true)
65
+ expect(castSwapEngineHasDraft("kling-4")).toBe(false)
66
+ })
67
+
68
+ it("fits a Kling 4 run's length by cutting the end, unless a trend or run says otherwise", () => {
69
+ expect(CAST_SWAP_KLING_LENGTHS).toEqual(["cut-end", "cut-start"])
70
+ expect(CAST_SWAP_KLING_LENGTH_WHEN_OMITTED).toBe("cut-end")
71
+ })
72
+
73
+ it("caps a Kling 4 run at 10 images", () => {
74
+ expect(CAST_SWAP_KLING_MAX_IMAGES).toBe(10)
75
+ })
49
76
  })
@@ -516,38 +516,19 @@ describe("buildVideoCreditModelIdentifier", () => {
516
516
  })
517
517
  })
518
518
 
519
- // --- seedance tiers ---
520
- describe("seedance duration tiers", () => {
521
- it("4s -> :4s", () => {
522
- expect(buildVideoCreditModelIdentifier("seedance", 4)).toBe("seedance:4s")
523
- })
524
-
525
- it("2s falls into 4s tier", () => {
526
- expect(buildVideoCreditModelIdentifier("seedance", 2)).toBe("seedance:4s")
527
- })
528
-
529
- it("8s -> :8s", () => {
530
- expect(buildVideoCreditModelIdentifier("seedance", 8)).toBe("seedance:8s")
531
- })
532
-
533
- it("6s is charged as the 4s the runner renders (nearest offered length, a tie goes shorter)", () => {
534
- expect(buildVideoCreditModelIdentifier("seedance", 6)).toBe("seedance:4s")
535
- })
536
-
537
- it("12s -> :12s", () => {
538
- expect(buildVideoCreditModelIdentifier("seedance", 12)).toBe("seedance:12s")
539
- })
540
-
541
- it("10s is charged as the 8s the runner renders (nearest offered length)", () => {
542
- expect(buildVideoCreditModelIdentifier("seedance", 10)).toBe("seedance:8s")
543
- })
544
-
545
- it("11s is charged as the 12s the runner renders", () => {
546
- expect(buildVideoCreditModelIdentifier("seedance", 11)).toBe("seedance:12s")
547
- })
548
-
549
- it("exceeding max clamps to 12s", () => {
550
- expect(buildVideoCreditModelIdentifier("seedance", 20)).toBe("seedance:12s")
519
+ // --- seedance (Seedance 1.5, retired 2026-10-25) ---
520
+ describe("a retired seedance is priced as the seedance-2-mini it runs as", () => {
521
+ it.each([
522
+ [4, undefined],
523
+ [8, undefined],
524
+ [12, "720p"],
525
+ [8, "480p"],
526
+ ] as const)("%ss %s", (duration, resolution) => {
527
+ for (const nodeType of ["image-to-video", "text-to-video"] as const) {
528
+ const asMini = buildVideoCreditModelIdentifier("seedance-2-mini", duration, undefined, nodeType, undefined, resolution)
529
+ expect(buildVideoCreditModelIdentifier("seedance", duration, undefined, nodeType, undefined, resolution)).toBe(asMini)
530
+ expect(asMini.startsWith("seedance-2-mini")).toBe(true)
531
+ }
551
532
  })
552
533
  })
553
534
 
@@ -40,8 +40,6 @@ describe("pricedOutputDurationSec", () => {
40
40
  expect(pricedOutputDurationSec("kling", 8)).toBe(10)
41
41
  expect(pricedOutputDurationSec("grok-i2v", 8)).toBe(6)
42
42
  expect(pricedOutputDurationSec("grok-i2v", 15)).toBe(10)
43
- expect(pricedOutputDurationSec("seedance", 6)).toBe(4)
44
- expect(pricedOutputDurationSec("seedance", 10)).toBe(8)
45
43
  })
46
44
 
47
45
  it("snapToNearestDuration is the runners' rule: offered values pass, ties go to the earlier entry", () => {
@@ -0,0 +1,42 @@
1
+ import { describe, expect, it } from "vitest"
2
+ import {
3
+ IMAGE_TO_VIDEO_PROVIDERS,
4
+ OBJECT_MOTION_PROVIDERS,
5
+ RETIRED_VIDEO_PROVIDERS,
6
+ TEXT_TO_VIDEO_PROVIDERS,
7
+ canonicalVideoProvider,
8
+ } from "../model-constants.js"
9
+ import { MODEL_CATALOG } from "../model-catalog.js"
10
+ import { PIPELINE_PINNABLE_VIDEO_MODELS, PipelineConfigSchema } from "../pipeline-types.js"
11
+
12
+ /**
13
+ * A retired video model (Seedance 1.5, retired upstream 2026-10-25) has no
14
+ * catalog entry and is in no provider list; every stored or sent copy of its
15
+ * id runs as the model it became.
16
+ */
17
+ describe("RETIRED_VIDEO_PROVIDERS", () => {
18
+ it("a retired id is gone from the catalog and every provider list; the model it runs as is live in both modes", () => {
19
+ for (const [retired, runsAs] of Object.entries(RETIRED_VIDEO_PROVIDERS)) {
20
+ expect(MODEL_CATALOG[retired], retired).toBeUndefined()
21
+ for (const list of [IMAGE_TO_VIDEO_PROVIDERS, TEXT_TO_VIDEO_PROVIDERS, OBJECT_MOTION_PROVIDERS, PIPELINE_PINNABLE_VIDEO_MODELS]) {
22
+ expect((list as readonly string[]).includes(retired), retired).toBe(false)
23
+ }
24
+ expect(MODEL_CATALOG[runsAs]?.kind, runsAs).toBe("video")
25
+ expect((IMAGE_TO_VIDEO_PROVIDERS as readonly string[]).includes(runsAs)).toBe(true)
26
+ expect((TEXT_TO_VIDEO_PROVIDERS as readonly string[]).includes(runsAs)).toBe(true)
27
+ }
28
+ })
29
+
30
+ it("canonicalVideoProvider maps a retired id and passes anything else through", () => {
31
+ expect(canonicalVideoProvider("seedance")).toBe("seedance-2-mini")
32
+ expect(canonicalVideoProvider("seedance-2")).toBe("seedance-2")
33
+ expect(canonicalVideoProvider(undefined)).toBeUndefined()
34
+ expect(canonicalVideoProvider("constructor")).toBe("constructor")
35
+ })
36
+
37
+ it("a saved pipeline pinned to a retired model reads as the model it runs as", () => {
38
+ const parsed = PipelineConfigSchema.parse({ video_model: "seedance", stage_models: { shots_video: "seedance" } })
39
+ expect(parsed.video_model).toBe("seedance-2-mini")
40
+ expect(parsed.stage_models?.shots_video).toBe("seedance-2-mini")
41
+ })
42
+ })
@@ -57,12 +57,6 @@ describe("getVideoAudioCapability", () => {
57
57
  }
58
58
  })
59
59
 
60
- it("returns ambient (audio but not dialogue) for Seedance 1.x", () => {
61
- const cap = getVideoAudioCapability("seedance")
62
- expect(cap.mode).toBe("ambient")
63
- expect(cap.field).toBe("generateAudio")
64
- })
65
-
66
60
  it("returns ambient with the `audio` field for the Wan 3.0 family", () => {
67
61
  // Wan 3.0's lever is literally `input.audio` — neither `sound` nor
68
62
  // `generate_audio`. Classified "ambient", NOT audio_driven: the KIE schema
@@ -125,7 +119,6 @@ describe("videoModelSupportsAudio", () => {
125
119
  expect(videoModelSupportsAudio("kling-3.0")).toBe(true)
126
120
  expect(videoModelSupportsAudio("kling-3-omni")).toBe(true)
127
121
  expect(videoModelSupportsAudio("seedance-2")).toBe(true)
128
- expect(videoModelSupportsAudio("seedance")).toBe(true)
129
122
  expect(videoModelSupportsAudio("gemini-omni-video")).toBe(true)
130
123
  expect(videoModelSupportsAudio("gemini-omni-flash")).toBe(true)
131
124
  expect(videoModelSupportsAudio("minimax")).toBe(false)
@@ -145,8 +138,6 @@ describe("videoModelCanSpeakDialogue", () => {
145
138
  expect(videoModelCanSpeakDialogue("kling")).toBe(true)
146
139
  expect(videoModelCanSpeakDialogue("kling-3.0")).toBe(true)
147
140
  expect(videoModelCanSpeakDialogue("kling-3-omni")).toBe(true)
148
- // ambient-only models are NOT dialogue-capable — their audio is SFX/ambient
149
- expect(videoModelCanSpeakDialogue("seedance")).toBe(false)
150
141
  // Gemini Omni generates an audio track on every render, but its documented
151
142
  // dialogue path is multi-turn extension, which our transport cannot reach.
152
143
  expect(videoModelCanSpeakDialogue("gemini-omni-video")).toBe(false)
@@ -232,9 +223,9 @@ describe("applyVideoAudioToggle — neutral audio intent → per-model KIE field
232
223
  applyVideoAudioToggle(off, "seedance-2", { sound: false })
233
224
  expect(off.generate_audio).toBe(false)
234
225
 
235
- const v1: Record<string, unknown> = {}
236
- applyVideoAudioToggle(v1, "seedance", { sound: true })
237
- expect(v1.generate_audio).toBe(true)
226
+ const mini: Record<string, unknown> = {}
227
+ applyVideoAudioToggle(mini, "seedance-2-mini", { sound: true })
228
+ expect(mini.generate_audio).toBe(true)
238
229
  })
239
230
 
240
231
  it("maps the neutral toggle onto Wan 3.0's `audio` field", () => {
@@ -264,7 +255,7 @@ describe("applyVideoAudioToggle — neutral audio intent → per-model KIE field
264
255
 
265
256
  it("accepts `generateAudio` as a legacy alias on FREE models (Seedance)", () => {
266
257
  const input: Record<string, unknown> = {}
267
- applyVideoAudioToggle(input, "seedance", { generateAudio: true })
258
+ applyVideoAudioToggle(input, "seedance-2-mini", { generateAudio: true })
268
259
  expect(input.generate_audio).toBe(true)
269
260
  })
270
261
 
@@ -5,7 +5,9 @@ import {
5
5
  VIDEO_MASK_DEFAULTS,
6
6
  VIDEO_MASK_LIMITS,
7
7
  VIDEO_MASK_PROVIDERS,
8
+ VIDEO_MASK_RECIPE,
8
9
  resolveVideoMaskProvider,
10
+ resolveVideoMaskRedetectSec,
9
11
  resolveVideoMaskZone,
10
12
  videoMaskBilledSeconds,
11
13
  videoMaskCreditId,
@@ -92,6 +94,28 @@ describe("Video Mask perShot", () => {
92
94
  })
93
95
  })
94
96
 
97
+ describe("Video Mask redetectEverySec", () => {
98
+ it("is off by default (0), with a 1–10 s range", () => {
99
+ expect(VIDEO_MASK_DEFAULTS.redetectEverySec).toBe(0)
100
+ expect(VIDEO_MASK_LIMITS.REDETECT_EVERY_SEC_MIN).toBe(1)
101
+ expect(VIDEO_MASK_LIMITS.REDETECT_EVERY_SEC_MAX).toBe(10)
102
+ })
103
+
104
+ it("resolveVideoMaskRedetectSec: absent / 0 / negative / not a number = 0; above 0 clamped to 1–10", () => {
105
+ expect(resolveVideoMaskRedetectSec(undefined)).toBe(0)
106
+ expect(resolveVideoMaskRedetectSec(null)).toBe(0)
107
+ expect(resolveVideoMaskRedetectSec(0)).toBe(0)
108
+ expect(resolveVideoMaskRedetectSec(-2)).toBe(0)
109
+ expect(resolveVideoMaskRedetectSec("1")).toBe(0)
110
+ expect(resolveVideoMaskRedetectSec(Number.NaN)).toBe(0)
111
+ expect(resolveVideoMaskRedetectSec(Infinity)).toBe(0)
112
+ expect(resolveVideoMaskRedetectSec(1)).toBe(1)
113
+ expect(resolveVideoMaskRedetectSec(2.5)).toBe(2.5)
114
+ expect(resolveVideoMaskRedetectSec(0.4)).toBe(1)
115
+ expect(resolveVideoMaskRedetectSec(30)).toBe(10)
116
+ })
117
+ })
118
+
95
119
  describe("Mask Composite units", () => {
96
120
  // Repeated in docs/nodes/processing-video/mask-composite.md (at the 10-credit row).
97
121
  it.each([[3, 1], [5, 1], [10, 2], [10.0000001, 2], [61, 13], [300, 60]])("%s s → %s unit(s)", (sec, units) => {
@@ -102,3 +126,10 @@ describe("Mask Composite units", () => {
102
126
  expect(maskCompositeUnits(900)).toBe(60)
103
127
  })
104
128
  })
129
+
130
+ describe("VIDEO_MASK_RECIPE", () => {
131
+ it("names the algorithm that makes today's masks (the lone-spike cut rule and the 1 s hold cap)", () => {
132
+ expect(VIDEO_MASK_RECIPE).toBe("2026-10-25")
133
+ expect(VIDEO_MASK_LIMITS.HOLD_MAX_SEC).toBe(1)
134
+ })
135
+ })
@@ -7,6 +7,7 @@ import {
7
7
  VIDEO_GEN_COLLAPSED_T2V_IDS,
8
8
  VIDEO_PROVIDERS_REQUIRING_IMAGE,
9
9
  resolveVideoProviderForMode,
10
+ RETIRED_VIDEO_PROVIDERS,
10
11
  } from "../model-constants.js"
11
12
 
12
13
  const I2V = "image-to-video"
@@ -48,12 +49,20 @@ describe("resolveVideoProviderForMode", () => {
48
49
  })
49
50
 
50
51
  it("passes non-aliased providers through unchanged in both modes", () => {
51
- for (const p of ["kling", "seedance", "veo3", "minimax", "ltx-2.3-pro"]) {
52
+ for (const p of ["kling", "seedance-2", "veo3", "minimax", "ltx-2.3-pro"]) {
52
53
  expect(resolveVideoProviderForMode(p, I2V)).toBe(p)
53
54
  expect(resolveVideoProviderForMode(p, T2V)).toBe(p)
54
55
  }
55
56
  })
56
57
 
58
+ it("resolves a retired id to the model it runs as, in both modes", () => {
59
+ for (const [retired, runsAs] of Object.entries(RETIRED_VIDEO_PROVIDERS)) {
60
+ expect(resolveVideoProviderForMode(retired, I2V)).toBe(runsAs)
61
+ expect(resolveVideoProviderForMode(retired, T2V)).toBe(runsAs)
62
+ }
63
+ expect(resolveVideoProviderForMode("seedance", I2V)).toBe("seedance-2-mini")
64
+ })
65
+
57
66
  it("passes single-id i2v-only models (grok-imagine-video-1.5) through unchanged", () => {
58
67
  // It is its own id in both arrays — never aliased, so no remap.
59
68
  expect(resolveVideoProviderForMode("grok-imagine-video-1.5", I2V)).toBe("grok-imagine-video-1.5")
@@ -153,3 +153,17 @@ describe("stripExportContent — a type's own run results under generic names",
153
153
  expect(other.data).toEqual({ label: "Other", quote: "a quote to show", durationSec: 12 })
154
154
  })
155
155
  })
156
+
157
+ describe("stripExportContent — an MCP conversation step", () => {
158
+ it("keeps where it came from (the user's request), never the exporter's job id", () => {
159
+ const [node] = stripExportContent([
160
+ {
161
+ id: "n",
162
+ type: "generate-image",
163
+ position: { x: 0, y: 0 },
164
+ data: { label: "Generate Image", prompt: "p", mcpProvenance: { tool: "generate_image", userRequest: "two dolphins", jobId: "j1", client: "claude" } },
165
+ } as GenericNode,
166
+ ])
167
+ expect((node.data as Record<string, unknown>).mcpProvenance).toEqual({ tool: "generate_image", userRequest: "two dolphins", client: "claude" })
168
+ })
169
+ })
@@ -59,3 +59,49 @@ export const CAST_SWAP_FACE_MASKING_DEFAULTS = {
59
59
  blurStrengthPct: 2,
60
60
  threshold: 0.5,
61
61
  } as const
62
+
63
+ /**
64
+ * The video engines Cast Swap runs on. A run or estimate that leaves `engine`
65
+ * out runs on `CAST_SWAP_ENGINE_WHEN_OMITTED`, so callers that predate the
66
+ * choice keep what they had.
67
+ */
68
+ export const CAST_SWAP_ENGINES = ["seedance-2-5", "kling-4"] as const
69
+
70
+ export type CastSwapEngine = (typeof CAST_SWAP_ENGINES)[number]
71
+
72
+ /** The engine of a run, estimate or trend that names none. */
73
+ export const CAST_SWAP_ENGINE_WHEN_OMITTED: CastSwapEngine = "seedance-2-5"
74
+
75
+ /**
76
+ * The resolutions each engine renders, the default first. Seedance 2.5's 480p
77
+ * is its draft (`draft` is 480p only); Kling 4 has no draft and no 480p.
78
+ */
79
+ export const CAST_SWAP_RESOLUTIONS_BY_ENGINE = {
80
+ "seedance-2-5": ["480p", "720p", "1080p"],
81
+ "kling-4": ["720p", "1080p"],
82
+ } as const satisfies Record<CastSwapEngine, readonly ("480p" | "720p" | "1080p")[]>
83
+
84
+ /** Whether an engine renders drafts (Seedance 2.5's 480p draft; Kling 4 has none). */
85
+ export function castSwapEngineHasDraft(engine: CastSwapEngine): boolean {
86
+ return engine === "seedance-2-5"
87
+ }
88
+
89
+ /**
90
+ * Where a Kling 4 run cuts the clip to whole seconds (Kling renders whole
91
+ * seconds, and asked for more than the clip it stretches the motion; Seedance
92
+ * 2.5 ignores it): `"cut-end"` (the default) drops the fraction of a second at
93
+ * the clip's end, `"cut-start"` at its start.
94
+ */
95
+ export const CAST_SWAP_KLING_LENGTHS = ["cut-end", "cut-start"] as const
96
+
97
+ export type CastSwapKlingLength = (typeof CAST_SWAP_KLING_LENGTHS)[number]
98
+
99
+ /** The `klingLength` of a run or trend that names none. */
100
+ export const CAST_SWAP_KLING_LENGTH_WHEN_OMITTED: CastSwapKlingLength = "cut-end"
101
+
102
+ /**
103
+ * The most images one Kling 4 Cast Swap run sends, across every role and fixed
104
+ * reference (a role with prepared references counts its one prepared
105
+ * picture). Over it the route answers `too_many_images`.
106
+ */
107
+ export const CAST_SWAP_KLING_MAX_IMAGES = 10
@@ -39,6 +39,14 @@ export interface ProjectedCatalogOption {
39
39
  * URL, so it can be cached indefinitely.
40
40
  */
41
41
  imageUrl?: string
42
+ /**
43
+ * The same picture at several widths, as an HTML `srcset` value
44
+ * (`<url> 240w, <url> 480w, <url> 960w, <url> 1920w`) — present only for a
45
+ * render the Nodaro CDN resizes (Nodaro Cloud: the look previews and the
46
+ * music pickers' pictures). Pass it to `<img srcset>` with a `sizes` so a
47
+ * large tile stays sharp; `imageUrl` is its 480px member.
48
+ */
49
+ imageSrcSet?: string
42
50
  }
43
51
 
44
52
  export interface ProjectedCatalogDimension {
@@ -32,6 +32,7 @@ import {
32
32
  normalizeWan3Resolution,
33
33
  normalizeViduQ4Resolution,
34
34
  getVideoAudioCapability,
35
+ canonicalVideoProvider,
35
36
  } from "./model-constants.js"
36
37
  import { isFlux2Model, FLUX2_RES_MP, type Flux2Model } from "./flux2-pricing.js"
37
38
  import { VIDEO_DURATION_AUTO } from "./video-duration-auto.js"
@@ -354,7 +355,7 @@ function wireNormalizedResolution(provider: string, resolution: string | undefin
354
355
  }
355
356
 
356
357
  export function buildVideoCreditModelIdentifier(
357
- provider: string,
358
+ rawProvider: string,
358
359
  duration?: number | string,
359
360
  sound?: boolean,
360
361
  nodeType?: "image-to-video" | "text-to-video",
@@ -362,6 +363,8 @@ export function buildVideoCreditModelIdentifier(
362
363
  resolution?: string,
363
364
  hasVideoRef?: boolean,
364
365
  ): string {
366
+ // A retired model (RETIRED_VIDEO_PROVIDERS) is priced as the model it runs as.
367
+ const provider = canonicalVideoProvider(rawProvider) as string
365
368
  // T2V overrides: some providers have different base costs for text-to-video
366
369
  let effectiveProvider = provider
367
370
  if (nodeType === "text-to-video") {
@@ -133,6 +133,8 @@ export {
133
133
  videoProviderRequiresImage,
134
134
  videoProviderFoldsLoneEndFrame,
135
135
  VIDEO_MODE_ALIASES,
136
+ RETIRED_VIDEO_PROVIDERS,
137
+ canonicalVideoProvider,
136
138
  VIDEO_GEN_COLLAPSED_T2V_IDS,
137
139
  resolveVideoProviderForMode,
138
140
  resolveVideoModeForInputs,
@@ -210,7 +212,15 @@ export {
210
212
  TREND_PROMPT_LIMITS,
211
213
  CAST_SWAP_FACE_MASKING_BOUNDS,
212
214
  CAST_SWAP_FACE_MASKING_DEFAULTS,
215
+ CAST_SWAP_ENGINES,
216
+ CAST_SWAP_ENGINE_WHEN_OMITTED,
217
+ CAST_SWAP_RESOLUTIONS_BY_ENGINE,
218
+ castSwapEngineHasDraft,
219
+ CAST_SWAP_KLING_LENGTHS,
220
+ CAST_SWAP_KLING_LENGTH_WHEN_OMITTED,
221
+ CAST_SWAP_KLING_MAX_IMAGES,
213
222
  } from "../cast-swap-limits.js"
223
+ export type { CastSwapEngine, CastSwapKlingLength } from "../cast-swap-limits.js"
214
224
  export type {
215
225
  ImageAspectRatio,
216
226
  ImageResolution,
@@ -52,7 +52,6 @@ export const VIDEO_CLIP_CREDITS: Record<string, VideoClipCost> = {
52
52
  "kling-turbo": { credits: 11, clipSeconds: 5 }, // kling-turbo:5s
53
53
  "kling": { credits: 14, clipSeconds: 5 }, // kling:5s
54
54
  "kling-3.0": { credits: 31, clipSeconds: 5 },
55
- "seedance": { credits: 7, clipSeconds: 8 }, // seedance:8s
56
55
  "seedance-2": { credits: 50, clipSeconds: 8 }, // seedance-2:8s:720p-ref
57
56
  "seedance-2-fast": { credits: 40, clipSeconds: 8 }, // seedance-2-fast:8s:720p-ref
58
57
  "seedance-2-mini": { credits: 25, clipSeconds: 8 }, // seedance-2-mini:8s:720p-ref
@@ -1913,28 +1913,9 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
1913
1913
  },
1914
1914
 
1915
1915
  // ── Bytedance Seedance ──
1916
- "seedance": {
1917
- id: "seedance",
1918
- kind: "video",
1919
- modes: ["i2v", "t2v"] as const,
1920
- family: "Bytedance",
1921
- maker: "bytedance",
1922
- label: "Seedance 1.5 Pro",
1923
- series: "Seedance",
1924
- description: "Bytedance Seedance 1.5 Pro — flexible duration (4/8/12s) with end-frame support.",
1925
- useCases: ["motion", "narrative"],
1926
- features: ["end-frame"],
1927
- durations: [4, 8, 12],
1928
- defaultDuration: 8,
1929
- resolutions: ["480p", "720p", "1080p"],
1930
- pricing: [
1931
- { identifier: "seedance", credits: 250, note: "8s default" },
1932
- { identifier: "seedance:4s", credits: 40 },
1933
- { identifier: "seedance:8s", credits: 70 },
1934
- { identifier: "seedance:12s", credits: 150 },
1935
- ],
1936
- mcpHidden: true,
1937
- },
1916
+ // `seedance` (Seedance 1.5 Pro) was retired upstream 2026-10-25 — KIE answers
1917
+ // 410. No entry: a stored or sent "seedance" runs as Seedance 2 Mini through
1918
+ // RETIRED_VIDEO_PROVIDERS (model-constants).
1938
1919
  "seedance-2": {
1939
1920
  id: "seedance-2",
1940
1921
  kind: "video",