aleph65 commited on
Commit
3043d4a
·
verified ·
1 Parent(s): 762bc6e

ltx-2.3-i2v API: DURATION_SECONDS constant + 10s clamp

Browse files
Files changed (1) hide show
  1. workflows/api/ltx-2.3-i2v.json +28 -3
workflows/api/ltx-2.3-i2v.json CHANGED
@@ -311,7 +311,10 @@
311
  },
312
  "class_type": "PrimitiveInt",
313
  "inputs": {
314
- "value": 5
 
 
 
315
  }
316
  },
317
  "320:302": {
@@ -541,8 +544,8 @@
541
  "inputs": {
542
  "expression": "a * b + 1",
543
  "values.a": [
544
- "320:301",
545
- 0
546
  ],
547
  "values.b": [
548
  "320:300",
@@ -678,6 +681,28 @@
678
  ]
679
  }
680
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
681
  "75": {
682
  "class_type": "SaveVideo",
683
  "inputs": {
 
311
  },
312
  "class_type": "PrimitiveInt",
313
  "inputs": {
314
+ "value": [
315
+ "340",
316
+ 0
317
+ ]
318
  }
319
  },
320
  "320:302": {
 
544
  "inputs": {
545
  "expression": "a * b + 1",
546
  "values.a": [
547
+ "320:333",
548
+ 1
549
  ],
550
  "values.b": [
551
  "320:300",
 
681
  ]
682
  }
683
  },
684
+ "320:333": {
685
+ "_meta": {
686
+ "title": "duration ceiling: 10 s max"
687
+ },
688
+ "class_type": "ComfyMathExpression",
689
+ "inputs": {
690
+ "expression": "min(max(a, 1), 10)",
691
+ "values.a": [
692
+ "320:301",
693
+ 0
694
+ ]
695
+ }
696
+ },
697
+ "340": {
698
+ "_meta": {
699
+ "title": "DURATION_SECONDS (max 10)"
700
+ },
701
+ "class_type": "PrimitiveInt",
702
+ "inputs": {
703
+ "value": 5
704
+ }
705
+ },
706
  "75": {
707
  "class_type": "SaveVideo",
708
  "inputs": {