import json from . import h3s_core as core NODE_ID = "ZL_H3ZeroStudioLab" # unique id: other packs already use "H3Studio*" names class ZL_H3ZeroStudioLab: @classmethod def INPUT_TYPES(cls): return { "required": { "project": ("STRING", {"default": "", "multiline": False, "tooltip": "H3ZeroStudio project (JSON). Edited in the full-screen editor, stored inside the workflow."}), }, "optional": { # optional since the model & LoRA presets: a connected input always wins over the preset's file "model": ("MODEL", {"tooltip": "MiniMax H3 model (Ref2VA, turbo LoRA optional). Optional when a model preset is selected; a wired model wins over the preset (the preset's LoRAs are applied on top)."}), "clip": ("CLIP", {"tooltip": "H3 text encoder (Qwen3-VL): encodes the segment prompt together with the references. Optional when the preset sets an encoder; a wire wins."}), "vae": ("VAE", {"tooltip": "H3 video VAE: encodes references, decodes segments. Optional when the project's preset sets a VAE; a wire wins."}), "audio_vae": ("VAE", {"tooltip": "H3 audio VAE (minimax_h3_audio_vae). Needed for sound in the preview and the AUDIO output, and for the audio track."}), "audio": ("AUDIO", {"tooltip": "Timeline audio track: “reference” mode (