@nodaro/shared 3.62.0 → 3.64.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 (264) hide show
  1. package/dist/{chunk-C7POAYFE.js → chunk-36VWLB4J.js} +3 -3
  2. package/dist/{chunk-C7POAYFE.js.map → chunk-36VWLB4J.js.map} +1 -1
  3. package/dist/{chunk-S24ZBUB4.js → chunk-3AYM47GW.js} +6 -32
  4. package/dist/chunk-3AYM47GW.js.map +1 -0
  5. package/dist/{chunk-YCXRSWCQ.js → chunk-3KTWYYCN.js} +8 -5
  6. package/dist/chunk-3KTWYYCN.js.map +1 -0
  7. package/dist/{chunk-ZES6EZC4.js → chunk-4IUE2JB7.js} +3 -3
  8. package/dist/{chunk-ZES6EZC4.js.map → chunk-4IUE2JB7.js.map} +1 -1
  9. package/dist/{chunk-MYJQELFN.cjs → chunk-5OBTGNUQ.cjs} +547 -29
  10. package/dist/chunk-5OBTGNUQ.cjs.map +1 -0
  11. package/dist/{chunk-TWF2OSH4.cjs → chunk-67CMMTLN.cjs} +4 -4
  12. package/dist/{chunk-TWF2OSH4.cjs.map → chunk-67CMMTLN.cjs.map} +1 -1
  13. package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
  14. package/dist/chunk-6BRWPJPP.cjs.map +1 -0
  15. package/dist/{chunk-S5TMRJMX.js → chunk-6YIV37V7.js} +4 -4
  16. package/dist/{chunk-S5TMRJMX.js.map → chunk-6YIV37V7.js.map} +1 -1
  17. package/dist/{chunk-3M4BNKFJ.cjs → chunk-7AJGUI7L.cjs} +202 -16
  18. package/dist/chunk-7AJGUI7L.cjs.map +1 -0
  19. package/dist/{chunk-JZGZ26YB.js → chunk-7KQ6W5DS.js} +4 -4
  20. package/dist/{chunk-JZGZ26YB.js.map → chunk-7KQ6W5DS.js.map} +1 -1
  21. package/dist/{chunk-IWWVPR3W.cjs → chunk-ACZZHHFZ.cjs} +149 -34
  22. package/dist/chunk-ACZZHHFZ.cjs.map +1 -0
  23. package/dist/{chunk-2W745U4A.cjs → chunk-AZNZ5WNZ.cjs} +42 -70
  24. package/dist/chunk-AZNZ5WNZ.cjs.map +1 -0
  25. package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
  26. package/dist/chunk-BQYCZLMF.js.map +1 -0
  27. package/dist/chunk-CHS2SIP6.cjs +504 -0
  28. package/dist/chunk-CHS2SIP6.cjs.map +1 -0
  29. package/dist/{chunk-CIPPPT7E.cjs → chunk-CHTZZRAL.cjs} +6 -6
  30. package/dist/{chunk-CIPPPT7E.cjs.map → chunk-CHTZZRAL.cjs.map} +1 -1
  31. package/dist/{chunk-AOJ6B7K4.cjs → chunk-D4KWNDPH.cjs} +12 -12
  32. package/dist/chunk-D4KWNDPH.cjs.map +1 -0
  33. package/dist/{chunk-5YYN5X57.js → chunk-DZ4IOP3Q.js} +536 -30
  34. package/dist/chunk-DZ4IOP3Q.js.map +1 -0
  35. package/dist/{chunk-VACPZPUA.cjs → chunk-EXEVT6D2.cjs} +15 -5
  36. package/dist/chunk-EXEVT6D2.cjs.map +1 -0
  37. package/dist/{chunk-5M43XMRB.cjs → chunk-FHGRKQVZ.cjs} +8 -8
  38. package/dist/{chunk-5M43XMRB.cjs.map → chunk-FHGRKQVZ.cjs.map} +1 -1
  39. package/dist/{chunk-KJSRPHJ2.cjs → chunk-GTWUS6MQ.cjs} +165 -54
  40. package/dist/chunk-GTWUS6MQ.cjs.map +1 -0
  41. package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
  42. package/dist/chunk-H5KHWTAE.js.map +1 -0
  43. package/dist/{chunk-G3KVK7OU.cjs → chunk-HDPJNNMF.cjs} +21 -21
  44. package/dist/{chunk-G3KVK7OU.cjs.map → chunk-HDPJNNMF.cjs.map} +1 -1
  45. package/dist/{chunk-3OYO3XCC.js → chunk-IYSOVS7O.js} +118 -24
  46. package/dist/chunk-IYSOVS7O.js.map +1 -0
  47. package/dist/{chunk-AFYTX4AI.cjs → chunk-J6B7J73J.cjs} +110 -50
  48. package/dist/chunk-J6B7J73J.cjs.map +1 -0
  49. package/dist/{chunk-I2RQB7VG.js → chunk-KB2SQAR3.js} +3 -3
  50. package/dist/{chunk-I2RQB7VG.js.map → chunk-KB2SQAR3.js.map} +1 -1
  51. package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
  52. package/dist/chunk-KSHAAPQF.cjs.map +1 -0
  53. package/dist/{chunk-6G7NN4S4.js → chunk-NIAFR5EE.js} +2 -2
  54. package/dist/chunk-NIAFR5EE.js.map +1 -0
  55. package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
  56. package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
  57. package/dist/{chunk-IDTKF5EX.cjs → chunk-O4RPXBDZ.cjs} +12 -8
  58. package/dist/chunk-O4RPXBDZ.cjs.map +1 -0
  59. package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
  60. package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
  61. package/dist/{chunk-PTD6EDUU.js → chunk-OBOOHG3N.js} +13 -4
  62. package/dist/chunk-OBOOHG3N.js.map +1 -0
  63. package/dist/{chunk-2D5LQFV4.cjs → chunk-OOZW2MM6.cjs} +9 -9
  64. package/dist/{chunk-2D5LQFV4.cjs.map → chunk-OOZW2MM6.cjs.map} +1 -1
  65. package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
  66. package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
  67. package/dist/{chunk-G4U3HW6W.js → chunk-PJJAZQVZ.js} +3 -3
  68. package/dist/{chunk-G4U3HW6W.js.map → chunk-PJJAZQVZ.js.map} +1 -1
  69. package/dist/{chunk-E2HZTGYX.js → chunk-Q2Y4JHF7.js} +7 -7
  70. package/dist/chunk-Q2Y4JHF7.js.map +1 -0
  71. package/dist/{chunk-FVII3KHN.js → chunk-QYU7J5EQ.js} +198 -17
  72. package/dist/chunk-QYU7J5EQ.js.map +1 -0
  73. package/dist/{chunk-JJNNM23P.js → chunk-S3UGLZSF.js} +3 -3
  74. package/dist/{chunk-JJNNM23P.js.map → chunk-S3UGLZSF.js.map} +1 -1
  75. package/dist/{chunk-CC4V2B7S.js → chunk-SHH2T4CR.js} +3 -3
  76. package/dist/{chunk-CC4V2B7S.js.map → chunk-SHH2T4CR.js.map} +1 -1
  77. package/dist/{chunk-4ZEFP2FQ.cjs → chunk-SPAHI7DY.cjs} +4 -4
  78. package/dist/{chunk-4ZEFP2FQ.cjs.map → chunk-SPAHI7DY.cjs.map} +1 -1
  79. package/dist/{chunk-Y6X7UJSD.js → chunk-SXHHLZ22.js} +122 -15
  80. package/dist/chunk-SXHHLZ22.js.map +1 -0
  81. package/dist/{chunk-HRY7KGAE.cjs → chunk-T2OVDF2M.cjs} +6 -6
  82. package/dist/{chunk-HRY7KGAE.cjs.map → chunk-T2OVDF2M.cjs.map} +1 -1
  83. package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
  84. package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
  85. package/dist/{chunk-NGKKNSK6.js → chunk-TPQJKS7D.js} +139 -16
  86. package/dist/chunk-TPQJKS7D.js.map +1 -0
  87. package/dist/{chunk-N7OUQK7E.cjs → chunk-TQW3R44P.cjs} +8 -8
  88. package/dist/{chunk-N7OUQK7E.cjs.map → chunk-TQW3R44P.cjs.map} +1 -1
  89. package/dist/{chunk-GSFB537T.js → chunk-TTGZ2L3O.js} +23 -4
  90. package/dist/chunk-TTGZ2L3O.js.map +1 -0
  91. package/dist/{chunk-SYWR5G3T.js → chunk-VPTA4Z7G.js} +54 -7
  92. package/dist/chunk-VPTA4Z7G.js.map +1 -0
  93. package/dist/{chunk-2HZGDZZN.cjs → chunk-VZ6TE23U.cjs} +6 -6
  94. package/dist/{chunk-2HZGDZZN.cjs.map → chunk-VZ6TE23U.cjs.map} +1 -1
  95. package/dist/{chunk-TRVWMKNE.cjs → chunk-W6VJAUGM.cjs} +285 -64
  96. package/dist/chunk-W6VJAUGM.cjs.map +1 -0
  97. package/dist/{chunk-UDDVDQMF.js → chunk-W7KHHNZR.js} +235 -37
  98. package/dist/chunk-W7KHHNZR.js.map +1 -0
  99. package/dist/{chunk-KYMHFVAZ.cjs → chunk-Y4GCJJPF.cjs} +2 -2
  100. package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
  101. package/dist/{chunk-6CSXMWL4.cjs → chunk-YQV53HRR.cjs} +27 -4
  102. package/dist/chunk-YQV53HRR.cjs.map +1 -0
  103. package/dist/{chunk-7FCTCWHD.js → chunk-ZI3QDUHO.js} +3 -3
  104. package/dist/{chunk-7FCTCWHD.js.map → chunk-ZI3QDUHO.js.map} +1 -1
  105. package/dist/entries/apps.cjs +43 -42
  106. package/dist/entries/apps.js +8 -7
  107. package/dist/entries/captions.cjs +38 -30
  108. package/dist/entries/captions.d.cts +47 -1
  109. package/dist/entries/captions.d.ts +47 -1
  110. package/dist/entries/captions.js +1 -1
  111. package/dist/entries/credits.cjs +354 -174
  112. package/dist/entries/credits.d.cts +378 -27
  113. package/dist/entries/credits.d.ts +378 -27
  114. package/dist/entries/credits.js +11 -11
  115. package/dist/entries/llm-models.cjs +77 -57
  116. package/dist/entries/llm-models.d.cts +108 -7
  117. package/dist/entries/llm-models.d.ts +108 -7
  118. package/dist/entries/llm-models.js +2 -2
  119. package/dist/entries/media.cjs +63 -63
  120. package/dist/entries/media.d.cts +8 -0
  121. package/dist/entries/media.d.ts +8 -0
  122. package/dist/entries/media.js +1 -1
  123. package/dist/entries/model-catalog.cjs +161 -105
  124. package/dist/entries/model-catalog.d.cts +109 -22
  125. package/dist/entries/model-catalog.d.ts +109 -22
  126. package/dist/entries/model-catalog.js +4 -4
  127. package/dist/entries/models.cjs +466 -322
  128. package/dist/entries/models.d.cts +71 -5
  129. package/dist/entries/models.d.ts +71 -5
  130. package/dist/entries/models.js +5 -5
  131. package/dist/entries/nodes.cjs +226 -209
  132. package/dist/entries/nodes.d.cts +66 -7
  133. package/dist/entries/nodes.d.ts +66 -7
  134. package/dist/entries/nodes.js +10 -9
  135. package/dist/entries/pipeline.cjs +156 -152
  136. package/dist/entries/pipeline.d.cts +14 -4
  137. package/dist/entries/pipeline.d.ts +14 -4
  138. package/dist/entries/pipeline.js +3 -3
  139. package/dist/entries/runtime-config.cjs +29 -29
  140. package/dist/entries/runtime-config.d.cts +10 -7
  141. package/dist/entries/runtime-config.d.ts +10 -7
  142. package/dist/entries/runtime-config.js +1 -1
  143. package/dist/entries/social.cjs +177 -177
  144. package/dist/entries/social.js +2 -2
  145. package/dist/entries/types.d.cts +8 -0
  146. package/dist/entries/types.d.ts +8 -0
  147. package/dist/entries/ugc.cjs +71 -71
  148. package/dist/entries/ugc.js +4 -4
  149. package/dist/entries/video.cjs +154 -150
  150. package/dist/entries/video.d.cts +11 -2
  151. package/dist/entries/video.d.ts +11 -2
  152. package/dist/entries/video.js +6 -6
  153. package/dist/entries/workflow.cjs +150 -150
  154. package/dist/entries/workflow.d.cts +1 -1
  155. package/dist/entries/workflow.d.ts +1 -1
  156. package/dist/entries/workflow.js +2 -2
  157. package/dist/index.cjs +2136 -1704
  158. package/dist/index.d.cts +10 -10
  159. package/dist/index.d.ts +10 -10
  160. package/dist/index.js +27 -27
  161. package/dist/{model-catalog-CCEcv08q.d.ts → model-catalog-Cf9fkEUp.d.cts} +45 -2
  162. package/dist/{model-catalog-CCEcv08q.d.cts → model-catalog-Cf9fkEUp.d.ts} +45 -2
  163. package/dist/{model-constants-B88p6XR0.d.ts → model-constants-BxjiWVQ9.d.ts} +215 -32
  164. package/dist/{model-constants-Cf3zaITt.d.cts → model-constants-C_Nyft_i.d.cts} +215 -32
  165. package/package.json +1 -1
  166. package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
  167. package/src/__tests__/credit-identifiers.test.ts +29 -0
  168. package/src/__tests__/extend-providers.test.ts +359 -39
  169. package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
  170. package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
  171. package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
  172. package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
  173. package/src/__tests__/flux-3-klein.test.ts +203 -0
  174. package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
  175. package/src/__tests__/gvp-supported-providers.test.ts +27 -2
  176. package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
  177. package/src/__tests__/lip-sync-levers.test.ts +31 -0
  178. package/src/__tests__/llm-models.test.ts +139 -12
  179. package/src/__tests__/llm-price-key.test.ts +164 -1
  180. package/src/__tests__/model-makers.test.ts +3 -0
  181. package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
  182. package/src/__tests__/node-runtime-keys.test.ts +7 -0
  183. package/src/__tests__/normalize-node-params.test.ts +172 -1
  184. package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
  185. package/src/__tests__/prompt-length-limits.test.ts +4 -0
  186. package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
  187. package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
  188. package/src/__tests__/seedance-task-type.test.ts +13 -3
  189. package/src/__tests__/sequence-execution.test.ts +22 -1
  190. package/src/__tests__/suno-credit-type.test.ts +21 -2
  191. package/src/__tests__/transcribe-capabilities.test.ts +41 -2
  192. package/src/__tests__/transcribe-preflight.test.ts +50 -1
  193. package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
  194. package/src/__tests__/video-analysis-pricing.test.ts +10 -9
  195. package/src/__tests__/video-audio-capability.test.ts +35 -6
  196. package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
  197. package/src/__tests__/video-upscale-params.test.ts +62 -0
  198. package/src/caption-styles.ts +62 -0
  199. package/src/catalog-projection.ts +8 -0
  200. package/src/credit-estimators/add-captions-nemotron.ts +73 -0
  201. package/src/credit-estimators/index.ts +20 -0
  202. package/src/credit-estimators/nemotron-transcribe.ts +87 -0
  203. package/src/credit-identifiers.ts +351 -41
  204. package/src/entries/captions.ts +2 -0
  205. package/src/entries/credits.ts +37 -2
  206. package/src/entries/llm-models.ts +6 -0
  207. package/src/entries/model-catalog.ts +22 -0
  208. package/src/entries/models.ts +50 -0
  209. package/src/entries/nodes.ts +4 -0
  210. package/src/entries/pipeline.ts +1 -1
  211. package/src/entries/video.ts +1 -1
  212. package/src/flux-3-klein.ts +69 -0
  213. package/src/freecut-protocol.ts +8 -0
  214. package/src/input-image-pricing.ts +23 -6
  215. package/src/lip-sync-levers.ts +56 -0
  216. package/src/lip-sync-pricing.ts +91 -1
  217. package/src/llm-models.ts +305 -16
  218. package/src/model-catalog.ts +529 -28
  219. package/src/model-constants.ts +417 -41
  220. package/src/model-tree.ts +2 -1
  221. package/src/nodaro-video-upscale.ts +48 -0
  222. package/src/node-default-mappings.ts +6 -0
  223. package/src/node-runtime-keys.ts +3 -0
  224. package/src/normalize-node-params.ts +172 -3
  225. package/src/runtime-config/contract.ts +10 -7
  226. package/src/seedance-draft.ts +2 -1
  227. package/src/seedance-extend-rate.ts +116 -0
  228. package/src/sequence-execution.ts +24 -0
  229. package/src/transcribe-preflight.ts +81 -7
  230. package/src/video-analysis-pricing.ts +28 -15
  231. package/src/video-duration.ts +9 -0
  232. package/src/video-ui-defaults.ts +5 -3
  233. package/src/video-upscale-params.ts +67 -0
  234. package/dist/chunk-2W745U4A.cjs.map +0 -1
  235. package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
  236. package/dist/chunk-3OYO3XCC.js.map +0 -1
  237. package/dist/chunk-5YYN5X57.js.map +0 -1
  238. package/dist/chunk-6CSXMWL4.cjs.map +0 -1
  239. package/dist/chunk-6G7NN4S4.js.map +0 -1
  240. package/dist/chunk-AFYTX4AI.cjs.map +0 -1
  241. package/dist/chunk-AOJ6B7K4.cjs.map +0 -1
  242. package/dist/chunk-BLJUCPMV.cjs.map +0 -1
  243. package/dist/chunk-E2HZTGYX.js.map +0 -1
  244. package/dist/chunk-FVII3KHN.js.map +0 -1
  245. package/dist/chunk-GSFB537T.js.map +0 -1
  246. package/dist/chunk-HSHCCBIV.js.map +0 -1
  247. package/dist/chunk-IDTKF5EX.cjs.map +0 -1
  248. package/dist/chunk-IWWVPR3W.cjs.map +0 -1
  249. package/dist/chunk-KJSRPHJ2.cjs.map +0 -1
  250. package/dist/chunk-KYMHFVAZ.cjs.map +0 -1
  251. package/dist/chunk-MYJQELFN.cjs.map +0 -1
  252. package/dist/chunk-NGKKNSK6.js.map +0 -1
  253. package/dist/chunk-PTD6EDUU.js.map +0 -1
  254. package/dist/chunk-Q6IES3U2.js.map +0 -1
  255. package/dist/chunk-QWYFHQYK.cjs +0 -357
  256. package/dist/chunk-QWYFHQYK.cjs.map +0 -1
  257. package/dist/chunk-S24ZBUB4.js.map +0 -1
  258. package/dist/chunk-SYWR5G3T.js.map +0 -1
  259. package/dist/chunk-TRVWMKNE.cjs.map +0 -1
  260. package/dist/chunk-UDDVDQMF.js.map +0 -1
  261. package/dist/chunk-VACPZPUA.cjs.map +0 -1
  262. package/dist/chunk-WRSWH7US.cjs.map +0 -1
  263. package/dist/chunk-Y6X7UJSD.js.map +0 -1
  264. package/dist/chunk-YCXRSWCQ.js.map +0 -1
@@ -0,0 +1,1866 @@
1
+ {
2
+ "$comment": "Mask Composite's and Video Overlay's quote before a run when what reaches them is made by another node — read by BOTH estimates over the same graphs, through the one measured walk (`measuredWireLengthSec`, @nodaro/render-rules): the editor's (frontend maskCompositePricingUnits / videoOverlayPricingUnits — the node's pill, its Run button, the confirm and the workflow badge) and the server's workflow estimate (CreditsService.estimateWorkflowCreditsAt, the composite's own line). Each case wires its sources into the step `c` (an edge with no `target` goes into `c`), which is a Mask Composite with default settings, or a Video Overlay with one stored video layer (so it quotes on its video row) and the case's `video` wire as its base. `expectedUnits` holds the 5-second units both quote, for two run sets (and, where a case gives `partial`, a third: exactly its `runSet`, passed as the editor's run set and the server's `runNodeIds`): `whole` (the editor's whole-run badge and confirm, which pass every executable node, frozen ones included; the server's estimate with no run set, which leaves frozen nodes out) and `alone` (the step's own Run and its pill on the editor; a server run of only `c`). Mask Composite's cap is 60 units (300 s), Video Overlay's 12 (60 s). A video made in the run is read at its planned length plus each step's slack once for every clip a node makes on the way (0.1 s on Mask Composite, which charges the container; 1/24 s on Video Overlay, which charges the video stream) — a step that only passes its input on adds none; a node that does not run hands on its take, at the length recorded with it.",
3
+ "cases": [
4
+ {
5
+ "name": "1. Generate Video on Kling 4.0 set to 5 s, never run: 5 s planned, plus the slack",
6
+ "nodes": [
7
+ {
8
+ "id": "g",
9
+ "type": "generate-video",
10
+ "data": {
11
+ "provider": "kling-4",
12
+ "duration": 5
13
+ }
14
+ }
15
+ ],
16
+ "edges": [
17
+ {
18
+ "source": "g",
19
+ "targetHandle": "video"
20
+ }
21
+ ],
22
+ "expectedUnits": {
23
+ "whole": {
24
+ "maskComposite": 2,
25
+ "videoOverlay": 1
26
+ },
27
+ "alone": {
28
+ "maskComposite": 2,
29
+ "videoOverlay": 1
30
+ }
31
+ }
32
+ },
33
+ {
34
+ "name": "1b. Image to Video on Kling set to 7 s: the model renders the 5 s it offers",
35
+ "nodes": [
36
+ {
37
+ "id": "g",
38
+ "type": "image-to-video",
39
+ "data": {
40
+ "provider": "kling",
41
+ "duration": 7
42
+ }
43
+ }
44
+ ],
45
+ "edges": [
46
+ {
47
+ "source": "g",
48
+ "targetHandle": "video"
49
+ }
50
+ ],
51
+ "expectedUnits": {
52
+ "whole": {
53
+ "maskComposite": 2,
54
+ "videoOverlay": 1
55
+ },
56
+ "alone": {
57
+ "maskComposite": 2,
58
+ "videoOverlay": 1
59
+ }
60
+ }
61
+ },
62
+ {
63
+ "name": "1c. Generate Video naming no model and no duration: the run's default model at its 4 s",
64
+ "nodes": [
65
+ {
66
+ "id": "g",
67
+ "type": "generate-video",
68
+ "data": {}
69
+ }
70
+ ],
71
+ "edges": [
72
+ {
73
+ "source": "g",
74
+ "targetHandle": "video"
75
+ }
76
+ ],
77
+ "expectedUnits": {
78
+ "whole": {
79
+ "maskComposite": 1,
80
+ "videoOverlay": 1
81
+ },
82
+ "alone": {
83
+ "maskComposite": 1,
84
+ "videoOverlay": 1
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "name": "1d. Seedance 2.5 on Auto: its longest clip, 30 s",
90
+ "nodes": [
91
+ {
92
+ "id": "g",
93
+ "type": "generate-video",
94
+ "data": {
95
+ "provider": "seedance-2-5",
96
+ "duration": -1
97
+ }
98
+ }
99
+ ],
100
+ "edges": [
101
+ {
102
+ "source": "g",
103
+ "targetHandle": "video"
104
+ }
105
+ ],
106
+ "expectedUnits": {
107
+ "whole": {
108
+ "maskComposite": 7,
109
+ "videoOverlay": 6
110
+ },
111
+ "alone": {
112
+ "maskComposite": 7,
113
+ "videoOverlay": 6
114
+ }
115
+ }
116
+ },
117
+ {
118
+ "name": "1e. Seedance 2.5 set to 5 s with a 12 s reference clip: an edit renders the clip's length",
119
+ "nodes": [
120
+ {
121
+ "id": "u",
122
+ "type": "upload-video",
123
+ "data": {
124
+ "url": "https://cdn.example/u.mp4",
125
+ "generatedResults": [
126
+ {
127
+ "url": "https://cdn.example/u.mp4",
128
+ "duration": 12
129
+ }
130
+ ],
131
+ "activeResultIndex": 0
132
+ }
133
+ },
134
+ {
135
+ "id": "g",
136
+ "type": "generate-video",
137
+ "data": {
138
+ "provider": "seedance-2-5",
139
+ "duration": 5
140
+ }
141
+ }
142
+ ],
143
+ "edges": [
144
+ {
145
+ "source": "u",
146
+ "target": "g",
147
+ "targetHandle": "videoReferences"
148
+ },
149
+ {
150
+ "source": "g",
151
+ "targetHandle": "video"
152
+ }
153
+ ],
154
+ "expectedUnits": {
155
+ "whole": {
156
+ "maskComposite": 3,
157
+ "videoOverlay": 3
158
+ },
159
+ "alone": {
160
+ "maskComposite": 3,
161
+ "videoOverlay": 3
162
+ }
163
+ }
164
+ },
165
+ {
166
+ "name": "1f. Kling 4.0 set to 5 s with a 12 s reference clip: it renders exactly the 5 s",
167
+ "nodes": [
168
+ {
169
+ "id": "u",
170
+ "type": "upload-video",
171
+ "data": {
172
+ "url": "https://cdn.example/u.mp4",
173
+ "generatedResults": [
174
+ {
175
+ "url": "https://cdn.example/u.mp4",
176
+ "duration": 12
177
+ }
178
+ ],
179
+ "activeResultIndex": 0
180
+ }
181
+ },
182
+ {
183
+ "id": "g",
184
+ "type": "generate-video",
185
+ "data": {
186
+ "provider": "kling-4",
187
+ "duration": 5
188
+ }
189
+ }
190
+ ],
191
+ "edges": [
192
+ {
193
+ "source": "u",
194
+ "target": "g",
195
+ "targetHandle": "videoReferences"
196
+ },
197
+ {
198
+ "source": "g",
199
+ "targetHandle": "video"
200
+ }
201
+ ],
202
+ "expectedUnits": {
203
+ "whole": {
204
+ "maskComposite": 2,
205
+ "videoOverlay": 1
206
+ },
207
+ "alone": {
208
+ "maskComposite": 2,
209
+ "videoOverlay": 1
210
+ }
211
+ }
212
+ },
213
+ {
214
+ "name": "2. A 10 s upload extended by 5 s on Seedance 2.5: source plus the added clip, plus the slack",
215
+ "nodes": [
216
+ {
217
+ "id": "u",
218
+ "type": "upload-video",
219
+ "data": {
220
+ "url": "https://cdn.example/u.mp4",
221
+ "generatedResults": [
222
+ {
223
+ "url": "https://cdn.example/u.mp4",
224
+ "duration": 10
225
+ }
226
+ ],
227
+ "activeResultIndex": 0
228
+ }
229
+ },
230
+ {
231
+ "id": "x",
232
+ "type": "extend-video",
233
+ "data": {
234
+ "provider": "seedance-2-5-extend",
235
+ "duration": 5
236
+ }
237
+ }
238
+ ],
239
+ "edges": [
240
+ {
241
+ "source": "u",
242
+ "target": "x",
243
+ "targetHandle": "video"
244
+ },
245
+ {
246
+ "source": "x",
247
+ "targetHandle": "video"
248
+ }
249
+ ],
250
+ "expectedUnits": {
251
+ "whole": {
252
+ "maskComposite": 4,
253
+ "videoOverlay": 3
254
+ },
255
+ "alone": {
256
+ "maskComposite": 4,
257
+ "videoOverlay": 3
258
+ }
259
+ }
260
+ },
261
+ {
262
+ "name": "2b. The same on the default VEO extend: a length the catalog does not declare — the cap",
263
+ "nodes": [
264
+ {
265
+ "id": "u",
266
+ "type": "upload-video",
267
+ "data": {
268
+ "url": "https://cdn.example/u.mp4",
269
+ "generatedResults": [
270
+ {
271
+ "url": "https://cdn.example/u.mp4",
272
+ "duration": 10
273
+ }
274
+ ],
275
+ "activeResultIndex": 0
276
+ }
277
+ },
278
+ {
279
+ "id": "x",
280
+ "type": "extend-video",
281
+ "data": {
282
+ "duration": 5
283
+ }
284
+ }
285
+ ],
286
+ "edges": [
287
+ {
288
+ "source": "u",
289
+ "target": "x",
290
+ "targetHandle": "video"
291
+ },
292
+ {
293
+ "source": "x",
294
+ "targetHandle": "video"
295
+ }
296
+ ],
297
+ "expectedUnits": {
298
+ "whole": {
299
+ "maskComposite": 60,
300
+ "videoOverlay": 12
301
+ },
302
+ "alone": {
303
+ "maskComposite": 60,
304
+ "videoOverlay": 12
305
+ }
306
+ }
307
+ },
308
+ {
309
+ "name": "2c. A 10 s upload extended on LTX 2.3 Pro set to 6 s: 16 s, plus the slack",
310
+ "nodes": [
311
+ {
312
+ "id": "u",
313
+ "type": "upload-video",
314
+ "data": {
315
+ "url": "https://cdn.example/u.mp4",
316
+ "generatedResults": [
317
+ {
318
+ "url": "https://cdn.example/u.mp4",
319
+ "duration": 10
320
+ }
321
+ ],
322
+ "activeResultIndex": 0
323
+ }
324
+ },
325
+ {
326
+ "id": "x",
327
+ "type": "extend-video",
328
+ "data": {
329
+ "provider": "ltx-2.3-pro",
330
+ "duration": 6
331
+ }
332
+ }
333
+ ],
334
+ "edges": [
335
+ {
336
+ "source": "u",
337
+ "target": "x",
338
+ "targetHandle": "video"
339
+ },
340
+ {
341
+ "source": "x",
342
+ "targetHandle": "video"
343
+ }
344
+ ],
345
+ "expectedUnits": {
346
+ "whole": {
347
+ "maskComposite": 4,
348
+ "videoOverlay": 4
349
+ },
350
+ "alone": {
351
+ "maskComposite": 4,
352
+ "videoOverlay": 4
353
+ }
354
+ }
355
+ },
356
+ {
357
+ "name": "2d. A 10 s upload extended on PixVerse V6 set to 5 s: 15 s, plus the slack (as Seedance 2.5's 5 s)",
358
+ "nodes": [
359
+ {
360
+ "id": "u",
361
+ "type": "upload-video",
362
+ "data": {
363
+ "url": "https://cdn.example/u.mp4",
364
+ "generatedResults": [
365
+ {
366
+ "url": "https://cdn.example/u.mp4",
367
+ "duration": 10
368
+ }
369
+ ],
370
+ "activeResultIndex": 0
371
+ }
372
+ },
373
+ {
374
+ "id": "x",
375
+ "type": "extend-video",
376
+ "data": {
377
+ "provider": "pixverse-v6-extend",
378
+ "duration": 5
379
+ }
380
+ }
381
+ ],
382
+ "edges": [
383
+ {
384
+ "source": "u",
385
+ "target": "x",
386
+ "targetHandle": "video"
387
+ },
388
+ {
389
+ "source": "x",
390
+ "targetHandle": "video"
391
+ }
392
+ ],
393
+ "expectedUnits": {
394
+ "whole": {
395
+ "maskComposite": 4,
396
+ "videoOverlay": 3
397
+ },
398
+ "alone": {
399
+ "maskComposite": 4,
400
+ "videoOverlay": 3
401
+ }
402
+ }
403
+ },
404
+ {
405
+ "name": "2e. PixVerse V6 set to 40 s is held to its 15 s: a 10 s upload reads 25 s, plus the slack",
406
+ "nodes": [
407
+ {
408
+ "id": "u",
409
+ "type": "upload-video",
410
+ "data": {
411
+ "url": "https://cdn.example/u.mp4",
412
+ "generatedResults": [
413
+ {
414
+ "url": "https://cdn.example/u.mp4",
415
+ "duration": 10
416
+ }
417
+ ],
418
+ "activeResultIndex": 0
419
+ }
420
+ },
421
+ {
422
+ "id": "x",
423
+ "type": "extend-video",
424
+ "data": {
425
+ "provider": "pixverse-v6-extend",
426
+ "duration": 40
427
+ }
428
+ }
429
+ ],
430
+ "edges": [
431
+ {
432
+ "source": "u",
433
+ "target": "x",
434
+ "targetHandle": "video"
435
+ },
436
+ {
437
+ "source": "x",
438
+ "targetHandle": "video"
439
+ }
440
+ ],
441
+ "expectedUnits": {
442
+ "whole": {
443
+ "maskComposite": 6,
444
+ "videoOverlay": 5
445
+ },
446
+ "alone": {
447
+ "maskComposite": 6,
448
+ "videoOverlay": 5
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "name": "2f. PixVerse V6 with no length set adds its default 5 s: a 30 s upload reads 35 s, plus the slack",
454
+ "nodes": [
455
+ {
456
+ "id": "u",
457
+ "type": "upload-video",
458
+ "data": {
459
+ "url": "https://cdn.example/u.mp4",
460
+ "generatedResults": [
461
+ {
462
+ "url": "https://cdn.example/u.mp4",
463
+ "duration": 30
464
+ }
465
+ ],
466
+ "activeResultIndex": 0
467
+ }
468
+ },
469
+ {
470
+ "id": "x",
471
+ "type": "extend-video",
472
+ "data": {
473
+ "provider": "pixverse-v6-extend"
474
+ }
475
+ }
476
+ ],
477
+ "edges": [
478
+ {
479
+ "source": "u",
480
+ "target": "x",
481
+ "targetHandle": "video"
482
+ },
483
+ {
484
+ "source": "x",
485
+ "targetHandle": "video"
486
+ }
487
+ ],
488
+ "expectedUnits": {
489
+ "whole": {
490
+ "maskComposite": 8,
491
+ "videoOverlay": 7
492
+ },
493
+ "alone": {
494
+ "maskComposite": 8,
495
+ "videoOverlay": 7
496
+ }
497
+ }
498
+ },
499
+ {
500
+ "name": "2g. A 10 s video extended on Grok by 10 s: 20 s, plus the slack",
501
+ "nodes": [
502
+ {
503
+ "id": "u",
504
+ "type": "upload-video",
505
+ "data": {
506
+ "url": "https://cdn.example/u.mp4",
507
+ "generatedResults": [
508
+ {
509
+ "url": "https://cdn.example/u.mp4",
510
+ "duration": 10
511
+ }
512
+ ],
513
+ "activeResultIndex": 0
514
+ }
515
+ },
516
+ {
517
+ "id": "x",
518
+ "type": "extend-video",
519
+ "data": {
520
+ "provider": "grok-extend",
521
+ "duration": 10
522
+ }
523
+ }
524
+ ],
525
+ "edges": [
526
+ {
527
+ "source": "u",
528
+ "target": "x",
529
+ "targetHandle": "video"
530
+ },
531
+ {
532
+ "source": "x",
533
+ "targetHandle": "video"
534
+ }
535
+ ],
536
+ "expectedUnits": {
537
+ "whole": {
538
+ "maskComposite": 5,
539
+ "videoOverlay": 4
540
+ },
541
+ "alone": {
542
+ "maskComposite": 5,
543
+ "videoOverlay": 4
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "name": "2h. Grok Extend with no length set adds its default 6 s: a 10 s video reads 16 s, plus the slack",
549
+ "nodes": [
550
+ {
551
+ "id": "u",
552
+ "type": "upload-video",
553
+ "data": {
554
+ "url": "https://cdn.example/u.mp4",
555
+ "generatedResults": [
556
+ {
557
+ "url": "https://cdn.example/u.mp4",
558
+ "duration": 10
559
+ }
560
+ ],
561
+ "activeResultIndex": 0
562
+ }
563
+ },
564
+ {
565
+ "id": "x",
566
+ "type": "extend-video",
567
+ "data": {
568
+ "provider": "grok-extend"
569
+ }
570
+ }
571
+ ],
572
+ "edges": [
573
+ {
574
+ "source": "u",
575
+ "target": "x",
576
+ "targetHandle": "video"
577
+ },
578
+ {
579
+ "source": "x",
580
+ "targetHandle": "video"
581
+ }
582
+ ],
583
+ "expectedUnits": {
584
+ "whole": {
585
+ "maskComposite": 4,
586
+ "videoOverlay": 4
587
+ },
588
+ "alone": {
589
+ "maskComposite": 4,
590
+ "videoOverlay": 4
591
+ }
592
+ }
593
+ },
594
+ {
595
+ "name": "2i. A Grok Imagine clip set to 6 s, made in the run, extended on Grok by 10 s: 16 s, plus each clip's slack",
596
+ "nodes": [
597
+ {
598
+ "id": "g",
599
+ "type": "generate-video",
600
+ "data": {
601
+ "provider": "grok",
602
+ "duration": 6
603
+ }
604
+ },
605
+ {
606
+ "id": "x",
607
+ "type": "extend-video",
608
+ "data": {
609
+ "provider": "grok-extend",
610
+ "duration": 10
611
+ }
612
+ }
613
+ ],
614
+ "edges": [
615
+ {
616
+ "source": "g",
617
+ "target": "x",
618
+ "targetHandle": "video"
619
+ },
620
+ {
621
+ "source": "x",
622
+ "targetHandle": "video"
623
+ }
624
+ ],
625
+ "expectedUnits": {
626
+ "whole": {
627
+ "maskComposite": 4,
628
+ "videoOverlay": 4
629
+ },
630
+ "alone": {
631
+ "maskComposite": 4,
632
+ "videoOverlay": 4
633
+ }
634
+ }
635
+ },
636
+ {
637
+ "name": "3. A generation with an old 5.042 s take, now set to 10 s: re-run, its 10 s; not run, the take it hands on",
638
+ "nodes": [
639
+ {
640
+ "id": "g",
641
+ "type": "generate-video",
642
+ "data": {
643
+ "provider": "kling-4",
644
+ "duration": 10,
645
+ "generatedResults": [
646
+ {
647
+ "url": "https://cdn.example/take.mp4",
648
+ "duration": 5.042
649
+ }
650
+ ],
651
+ "activeResultIndex": 0
652
+ }
653
+ }
654
+ ],
655
+ "edges": [
656
+ {
657
+ "source": "g",
658
+ "targetHandle": "video"
659
+ }
660
+ ],
661
+ "expectedUnits": {
662
+ "whole": {
663
+ "maskComposite": 3,
664
+ "videoOverlay": 2
665
+ },
666
+ "alone": {
667
+ "maskComposite": 1,
668
+ "videoOverlay": 1
669
+ }
670
+ }
671
+ },
672
+ {
673
+ "name": "4. A 10 s generation into a Trim with no fixed window: the generation's length, plus the slack",
674
+ "nodes": [
675
+ {
676
+ "id": "g",
677
+ "type": "generate-video",
678
+ "data": {
679
+ "provider": "kling-4",
680
+ "duration": 10
681
+ }
682
+ },
683
+ {
684
+ "id": "t",
685
+ "type": "trim-video",
686
+ "data": {
687
+ "trimMode": "smart"
688
+ }
689
+ }
690
+ ],
691
+ "edges": [
692
+ {
693
+ "source": "g",
694
+ "target": "t",
695
+ "targetHandle": "video"
696
+ },
697
+ {
698
+ "source": "t",
699
+ "targetHandle": "video"
700
+ }
701
+ ],
702
+ "expectedUnits": {
703
+ "whole": {
704
+ "maskComposite": 3,
705
+ "videoOverlay": 2
706
+ },
707
+ "alone": {
708
+ "maskComposite": 3,
709
+ "videoOverlay": 2
710
+ }
711
+ }
712
+ },
713
+ {
714
+ "name": "4b. A 5 s generation looped twice: the slack carried by each copy crosses the 10 s boundary on both",
715
+ "nodes": [
716
+ {
717
+ "id": "g",
718
+ "type": "generate-video",
719
+ "data": {
720
+ "provider": "kling-4",
721
+ "duration": 5
722
+ }
723
+ },
724
+ {
725
+ "id": "l",
726
+ "type": "loop-video",
727
+ "data": {
728
+ "mode": "repeat",
729
+ "repeatCount": 2
730
+ }
731
+ }
732
+ ],
733
+ "edges": [
734
+ {
735
+ "source": "g",
736
+ "target": "l",
737
+ "targetHandle": "video"
738
+ },
739
+ {
740
+ "source": "l",
741
+ "targetHandle": "video"
742
+ }
743
+ ],
744
+ "expectedUnits": {
745
+ "whole": {
746
+ "maskComposite": 3,
747
+ "videoOverlay": 3
748
+ },
749
+ "alone": {
750
+ "maskComposite": 3,
751
+ "videoOverlay": 3
752
+ }
753
+ }
754
+ },
755
+ {
756
+ "name": "5. A Resize holding a 5 s take, fed a 20 s upload: re-run, the upload's 20 s; not run, its take",
757
+ "nodes": [
758
+ {
759
+ "id": "u",
760
+ "type": "upload-video",
761
+ "data": {
762
+ "url": "https://cdn.example/u.mp4",
763
+ "generatedResults": [
764
+ {
765
+ "url": "https://cdn.example/u.mp4",
766
+ "duration": 20
767
+ }
768
+ ],
769
+ "activeResultIndex": 0
770
+ }
771
+ },
772
+ {
773
+ "id": "r",
774
+ "type": "resize-video",
775
+ "data": {
776
+ "generatedResults": [
777
+ {
778
+ "url": "https://cdn.example/r.mp4",
779
+ "duration": 5
780
+ }
781
+ ],
782
+ "activeResultIndex": 0
783
+ }
784
+ }
785
+ ],
786
+ "edges": [
787
+ {
788
+ "source": "u",
789
+ "target": "r",
790
+ "targetHandle": "video"
791
+ },
792
+ {
793
+ "source": "r",
794
+ "targetHandle": "video"
795
+ }
796
+ ],
797
+ "expectedUnits": {
798
+ "whole": {
799
+ "maskComposite": 4,
800
+ "videoOverlay": 4
801
+ },
802
+ "alone": {
803
+ "maskComposite": 1,
804
+ "videoOverlay": 1
805
+ }
806
+ }
807
+ },
808
+ {
809
+ "name": "6. A Lip Sync holding a 7.5 s take, nothing wired into it: re-run, its provider's 300 s audio cap — the step's cap; not run, its take",
810
+ "nodes": [
811
+ {
812
+ "id": "s",
813
+ "type": "lip-sync",
814
+ "data": {
815
+ "generatedResults": [
816
+ {
817
+ "url": "https://cdn.example/s.mp4",
818
+ "duration": 7.5
819
+ }
820
+ ],
821
+ "activeResultIndex": 0
822
+ }
823
+ }
824
+ ],
825
+ "edges": [
826
+ {
827
+ "source": "s",
828
+ "targetHandle": "video"
829
+ }
830
+ ],
831
+ "expectedUnits": {
832
+ "whole": {
833
+ "maskComposite": 60,
834
+ "videoOverlay": 12
835
+ },
836
+ "alone": {
837
+ "maskComposite": 2,
838
+ "videoOverlay": 2
839
+ }
840
+ }
841
+ },
842
+ {
843
+ "name": "7. A FROZEN generation with a 5.042 s take, now set to 10 s: it never runs, so its take, on every run set",
844
+ "nodes": [
845
+ {
846
+ "id": "g",
847
+ "type": "generate-video",
848
+ "data": {
849
+ "provider": "kling-4",
850
+ "duration": 10,
851
+ "skipped": true,
852
+ "generatedResults": [
853
+ {
854
+ "url": "https://cdn.example/take.mp4",
855
+ "duration": 5.042
856
+ }
857
+ ],
858
+ "activeResultIndex": 0
859
+ }
860
+ }
861
+ ],
862
+ "edges": [
863
+ {
864
+ "source": "g",
865
+ "targetHandle": "video"
866
+ }
867
+ ],
868
+ "expectedUnits": {
869
+ "whole": {
870
+ "maskComposite": 1,
871
+ "videoOverlay": 1
872
+ },
873
+ "alone": {
874
+ "maskComposite": 1,
875
+ "videoOverlay": 1
876
+ }
877
+ }
878
+ },
879
+ {
880
+ "name": "8. A Combine Videos of a 10 s upload and a VEO extension: a clip of unknown length — the cap, never the 8 s stand-in",
881
+ "nodes": [
882
+ {
883
+ "id": "u",
884
+ "type": "upload-video",
885
+ "data": {
886
+ "url": "https://cdn.example/u.mp4",
887
+ "generatedResults": [
888
+ {
889
+ "url": "https://cdn.example/u.mp4",
890
+ "duration": 10
891
+ }
892
+ ],
893
+ "activeResultIndex": 0
894
+ }
895
+ },
896
+ {
897
+ "id": "x",
898
+ "type": "extend-video",
899
+ "data": {
900
+ "provider": "veo-extend",
901
+ "duration": 5
902
+ }
903
+ },
904
+ {
905
+ "id": "m",
906
+ "type": "combine-videos",
907
+ "data": {}
908
+ }
909
+ ],
910
+ "edges": [
911
+ {
912
+ "source": "u",
913
+ "target": "x",
914
+ "targetHandle": "video"
915
+ },
916
+ {
917
+ "source": "u",
918
+ "target": "m",
919
+ "targetHandle": "in"
920
+ },
921
+ {
922
+ "source": "x",
923
+ "target": "m",
924
+ "targetHandle": "in"
925
+ },
926
+ {
927
+ "source": "m",
928
+ "targetHandle": "video"
929
+ }
930
+ ],
931
+ "expectedUnits": {
932
+ "whole": {
933
+ "maskComposite": 60,
934
+ "videoOverlay": 12
935
+ },
936
+ "alone": {
937
+ "maskComposite": 60,
938
+ "videoOverlay": 12
939
+ }
940
+ }
941
+ },
942
+ {
943
+ "name": "8b. A Duration setting of 10 s reaching a generation stored at 5 s through a Teleport pair: the 10 s the run renders",
944
+ "nodes": [
945
+ {
946
+ "id": "d",
947
+ "type": "duration",
948
+ "data": {
949
+ "seconds": 10
950
+ }
951
+ },
952
+ {
953
+ "id": "ts",
954
+ "type": "teleport-send",
955
+ "data": {}
956
+ },
957
+ {
958
+ "id": "tr",
959
+ "type": "teleport-receive",
960
+ "data": {}
961
+ },
962
+ {
963
+ "id": "g",
964
+ "type": "generate-video",
965
+ "data": {
966
+ "provider": "kling-4",
967
+ "duration": 5
968
+ }
969
+ }
970
+ ],
971
+ "edges": [
972
+ {
973
+ "source": "d",
974
+ "target": "ts",
975
+ "targetHandle": "in"
976
+ },
977
+ {
978
+ "source": "ts",
979
+ "target": "tr",
980
+ "targetHandle": "in"
981
+ },
982
+ {
983
+ "source": "tr",
984
+ "target": "g",
985
+ "targetHandle": "settings"
986
+ },
987
+ {
988
+ "source": "g",
989
+ "targetHandle": "video"
990
+ }
991
+ ],
992
+ "expectedUnits": {
993
+ "whole": {
994
+ "maskComposite": 3,
995
+ "videoOverlay": 2
996
+ },
997
+ "alone": {
998
+ "maskComposite": 3,
999
+ "videoOverlay": 2
1000
+ }
1001
+ }
1002
+ },
1003
+ {
1004
+ "name": "11. A Lip Sync of a 10 s uploaded audio: the clip it makes, 10 s plus the slack, crosses the 10 s boundary on Mask Composite",
1005
+ "nodes": [
1006
+ {
1007
+ "id": "a",
1008
+ "type": "upload-audio",
1009
+ "data": {
1010
+ "url": "https://cdn.example/a.mp3",
1011
+ "metadata": {
1012
+ "durationSeconds": 10
1013
+ }
1014
+ }
1015
+ },
1016
+ {
1017
+ "id": "s",
1018
+ "type": "lip-sync",
1019
+ "data": {
1020
+ "provider": "kling-avatar"
1021
+ }
1022
+ }
1023
+ ],
1024
+ "edges": [
1025
+ {
1026
+ "source": "a",
1027
+ "target": "s",
1028
+ "targetHandle": "audio"
1029
+ },
1030
+ {
1031
+ "source": "s",
1032
+ "targetHandle": "video"
1033
+ }
1034
+ ],
1035
+ "expectedUnits": {
1036
+ "whole": {
1037
+ "maskComposite": 3,
1038
+ "videoOverlay": 2
1039
+ },
1040
+ "alone": {
1041
+ "maskComposite": 3,
1042
+ "videoOverlay": 2
1043
+ }
1044
+ }
1045
+ },
1046
+ {
1047
+ "name": "12. 3D Render Pro: its 60 s ceiling plus the slack (Video Overlay's base stops at its 60 s cap)",
1048
+ "nodes": [
1049
+ {
1050
+ "id": "p",
1051
+ "type": "pro-3d-render",
1052
+ "data": {}
1053
+ }
1054
+ ],
1055
+ "edges": [
1056
+ {
1057
+ "source": "p",
1058
+ "targetHandle": "video"
1059
+ }
1060
+ ],
1061
+ "expectedUnits": {
1062
+ "whole": {
1063
+ "maskComposite": 13,
1064
+ "videoOverlay": 12
1065
+ },
1066
+ "alone": {
1067
+ "maskComposite": 13,
1068
+ "videoOverlay": 12
1069
+ }
1070
+ }
1071
+ },
1072
+ {
1073
+ "name": "13. Two clips made in a row: a Lip Sync of a 10 s uploaded audio driving a Motion Transfer — the slack once per clip made",
1074
+ "nodes": [
1075
+ {
1076
+ "id": "a",
1077
+ "type": "upload-audio",
1078
+ "data": {
1079
+ "url": "https://cdn.example/a.mp3",
1080
+ "metadata": {
1081
+ "durationSeconds": 10
1082
+ }
1083
+ }
1084
+ },
1085
+ {
1086
+ "id": "s",
1087
+ "type": "lip-sync",
1088
+ "data": {
1089
+ "provider": "kling-avatar"
1090
+ }
1091
+ },
1092
+ {
1093
+ "id": "m",
1094
+ "type": "motion-transfer",
1095
+ "data": {}
1096
+ }
1097
+ ],
1098
+ "edges": [
1099
+ {
1100
+ "source": "a",
1101
+ "target": "s",
1102
+ "targetHandle": "audio"
1103
+ },
1104
+ {
1105
+ "source": "s",
1106
+ "target": "m",
1107
+ "targetHandle": "video"
1108
+ },
1109
+ {
1110
+ "source": "m",
1111
+ "targetHandle": "video"
1112
+ }
1113
+ ],
1114
+ "expectedUnits": {
1115
+ "whole": {
1116
+ "maskComposite": 3,
1117
+ "videoOverlay": 3
1118
+ },
1119
+ "alone": {
1120
+ "maskComposite": 3,
1121
+ "videoOverlay": 3
1122
+ }
1123
+ }
1124
+ },
1125
+ {
1126
+ "name": "14. A Lip Sync of a 10 s uploaded audio, then a Resize: the pass-through adds none of its own",
1127
+ "nodes": [
1128
+ {
1129
+ "id": "a",
1130
+ "type": "upload-audio",
1131
+ "data": {
1132
+ "url": "https://cdn.example/a.mp3",
1133
+ "metadata": {
1134
+ "durationSeconds": 10
1135
+ }
1136
+ }
1137
+ },
1138
+ {
1139
+ "id": "s",
1140
+ "type": "lip-sync",
1141
+ "data": {
1142
+ "provider": "kling-avatar"
1143
+ }
1144
+ },
1145
+ {
1146
+ "id": "r",
1147
+ "type": "resize-video",
1148
+ "data": {}
1149
+ }
1150
+ ],
1151
+ "edges": [
1152
+ {
1153
+ "source": "a",
1154
+ "target": "s",
1155
+ "targetHandle": "audio"
1156
+ },
1157
+ {
1158
+ "source": "s",
1159
+ "target": "r",
1160
+ "targetHandle": "video"
1161
+ },
1162
+ {
1163
+ "source": "r",
1164
+ "targetHandle": "video"
1165
+ }
1166
+ ],
1167
+ "expectedUnits": {
1168
+ "whole": {
1169
+ "maskComposite": 3,
1170
+ "videoOverlay": 2
1171
+ },
1172
+ "alone": {
1173
+ "maskComposite": 3,
1174
+ "videoOverlay": 2
1175
+ }
1176
+ }
1177
+ },
1178
+ {
1179
+ "name": "15. A partial run of a Trim and the step: the generation before the Trim stays out of the run and hands on its 5.042 s take; the Trim re-runs on it",
1180
+ "nodes": [
1181
+ {
1182
+ "id": "g",
1183
+ "type": "generate-video",
1184
+ "data": {
1185
+ "provider": "kling-4",
1186
+ "duration": 10,
1187
+ "generatedResults": [
1188
+ {
1189
+ "url": "https://cdn.example/take.mp4",
1190
+ "duration": 5.042
1191
+ }
1192
+ ],
1193
+ "activeResultIndex": 0
1194
+ }
1195
+ },
1196
+ {
1197
+ "id": "t",
1198
+ "type": "trim-video",
1199
+ "data": {
1200
+ "trimMode": "smart"
1201
+ }
1202
+ }
1203
+ ],
1204
+ "edges": [
1205
+ {
1206
+ "source": "g",
1207
+ "target": "t",
1208
+ "targetHandle": "video"
1209
+ },
1210
+ {
1211
+ "source": "t",
1212
+ "targetHandle": "video"
1213
+ }
1214
+ ],
1215
+ "partial": {
1216
+ "runSet": [
1217
+ "t",
1218
+ "c"
1219
+ ],
1220
+ "expectedUnits": {
1221
+ "maskComposite": 1,
1222
+ "videoOverlay": 1
1223
+ }
1224
+ },
1225
+ "expectedUnits": {
1226
+ "whole": {
1227
+ "maskComposite": 3,
1228
+ "videoOverlay": 2
1229
+ },
1230
+ "alone": {
1231
+ "maskComposite": 1,
1232
+ "videoOverlay": 1
1233
+ }
1234
+ }
1235
+ },
1236
+ {
1237
+ "name": "16. A generation whose duration an LLM Chat's answer sets through a field mapping: not known before the run — the model's longest clip",
1238
+ "nodes": [
1239
+ {
1240
+ "id": "x",
1241
+ "type": "llm-chat",
1242
+ "data": {
1243
+ "provider": "openai"
1244
+ }
1245
+ },
1246
+ {
1247
+ "id": "g",
1248
+ "type": "generate-video",
1249
+ "data": {
1250
+ "provider": "kling-4",
1251
+ "duration": 5,
1252
+ "fieldMappings": {
1253
+ "duration": {
1254
+ "sourceNodeId": "x"
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+ ],
1260
+ "edges": [
1261
+ {
1262
+ "source": "g",
1263
+ "targetHandle": "video"
1264
+ }
1265
+ ],
1266
+ "expectedUnits": {
1267
+ "whole": {
1268
+ "maskComposite": 7,
1269
+ "videoOverlay": 6
1270
+ },
1271
+ "alone": {
1272
+ "maskComposite": 7,
1273
+ "videoOverlay": 6
1274
+ }
1275
+ }
1276
+ },
1277
+ {
1278
+ "name": "16b. A Text node holding \"15\" mapped onto a generation's duration: a value set before the run, read as set — 15 s",
1279
+ "nodes": [
1280
+ {
1281
+ "id": "x",
1282
+ "type": "text-prompt",
1283
+ "data": {
1284
+ "text": "15"
1285
+ }
1286
+ },
1287
+ {
1288
+ "id": "g",
1289
+ "type": "generate-video",
1290
+ "data": {
1291
+ "provider": "kling-4",
1292
+ "duration": 5,
1293
+ "fieldMappings": {
1294
+ "duration": {
1295
+ "sourceNodeId": "x"
1296
+ }
1297
+ }
1298
+ }
1299
+ }
1300
+ ],
1301
+ "edges": [
1302
+ {
1303
+ "source": "g",
1304
+ "targetHandle": "video"
1305
+ }
1306
+ ],
1307
+ "expectedUnits": {
1308
+ "whole": {
1309
+ "maskComposite": 4,
1310
+ "videoOverlay": 3
1311
+ },
1312
+ "alone": {
1313
+ "maskComposite": 4,
1314
+ "videoOverlay": 3
1315
+ }
1316
+ }
1317
+ },
1318
+ {
1319
+ "name": "17. A Duration node of 15 s wired into a generation's field-duration handle: its value, as the run reads it",
1320
+ "nodes": [
1321
+ {
1322
+ "id": "d",
1323
+ "type": "duration",
1324
+ "data": {
1325
+ "seconds": 15
1326
+ }
1327
+ },
1328
+ {
1329
+ "id": "g",
1330
+ "type": "generate-video",
1331
+ "data": {
1332
+ "provider": "kling-4",
1333
+ "duration": 5
1334
+ }
1335
+ }
1336
+ ],
1337
+ "edges": [
1338
+ {
1339
+ "source": "d",
1340
+ "target": "g",
1341
+ "targetHandle": "field-duration"
1342
+ },
1343
+ {
1344
+ "source": "g",
1345
+ "targetHandle": "video"
1346
+ }
1347
+ ],
1348
+ "expectedUnits": {
1349
+ "whole": {
1350
+ "maskComposite": 4,
1351
+ "videoOverlay": 3
1352
+ },
1353
+ "alone": {
1354
+ "maskComposite": 4,
1355
+ "videoOverlay": 3
1356
+ }
1357
+ }
1358
+ },
1359
+ {
1360
+ "name": "18. A generation whose model an LLM Chat's answer sets through a field mapping: any model the node may run, the longest at its 5 s (6 s)",
1361
+ "nodes": [
1362
+ {
1363
+ "id": "x",
1364
+ "type": "llm-chat",
1365
+ "data": {
1366
+ "provider": "openai"
1367
+ }
1368
+ },
1369
+ {
1370
+ "id": "g",
1371
+ "type": "generate-video",
1372
+ "data": {
1373
+ "provider": "kling-4",
1374
+ "duration": 5,
1375
+ "fieldMappings": {
1376
+ "provider": {
1377
+ "sourceNodeId": "x"
1378
+ }
1379
+ }
1380
+ }
1381
+ }
1382
+ ],
1383
+ "edges": [
1384
+ {
1385
+ "source": "g",
1386
+ "targetHandle": "video"
1387
+ }
1388
+ ],
1389
+ "expectedUnits": {
1390
+ "whole": {
1391
+ "maskComposite": 2,
1392
+ "videoOverlay": 2
1393
+ },
1394
+ "alone": {
1395
+ "maskComposite": 2,
1396
+ "videoOverlay": 2
1397
+ }
1398
+ }
1399
+ },
1400
+ {
1401
+ "name": "18b. A Provider node mapped onto a generation's model: its model, as the run reads it (LTX 2.3 Pro renders 6 s for a 5 s setting)",
1402
+ "nodes": [
1403
+ {
1404
+ "id": "p",
1405
+ "type": "provider",
1406
+ "data": {
1407
+ "provider": "ltx-2.3-pro"
1408
+ }
1409
+ },
1410
+ {
1411
+ "id": "g",
1412
+ "type": "generate-video",
1413
+ "data": {
1414
+ "provider": "kling-4",
1415
+ "duration": 5,
1416
+ "fieldMappings": {
1417
+ "provider": {
1418
+ "sourceNodeId": "p"
1419
+ }
1420
+ }
1421
+ }
1422
+ }
1423
+ ],
1424
+ "edges": [
1425
+ {
1426
+ "source": "g",
1427
+ "targetHandle": "video"
1428
+ }
1429
+ ],
1430
+ "expectedUnits": {
1431
+ "whole": {
1432
+ "maskComposite": 2,
1433
+ "videoOverlay": 2
1434
+ },
1435
+ "alone": {
1436
+ "maskComposite": 2,
1437
+ "videoOverlay": 2
1438
+ }
1439
+ }
1440
+ },
1441
+ {
1442
+ "name": "19. Generate Video Pro whose duration an LLM Chat's answer sets through a field mapping: the most a run may ask for (120 s), stitched, one second over",
1443
+ "nodes": [
1444
+ {
1445
+ "id": "x",
1446
+ "type": "llm-chat",
1447
+ "data": {
1448
+ "provider": "openai"
1449
+ }
1450
+ },
1451
+ {
1452
+ "id": "g",
1453
+ "type": "generate-video-pro",
1454
+ "data": {
1455
+ "provider": "seedance-2",
1456
+ "duration": 10,
1457
+ "fieldMappings": {
1458
+ "duration": {
1459
+ "sourceNodeId": "x"
1460
+ }
1461
+ }
1462
+ }
1463
+ }
1464
+ ],
1465
+ "edges": [
1466
+ {
1467
+ "source": "g",
1468
+ "targetHandle": "video"
1469
+ }
1470
+ ],
1471
+ "expectedUnits": {
1472
+ "whole": {
1473
+ "maskComposite": 25,
1474
+ "videoOverlay": 12
1475
+ },
1476
+ "alone": {
1477
+ "maskComposite": 25,
1478
+ "videoOverlay": 12
1479
+ }
1480
+ }
1481
+ },
1482
+ {
1483
+ "name": "19b. Generate Video Pro with a Duration node of 20 s on its field-duration handle: 20 s stitched, one second over",
1484
+ "nodes": [
1485
+ {
1486
+ "id": "d",
1487
+ "type": "duration",
1488
+ "data": {
1489
+ "seconds": 20
1490
+ }
1491
+ },
1492
+ {
1493
+ "id": "g",
1494
+ "type": "generate-video-pro",
1495
+ "data": {
1496
+ "provider": "seedance-2",
1497
+ "duration": 10
1498
+ }
1499
+ }
1500
+ ],
1501
+ "edges": [
1502
+ {
1503
+ "source": "d",
1504
+ "target": "g",
1505
+ "targetHandle": "field-duration"
1506
+ },
1507
+ {
1508
+ "source": "g",
1509
+ "targetHandle": "video"
1510
+ }
1511
+ ],
1512
+ "expectedUnits": {
1513
+ "whole": {
1514
+ "maskComposite": 5,
1515
+ "videoOverlay": 5
1516
+ },
1517
+ "alone": {
1518
+ "maskComposite": 5,
1519
+ "videoOverlay": 5
1520
+ }
1521
+ }
1522
+ },
1523
+ {
1524
+ "name": "20. Video to Video on Seedance 2.5 of a 9.2 s upload: an Auto edit of the clip, bounded as Generate Video's reference-clip edit is (rounded up plus a second)",
1525
+ "nodes": [
1526
+ {
1527
+ "id": "u",
1528
+ "type": "upload-video",
1529
+ "data": {
1530
+ "url": "https://cdn.example/u.mp4",
1531
+ "generatedResults": [
1532
+ {
1533
+ "url": "https://cdn.example/u.mp4",
1534
+ "duration": 9.2
1535
+ }
1536
+ ],
1537
+ "activeResultIndex": 0
1538
+ }
1539
+ },
1540
+ {
1541
+ "id": "v",
1542
+ "type": "video-to-video",
1543
+ "data": {
1544
+ "provider": "seedance-2-5"
1545
+ }
1546
+ }
1547
+ ],
1548
+ "edges": [
1549
+ {
1550
+ "source": "u",
1551
+ "target": "v",
1552
+ "targetHandle": "video"
1553
+ },
1554
+ {
1555
+ "source": "v",
1556
+ "targetHandle": "video"
1557
+ }
1558
+ ],
1559
+ "expectedUnits": {
1560
+ "whole": {
1561
+ "maskComposite": 3,
1562
+ "videoOverlay": 3
1563
+ },
1564
+ "alone": {
1565
+ "maskComposite": 3,
1566
+ "videoOverlay": 3
1567
+ }
1568
+ }
1569
+ },
1570
+ {
1571
+ "name": "21. A Manual Edit holding a 7.5 s take: the run engine never executes it, so its take on every run set",
1572
+ "nodes": [
1573
+ {
1574
+ "id": "e",
1575
+ "type": "manual-edit",
1576
+ "data": {
1577
+ "generatedResults": [
1578
+ {
1579
+ "url": "https://cdn.example/e.mp4",
1580
+ "duration": 7.5
1581
+ }
1582
+ ],
1583
+ "activeResultIndex": 0
1584
+ }
1585
+ }
1586
+ ],
1587
+ "edges": [
1588
+ {
1589
+ "source": "e",
1590
+ "targetHandle": "video"
1591
+ }
1592
+ ],
1593
+ "expectedUnits": {
1594
+ "whole": {
1595
+ "maskComposite": 2,
1596
+ "videoOverlay": 2
1597
+ },
1598
+ "alone": {
1599
+ "maskComposite": 2,
1600
+ "videoOverlay": 2
1601
+ }
1602
+ }
1603
+ },
1604
+ {
1605
+ "name": "22. A Face Swap of a 10 s upload: it re-renders the clip through a provider, so it adds the slack (a Resize would not)",
1606
+ "nodes": [
1607
+ {
1608
+ "id": "u",
1609
+ "type": "upload-video",
1610
+ "data": {
1611
+ "url": "https://cdn.example/u.mp4",
1612
+ "generatedResults": [
1613
+ {
1614
+ "url": "https://cdn.example/u.mp4",
1615
+ "duration": 10
1616
+ }
1617
+ ],
1618
+ "activeResultIndex": 0
1619
+ }
1620
+ },
1621
+ {
1622
+ "id": "f",
1623
+ "type": "face-swap",
1624
+ "data": {}
1625
+ }
1626
+ ],
1627
+ "edges": [
1628
+ {
1629
+ "source": "u",
1630
+ "target": "f",
1631
+ "targetHandle": "video"
1632
+ },
1633
+ {
1634
+ "source": "f",
1635
+ "targetHandle": "video"
1636
+ }
1637
+ ],
1638
+ "expectedUnits": {
1639
+ "whole": {
1640
+ "maskComposite": 3,
1641
+ "videoOverlay": 2
1642
+ },
1643
+ "alone": {
1644
+ "maskComposite": 3,
1645
+ "videoOverlay": 2
1646
+ }
1647
+ }
1648
+ },
1649
+ {
1650
+ "name": "9. A 23 s upload: its recorded length, no slack",
1651
+ "nodes": [
1652
+ {
1653
+ "id": "u",
1654
+ "type": "upload-video",
1655
+ "data": {
1656
+ "url": "https://cdn.example/u.mp4",
1657
+ "generatedResults": [
1658
+ {
1659
+ "url": "https://cdn.example/u.mp4",
1660
+ "duration": 23
1661
+ }
1662
+ ],
1663
+ "activeResultIndex": 0
1664
+ }
1665
+ }
1666
+ ],
1667
+ "edges": [
1668
+ {
1669
+ "source": "u",
1670
+ "targetHandle": "video"
1671
+ }
1672
+ ],
1673
+ "expectedUnits": {
1674
+ "whole": {
1675
+ "maskComposite": 5,
1676
+ "videoOverlay": 5
1677
+ },
1678
+ "alone": {
1679
+ "maskComposite": 5,
1680
+ "videoOverlay": 5
1681
+ }
1682
+ }
1683
+ },
1684
+ {
1685
+ "name": "10. A 30 s upload trimmed to the window 0–10 s: the fixed window, no slack",
1686
+ "nodes": [
1687
+ {
1688
+ "id": "u",
1689
+ "type": "upload-video",
1690
+ "data": {
1691
+ "url": "https://cdn.example/u.mp4",
1692
+ "generatedResults": [
1693
+ {
1694
+ "url": "https://cdn.example/u.mp4",
1695
+ "duration": 30
1696
+ }
1697
+ ],
1698
+ "activeResultIndex": 0
1699
+ }
1700
+ },
1701
+ {
1702
+ "id": "t",
1703
+ "type": "trim-video",
1704
+ "data": {
1705
+ "trimMode": "time",
1706
+ "startTime": 0,
1707
+ "endTime": 10
1708
+ }
1709
+ }
1710
+ ],
1711
+ "edges": [
1712
+ {
1713
+ "source": "u",
1714
+ "target": "t",
1715
+ "targetHandle": "video"
1716
+ },
1717
+ {
1718
+ "source": "t",
1719
+ "targetHandle": "video"
1720
+ }
1721
+ ],
1722
+ "expectedUnits": {
1723
+ "whole": {
1724
+ "maskComposite": 2,
1725
+ "videoOverlay": 2
1726
+ },
1727
+ "alone": {
1728
+ "maskComposite": 2,
1729
+ "videoOverlay": 2
1730
+ }
1731
+ }
1732
+ },
1733
+ {
1734
+ "name": "23. A generation set to 15 s holding a take with no recorded length (a fixed-length run records none, so the take was made at its settings): not run, that take at 15 s plus the slack; re-run, the same",
1735
+ "nodes": [
1736
+ {
1737
+ "id": "g",
1738
+ "type": "generate-video",
1739
+ "data": {
1740
+ "provider": "kling-4",
1741
+ "duration": 15,
1742
+ "generatedResults": [
1743
+ {
1744
+ "url": "https://cdn.example/take.mp4"
1745
+ }
1746
+ ],
1747
+ "activeResultIndex": 0
1748
+ }
1749
+ }
1750
+ ],
1751
+ "edges": [
1752
+ {
1753
+ "source": "g",
1754
+ "targetHandle": "video"
1755
+ }
1756
+ ],
1757
+ "expectedUnits": {
1758
+ "whole": {
1759
+ "maskComposite": 4,
1760
+ "videoOverlay": 3
1761
+ },
1762
+ "alone": {
1763
+ "maskComposite": 4,
1764
+ "videoOverlay": 3
1765
+ }
1766
+ }
1767
+ },
1768
+ {
1769
+ "name": "24. Seedance 2.5 on Auto with a 5 s reference clip and no task type: the model may take it as a reference and pick its length, so its longest clip, 30 s",
1770
+ "nodes": [
1771
+ {
1772
+ "id": "u",
1773
+ "type": "upload-video",
1774
+ "data": {
1775
+ "url": "https://cdn.example/u5.mp4",
1776
+ "generatedResults": [
1777
+ {
1778
+ "url": "https://cdn.example/u5.mp4",
1779
+ "duration": 5
1780
+ }
1781
+ ],
1782
+ "activeResultIndex": 0
1783
+ }
1784
+ },
1785
+ {
1786
+ "id": "g",
1787
+ "type": "generate-video",
1788
+ "data": {
1789
+ "provider": "seedance-2-5",
1790
+ "duration": -1
1791
+ }
1792
+ }
1793
+ ],
1794
+ "edges": [
1795
+ {
1796
+ "source": "u",
1797
+ "target": "g",
1798
+ "targetHandle": "videoReferences"
1799
+ },
1800
+ {
1801
+ "source": "g",
1802
+ "targetHandle": "video"
1803
+ }
1804
+ ],
1805
+ "expectedUnits": {
1806
+ "whole": {
1807
+ "maskComposite": 7,
1808
+ "videoOverlay": 6
1809
+ },
1810
+ "alone": {
1811
+ "maskComposite": 7,
1812
+ "videoOverlay": 6
1813
+ }
1814
+ }
1815
+ },
1816
+ {
1817
+ "name": "24b. The same run declaring The video to edit: the clip rounded up plus a second, 6 s",
1818
+ "nodes": [
1819
+ {
1820
+ "id": "u",
1821
+ "type": "upload-video",
1822
+ "data": {
1823
+ "url": "https://cdn.example/u5.mp4",
1824
+ "generatedResults": [
1825
+ {
1826
+ "url": "https://cdn.example/u5.mp4",
1827
+ "duration": 5
1828
+ }
1829
+ ],
1830
+ "activeResultIndex": 0
1831
+ }
1832
+ },
1833
+ {
1834
+ "id": "g",
1835
+ "type": "generate-video",
1836
+ "data": {
1837
+ "provider": "seedance-2-5",
1838
+ "duration": -1,
1839
+ "referenceTaskType": "edit"
1840
+ }
1841
+ }
1842
+ ],
1843
+ "edges": [
1844
+ {
1845
+ "source": "u",
1846
+ "target": "g",
1847
+ "targetHandle": "videoReferences"
1848
+ },
1849
+ {
1850
+ "source": "g",
1851
+ "targetHandle": "video"
1852
+ }
1853
+ ],
1854
+ "expectedUnits": {
1855
+ "whole": {
1856
+ "maskComposite": 2,
1857
+ "videoOverlay": 2
1858
+ },
1859
+ "alone": {
1860
+ "maskComposite": 2,
1861
+ "videoOverlay": 2
1862
+ }
1863
+ }
1864
+ }
1865
+ ]
1866
+ }