Documentation Index
Fetch the complete documentation index at: https://dripart-mintlify-e28287af.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
PixVerse Template ノードは、あらかじめ定義された動画生成テンプレートから選択することで、PixVerse 動画生成ノードの出力スタイルおよびエフェクトを制御できます。
この補助ノードは PixVerse の動画生成ノードと接続可能であり、ユーザーが複雑なパラメーターの組み合わせを手動で調整することなく、素早く事前設定済みの動画スタイルを適用できるようになります。
パラメーター
必須パラメーター
| パラメーター | 型 | 説明 |
|---|
| template | 選択 | 利用可能な予め設定された動画テンプレート一覧からテンプレートを選択 |
| 出力 | 型 | 説明 |
|---|
| pixverse_template | PixverseIO.TEMPLATE | 選択されたテンプレートの ID を含む設定オブジェクト |
ソースコード
[ノードソースコード(2025-05-05 更新)]
class PixverseTemplateNode:
"""
Select template for Pixverse Video generation.
"""
RETURN_TYPES = (PixverseIO.TEMPLATE,)
RETURN_NAMES = ("pixverse_template",)
FUNCTION = "create_template"
CATEGORY = "api node/video/Pixverse"
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"template": (list(pixverse_templates.keys()), ),
}
}
def create_template(self, template: str):
template_id = pixverse_templates.get(template, None)
if template_id is None:
raise Exception(f"Template '{template}' is not recognized.")
# just return the integer
return (template_id,)