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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "269": {
3
+ "class_type": "LoadImage",
4
+ "inputs": {
5
+ "image": "egyptian_queen.png"
6
+ }
7
+ },
8
+ "320:276": {
9
+ "class_type": "RandomNoise",
10
+ "inputs": {
11
+ "noise_seed": 42
12
+ }
13
+ },
14
+ "320:277": {
15
+ "class_type": "RandomNoise",
16
+ "inputs": {
17
+ "noise_seed": 60540193790228
18
+ }
19
+ },
20
+ "320:278": {
21
+ "class_type": "LTXVConcatAVLatent",
22
+ "inputs": {
23
+ "audio_latent": [
24
+ "320:307",
25
+ 1
26
+ ],
27
+ "video_latent": [
28
+ "320:288",
29
+ 0
30
+ ]
31
+ }
32
+ },
33
+ "320:279": {
34
+ "class_type": "LTXVAudioVAELoader",
35
+ "inputs": {
36
+ "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors"
37
+ }
38
+ },
39
+ "320:280": {
40
+ "class_type": "KSamplerSelect",
41
+ "inputs": {
42
+ "sampler_name": "euler"
43
+ }
44
+ },
45
+ "320:281": {
46
+ "class_type": "ManualSigmas",
47
+ "inputs": {
48
+ "sigmas": "0.85, 0.7250, 0.4219, 0.0"
49
+ }
50
+ },
51
+ "320:282": {
52
+ "class_type": "CFGGuider",
53
+ "inputs": {
54
+ "cfg": 1,
55
+ "model": [
56
+ "320:285",
57
+ 0
58
+ ],
59
+ "negative": [
60
+ "320:284",
61
+ 1
62
+ ],
63
+ "positive": [
64
+ "320:284",
65
+ 0
66
+ ]
67
+ }
68
+ },
69
+ "320:283": {
70
+ "class_type": "SamplerCustomAdvanced",
71
+ "inputs": {
72
+ "guider": [
73
+ "320:314",
74
+ 0
75
+ ],
76
+ "latent_image": [
77
+ "320:318",
78
+ 0
79
+ ],
80
+ "noise": [
81
+ "320:277",
82
+ 0
83
+ ],
84
+ "sampler": [
85
+ "320:291",
86
+ 0
87
+ ],
88
+ "sigmas": [
89
+ "320:306",
90
+ 0
91
+ ]
92
+ }
93
+ },
94
+ "320:284": {
95
+ "class_type": "LTXVCropGuides",
96
+ "inputs": {
97
+ "latent": [
98
+ "320:307",
99
+ 0
100
+ ],
101
+ "negative": [
102
+ "320:304",
103
+ 1
104
+ ],
105
+ "positive": [
106
+ "320:304",
107
+ 0
108
+ ]
109
+ }
110
+ },
111
+ "320:285": {
112
+ "class_type": "LoraLoaderModelOnly",
113
+ "inputs": {
114
+ "lora_name": "ltx_2.3_22b_distilled_1.1_lora_dynamic_fro09_avg_rank_111_bf16.safetensors",
115
+ "model": [
116
+ "320:316",
117
+ 0
118
+ ],
119
+ "strength_model": 0.5
120
+ }
121
+ },
122
+ "320:286": {
123
+ "class_type": "ResizeImagesByLongerEdge",
124
+ "inputs": {
125
+ "images": [
126
+ "320:290",
127
+ 0
128
+ ],
129
+ "longer_edge": 1536
130
+ }
131
+ },
132
+ "320:287": {
133
+ "class_type": "LTXVLatentUpsampler",
134
+ "inputs": {
135
+ "samples": [
136
+ "320:307",
137
+ 0
138
+ ],
139
+ "upscale_model": [
140
+ "320:311",
141
+ 0
142
+ ],
143
+ "vae": [
144
+ "320:316",
145
+ 2
146
+ ]
147
+ }
148
+ },
149
+ "320:288": {
150
+ "class_type": "LTXVImgToVideoInplace",
151
+ "inputs": {
152
+ "bypass": [
153
+ "320:302",
154
+ 0
155
+ ],
156
+ "image": [
157
+ "320:289",
158
+ 0
159
+ ],
160
+ "latent": [
161
+ "320:287",
162
+ 0
163
+ ],
164
+ "strength": 1,
165
+ "vae": [
166
+ "320:316",
167
+ 2
168
+ ]
169
+ }
170
+ },
171
+ "320:289": {
172
+ "class_type": "LTXVPreprocess",
173
+ "inputs": {
174
+ "image": [
175
+ "320:286",
176
+ 0
177
+ ],
178
+ "img_compression": 18
179
+ }
180
+ },
181
+ "320:290": {
182
+ "class_type": "ResizeImageMaskNode",
183
+ "inputs": {
184
+ "input": [
185
+ "269",
186
+ 0
187
+ ],
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
+ }
200
+ },
201
+ "320:291": {
202
+ "class_type": "KSamplerSelect",
203
+ "inputs": {
204
+ "sampler_name": "euler"
205
+ }
206
+ },
207
+ "320:292": {
208
+ "class_type": "ComfyMathExpression",
209
+ "inputs": {
210
+ "expression": "a/2",
211
+ "values.a": [
212
+ "320:312",
213
+ 0
214
+ ]
215
+ }
216
+ },
217
+ "320:294": {
218
+ "class_type": "ComfyMathExpression",
219
+ "inputs": {
220
+ "expression": "a/2",
221
+ "values.a": [
222
+ "320:299",
223
+ 0
224
+ ]
225
+ }
226
+ },
227
+ "320:295": {
228
+ "class_type": "EmptyLTXVLatentVideo",
229
+ "inputs": {
230
+ "batch_size": 1,
231
+ "height": [
232
+ "320:294",
233
+ 1
234
+ ],
235
+ "length": [
236
+ "320:323",
237
+ 1
238
+ ],
239
+ "width": [
240
+ "320:292",
241
+ 1
242
+ ]
243
+ }
244
+ },
245
+ "320:296": {
246
+ "class_type": "LTXVImgToVideoInplace",
247
+ "inputs": {
248
+ "bypass": [
249
+ "320:302",
250
+ 0
251
+ ],
252
+ "image": [
253
+ "320:289",
254
+ 0
255
+ ],
256
+ "latent": [
257
+ "320:295",
258
+ 0
259
+ ],
260
+ "strength": 0.7,
261
+ "vae": [
262
+ "320:316",
263
+ 2
264
+ ]
265
+ }
266
+ },
267
+ "320:297": {
268
+ "class_type": "LTXVAudioVAEDecode",
269
+ "inputs": {
270
+ "audio_vae": [
271
+ "320:279",
272
+ 0
273
+ ],
274
+ "samples": [
275
+ "320:309",
276
+ 1
277
+ ]
278
+ }
279
+ },
280
+ "320:298": {
281
+ "class_type": "ComfyMathExpression",
282
+ "inputs": {
283
+ "expression": "a",
284
+ "values.a": [
285
+ "320:300",
286
+ 0
287
+ ]
288
+ }
289
+ },
290
+ "320:299": {
291
+ "_meta": {
292
+ "title": "Height"
293
+ },
294
+ "class_type": "PrimitiveInt",
295
+ "inputs": {
296
+ "value": 720
297
+ }
298
+ },
299
+ "320:300": {
300
+ "_meta": {
301
+ "title": "Frame Rate"
302
+ },
303
+ "class_type": "PrimitiveInt",
304
+ "inputs": {
305
+ "value": 25
306
+ }
307
+ },
308
+ "320:301": {
309
+ "_meta": {
310
+ "title": "Duration"
311
+ },
312
+ "class_type": "PrimitiveInt",
313
+ "inputs": {
314
+ "value": 5
315
+ }
316
+ },
317
+ "320:302": {
318
+ "_meta": {
319
+ "title": "Switch to Text to Video?"
320
+ },
321
+ "class_type": "PrimitiveBoolean",
322
+ "inputs": {
323
+ "value": false
324
+ }
325
+ },
326
+ "320:303": {
327
+ "class_type": "CLIPTextEncode",
328
+ "inputs": {
329
+ "clip": [
330
+ "320:317",
331
+ 0
332
+ ],
333
+ "text": [
334
+ "320:327",
335
+ 0
336
+ ]
337
+ }
338
+ },
339
+ "320:304": {
340
+ "class_type": "LTXVConditioning",
341
+ "inputs": {
342
+ "frame_rate": [
343
+ "320:298",
344
+ 0
345
+ ],
346
+ "negative": [
347
+ "320:313",
348
+ 0
349
+ ],
350
+ "positive": [
351
+ "320:303",
352
+ 0
353
+ ]
354
+ }
355
+ },
356
+ "320:305": {
357
+ "class_type": "LTXVEmptyLatentAudio",
358
+ "inputs": {
359
+ "audio_vae": [
360
+ "320:279",
361
+ 0
362
+ ],
363
+ "batch_size": 1,
364
+ "frame_rate": [
365
+ "320:298",
366
+ 1
367
+ ],
368
+ "frames_number": [
369
+ "320:323",
370
+ 1
371
+ ]
372
+ }
373
+ },
374
+ "320:306": {
375
+ "class_type": "ManualSigmas",
376
+ "inputs": {
377
+ "sigmas": "1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0"
378
+ }
379
+ },
380
+ "320:307": {
381
+ "class_type": "LTXVSeparateAVLatent",
382
+ "inputs": {
383
+ "av_latent": [
384
+ "320:283",
385
+ 0
386
+ ]
387
+ }
388
+ },
389
+ "320:308": {
390
+ "class_type": "SamplerCustomAdvanced",
391
+ "inputs": {
392
+ "guider": [
393
+ "320:282",
394
+ 0
395
+ ],
396
+ "latent_image": [
397
+ "320:278",
398
+ 0
399
+ ],
400
+ "noise": [
401
+ "320:276",
402
+ 0
403
+ ],
404
+ "sampler": [
405
+ "320:280",
406
+ 0
407
+ ],
408
+ "sigmas": [
409
+ "320:281",
410
+ 0
411
+ ]
412
+ }
413
+ },
414
+ "320:309": {
415
+ "class_type": "LTXVSeparateAVLatent",
416
+ "inputs": {
417
+ "av_latent": [
418
+ "320:308",
419
+ 0
420
+ ]
421
+ }
422
+ },
423
+ "320:310": {
424
+ "class_type": "CreateVideo",
425
+ "inputs": {
426
+ "audio": [
427
+ "320:297",
428
+ 0
429
+ ],
430
+ "fps": [
431
+ "320:298",
432
+ 0
433
+ ],
434
+ "images": [
435
+ "320:315",
436
+ 0
437
+ ]
438
+ }
439
+ },
440
+ "320:311": {
441
+ "class_type": "LatentUpscaleModelLoader",
442
+ "inputs": {
443
+ "model_name": "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
444
+ }
445
+ },
446
+ "320:312": {
447
+ "_meta": {
448
+ "title": "Width"
449
+ },
450
+ "class_type": "PrimitiveInt",
451
+ "inputs": {
452
+ "value": 1280
453
+ }
454
+ },
455
+ "320:313": {
456
+ "class_type": "CLIPTextEncode",
457
+ "inputs": {
458
+ "clip": [
459
+ "320:317",
460
+ 0
461
+ ],
462
+ "text": "pc game, console game, video game, cartoon, childish, ugly"
463
+ }
464
+ },
465
+ "320:314": {
466
+ "class_type": "CFGGuider",
467
+ "inputs": {
468
+ "cfg": 1,
469
+ "model": [
470
+ "320:285",
471
+ 0
472
+ ],
473
+ "negative": [
474
+ "320:304",
475
+ 1
476
+ ],
477
+ "positive": [
478
+ "320:304",
479
+ 0
480
+ ]
481
+ }
482
+ },
483
+ "320:315": {
484
+ "class_type": "VAEDecodeTiled",
485
+ "inputs": {
486
+ "overlap": 64,
487
+ "samples": [
488
+ "320:309",
489
+ 0
490
+ ],
491
+ "temporal_overlap": 4,
492
+ "temporal_size": 4096,
493
+ "tile_size": 768,
494
+ "vae": [
495
+ "320:316",
496
+ 2
497
+ ]
498
+ }
499
+ },
500
+ "320:316": {
501
+ "class_type": "CheckpointLoaderSimple",
502
+ "inputs": {
503
+ "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors"
504
+ }
505
+ },
506
+ "320:317": {
507
+ "class_type": "LTXAVTextEncoderLoader",
508
+ "inputs": {
509
+ "ckpt_name": "ltx-2.3-22b-dev-fp8.safetensors",
510
+ "device": "default",
511
+ "text_encoder": "gemma_3_12B_it_fp4_mixed.safetensors"
512
+ }
513
+ },
514
+ "320:318": {
515
+ "class_type": "LTXVConcatAVLatent",
516
+ "inputs": {
517
+ "audio_latent": [
518
+ "320:305",
519
+ 0
520
+ ],
521
+ "video_latent": [
522
+ "320:296",
523
+ 0
524
+ ]
525
+ }
526
+ },
527
+ "320:319": {
528
+ "_meta": {
529
+ "title": "Prompt"
530
+ },
531
+ "class_type": "PrimitiveStringMultiline",
532
+ "inputs": {
533
+ "value": "Egyptian royal in blue-and-gold headdress and high collar, white dress with golden embroidery and armbands, desert, robot soldiers in formation left and right. She walks steadily forward, head held level and gaze fixed ahead\u2014no dipping or lowering of the head. The camera performs a single, smooth push-in only: starting in a wider shot of her, the robots, and the desert, it moves steadily forward until she is in a medium or medium-close frame, then holds. She stops, posture and head still upright, and says: \u201cThe old gods are silent. I am not.\u201d Robot soldiers shift or march in place; sand and fabric move with the wind. No pull-back; the only camera move is the continuous push-in."
534
+ }
535
+ },
536
+ "320:323": {
537
+ "_meta": {
538
+ "title": "Math Expression (length)"
539
+ },
540
+ "class_type": "ComfyMathExpression",
541
+ "inputs": {
542
+ "expression": "a * b + 1",
543
+ "values.a": [
544
+ "320:301",
545
+ 0
546
+ ],
547
+ "values.b": [
548
+ "320:300",
549
+ 0
550
+ ]
551
+ }
552
+ },
553
+ "320:324": {
554
+ "class_type": "LoraLoader",
555
+ "inputs": {
556
+ "clip": [
557
+ "320:317",
558
+ 0
559
+ ],
560
+ "lora_name": "gemma-3-12b-it-abliterated_lora_rank64_bf16.safetensors",
561
+ "model": [
562
+ "320:285",
563
+ 0
564
+ ],
565
+ "strength_clip": 1,
566
+ "strength_model": 1
567
+ }
568
+ },
569
+ "320:325": {
570
+ "class_type": "TextGenerateLTX2Prompt",
571
+ "inputs": {
572
+ "clip": [
573
+ "320:324",
574
+ 1
575
+ ],
576
+ "max_length": 2048,
577
+ "prompt": [
578
+ "320:319",
579
+ 0
580
+ ],
581
+ "sampling_mode": "on",
582
+ "sampling_mode.min_p": 0.05,
583
+ "sampling_mode.presence_penalty": 0,
584
+ "sampling_mode.repetition_penalty": 1.05,
585
+ "sampling_mode.seed": 0,
586
+ "sampling_mode.temperature": 0.7,
587
+ "sampling_mode.top_k": 64,
588
+ "sampling_mode.top_p": 0.95,
589
+ "thinking": false,
590
+ "use_default_template": true
591
+ }
592
+ },
593
+ "320:326": {
594
+ "class_type": "PreviewAny",
595
+ "inputs": {
596
+ "source": [
597
+ "320:327",
598
+ 0
599
+ ]
600
+ }
601
+ },
602
+ "320:327": {
603
+ "class_type": "ComfySwitchNode",
604
+ "inputs": {
605
+ "on_false": [
606
+ "320:319",
607
+ 0
608
+ ],
609
+ "on_true": [
610
+ "320:325",
611
+ 0
612
+ ],
613
+ "switch": [
614
+ "320:328",
615
+ 0
616
+ ]
617
+ }
618
+ },
619
+ "320:328": {
620
+ "_meta": {
621
+ "title": "Boolean (Enable Prompt Enhance)"
622
+ },
623
+ "class_type": "PrimitiveBoolean",
624
+ "inputs": {
625
+ "value": true
626
+ }
627
+ },
628
+ "75": {
629
+ "class_type": "SaveVideo",
630
+ "inputs": {
631
+ "codec": "auto",
632
+ "filename_prefix": "video/LTX_2.3_i2v",
633
+ "format": "auto",
634
+ "video": [
635
+ "320:310",
636
+ 0
637
+ ]
638
+ }
639
+ }
640
+ }