ltx-2.3-i2v: expose DURATION_SECONDS constant (node 340) with 10s ceiling clamp
Browse files- workflows/ltx-2.3-i2v.json +143 -4
workflows/ltx-2.3-i2v.json
CHANGED
|
@@ -196,7 +196,7 @@
|
|
| 196 |
"widget": {
|
| 197 |
"name": "value_4"
|
| 198 |
},
|
| 199 |
-
"link":
|
| 200 |
},
|
| 201 |
{
|
| 202 |
"label": "fps",
|
|
@@ -337,6 +337,74 @@
|
|
| 337 |
}
|
| 338 |
},
|
| 339 |
"widgets_values": []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 340 |
}
|
| 341 |
],
|
| 342 |
"links": [
|
|
@@ -355,6 +423,14 @@
|
|
| 355 |
320,
|
| 356 |
0,
|
| 357 |
"IMAGE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 358 |
]
|
| 359 |
],
|
| 360 |
"groups": [],
|
|
@@ -2194,7 +2270,7 @@
|
|
| 2194 |
"name": "INT",
|
| 2195 |
"type": "INT",
|
| 2196 |
"links": [
|
| 2197 |
-
|
| 2198 |
]
|
| 2199 |
}
|
| 2200 |
],
|
|
@@ -4003,6 +4079,61 @@
|
|
| 4003 |
"widgets_values": [
|
| 4004 |
"min(max(64*round(sqrt(c*d*b/a)/64), 384), 1792)"
|
| 4005 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4006 |
}
|
| 4007 |
],
|
| 4008 |
"groups": [
|
|
@@ -4714,8 +4845,8 @@
|
|
| 4714 |
},
|
| 4715 |
{
|
| 4716 |
"id": 628,
|
| 4717 |
-
"origin_id":
|
| 4718 |
-
"origin_slot":
|
| 4719 |
"target_id": 323,
|
| 4720 |
"target_slot": 0,
|
| 4721 |
"type": "INT"
|
|
@@ -4919,6 +5050,14 @@
|
|
| 4919 |
"target_id": 332,
|
| 4920 |
"target_slot": 3,
|
| 4921 |
"type": "INT"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4922 |
}
|
| 4923 |
],
|
| 4924 |
"extra": {
|
|
|
|
| 196 |
"widget": {
|
| 197 |
"name": "value_4"
|
| 198 |
},
|
| 199 |
+
"link": 634
|
| 200 |
},
|
| 201 |
{
|
| 202 |
"label": "fps",
|
|
|
|
| 337 |
}
|
| 338 |
},
|
| 339 |
"widgets_values": []
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"id": 340,
|
| 343 |
+
"type": "PrimitiveInt",
|
| 344 |
+
"pos": [
|
| 345 |
+
-560,
|
| 346 |
+
340
|
| 347 |
+
],
|
| 348 |
+
"size": [
|
| 349 |
+
340,
|
| 350 |
+
90
|
| 351 |
+
],
|
| 352 |
+
"flags": {},
|
| 353 |
+
"order": 0,
|
| 354 |
+
"mode": 0,
|
| 355 |
+
"inputs": [
|
| 356 |
+
{
|
| 357 |
+
"localized_name": "value",
|
| 358 |
+
"name": "value",
|
| 359 |
+
"type": "INT",
|
| 360 |
+
"widget": {
|
| 361 |
+
"name": "value"
|
| 362 |
+
},
|
| 363 |
+
"link": null
|
| 364 |
+
}
|
| 365 |
+
],
|
| 366 |
+
"outputs": [
|
| 367 |
+
{
|
| 368 |
+
"localized_name": "INT",
|
| 369 |
+
"name": "INT",
|
| 370 |
+
"type": "INT",
|
| 371 |
+
"links": [
|
| 372 |
+
634
|
| 373 |
+
]
|
| 374 |
+
}
|
| 375 |
+
],
|
| 376 |
+
"properties": {
|
| 377 |
+
"cnr_id": "comfy-core",
|
| 378 |
+
"ver": "0.3.0",
|
| 379 |
+
"Node name for S&R": "PrimitiveInt"
|
| 380 |
+
},
|
| 381 |
+
"widgets_values": [
|
| 382 |
+
5,
|
| 383 |
+
"fixed"
|
| 384 |
+
],
|
| 385 |
+
"title": "DURATION_SECONDS (max 10)"
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"id": 341,
|
| 389 |
+
"type": "MarkdownNote",
|
| 390 |
+
"pos": [
|
| 391 |
+
-560,
|
| 392 |
+
480
|
| 393 |
+
],
|
| 394 |
+
"size": [
|
| 395 |
+
340,
|
| 396 |
+
180
|
| 397 |
+
],
|
| 398 |
+
"flags": {},
|
| 399 |
+
"order": 0,
|
| 400 |
+
"mode": 0,
|
| 401 |
+
"inputs": [],
|
| 402 |
+
"outputs": [],
|
| 403 |
+
"properties": {},
|
| 404 |
+
"title": "Duration note",
|
| 405 |
+
"widgets_values": [
|
| 406 |
+
"## Video length\nSet **DURATION_SECONDS** above (API: `--set 340.value=N`).\n\n**Ceiling: 10 s** \u2014 enforced by a clamp inside the subgraph. LTX 2.3 is trained for clips up to ~10 s; beyond that motion coherence and quality degrade.\n\nVRAM grows with length: fp8 ~67 GB at 8 s; **bf16 peaks ~75 GB at just 5 s** \u2014 use the fp8 workflow for 8-10 s clips.\n\nFrames = duration x fps + 1, snapped to the VAE temporal grid (so 5 s -> 4.84 s actual)."
|
| 407 |
+
]
|
| 408 |
}
|
| 409 |
],
|
| 410 |
"links": [
|
|
|
|
| 423 |
320,
|
| 424 |
0,
|
| 425 |
"IMAGE"
|
| 426 |
+
],
|
| 427 |
+
[
|
| 428 |
+
634,
|
| 429 |
+
340,
|
| 430 |
+
0,
|
| 431 |
+
320,
|
| 432 |
+
5,
|
| 433 |
+
"INT"
|
| 434 |
]
|
| 435 |
],
|
| 436 |
"groups": [],
|
|
|
|
| 2270 |
"name": "INT",
|
| 2271 |
"type": "INT",
|
| 2272 |
"links": [
|
| 2273 |
+
720
|
| 2274 |
]
|
| 2275 |
}
|
| 2276 |
],
|
|
|
|
| 4079 |
"widgets_values": [
|
| 4080 |
"min(max(64*round(sqrt(c*d*b/a)/64), 384), 1792)"
|
| 4081 |
]
|
| 4082 |
+
},
|
| 4083 |
+
{
|
| 4084 |
+
"id": 333,
|
| 4085 |
+
"type": "ComfyMathExpression",
|
| 4086 |
+
"pos": [
|
| 4087 |
+
1190,
|
| 4088 |
+
4900
|
| 4089 |
+
],
|
| 4090 |
+
"size": [
|
| 4091 |
+
260,
|
| 4092 |
+
60
|
| 4093 |
+
],
|
| 4094 |
+
"flags": {},
|
| 4095 |
+
"order": 0,
|
| 4096 |
+
"mode": 0,
|
| 4097 |
+
"inputs": [
|
| 4098 |
+
{
|
| 4099 |
+
"label": "a",
|
| 4100 |
+
"localized_name": "values.a",
|
| 4101 |
+
"name": "values.a",
|
| 4102 |
+
"type": "FLOAT,INT,BOOLEAN",
|
| 4103 |
+
"link": 720
|
| 4104 |
+
}
|
| 4105 |
+
],
|
| 4106 |
+
"outputs": [
|
| 4107 |
+
{
|
| 4108 |
+
"localized_name": "FLOAT",
|
| 4109 |
+
"name": "FLOAT",
|
| 4110 |
+
"type": "FLOAT",
|
| 4111 |
+
"links": null
|
| 4112 |
+
},
|
| 4113 |
+
{
|
| 4114 |
+
"localized_name": "INT",
|
| 4115 |
+
"name": "INT",
|
| 4116 |
+
"type": "INT",
|
| 4117 |
+
"links": [
|
| 4118 |
+
628
|
| 4119 |
+
]
|
| 4120 |
+
},
|
| 4121 |
+
{
|
| 4122 |
+
"localized_name": "BOOL",
|
| 4123 |
+
"name": "BOOL",
|
| 4124 |
+
"type": "BOOLEAN",
|
| 4125 |
+
"links": null
|
| 4126 |
+
}
|
| 4127 |
+
],
|
| 4128 |
+
"properties": {
|
| 4129 |
+
"cnr_id": "comfy-core",
|
| 4130 |
+
"ver": "0.3.0",
|
| 4131 |
+
"Node name for S&R": "ComfyMathExpression"
|
| 4132 |
+
},
|
| 4133 |
+
"widgets_values": [
|
| 4134 |
+
"min(max(a, 1), 10)"
|
| 4135 |
+
],
|
| 4136 |
+
"title": "duration ceiling: 10 s max"
|
| 4137 |
}
|
| 4138 |
],
|
| 4139 |
"groups": [
|
|
|
|
| 4845 |
},
|
| 4846 |
{
|
| 4847 |
"id": 628,
|
| 4848 |
+
"origin_id": 333,
|
| 4849 |
+
"origin_slot": 1,
|
| 4850 |
"target_id": 323,
|
| 4851 |
"target_slot": 0,
|
| 4852 |
"type": "INT"
|
|
|
|
| 5050 |
"target_id": 332,
|
| 5051 |
"target_slot": 3,
|
| 5052 |
"type": "INT"
|
| 5053 |
+
},
|
| 5054 |
+
{
|
| 5055 |
+
"id": 720,
|
| 5056 |
+
"origin_id": 301,
|
| 5057 |
+
"origin_slot": 0,
|
| 5058 |
+
"target_id": 333,
|
| 5059 |
+
"target_slot": 0,
|
| 5060 |
+
"type": "INT"
|
| 5061 |
}
|
| 5062 |
],
|
| 5063 |
"extra": {
|