ComfyUI / workflows /api /ltx-2.3-i2v-nsfw-te.json
aleph65's picture
ltx-2.3-i2v-nsfw-te API: DURATION_SECONDS constant + 10s clamp
06e77d1 verified
Raw
History Blame Contribute Delete
12.9 kB
{
"269": {
"class_type": "LoadImage",
"inputs": {
"image": "egyptian_queen.png"
}
},
"320:276": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
}
},
"320:277": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 60540193790228
}
},
"320:278": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"320:307",
1
],
"video_latent": [
"320:288",
0
]
}
},
"320:279": {
"class_type": "LTXVAudioVAELoader",
"inputs": {
"ckpt_name": "ltx-2.3-22b-dev.safetensors"
}
},
"320:280": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
}
},
"320:281": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "0.85, 0.7250, 0.4219, 0.0"
}
},
"320:282": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 1,
"model": [
"320:285",
0
],
"negative": [
"320:284",
1
],
"positive": [
"320:284",
0
]
}
},
"320:283": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"320:314",
0
],
"latent_image": [
"320:318",
0
],
"noise": [
"320:277",
0
],
"sampler": [
"320:291",
0
],
"sigmas": [
"320:306",
0
]
}
},
"320:284": {
"class_type": "LTXVCropGuides",
"inputs": {
"latent": [
"320:307",
0
],
"negative": [
"320:304",
1
],
"positive": [
"320:304",
0
]
}
},
"320:285": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "ltx_2.3_22b_distilled_1.1_lora_dynamic_fro09_avg_rank_111_bf16.safetensors",
"model": [
"320:316",
0
],
"strength_model": 0.5
}
},
"320:286": {
"class_type": "ResizeImagesByLongerEdge",
"inputs": {
"images": [
"320:290",
0
],
"longer_edge": 1536
}
},
"320:287": {
"class_type": "LTXVLatentUpsampler",
"inputs": {
"samples": [
"320:307",
0
],
"upscale_model": [
"320:311",
0
],
"vae": [
"320:316",
2
]
}
},
"320:288": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"320:302",
0
],
"image": [
"320:289",
0
],
"latent": [
"320:287",
0
],
"strength": 1,
"vae": [
"320:316",
2
]
}
},
"320:289": {
"class_type": "LTXVPreprocess",
"inputs": {
"image": [
"320:286",
0
],
"img_compression": 18
}
},
"320:290": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"269",
0
],
"resize_type": "scale dimensions",
"resize_type.crop": "center",
"resize_type.height": [
"320:332",
1
],
"resize_type.width": [
"320:331",
1
],
"scale_method": "lanczos"
}
},
"320:291": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
}
},
"320:292": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"320:331",
1
]
}
},
"320:294": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"320:332",
1
]
}
},
"320:295": {
"class_type": "EmptyLTXVLatentVideo",
"inputs": {
"batch_size": 1,
"height": [
"320:294",
1
],
"length": [
"320:323",
1
],
"width": [
"320:292",
1
]
}
},
"320:296": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"320:302",
0
],
"image": [
"320:289",
0
],
"latent": [
"320:295",
0
],
"strength": 1.0,
"vae": [
"320:316",
2
]
}
},
"320:297": {
"class_type": "LTXVAudioVAEDecode",
"inputs": {
"audio_vae": [
"320:279",
0
],
"samples": [
"320:309",
1
]
}
},
"320:298": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a",
"values.a": [
"320:300",
0
]
}
},
"320:299": {
"_meta": {
"title": "Height"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": 1280
}
},
"320:300": {
"_meta": {
"title": "Frame Rate"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": 25
}
},
"320:301": {
"_meta": {
"title": "Duration"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"340",
0
]
}
},
"320:302": {
"_meta": {
"title": "Switch to Text to Video?"
},
"class_type": "PrimitiveBoolean",
"inputs": {
"value": false
}
},
"320:303": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"320:317",
0
],
"text": [
"320:327",
0
]
}
},
"320:304": {
"class_type": "LTXVConditioning",
"inputs": {
"frame_rate": [
"320:298",
0
],
"negative": [
"320:313",
0
],
"positive": [
"320:303",
0
]
}
},
"320:305": {
"class_type": "LTXVEmptyLatentAudio",
"inputs": {
"audio_vae": [
"320:279",
0
],
"batch_size": 1,
"frame_rate": [
"320:298",
1
],
"frames_number": [
"320:323",
1
]
}
},
"320:306": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0"
}
},
"320:307": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"320:283",
0
]
}
},
"320:308": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"320:282",
0
],
"latent_image": [
"320:278",
0
],
"noise": [
"320:276",
0
],
"sampler": [
"320:280",
0
],
"sigmas": [
"320:281",
0
]
}
},
"320:309": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"320:308",
0
]
}
},
"320:310": {
"class_type": "CreateVideo",
"inputs": {
"audio": [
"320:297",
0
],
"fps": [
"320:298",
0
],
"images": [
"320:315",
0
]
}
},
"320:311": {
"class_type": "LatentUpscaleModelLoader",
"inputs": {
"model_name": "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
}
},
"320:312": {
"_meta": {
"title": "Width"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": 704
}
},
"320:313": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"320:317",
0
],
"text": "pc game, console game, video game, cartoon, childish, ugly"
}
},
"320:314": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 1,
"model": [
"320:285",
0
],
"negative": [
"320:304",
1
],
"positive": [
"320:304",
0
]
}
},
"320:315": {
"class_type": "VAEDecodeTiled",
"inputs": {
"overlap": 64,
"samples": [
"320:309",
0
],
"temporal_overlap": 4,
"temporal_size": 4096,
"tile_size": 768,
"vae": [
"320:316",
2
]
}
},
"320:316": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "ltx-2.3-22b-dev.safetensors"
}
},
"320:317": {
"class_type": "LTXAVTextEncoderLoader",
"inputs": {
"ckpt_name": "ltx-2.3-22b-dev.safetensors",
"device": "default",
"text_encoder": "gemma-3-12b-abliterated-text-encoder.safetensors"
}
},
"320:318": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"320:305",
0
],
"video_latent": [
"320:296",
0
]
}
},
"320:319": {
"_meta": {
"title": "Prompt"
},
"class_type": "PrimitiveStringMultiline",
"inputs": {
"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."
}
},
"320:323": {
"_meta": {
"title": "Math Expression (length)"
},
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a * b + 1",
"values.a": [
"320:333",
1
],
"values.b": [
"320:300",
0
]
}
},
"320:324": {
"class_type": "LoraLoader",
"inputs": {
"clip": [
"320:317",
0
],
"lora_name": "gemma-3-12b-it-abliterated_lora_rank64_bf16.safetensors",
"model": [
"320:285",
0
],
"strength_clip": 0.0,
"strength_model": 0.0
}
},
"320:325": {
"class_type": "TextGenerateLTX2Prompt",
"inputs": {
"clip": [
"320:324",
1
],
"max_length": 2048,
"prompt": [
"320:319",
0
],
"sampling_mode": "on",
"sampling_mode.min_p": 0.05,
"sampling_mode.presence_penalty": 0,
"sampling_mode.repetition_penalty": 1.05,
"sampling_mode.seed": 0,
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"thinking": false,
"use_default_template": true
}
},
"320:326": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"320:327",
0
]
}
},
"320:327": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"320:319",
0
],
"on_true": [
"320:325",
0
],
"switch": [
"320:328",
0
]
}
},
"320:328": {
"_meta": {
"title": "Boolean (Enable Prompt Enhance)"
},
"class_type": "PrimitiveBoolean",
"inputs": {
"value": false
}
},
"320:330": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"269",
0
]
}
},
"320:331": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "min(max(64*round(sqrt(c*d*a/b)/64), 384), 1792)",
"values.a": [
"320:330",
0
],
"values.b": [
"320:330",
1
],
"values.c": [
"320:312",
0
],
"values.d": [
"320:299",
0
]
}
},
"320:332": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "min(max(64*round(sqrt(c*d*b/a)/64), 384), 1792)",
"values.a": [
"320:330",
0
],
"values.b": [
"320:330",
1
],
"values.c": [
"320:312",
0
],
"values.d": [
"320:299",
0
]
}
},
"320:333": {
"_meta": {
"title": "duration ceiling: 10 s max"
},
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "min(max(a, 1), 10)",
"values.a": [
"320:301",
0
]
}
},
"340": {
"_meta": {
"title": "DURATION_SECONDS (max 10)"
},
"class_type": "PrimitiveInt",
"inputs": {
"value": 5
}
},
"75": {
"class_type": "SaveVideo",
"inputs": {
"codec": "auto",
"filename_prefix": "video/LTX_2.3_i2v",
"format": "auto",
"video": [
"320:310",
0
]
}
}
}