@nodaro/shared 3.66.0 → 3.68.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.
- package/dist/{chunk-JTYCJ5OL.cjs → chunk-4XR66IWF.cjs} +51 -13
- package/dist/chunk-4XR66IWF.cjs.map +1 -0
- package/dist/{chunk-6FQBKI2A.cjs → chunk-6JSYNKFL.cjs} +4 -4
- package/dist/{chunk-6FQBKI2A.cjs.map → chunk-6JSYNKFL.cjs.map} +1 -1
- package/dist/{chunk-23IKLMRL.cjs → chunk-BCY3A62O.cjs} +4 -4
- package/dist/{chunk-23IKLMRL.cjs.map → chunk-BCY3A62O.cjs.map} +1 -1
- package/dist/{chunk-RVQW623D.js → chunk-BHL7TAQO.js} +43 -12
- package/dist/chunk-BHL7TAQO.js.map +1 -0
- package/dist/{chunk-CLAKSLXF.js → chunk-E3PU7YC6.js} +3 -3
- package/dist/{chunk-CLAKSLXF.js.map → chunk-E3PU7YC6.js.map} +1 -1
- package/dist/{chunk-ALRXY4QH.cjs → chunk-N7ZJD4CK.cjs} +6 -2
- package/dist/chunk-N7ZJD4CK.cjs.map +1 -0
- package/dist/{chunk-O2QOBA6Q.js → chunk-NPGP6FMU.js} +43 -3
- package/dist/chunk-NPGP6FMU.js.map +1 -0
- package/dist/chunk-NWNRATS3.js +13 -0
- package/dist/chunk-NWNRATS3.js.map +1 -0
- package/dist/{chunk-NYZQOIXJ.cjs → chunk-Q2LEJXLZ.cjs} +93 -6
- package/dist/chunk-Q2LEJXLZ.cjs.map +1 -0
- package/dist/{chunk-O6TBB4IF.cjs → chunk-TZWXZDSX.cjs} +48 -2
- package/dist/chunk-TZWXZDSX.cjs.map +1 -0
- package/dist/{chunk-FGBGKBML.js → chunk-UVUHVY7F.js} +71 -4
- package/dist/chunk-UVUHVY7F.js.map +1 -0
- package/dist/{chunk-GTBW2KAY.js → chunk-XNJDAW3M.js} +3 -3
- package/dist/{chunk-GTBW2KAY.js.map → chunk-XNJDAW3M.js.map} +1 -1
- package/dist/entries/credits.cjs +192 -164
- package/dist/entries/credits.d.cts +82 -5
- package/dist/entries/credits.d.ts +82 -5
- package/dist/entries/credits.js +2 -2
- package/dist/entries/media.cjs +171 -87
- package/dist/entries/media.d.cts +118 -2
- package/dist/entries/media.d.ts +118 -2
- package/dist/entries/media.js +3 -3
- package/dist/entries/models.cjs +82 -82
- package/dist/entries/models.js +3 -3
- package/dist/entries/runtime-config.cjs +53 -29
- package/dist/entries/runtime-config.d.cts +53 -1
- package/dist/entries/runtime-config.d.ts +53 -1
- package/dist/entries/runtime-config.js +1 -1
- package/dist/entries/types.d.cts +12 -5
- package/dist/entries/types.d.ts +12 -5
- package/dist/index.cjs +495 -359
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +13 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1816 -1
- package/src/__tests__/fixtures/planned-length-quote-parity.json +55 -10
- package/src/__tests__/fixtures/video-utility-quote-parity.json +834 -38
- package/src/__tests__/freecut-ai-panel.test.ts +149 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +32 -0
- package/src/__tests__/runtime-config-lists.test.ts +92 -0
- package/src/catalog-projection.ts +12 -5
- package/src/credit-estimators/add-captions-nemotron.ts +11 -1
- package/src/credit-estimators/index.ts +6 -1
- package/src/credit-estimators/nemotron-transcribe.ts +35 -3
- package/src/credit-estimators/pitch-tempo.ts +14 -0
- package/src/credit-estimators/video-sfx.ts +15 -0
- package/src/credit-estimators/video-utils.ts +48 -12
- package/src/entries/credits.ts +1 -0
- package/src/entries/media.ts +1 -0
- package/src/entries/runtime-config.ts +10 -1
- package/src/freecut-ai-panel.ts +172 -0
- package/src/freecut-protocol.ts +13 -0
- package/src/lip-sync-pricing.ts +15 -0
- package/src/priced-clip-seconds.ts +19 -1
- package/src/runtime-config/lists.ts +87 -0
- package/src/runtime-config/worlds.ts +10 -0
- package/dist/chunk-ALRXY4QH.cjs.map +0 -1
- package/dist/chunk-FGBGKBML.js.map +0 -1
- package/dist/chunk-JTYCJ5OL.cjs.map +0 -1
- package/dist/chunk-NYZQOIXJ.cjs.map +0 -1
- package/dist/chunk-O2QOBA6Q.js.map +0 -1
- package/dist/chunk-O6TBB4IF.cjs.map +0 -1
- package/dist/chunk-RVQW623D.js.map +0 -1
- package/dist/chunk-SMOO5FAH.js +0 -10
- package/dist/chunk-SMOO5FAH.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$comment": "Trim Video, Loop Video and Combine Videos are charged by the measured length of each clip they are given (their run probes every input before it reserves). Their quote before a run reads the one measured walk Mask Composite and Video Overlay read (measuredWireLengthSec, @nodaro/render-rules), with VIDEO_UTILITY_PLANNED_CLIP_SLACK_SEC (0.
|
|
2
|
+
"$comment": "Trim Video, Loop Video and Combine Videos are charged by the measured length of each clip they are given (their run probes every input before it reserves). Their quote before a run reads the one measured walk Mask Composite and Video Overlay read (measuredWireLengthSec, @nodaro/render-rules), with VIDEO_UTILITY_PLANNED_CLIP_SLACK_SEC (0.15 s) on each clip a node makes in the run (a quarter second on a Dubbing, an Audio Isolation or a PixVerse V6 extension, whose files run further past their planned length: LONG_OVERSHOOT_PLANNED_CLIP_SLACK_SEC), and every clip less VIDEO_UTILITY_PRICE_GRACE_SEC (0.15 s) before the node's formula (videoUtilityUnitsOf — the rule the charge counts by, so a clip up to 0.15 s past a 5-second mark is priced as if it ended on it, on both): a generation at the length its model renders for its settings (Auto at its longest, a mapped length as the run resolves it), an Extend Video at its source plus what it adds, a node outside the run (or frozen) at the take it hands on, an upload or a Library clip at its measured length, and a clip nothing can size at the estimators' 8-second fallback (a minimum: the run is charged the length it measures). Each case names its step `t`; `whole` is a whole run (the editor's whole-run set, the server's estimate with no run set), `alone` is the step's own Run and its pill (the server's run of `t` alone), `partial` a run of exactly `runSet`. Units are the step's pricing units (each one unit of its own row). Held by frontend/src/lib/__tests__/video-utility-quote-parity.test.ts and backend/src/ee/billing/__tests__/video-utility-quote-parity.test.ts. The step settings: Trim keeps the whole clip (seconds mode, 0 + 0), Loop repeats twice, Combine joins by cuts with its default 1 + 2 frame trims, taken off only where two clips meet (decided 2026-11-14, \"charge what is cut\": the end of every clip but the last and the start of every clip but the first, n − 1 joins), cut at the rate the join conforms its clips to when the graph knows every clip's (an upload's declared `fps`: `runWireFps`), else none cut — the uncut clips, a bound (decided 2026-11-14: frame trims at the clip's real rate; the run cuts at the rate it probes). A Trim's frame trims are cut at its clip's rate the same way. A Combine's quote reads the fields a workflow run sends (combineVideosRunFields: its defaults, never per-join `transitions`, which only a request to the route carries). A case's `stepData` replaces its step's settings; a Trim is priced over the fields its run sends (trimVideoRunFields: its mode's own, an end of 0 left open, so the cut runs to the clip's end).",
|
|
3
3
|
"steps": {
|
|
4
4
|
"trim": {
|
|
5
5
|
"type": "trim-video",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"cases": [
|
|
30
30
|
{
|
|
31
|
-
"name": "1. Trim — a 5 s generation (kling-4): 5.
|
|
31
|
+
"name": "1. Trim — a 5 s generation (kling-4): 5.15 s planned, less the 0.15 s grace: 5 s",
|
|
32
32
|
"step": "trim",
|
|
33
33
|
"nodes": [
|
|
34
34
|
{
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
"name": "1b. Loop ×2 — a 5 s generation:
|
|
56
|
+
"name": "1b. Loop ×2 — a 5 s generation: twice 5.15 s, less the grace: 10 s",
|
|
57
57
|
"step": "loop",
|
|
58
58
|
"nodes": [
|
|
59
59
|
{
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"name": "1c. Combine — two 5 s generations: 5.
|
|
81
|
+
"name": "1c. Combine — two 5 s generations: 5.15 + 5.15 s, less the grace: 10 s (no rate the graph knows: no frames cut)",
|
|
82
82
|
"step": "combine",
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
"name": "2. Trim — a 15 s generation (the old 8-second under-quote): 15.
|
|
119
|
+
"name": "2. Trim — a 15 s generation (the old 8-second under-quote): 15.15 s",
|
|
120
120
|
"step": "trim",
|
|
121
121
|
"nodes": [
|
|
122
122
|
{
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
"name": "2b. Loop ×2 — a 15 s generation:
|
|
144
|
+
"name": "2b. Loop ×2 — a 15 s generation: twice 15.15 s",
|
|
145
145
|
"step": "loop",
|
|
146
146
|
"nodes": [
|
|
147
147
|
{
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
|
-
"name": "3. Trim — Seedance 2.5 on Auto: its longest clip, 30.
|
|
207
|
+
"name": "3. Trim — Seedance 2.5 on Auto: its longest clip, 30.15 s",
|
|
208
208
|
"step": "trim",
|
|
209
209
|
"nodes": [
|
|
210
210
|
{
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
|
-
"name": "3b. Loop ×2 — Seedance 2.5 on Auto:
|
|
232
|
+
"name": "3b. Loop ×2 — Seedance 2.5 on Auto: twice 30.15 s",
|
|
233
233
|
"step": "loop",
|
|
234
234
|
"nodes": [
|
|
235
235
|
{
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
}
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
"name": "4. Trim — an Extend Video (Seedance 2.5, +5 s) of a 10 s upload: 15.
|
|
295
|
+
"name": "4. Trim — an Extend Video (Seedance 2.5, +5 s) of a 10 s upload: 15.15 s",
|
|
296
296
|
"step": "trim",
|
|
297
297
|
"nodes": [
|
|
298
298
|
{
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
}
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
"name": "4b. Loop ×2 — the same extension:
|
|
338
|
+
"name": "4b. Loop ×2 — the same extension: twice 15.15 s",
|
|
339
339
|
"step": "loop",
|
|
340
340
|
"nodes": [
|
|
341
341
|
{
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
"name": "4c. Combine — the extension and the 10 s upload it extends: 15.
|
|
381
|
+
"name": "4c. Combine — the extension and the 10 s upload it extends: 15.15 + 10 s, less the grace (no rate known: no frames cut)",
|
|
382
382
|
"step": "combine",
|
|
383
383
|
"nodes": [
|
|
384
384
|
{
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
"name": "5. Trim — a Duration node of 15 s wired into a generation stored at 5 s: 15.
|
|
429
|
+
"name": "5. Trim — a Duration node of 15 s wired into a generation stored at 5 s: 15.15 s",
|
|
430
430
|
"step": "trim",
|
|
431
431
|
"nodes": [
|
|
432
432
|
{
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
|
-
"name": "5b. Loop ×2 — the same mapped 15 s:
|
|
466
|
+
"name": "5b. Loop ×2 — the same mapped 15 s: twice 15.15 s",
|
|
467
467
|
"step": "loop",
|
|
468
468
|
"nodes": [
|
|
469
469
|
{
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
|
-
"name": "6. Trim — a generation whose duration an LLM Chat's answer sets: kling-4's longest clip, 30.
|
|
503
|
+
"name": "6. Trim — a generation whose duration an LLM Chat's answer sets: kling-4's longest clip, 30.15 s",
|
|
504
504
|
"step": "trim",
|
|
505
505
|
"nodes": [
|
|
506
506
|
{
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
}
|
|
536
536
|
},
|
|
537
537
|
{
|
|
538
|
-
"name": "6b. Loop ×2 — the same open duration:
|
|
538
|
+
"name": "6b. Loop ×2 — the same open duration: twice 30.15 s",
|
|
539
539
|
"step": "loop",
|
|
540
540
|
"nodes": [
|
|
541
541
|
{
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
}
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
|
-
"name": "7. Trim — Seedance 2 Fast set to 30 s renders its longest, 15 s: 15.
|
|
573
|
+
"name": "7. Trim — Seedance 2 Fast set to 30 s renders its longest, 15 s: 15.15 s (never the setting)",
|
|
574
574
|
"step": "trim",
|
|
575
575
|
"nodes": [
|
|
576
576
|
{
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
{
|
|
598
|
-
"name": "7b. Loop ×2 — Kling Image to Video set to 7 s renders the 5 s it offers:
|
|
598
|
+
"name": "7b. Loop ×2 — Kling Image to Video set to 7 s renders the 5 s it offers: twice 5.15 s",
|
|
599
599
|
"step": "loop",
|
|
600
600
|
"nodes": [
|
|
601
601
|
{
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
}
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
"name": "8c. Combine — two 10 s uploads: 19.
|
|
683
|
+
"name": "8c. Combine — two 10 s uploads: 19.7 s (no rate known: no frames cut)",
|
|
684
684
|
"step": "combine",
|
|
685
685
|
"nodes": [
|
|
686
686
|
{
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
}
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
|
-
"name": "9. Loop ×2 — a 12 s Library clip whose length was measured at upload:
|
|
731
|
+
"name": "9. Loop ×2 — a 12 s Library clip whose length was measured at upload: twice 11.85 s, 23.7 s",
|
|
732
732
|
"step": "loop",
|
|
733
733
|
"nodes": [
|
|
734
734
|
{
|
|
@@ -936,7 +936,7 @@
|
|
|
936
936
|
}
|
|
937
937
|
},
|
|
938
938
|
{
|
|
939
|
-
"name": "12. Loop ×2 — a generation with a 5.042 s take, now set to 10 s: a whole run re-runs it (
|
|
939
|
+
"name": "12. Loop ×2 — a generation with a 5.042 s take, now set to 10 s: a whole run re-runs it (twice 10.15 s); alone it hands on its take (10.084 s)",
|
|
940
940
|
"step": "loop",
|
|
941
941
|
"nodes": [
|
|
942
942
|
{
|
|
@@ -1032,7 +1032,7 @@
|
|
|
1032
1032
|
}
|
|
1033
1033
|
},
|
|
1034
1034
|
{
|
|
1035
|
-
"name": "13. Loop ×2 after a Trim of a 5 s generation (a chain): 5.
|
|
1035
|
+
"name": "13. Loop ×2 after a Trim of a 5 s generation (a chain): 5.15 s passed on, twice it",
|
|
1036
1036
|
"step": "loop",
|
|
1037
1037
|
"nodes": [
|
|
1038
1038
|
{
|
|
@@ -1154,7 +1154,7 @@
|
|
|
1154
1154
|
}
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
1157
|
-
"name": "15. Trim — a clean 10 s generation: 10.
|
|
1157
|
+
"name": "15. Trim — a clean 10 s generation: 10.15 s planned, less the grace: 10 s, 2 units (a clip up to 0.15 s past the mark is not charged for it)",
|
|
1158
1158
|
"step": "trim",
|
|
1159
1159
|
"nodes": [
|
|
1160
1160
|
{
|
|
@@ -1233,7 +1233,7 @@
|
|
|
1233
1233
|
}
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
|
1236
|
-
"name": "16. Trim — an upload measured at 10.1 s:
|
|
1236
|
+
"name": "16. Trim — an upload measured at 10.1 s: inside the grace, 2 units",
|
|
1237
1237
|
"step": "trim",
|
|
1238
1238
|
"nodes": [
|
|
1239
1239
|
{
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
}
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
1266
|
-
"name": "16b. Trim — an upload measured at 10.
|
|
1266
|
+
"name": "16b. Trim — an upload measured at 10.15 s: at the edge of the grace, 2 units",
|
|
1267
1267
|
"step": "trim",
|
|
1268
1268
|
"nodes": [
|
|
1269
1269
|
{
|
|
@@ -1274,7 +1274,37 @@
|
|
|
1274
1274
|
"generatedResults": [
|
|
1275
1275
|
{
|
|
1276
1276
|
"url": "https://cdn.example/u.mp4",
|
|
1277
|
-
"duration": 10.
|
|
1277
|
+
"duration": 10.15
|
|
1278
|
+
}
|
|
1279
|
+
]
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"edges": [
|
|
1284
|
+
{
|
|
1285
|
+
"source": "u",
|
|
1286
|
+
"target": "t",
|
|
1287
|
+
"targetHandle": "in"
|
|
1288
|
+
}
|
|
1289
|
+
],
|
|
1290
|
+
"expectedUnits": {
|
|
1291
|
+
"whole": 2,
|
|
1292
|
+
"alone": 2
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"name": "16c. Trim — an upload measured at 10.16 s: past the grace, 3 units",
|
|
1297
|
+
"step": "trim",
|
|
1298
|
+
"nodes": [
|
|
1299
|
+
{
|
|
1300
|
+
"id": "u",
|
|
1301
|
+
"type": "upload-video",
|
|
1302
|
+
"data": {
|
|
1303
|
+
"url": "https://cdn.example/u.mp4",
|
|
1304
|
+
"generatedResults": [
|
|
1305
|
+
{
|
|
1306
|
+
"url": "https://cdn.example/u.mp4",
|
|
1307
|
+
"duration": 10.16
|
|
1278
1308
|
}
|
|
1279
1309
|
]
|
|
1280
1310
|
}
|
|
@@ -1293,7 +1323,7 @@
|
|
|
1293
1323
|
}
|
|
1294
1324
|
},
|
|
1295
1325
|
{
|
|
1296
|
-
"name": "17. Trim with the node's own defaults (time, 0 to an end of 0): no end, so from 0 to the clip's end — a 10 s upload, 9.
|
|
1326
|
+
"name": "17. Trim with the node's own defaults (time, 0 to an end of 0): no end, so from 0 to the clip's end — a 10 s upload, 9.85 s, 2 units",
|
|
1297
1327
|
"step": "trim",
|
|
1298
1328
|
"stepData": {
|
|
1299
1329
|
"trimMode": "time",
|
|
@@ -1328,7 +1358,7 @@
|
|
|
1328
1358
|
}
|
|
1329
1359
|
},
|
|
1330
1360
|
{
|
|
1331
|
-
"name": "17b. Trim from 3 s with no end, of a 15 s generation: 15.
|
|
1361
|
+
"name": "17b. Trim from 3 s with no end, of a 15 s generation: 15.15 s planned, less the grace, less 3 s: 12 s, 3 units",
|
|
1332
1362
|
"step": "trim",
|
|
1333
1363
|
"stepData": {
|
|
1334
1364
|
"trimMode": "time",
|
|
@@ -1417,7 +1447,7 @@
|
|
|
1417
1447
|
}
|
|
1418
1448
|
},
|
|
1419
1449
|
{
|
|
1420
|
-
"name": "18. Combine — a Duration node of 15 s wired into a generation stored at 5 s, and a 5 s generation: 15.
|
|
1450
|
+
"name": "18. Combine — a Duration node of 15 s wired into a generation stored at 5 s, and a 5 s generation: 15.15 + 5.15 s, less the grace: 20 s, a hair under the mark",
|
|
1421
1451
|
"step": "combine",
|
|
1422
1452
|
"nodes": [
|
|
1423
1453
|
{
|
|
@@ -1467,7 +1497,7 @@
|
|
|
1467
1497
|
}
|
|
1468
1498
|
},
|
|
1469
1499
|
{
|
|
1470
|
-
"name": "18b. Combine — a generation whose duration an LLM Chat's answer sets (kling-4's longest clip, 30.
|
|
1500
|
+
"name": "18b. Combine — a generation whose duration an LLM Chat's answer sets (kling-4's longest clip, 30.15 s) and a 5 s generation: 35 s, a hair under the mark",
|
|
1471
1501
|
"step": "combine",
|
|
1472
1502
|
"nodes": [
|
|
1473
1503
|
{
|
|
@@ -1515,7 +1545,7 @@
|
|
|
1515
1545
|
}
|
|
1516
1546
|
},
|
|
1517
1547
|
{
|
|
1518
|
-
"name": "18c. Combine — Seedance 2 Fast set to 30 s (renders its longest, 15 s) and a 5 s generation: 15.
|
|
1548
|
+
"name": "18c. Combine — Seedance 2 Fast set to 30 s (renders its longest, 15 s) and a 5 s generation: 15.15 + 5.15 s, never the setting: 20 s, a hair under the mark",
|
|
1519
1549
|
"step": "combine",
|
|
1520
1550
|
"nodes": [
|
|
1521
1551
|
{
|
|
@@ -1553,7 +1583,7 @@
|
|
|
1553
1583
|
}
|
|
1554
1584
|
},
|
|
1555
1585
|
{
|
|
1556
|
-
"name": "18d. Combine — a 12 s Library clip whose length was measured at upload, and a 10 s upload: 11.
|
|
1586
|
+
"name": "18d. Combine — a 12 s Library clip whose length was measured at upload, and a 10 s upload: 11.85 + 9.85 s: 21.7 s (no rate known: no frames cut)",
|
|
1557
1587
|
"step": "combine",
|
|
1558
1588
|
"nodes": [
|
|
1559
1589
|
{
|
|
@@ -1603,7 +1633,7 @@
|
|
|
1603
1633
|
}
|
|
1604
1634
|
},
|
|
1605
1635
|
{
|
|
1606
|
-
"name": "18e. Combine — a FROZEN generation (take 5.042 s, now set to 10 s) and a 10 s upload: it never runs, so its take: 14.
|
|
1636
|
+
"name": "18e. Combine — a FROZEN generation (take 5.042 s, now set to 10 s) and a 10 s upload: it never runs, so its take: 4.892 + 9.85 s, 14.742 s",
|
|
1607
1637
|
"step": "combine",
|
|
1608
1638
|
"nodes": [
|
|
1609
1639
|
{
|
|
@@ -1654,7 +1684,7 @@
|
|
|
1654
1684
|
}
|
|
1655
1685
|
},
|
|
1656
1686
|
{
|
|
1657
|
-
"name": "19. Trim — a 12 s Library clip whose length was measured at upload: 11.
|
|
1687
|
+
"name": "19. Trim — a 12 s Library clip whose length was measured at upload: 11.85 s, 3 units",
|
|
1658
1688
|
"step": "trim",
|
|
1659
1689
|
"nodes": [
|
|
1660
1690
|
{
|
|
@@ -1725,7 +1755,7 @@
|
|
|
1725
1755
|
}
|
|
1726
1756
|
},
|
|
1727
1757
|
{
|
|
1728
|
-
"name": "20. Trim to 0–60 s of a 15 s generation: the window ends at the clip (15.
|
|
1758
|
+
"name": "20. Trim to 0–60 s of a 15 s generation: the window ends at the clip (15.15 s planned, less the grace: 15 s), 3 units",
|
|
1729
1759
|
"step": "trim",
|
|
1730
1760
|
"stepData": {
|
|
1731
1761
|
"trimMode": "time",
|
|
@@ -1852,7 +1882,7 @@
|
|
|
1852
1882
|
}
|
|
1853
1883
|
},
|
|
1854
1884
|
{
|
|
1855
|
-
"name": "21b. Loop ×2 — the same take:
|
|
1885
|
+
"name": "21b. Loop ×2 — the same take: twice 15.15 s",
|
|
1856
1886
|
"step": "loop",
|
|
1857
1887
|
"nodes": [
|
|
1858
1888
|
{
|
|
@@ -2022,7 +2052,7 @@
|
|
|
2022
2052
|
}
|
|
2023
2053
|
},
|
|
2024
2054
|
{
|
|
2025
|
-
"name": "23. Loop ×4 after a LOSSLESS Trim of 3–8 s of a 10 s upload: a keyframe-snapped cut can start before its window and run a few frames past its end (a stream copy of 3–8 s with keyframes at 0 and 10 s measures 8.083 s), so the Trim passes on its end plus the copy's overshoot, 8.6 s, at most its input: 4 × 8.
|
|
2055
|
+
"name": "23. Loop ×4 after a LOSSLESS Trim of 3–8 s of a 10 s upload: a keyframe-snapped cut can start before its window and run a few frames past its end (a stream copy of 3–8 s with keyframes at 0 and 10 s measures 8.083 s), so the Trim passes on its end plus the copy's overshoot, 8.6 s, at most its input: 4 × 8.45 s, 7 units",
|
|
2026
2056
|
"step": "loop",
|
|
2027
2057
|
"stepData": {
|
|
2028
2058
|
"mode": "repeat",
|
|
@@ -2072,7 +2102,7 @@
|
|
|
2072
2102
|
}
|
|
2073
2103
|
},
|
|
2074
2104
|
{
|
|
2075
|
-
"name": "23b. The same Trim re-encoded (Lossless off): its window, 5 s; Loop ×4 is
|
|
2105
|
+
"name": "23b. The same Trim re-encoded (Lossless off): its window, 5 s; Loop ×4 is 4 × 4.85 s, 19.4 s, 4 units",
|
|
2076
2106
|
"step": "loop",
|
|
2077
2107
|
"stepData": {
|
|
2078
2108
|
"mode": "repeat",
|
|
@@ -2121,7 +2151,7 @@
|
|
|
2121
2151
|
}
|
|
2122
2152
|
},
|
|
2123
2153
|
{
|
|
2124
|
-
"name": "24. Loop with the older `loops: 5` and no `repeatCount` (an older or API-written graph), on a 10 s upload: every run reads 5 copies, so
|
|
2154
|
+
"name": "24. Loop with the older `loops: 5` and no `repeatCount` (an older or API-written graph), on a 10 s upload: every run reads 5 copies, so 5 × 9.85 s, 10 units",
|
|
2125
2155
|
"step": "loop",
|
|
2126
2156
|
"stepData": {
|
|
2127
2157
|
"mode": "repeat",
|
|
@@ -2338,6 +2368,772 @@
|
|
|
2338
2368
|
"whole": 12,
|
|
2339
2369
|
"alone": 12
|
|
2340
2370
|
}
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "27. Trim by frames — 60 frames off the end of a 12 s upload that declares 24 fps: 2.5 s at its rate, 11.85 − 2.5 = 9.35 s, 2 units (decided 2026-11-14: the clip's real rate)",
|
|
2374
|
+
"step": "trim",
|
|
2375
|
+
"stepData": {
|
|
2376
|
+
"trimMode": "frames",
|
|
2377
|
+
"trimStartFrames": 0,
|
|
2378
|
+
"trimEndFrames": 60
|
|
2379
|
+
},
|
|
2380
|
+
"nodes": [
|
|
2381
|
+
{
|
|
2382
|
+
"id": "u",
|
|
2383
|
+
"type": "upload-video",
|
|
2384
|
+
"data": {
|
|
2385
|
+
"url": "https://cdn.example/u.mp4",
|
|
2386
|
+
"generatedResults": [
|
|
2387
|
+
{
|
|
2388
|
+
"url": "https://cdn.example/u.mp4",
|
|
2389
|
+
"duration": 12
|
|
2390
|
+
}
|
|
2391
|
+
],
|
|
2392
|
+
"fps": 24
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
],
|
|
2396
|
+
"edges": [
|
|
2397
|
+
{
|
|
2398
|
+
"source": "u",
|
|
2399
|
+
"target": "t",
|
|
2400
|
+
"targetHandle": "in"
|
|
2401
|
+
}
|
|
2402
|
+
],
|
|
2403
|
+
"expectedUnits": {
|
|
2404
|
+
"whole": 2,
|
|
2405
|
+
"alone": 2
|
|
2406
|
+
}
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
"name": "27b. Trim by frames — the same cut on an upload that declares 60 fps: 1 s, 10.85 s, 3 units",
|
|
2410
|
+
"step": "trim",
|
|
2411
|
+
"stepData": {
|
|
2412
|
+
"trimMode": "frames",
|
|
2413
|
+
"trimStartFrames": 0,
|
|
2414
|
+
"trimEndFrames": 60
|
|
2415
|
+
},
|
|
2416
|
+
"nodes": [
|
|
2417
|
+
{
|
|
2418
|
+
"id": "u",
|
|
2419
|
+
"type": "upload-video",
|
|
2420
|
+
"data": {
|
|
2421
|
+
"url": "https://cdn.example/u.mp4",
|
|
2422
|
+
"generatedResults": [
|
|
2423
|
+
{
|
|
2424
|
+
"url": "https://cdn.example/u.mp4",
|
|
2425
|
+
"duration": 12
|
|
2426
|
+
}
|
|
2427
|
+
],
|
|
2428
|
+
"fps": 60
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
],
|
|
2432
|
+
"edges": [
|
|
2433
|
+
{
|
|
2434
|
+
"source": "u",
|
|
2435
|
+
"target": "t",
|
|
2436
|
+
"targetHandle": "in"
|
|
2437
|
+
}
|
|
2438
|
+
],
|
|
2439
|
+
"expectedUnits": {
|
|
2440
|
+
"whole": 3,
|
|
2441
|
+
"alone": 3
|
|
2442
|
+
}
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"name": "27c. Trim by frames — the same cut on an upload with no declared rate: no frames cut, the uncut 11.85 s, 3 units (a bound: the run cuts at the rate it probes)",
|
|
2446
|
+
"step": "trim",
|
|
2447
|
+
"stepData": {
|
|
2448
|
+
"trimMode": "frames",
|
|
2449
|
+
"trimStartFrames": 0,
|
|
2450
|
+
"trimEndFrames": 60
|
|
2451
|
+
},
|
|
2452
|
+
"nodes": [
|
|
2453
|
+
{
|
|
2454
|
+
"id": "u",
|
|
2455
|
+
"type": "upload-video",
|
|
2456
|
+
"data": {
|
|
2457
|
+
"url": "https://cdn.example/u.mp4",
|
|
2458
|
+
"generatedResults": [
|
|
2459
|
+
{
|
|
2460
|
+
"url": "https://cdn.example/u.mp4",
|
|
2461
|
+
"duration": 12
|
|
2462
|
+
}
|
|
2463
|
+
]
|
|
2464
|
+
}
|
|
2465
|
+
}
|
|
2466
|
+
],
|
|
2467
|
+
"edges": [
|
|
2468
|
+
{
|
|
2469
|
+
"source": "u",
|
|
2470
|
+
"target": "t",
|
|
2471
|
+
"targetHandle": "in"
|
|
2472
|
+
}
|
|
2473
|
+
],
|
|
2474
|
+
"expectedUnits": {
|
|
2475
|
+
"whole": 3,
|
|
2476
|
+
"alone": 3
|
|
2477
|
+
}
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"name": "28. Combine — two 10 s uploads at 24 fps, 60 + 60 frames: cut once, at the one join (the end of the first clip, the start of the second), 5 s at the rate they share, 19.7 − 5 = 14.7 s, 3 units",
|
|
2481
|
+
"step": "combine",
|
|
2482
|
+
"stepData": {
|
|
2483
|
+
"transition": "cut",
|
|
2484
|
+
"transitionDuration": 0.5,
|
|
2485
|
+
"trimStartFrames": 60,
|
|
2486
|
+
"trimEndFrames": 60
|
|
2487
|
+
},
|
|
2488
|
+
"nodes": [
|
|
2489
|
+
{
|
|
2490
|
+
"id": "a",
|
|
2491
|
+
"type": "upload-video",
|
|
2492
|
+
"data": {
|
|
2493
|
+
"url": "https://cdn.example/a.mp4",
|
|
2494
|
+
"generatedResults": [
|
|
2495
|
+
{
|
|
2496
|
+
"url": "https://cdn.example/a.mp4",
|
|
2497
|
+
"duration": 10
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
2500
|
+
"fps": 24
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
{
|
|
2504
|
+
"id": "b",
|
|
2505
|
+
"type": "upload-video",
|
|
2506
|
+
"data": {
|
|
2507
|
+
"url": "https://cdn.example/b.mp4",
|
|
2508
|
+
"generatedResults": [
|
|
2509
|
+
{
|
|
2510
|
+
"url": "https://cdn.example/b.mp4",
|
|
2511
|
+
"duration": 10
|
|
2512
|
+
}
|
|
2513
|
+
],
|
|
2514
|
+
"fps": 24
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
],
|
|
2518
|
+
"edges": [
|
|
2519
|
+
{
|
|
2520
|
+
"source": "a",
|
|
2521
|
+
"target": "t",
|
|
2522
|
+
"targetHandle": "in"
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
"source": "b",
|
|
2526
|
+
"target": "t",
|
|
2527
|
+
"targetHandle": "in"
|
|
2528
|
+
}
|
|
2529
|
+
],
|
|
2530
|
+
"expectedUnits": {
|
|
2531
|
+
"whole": 3,
|
|
2532
|
+
"alone": 3
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"name": "28b. Combine — the same at 60 fps: 2 s at the join, 17.7 s, 4 units",
|
|
2537
|
+
"step": "combine",
|
|
2538
|
+
"stepData": {
|
|
2539
|
+
"transition": "cut",
|
|
2540
|
+
"transitionDuration": 0.5,
|
|
2541
|
+
"trimStartFrames": 60,
|
|
2542
|
+
"trimEndFrames": 60
|
|
2543
|
+
},
|
|
2544
|
+
"nodes": [
|
|
2545
|
+
{
|
|
2546
|
+
"id": "a",
|
|
2547
|
+
"type": "upload-video",
|
|
2548
|
+
"data": {
|
|
2549
|
+
"url": "https://cdn.example/a.mp4",
|
|
2550
|
+
"generatedResults": [
|
|
2551
|
+
{
|
|
2552
|
+
"url": "https://cdn.example/a.mp4",
|
|
2553
|
+
"duration": 10
|
|
2554
|
+
}
|
|
2555
|
+
],
|
|
2556
|
+
"fps": 60
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"id": "b",
|
|
2561
|
+
"type": "upload-video",
|
|
2562
|
+
"data": {
|
|
2563
|
+
"url": "https://cdn.example/b.mp4",
|
|
2564
|
+
"generatedResults": [
|
|
2565
|
+
{
|
|
2566
|
+
"url": "https://cdn.example/b.mp4",
|
|
2567
|
+
"duration": 10
|
|
2568
|
+
}
|
|
2569
|
+
],
|
|
2570
|
+
"fps": 60
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
],
|
|
2574
|
+
"edges": [
|
|
2575
|
+
{
|
|
2576
|
+
"source": "a",
|
|
2577
|
+
"target": "t",
|
|
2578
|
+
"targetHandle": "in"
|
|
2579
|
+
},
|
|
2580
|
+
{
|
|
2581
|
+
"source": "b",
|
|
2582
|
+
"target": "t",
|
|
2583
|
+
"targetHandle": "in"
|
|
2584
|
+
}
|
|
2585
|
+
],
|
|
2586
|
+
"expectedUnits": {
|
|
2587
|
+
"whole": 4,
|
|
2588
|
+
"alone": 4
|
|
2589
|
+
}
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"name": "28c. Combine — a 24 fps and a 60 fps upload: the join conforms them to the higher of a tie, 60 fps, 17.7 s, 4 units",
|
|
2593
|
+
"step": "combine",
|
|
2594
|
+
"stepData": {
|
|
2595
|
+
"transition": "cut",
|
|
2596
|
+
"transitionDuration": 0.5,
|
|
2597
|
+
"trimStartFrames": 60,
|
|
2598
|
+
"trimEndFrames": 60
|
|
2599
|
+
},
|
|
2600
|
+
"nodes": [
|
|
2601
|
+
{
|
|
2602
|
+
"id": "a",
|
|
2603
|
+
"type": "upload-video",
|
|
2604
|
+
"data": {
|
|
2605
|
+
"url": "https://cdn.example/a.mp4",
|
|
2606
|
+
"generatedResults": [
|
|
2607
|
+
{
|
|
2608
|
+
"url": "https://cdn.example/a.mp4",
|
|
2609
|
+
"duration": 10
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"fps": 24
|
|
2613
|
+
}
|
|
2614
|
+
},
|
|
2615
|
+
{
|
|
2616
|
+
"id": "b",
|
|
2617
|
+
"type": "upload-video",
|
|
2618
|
+
"data": {
|
|
2619
|
+
"url": "https://cdn.example/b.mp4",
|
|
2620
|
+
"generatedResults": [
|
|
2621
|
+
{
|
|
2622
|
+
"url": "https://cdn.example/b.mp4",
|
|
2623
|
+
"duration": 10
|
|
2624
|
+
}
|
|
2625
|
+
],
|
|
2626
|
+
"fps": 60
|
|
2627
|
+
}
|
|
2628
|
+
}
|
|
2629
|
+
],
|
|
2630
|
+
"edges": [
|
|
2631
|
+
{
|
|
2632
|
+
"source": "a",
|
|
2633
|
+
"target": "t",
|
|
2634
|
+
"targetHandle": "in"
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
"source": "b",
|
|
2638
|
+
"target": "t",
|
|
2639
|
+
"targetHandle": "in"
|
|
2640
|
+
}
|
|
2641
|
+
],
|
|
2642
|
+
"expectedUnits": {
|
|
2643
|
+
"whole": 4,
|
|
2644
|
+
"alone": 4
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "28d. Combine — a 24 fps upload and one with no declared rate: the rate the join will use is not known, no frames cut, 19.7 s, 4 units",
|
|
2649
|
+
"step": "combine",
|
|
2650
|
+
"stepData": {
|
|
2651
|
+
"transition": "cut",
|
|
2652
|
+
"transitionDuration": 0.5,
|
|
2653
|
+
"trimStartFrames": 60,
|
|
2654
|
+
"trimEndFrames": 60
|
|
2655
|
+
},
|
|
2656
|
+
"nodes": [
|
|
2657
|
+
{
|
|
2658
|
+
"id": "a",
|
|
2659
|
+
"type": "upload-video",
|
|
2660
|
+
"data": {
|
|
2661
|
+
"url": "https://cdn.example/a.mp4",
|
|
2662
|
+
"generatedResults": [
|
|
2663
|
+
{
|
|
2664
|
+
"url": "https://cdn.example/a.mp4",
|
|
2665
|
+
"duration": 10
|
|
2666
|
+
}
|
|
2667
|
+
],
|
|
2668
|
+
"fps": 24
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
"id": "b",
|
|
2673
|
+
"type": "upload-video",
|
|
2674
|
+
"data": {
|
|
2675
|
+
"url": "https://cdn.example/b.mp4",
|
|
2676
|
+
"generatedResults": [
|
|
2677
|
+
{
|
|
2678
|
+
"url": "https://cdn.example/b.mp4",
|
|
2679
|
+
"duration": 10
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
],
|
|
2685
|
+
"edges": [
|
|
2686
|
+
{
|
|
2687
|
+
"source": "a",
|
|
2688
|
+
"target": "t",
|
|
2689
|
+
"targetHandle": "in"
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"source": "b",
|
|
2693
|
+
"target": "t",
|
|
2694
|
+
"targetHandle": "in"
|
|
2695
|
+
}
|
|
2696
|
+
],
|
|
2697
|
+
"expectedUnits": {
|
|
2698
|
+
"whole": 4,
|
|
2699
|
+
"alone": 4
|
|
2700
|
+
}
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "29. Combine — per-join `transitions` in the node's data: a workflow run sends none, so neither quote reads them — two 10.5 s uploads with a 1 s fade at the join, 19.7 s, 4 units (read, the cut would make it 20.7 s, 5)",
|
|
2704
|
+
"step": "combine",
|
|
2705
|
+
"stepData": {
|
|
2706
|
+
"transition": "fade",
|
|
2707
|
+
"transitionDuration": 1,
|
|
2708
|
+
"trimStartFrames": 1,
|
|
2709
|
+
"trimEndFrames": 2,
|
|
2710
|
+
"transitions": [
|
|
2711
|
+
{
|
|
2712
|
+
"index": 0,
|
|
2713
|
+
"transition": "cut",
|
|
2714
|
+
"duration": 0
|
|
2715
|
+
}
|
|
2716
|
+
]
|
|
2717
|
+
},
|
|
2718
|
+
"nodes": [
|
|
2719
|
+
{
|
|
2720
|
+
"id": "a",
|
|
2721
|
+
"type": "upload-video",
|
|
2722
|
+
"data": {
|
|
2723
|
+
"url": "https://cdn.example/a.mp4",
|
|
2724
|
+
"generatedResults": [
|
|
2725
|
+
{
|
|
2726
|
+
"url": "https://cdn.example/a.mp4",
|
|
2727
|
+
"duration": 10.5
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
{
|
|
2733
|
+
"id": "b",
|
|
2734
|
+
"type": "upload-video",
|
|
2735
|
+
"data": {
|
|
2736
|
+
"url": "https://cdn.example/b.mp4",
|
|
2737
|
+
"generatedResults": [
|
|
2738
|
+
{
|
|
2739
|
+
"url": "https://cdn.example/b.mp4",
|
|
2740
|
+
"duration": 10.5
|
|
2741
|
+
}
|
|
2742
|
+
]
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
],
|
|
2746
|
+
"edges": [
|
|
2747
|
+
{
|
|
2748
|
+
"source": "a",
|
|
2749
|
+
"target": "t",
|
|
2750
|
+
"targetHandle": "in"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"source": "b",
|
|
2754
|
+
"target": "t",
|
|
2755
|
+
"targetHandle": "in"
|
|
2756
|
+
}
|
|
2757
|
+
],
|
|
2758
|
+
"expectedUnits": {
|
|
2759
|
+
"whole": 4,
|
|
2760
|
+
"alone": 4
|
|
2761
|
+
}
|
|
2762
|
+
},
|
|
2763
|
+
{
|
|
2764
|
+
"name": "29b. Combine — a node that sets no frame trims, on two 10.2 s uploads at 24 fps: both quotes cut the workflow run's default 1 + 2 frames at the join, 20.1 − 0.125 = 19.975 s, 4 units (uncut, 20.1 s, 5)",
|
|
2765
|
+
"step": "combine",
|
|
2766
|
+
"stepData": {
|
|
2767
|
+
"transition": "cut"
|
|
2768
|
+
},
|
|
2769
|
+
"nodes": [
|
|
2770
|
+
{
|
|
2771
|
+
"id": "a",
|
|
2772
|
+
"type": "upload-video",
|
|
2773
|
+
"data": {
|
|
2774
|
+
"url": "https://cdn.example/a.mp4",
|
|
2775
|
+
"generatedResults": [
|
|
2776
|
+
{
|
|
2777
|
+
"url": "https://cdn.example/a.mp4",
|
|
2778
|
+
"duration": 10.2
|
|
2779
|
+
}
|
|
2780
|
+
],
|
|
2781
|
+
"fps": 24
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"id": "b",
|
|
2786
|
+
"type": "upload-video",
|
|
2787
|
+
"data": {
|
|
2788
|
+
"url": "https://cdn.example/b.mp4",
|
|
2789
|
+
"generatedResults": [
|
|
2790
|
+
{
|
|
2791
|
+
"url": "https://cdn.example/b.mp4",
|
|
2792
|
+
"duration": 10.2
|
|
2793
|
+
}
|
|
2794
|
+
],
|
|
2795
|
+
"fps": 24
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
],
|
|
2799
|
+
"edges": [
|
|
2800
|
+
{
|
|
2801
|
+
"source": "a",
|
|
2802
|
+
"target": "t",
|
|
2803
|
+
"targetHandle": "in"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"source": "b",
|
|
2807
|
+
"target": "t",
|
|
2808
|
+
"targetHandle": "in"
|
|
2809
|
+
}
|
|
2810
|
+
],
|
|
2811
|
+
"expectedUnits": {
|
|
2812
|
+
"whole": 4,
|
|
2813
|
+
"alone": 4
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
"name": "30. Trim — a Dubbing of a 10 s upload: the dub runs further past its input, 10 s plus a quarter second, less the 0.15 s grace: 10.1 s, 3 units",
|
|
2818
|
+
"step": "trim",
|
|
2819
|
+
"nodes": [
|
|
2820
|
+
{
|
|
2821
|
+
"id": "u",
|
|
2822
|
+
"type": "upload-video",
|
|
2823
|
+
"data": {
|
|
2824
|
+
"url": "https://cdn.example/u.mp4",
|
|
2825
|
+
"generatedResults": [
|
|
2826
|
+
{
|
|
2827
|
+
"url": "https://cdn.example/u.mp4",
|
|
2828
|
+
"duration": 10
|
|
2829
|
+
}
|
|
2830
|
+
],
|
|
2831
|
+
"activeResultIndex": 0
|
|
2832
|
+
}
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"id": "d",
|
|
2836
|
+
"type": "dubbing",
|
|
2837
|
+
"data": {}
|
|
2838
|
+
}
|
|
2839
|
+
],
|
|
2840
|
+
"edges": [
|
|
2841
|
+
{
|
|
2842
|
+
"source": "u",
|
|
2843
|
+
"target": "d",
|
|
2844
|
+
"targetHandle": "video"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"source": "d",
|
|
2848
|
+
"target": "t",
|
|
2849
|
+
"targetHandle": "in"
|
|
2850
|
+
}
|
|
2851
|
+
],
|
|
2852
|
+
"expectedUnits": {
|
|
2853
|
+
"whole": 3,
|
|
2854
|
+
"alone": 3
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"name": "30b. Trim — a Voice Changer of the same 10 s upload: its own slack, 10.15 s less the grace: 10 s, 2 units",
|
|
2859
|
+
"step": "trim",
|
|
2860
|
+
"nodes": [
|
|
2861
|
+
{
|
|
2862
|
+
"id": "u",
|
|
2863
|
+
"type": "upload-video",
|
|
2864
|
+
"data": {
|
|
2865
|
+
"url": "https://cdn.example/u.mp4",
|
|
2866
|
+
"generatedResults": [
|
|
2867
|
+
{
|
|
2868
|
+
"url": "https://cdn.example/u.mp4",
|
|
2869
|
+
"duration": 10
|
|
2870
|
+
}
|
|
2871
|
+
],
|
|
2872
|
+
"activeResultIndex": 0
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"id": "d",
|
|
2877
|
+
"type": "voice-changer",
|
|
2878
|
+
"data": {}
|
|
2879
|
+
}
|
|
2880
|
+
],
|
|
2881
|
+
"edges": [
|
|
2882
|
+
{
|
|
2883
|
+
"source": "u",
|
|
2884
|
+
"target": "d",
|
|
2885
|
+
"targetHandle": "video"
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"source": "d",
|
|
2889
|
+
"target": "t",
|
|
2890
|
+
"targetHandle": "in"
|
|
2891
|
+
}
|
|
2892
|
+
],
|
|
2893
|
+
"expectedUnits": {
|
|
2894
|
+
"whole": 2,
|
|
2895
|
+
"alone": 2
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"name": "31. Trim — a 10 s upload extended by 5 s on PixVerse V6: 15 s plus a quarter second, less the grace: 15.1 s, 4 units (on Seedance 2.5, case 4: 3)",
|
|
2900
|
+
"step": "trim",
|
|
2901
|
+
"nodes": [
|
|
2902
|
+
{
|
|
2903
|
+
"id": "u",
|
|
2904
|
+
"type": "upload-video",
|
|
2905
|
+
"data": {
|
|
2906
|
+
"url": "https://cdn.example/u.mp4",
|
|
2907
|
+
"generatedResults": [
|
|
2908
|
+
{
|
|
2909
|
+
"url": "https://cdn.example/u.mp4",
|
|
2910
|
+
"duration": 10
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"activeResultIndex": 0
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"id": "x",
|
|
2918
|
+
"type": "extend-video",
|
|
2919
|
+
"data": {
|
|
2920
|
+
"provider": "pixverse-v6-extend",
|
|
2921
|
+
"duration": 5
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
],
|
|
2925
|
+
"edges": [
|
|
2926
|
+
{
|
|
2927
|
+
"source": "u",
|
|
2928
|
+
"target": "x",
|
|
2929
|
+
"targetHandle": "video"
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"source": "x",
|
|
2933
|
+
"target": "t",
|
|
2934
|
+
"targetHandle": "in"
|
|
2935
|
+
}
|
|
2936
|
+
],
|
|
2937
|
+
"expectedUnits": {
|
|
2938
|
+
"whole": 4,
|
|
2939
|
+
"alone": 4
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"name": "31b. Combine — two 10 s uploads, each extended by 5 s on PixVerse V6: 15.1 + 15.1 s, 7 units (no rate known: no frames cut)",
|
|
2944
|
+
"step": "combine",
|
|
2945
|
+
"nodes": [
|
|
2946
|
+
{
|
|
2947
|
+
"id": "u",
|
|
2948
|
+
"type": "upload-video",
|
|
2949
|
+
"data": {
|
|
2950
|
+
"url": "https://cdn.example/u.mp4",
|
|
2951
|
+
"generatedResults": [
|
|
2952
|
+
{
|
|
2953
|
+
"url": "https://cdn.example/u.mp4",
|
|
2954
|
+
"duration": 10
|
|
2955
|
+
}
|
|
2956
|
+
],
|
|
2957
|
+
"activeResultIndex": 0
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"id": "x",
|
|
2962
|
+
"type": "extend-video",
|
|
2963
|
+
"data": {
|
|
2964
|
+
"provider": "pixverse-v6-extend",
|
|
2965
|
+
"duration": 5
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"id": "v",
|
|
2970
|
+
"type": "upload-video",
|
|
2971
|
+
"data": {
|
|
2972
|
+
"url": "https://cdn.example/v.mp4",
|
|
2973
|
+
"generatedResults": [
|
|
2974
|
+
{
|
|
2975
|
+
"url": "https://cdn.example/v.mp4",
|
|
2976
|
+
"duration": 10
|
|
2977
|
+
}
|
|
2978
|
+
],
|
|
2979
|
+
"activeResultIndex": 0
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"id": "y",
|
|
2984
|
+
"type": "extend-video",
|
|
2985
|
+
"data": {
|
|
2986
|
+
"provider": "pixverse-v6-extend",
|
|
2987
|
+
"duration": 5
|
|
2988
|
+
}
|
|
2989
|
+
}
|
|
2990
|
+
],
|
|
2991
|
+
"edges": [
|
|
2992
|
+
{
|
|
2993
|
+
"source": "u",
|
|
2994
|
+
"target": "x",
|
|
2995
|
+
"targetHandle": "video"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"source": "v",
|
|
2999
|
+
"target": "y",
|
|
3000
|
+
"targetHandle": "video"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"source": "x",
|
|
3004
|
+
"target": "t",
|
|
3005
|
+
"targetHandle": "in"
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"source": "y",
|
|
3009
|
+
"target": "t",
|
|
3010
|
+
"targetHandle": "in"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
"expectedUnits": {
|
|
3014
|
+
"whole": 7,
|
|
3015
|
+
"alone": 7
|
|
3016
|
+
}
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"name": "31c. Loop ×2 — the same PixVerse V6 extension: twice 15.1 s, 30.2 s, 7 units (on Seedance 2.5, case 4b: 6)",
|
|
3020
|
+
"step": "loop",
|
|
3021
|
+
"nodes": [
|
|
3022
|
+
{
|
|
3023
|
+
"id": "u",
|
|
3024
|
+
"type": "upload-video",
|
|
3025
|
+
"data": {
|
|
3026
|
+
"url": "https://cdn.example/u.mp4",
|
|
3027
|
+
"generatedResults": [
|
|
3028
|
+
{
|
|
3029
|
+
"url": "https://cdn.example/u.mp4",
|
|
3030
|
+
"duration": 10
|
|
3031
|
+
}
|
|
3032
|
+
],
|
|
3033
|
+
"activeResultIndex": 0
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"id": "x",
|
|
3038
|
+
"type": "extend-video",
|
|
3039
|
+
"data": {
|
|
3040
|
+
"provider": "pixverse-v6-extend",
|
|
3041
|
+
"duration": 5
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
3044
|
+
],
|
|
3045
|
+
"edges": [
|
|
3046
|
+
{
|
|
3047
|
+
"source": "u",
|
|
3048
|
+
"target": "x",
|
|
3049
|
+
"targetHandle": "video"
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"source": "x",
|
|
3053
|
+
"target": "t",
|
|
3054
|
+
"targetHandle": "in"
|
|
3055
|
+
}
|
|
3056
|
+
],
|
|
3057
|
+
"expectedUnits": {
|
|
3058
|
+
"whole": 7,
|
|
3059
|
+
"alone": 7
|
|
3060
|
+
}
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"name": "31d. Combine — the same two uploads extended on Seedance 2.5: each step's own slack, 15 + 15 s, 6 units",
|
|
3064
|
+
"step": "combine",
|
|
3065
|
+
"nodes": [
|
|
3066
|
+
{
|
|
3067
|
+
"id": "u",
|
|
3068
|
+
"type": "upload-video",
|
|
3069
|
+
"data": {
|
|
3070
|
+
"url": "https://cdn.example/u.mp4",
|
|
3071
|
+
"generatedResults": [
|
|
3072
|
+
{
|
|
3073
|
+
"url": "https://cdn.example/u.mp4",
|
|
3074
|
+
"duration": 10
|
|
3075
|
+
}
|
|
3076
|
+
],
|
|
3077
|
+
"activeResultIndex": 0
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"id": "x",
|
|
3082
|
+
"type": "extend-video",
|
|
3083
|
+
"data": {
|
|
3084
|
+
"provider": "seedance-2-5-extend",
|
|
3085
|
+
"duration": 5
|
|
3086
|
+
}
|
|
3087
|
+
},
|
|
3088
|
+
{
|
|
3089
|
+
"id": "v",
|
|
3090
|
+
"type": "upload-video",
|
|
3091
|
+
"data": {
|
|
3092
|
+
"url": "https://cdn.example/v.mp4",
|
|
3093
|
+
"generatedResults": [
|
|
3094
|
+
{
|
|
3095
|
+
"url": "https://cdn.example/v.mp4",
|
|
3096
|
+
"duration": 10
|
|
3097
|
+
}
|
|
3098
|
+
],
|
|
3099
|
+
"activeResultIndex": 0
|
|
3100
|
+
}
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
"id": "y",
|
|
3104
|
+
"type": "extend-video",
|
|
3105
|
+
"data": {
|
|
3106
|
+
"provider": "seedance-2-5-extend",
|
|
3107
|
+
"duration": 5
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"edges": [
|
|
3112
|
+
{
|
|
3113
|
+
"source": "u",
|
|
3114
|
+
"target": "x",
|
|
3115
|
+
"targetHandle": "video"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"source": "v",
|
|
3119
|
+
"target": "y",
|
|
3120
|
+
"targetHandle": "video"
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"source": "x",
|
|
3124
|
+
"target": "t",
|
|
3125
|
+
"targetHandle": "in"
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"source": "y",
|
|
3129
|
+
"target": "t",
|
|
3130
|
+
"targetHandle": "in"
|
|
3131
|
+
}
|
|
3132
|
+
],
|
|
3133
|
+
"expectedUnits": {
|
|
3134
|
+
"whole": 6,
|
|
3135
|
+
"alone": 6
|
|
3136
|
+
}
|
|
2341
3137
|
}
|
|
2342
3138
|
]
|
|
2343
3139
|
}
|