aleph65 commited on
Commit
26e345f
·
verified ·
1 Parent(s): f29e79e

ltx-2.3-i2v-bf16 API: auto portrait/landscape detection + hard first-frame anchoring

Browse files
Files changed (1) hide show
  1. workflows/api/ltx-2.3-i2v-bf16.json +64 -11
workflows/api/ltx-2.3-i2v-bf16.json CHANGED
@@ -188,12 +188,12 @@
188
  "resize_type": "scale dimensions",
189
  "resize_type.crop": "center",
190
  "resize_type.height": [
191
- "320:299",
192
- 0
193
  ],
194
  "resize_type.width": [
195
- "320:312",
196
- 0
197
  ],
198
  "scale_method": "lanczos"
199
  }
@@ -209,8 +209,8 @@
209
  "inputs": {
210
  "expression": "a/2",
211
  "values.a": [
212
- "320:312",
213
- 0
214
  ]
215
  }
216
  },
@@ -219,8 +219,8 @@
219
  "inputs": {
220
  "expression": "a/2",
221
  "values.a": [
222
- "320:299",
223
- 0
224
  ]
225
  }
226
  },
@@ -257,7 +257,7 @@
257
  "320:295",
258
  0
259
  ],
260
- "strength": 0.7,
261
  "vae": [
262
  "320:316",
263
  2
@@ -293,7 +293,7 @@
293
  },
294
  "class_type": "PrimitiveInt",
295
  "inputs": {
296
- "value": 720
297
  }
298
  },
299
  "320:300": {
@@ -449,7 +449,7 @@
449
  },
450
  "class_type": "PrimitiveInt",
451
  "inputs": {
452
- "value": 1280
453
  }
454
  },
455
  "320:313": {
@@ -625,6 +625,59 @@
625
  "value": true
626
  }
627
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  "75": {
629
  "class_type": "SaveVideo",
630
  "inputs": {
 
188
  "resize_type": "scale dimensions",
189
  "resize_type.crop": "center",
190
  "resize_type.height": [
191
+ "320:332",
192
+ 1
193
  ],
194
  "resize_type.width": [
195
+ "320:331",
196
+ 1
197
  ],
198
  "scale_method": "lanczos"
199
  }
 
209
  "inputs": {
210
  "expression": "a/2",
211
  "values.a": [
212
+ "320:331",
213
+ 1
214
  ]
215
  }
216
  },
 
219
  "inputs": {
220
  "expression": "a/2",
221
  "values.a": [
222
+ "320:332",
223
+ 1
224
  ]
225
  }
226
  },
 
257
  "320:295",
258
  0
259
  ],
260
+ "strength": 1.0,
261
  "vae": [
262
  "320:316",
263
  2
 
293
  },
294
  "class_type": "PrimitiveInt",
295
  "inputs": {
296
+ "value": 1280
297
  }
298
  },
299
  "320:300": {
 
449
  },
450
  "class_type": "PrimitiveInt",
451
  "inputs": {
452
+ "value": 704
453
  }
454
  },
455
  "320:313": {
 
625
  "value": true
626
  }
627
  },
628
+ "320:330": {
629
+ "class_type": "GetImageSize",
630
+ "inputs": {
631
+ "image": [
632
+ "269",
633
+ 0
634
+ ]
635
+ }
636
+ },
637
+ "320:331": {
638
+ "class_type": "ComfyMathExpression",
639
+ "inputs": {
640
+ "expression": "min(max(64*round(sqrt(c*d*a/b)/64), 384), 1792)",
641
+ "values.a": [
642
+ "320:330",
643
+ 0
644
+ ],
645
+ "values.b": [
646
+ "320:330",
647
+ 1
648
+ ],
649
+ "values.c": [
650
+ "320:312",
651
+ 0
652
+ ],
653
+ "values.d": [
654
+ "320:299",
655
+ 0
656
+ ]
657
+ }
658
+ },
659
+ "320:332": {
660
+ "class_type": "ComfyMathExpression",
661
+ "inputs": {
662
+ "expression": "min(max(64*round(sqrt(c*d*b/a)/64), 384), 1792)",
663
+ "values.a": [
664
+ "320:330",
665
+ 0
666
+ ],
667
+ "values.b": [
668
+ "320:330",
669
+ 1
670
+ ],
671
+ "values.c": [
672
+ "320:312",
673
+ 0
674
+ ],
675
+ "values.d": [
676
+ "320:299",
677
+ 0
678
+ ]
679
+ }
680
+ },
681
  "75": {
682
  "class_type": "SaveVideo",
683
  "inputs": {