Compare commits

..

2 Commits

Author SHA1 Message Date
Alexander Piskun
dc3feb1f86
Merge 5c1a3269db into 7bbf1e8169 2026-05-09 09:49:48 +03:00
bigcat88
5c1a3269db
[Partner Nodes] new ByteDanceSeedreamNodeV2 node with DynamicCombo and autogrow
Signed-off-by: bigcat88 <bigcat88@icloud.com>
2026-05-09 09:48:19 +03:00

View File

@ -706,12 +706,6 @@ def _seedream_model_inputs(*, max_ref_images: int, presets: list):
tooltip=f"Optional reference image(s) for image-to-image or multi-reference generation. "
f"Up to {max_ref_images} images.",
),
IO.Boolean.Input(
"fail_on_partial",
default=False,
tooltip="If enabled, abort execution if any requested images are missing or return an error.",
advanced=True,
),
]
@ -764,6 +758,12 @@ class ByteDanceSeedreamNodeV2(IO.ComfyNode):
tooltip='Whether to add an "AI generated" watermark to the image.',
advanced=True,
),
IO.Boolean.Input(
"fail_on_partial",
default=False,
tooltip="If enabled, abort execution if any requested images are missing or return an error.",
advanced=True,
),
],
outputs=[
IO.Image.Output(),
@ -797,6 +797,7 @@ class ByteDanceSeedreamNodeV2(IO.ComfyNode):
model: dict,
seed: int = 0,
watermark: bool = False,
fail_on_partial: bool = True,
) -> IO.NodeOutput:
validate_string(prompt, strip_whitespace=True, min_length=1)
model_id = SEEDREAM_MODELS[model["model"]]
@ -808,7 +809,6 @@ class ByteDanceSeedreamNodeV2(IO.ComfyNode):
max_images = model.get("max_images", 1)
sequential_image_generation = "disabled" if max_images == 1 else "auto"
images_dict = model.get("images") or {}
fail_on_partial = model.get("fail_on_partial", False)
w = h = None
for label, tw, th in presets: