Added pixverse_template support to Pixverse Text to Video node (#54)

This commit is contained in:
Jedrzej Kosinski 2025-04-30 04:31:37 -05:00 committed by Robin Huang
parent ca257925f1
commit 5e2962ffe5

View File

@ -428,6 +428,12 @@ class PixverseTransitionVideoNode(ComfyNodeABC):
"tooltip": "An optional text description of undesired elements on an image.", "tooltip": "An optional text description of undesired elements on an image.",
}, },
), ),
"pixverse_template": (
PixverseIO.TEMPLATE,
{
"tooltip": "An optional template to influence style of generation, created by the Pixverse Template node."
}
)
}, },
"hidden": { "hidden": {
"auth_token": "AUTH_TOKEN_COMFY_ORG", "auth_token": "AUTH_TOKEN_COMFY_ORG",
@ -476,6 +482,7 @@ class PixverseTransitionVideoNode(ComfyNodeABC):
duration=duration_seconds, duration=duration_seconds,
motion_mode=motion_mode, motion_mode=motion_mode,
negative_prompt=negative_prompt if negative_prompt else None, negative_prompt=negative_prompt if negative_prompt else None,
template_id=pixverse_template,
seed=seed, seed=seed,
), ),
auth_kwargs=kwargs, auth_kwargs=kwargs,