Nodes/comfyui-huyl2-nodes/Set Value For MC
ComfyUI Node

Set Value For MC

Set Value For MC

By huyl3-cpu·Created 9 months ago·Updated 4 months ago· 1
Set Value For MC
    • path_origin
    • path_folder
    • save_videos
    • prompt
    Đường dẫn video/content/drive/MyDrive/audio/1.mp4
    Thư mục audio/content/drive/MyDrive/audio
    Thư mục kết quả/content/drive/MyDrive/output/videos
    Prompt

    Same "constants panel" idea as the rest of this author's Set Value For * nodes, this time for what they call an "MC" pipeline. Going by the field defaults - a source video path, an audio folder, an output folder, and a prompt - this reads as a talking-presenter or AI-anchor style workflow ("MC," master of ceremonies, is common shorthand in this corner of AI video content for a video-host avatar pipeline), though the pack itself never spells that out anywhere.

    Fields, translated and mapped to their outputs. There are four inputs and four outputs, matched by position rather than by matching label text:

    • Đường dẫn video ("video path," default /content/drive/MyDrive/audio/1.mp4) → path_origin
    • Thư mục audio ("audio folder," default /content/drive/MyDrive/audio) → path_folder
    • Thư mục kết quả ("result folder," default /content/drive/MyDrive/output/videos) → save_videos
    • Prompt (multiline text) → prompt

    Worth noticing on its own: every default path here is a Google Drive mount path. /content/drive/MyDrive/... is Google Colab's standard Drive-mount prefix - another confirmation, on top of what the pack's README already shows for the video-cutting node, that this whole collection was built to live inside a Colab notebook rather than a local desktop install. If you're running this locally, every one of these four defaults needs replacing before the node does anything meaningful; they won't resolve to real folders on a normal machine.

    How this relates to Set Value For MC I2V elsewhere in the pack. That node is the image-to-video variant of this same idea - it drops the source-video path (since an I2V pipeline starts from a still image rather than an existing clip) and adds a license_key field this plain MC node doesn't have. If you're trying to figure out which of the two your workflow actually needs, the presence or absence of a video-path input is the fastest way to tell them apart.

    Installing it. Search comfyui-huyl2-nodes in ComfyUI Manager, or clone directly:

    cd ComfyUI/custom_nodes
    git clone https://github.com/huyl3-cpu/comfyui-sortlist
    

    Restart ComfyUI.

    Troubleshooting. Notice that the output names - path_origin, path_folder, save_videos, prompt - don't literally match the Vietnamese input labels word for word. They're matched by position in the node, not by any shared naming convention between what you see in the UI and what the output socket is called. If you're debugging a wire that seems to be carrying the wrong value, trace it by the field's position in the node rather than trying to match label text between input and output - that's the mistake this node's naming makes easy to fall into.

    Categorycomfyui-sortlist

    Inputs (4)

    NameTypeDefaultDescription
    Đường dẫn videoSTRING/content/drive/MyDrive/audio/1.mp4
    Thư mục audioSTRING/content/drive/MyDrive/audio
    Thư mục kết quảSTRING/content/drive/MyDrive/output/videos
    PromptSTRING

    Outputs (4)

    NameTypeDescription
    path_originSTRING
    path_folderSTRING
    save_videosSTRING
    promptSTRING