Allow director width and height input links

This commit is contained in:
OpenClaw Agent
2026-07-17 08:10:29 +00:00
parent ab6415caa4
commit c782f3263b
2 changed files with 29 additions and 10 deletions

View File

@@ -1976,14 +1976,14 @@ class LTXDirector(io.ComfyNode):
"guide_strength", default="",
tooltip="Auto-populated from the timeline editor (comma-separated guide strengths for image segments).",
),
io.Int.Input(
"custom_width", default=0, min=0, max=8192, step=1, optional=True,
tooltip="Target output width for all image segments. Set to 0 to use the original image width.",
),
io.Int.Input(
"custom_height", default=0, min=0, max=8192, step=1, optional=True,
tooltip="Target output height for all image segments. Set to 0 to use the original image height.",
),
io.Int.Input(
"custom_width", default=0, min=0, max=8192, step=1, optional=True, force_input=True,
tooltip="Target output width for all image segments. Set to 0 to use the original image width.",
),
io.Int.Input(
"custom_height", default=0, min=0, max=8192, step=1, optional=True, force_input=True,
tooltip="Target output height for all image segments. Set to 0 to use the original image height.",
),
io.Combo.Input(
"resize_method",
options=["maintain aspect ratio", "stretch to fit", "pad", "pad green", "crop"],