MCPcopy Create free account
hub / github.com/Lightricks/ComfyUI-LTXVideo / LTXVAddGuideAdvancedAttention

Class LTXVAddGuideAdvancedAttention

guide.py:258–456  ·  view source on GitHub ↗

Extended keyframe guide node with per-guide attention strength control. Same preprocessing as LTXVAddGuideAdvanced (CRF, blur, interpolation, crop), plus attention_strength and attention_mask inputs to control how strongly this guide's conditioning influences generation via self-attenti

Source from the content-addressed store, hash-verified

256
257@comfy_node(name="LTXVAddGuideAdvancedAttention")
258class LTXVAddGuideAdvancedAttention:
259 """Extended keyframe guide node with per-guide attention strength control.
260
261 Same preprocessing as LTXVAddGuideAdvanced (CRF, blur, interpolation, crop),
262 plus attention_strength and attention_mask inputs to control how strongly
263 this guide's conditioning influences generation via self-attention.
264 """
265
266 @classmethod
267 def INPUT_TYPES(s):
268 return {
269 "required": {
270 "positive": ("CONDITIONING",),
271 "negative": ("CONDITIONING",),
272 "vae": ("VAE",),
273 "latent": ("LATENT",),
274 "image": ("IMAGE",),
275 "frame_idx": (
276 "INT",
277 {
278 "default": 0,
279 "min": -9999,
280 "max": 9999,
281 "tooltip": (
282 "Frame index to start the conditioning at. "
283 "Negative values are counted from the end of the video."
284 ),
285 },
286 ),
287 "strength": (
288 "FLOAT",
289 {
290 "default": 1.0,
291 "min": 0.0,
292 "max": 1.0,
293 "tooltip": "Strength of the conditioning. Higher values make it more exact.",
294 },
295 ),
296 "crf": (
297 "INT",
298 {
299 "default": 29,
300 "min": 0,
301 "max": 51,
302 "step": 1,
303 "tooltip": "CRF value. Higher = more motion, lower = higher quality.",
304 },
305 ),
306 "blur_radius": (
307 "INT",
308 {
309 "default": 0,
310 "min": 0,
311 "max": 7,
312 "step": 1,
313 "tooltip": "Blur kernel radius. Higher = more motion.",
314 },
315 ),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected