Nodes/ComfyUI-UtilsCollection/VLM System Query Add Presets (Legacy)
ComfyUI Node

VLM System Query Add Presets (Legacy)

Same node, old name

By silveroxides·Created 2 months ago·Updated about 7 hours ago· 24
VLM System Query Add Presets (Legacy)
    • system_query_additional
    presetcharacter_transfer_gemma
    text

    Let's be honest about what this node is: the exact same node as UC_VLMSysQueryAddPresets, wearing its old name. The "(Legacy)" tag means the pack re-registered the original node ID so that workflows saved before the UC_ renaming still load without you hunting for a replacement. If you're building fresh, add the UC_ version instead and skip this article's sibling confusion entirely. But if you just loaded a workflow and found this node sitting in it, here's what it does.

    It's a preset-driven wrapper for VLM captioning queries. You pick a preset - character_transfer_gemma, text2image, image2image, video_basic, the h3_* MiniMax H3 family, ideogram_4, and friends - and the node wraps whatever you type in text between that preset's prefix and suffix instructions. Output is a single string: prefix + your_text + suffix. Your ask goes in the middle; the prewritten guidance about picture slots, composition, and output syntax goes around it.

    The mechanism is a dictionary lookup plus a concatenation, which is the whole point of having it as a node: the hundreds of words of VLM guidance live in the pack's preset table, not buried in a text box in your graph, and they're shared across every workflow you build.

    Inputs and output

    • preset (combo) - the instruction envelope.
    • text (multiline STRING) - your actual request, wrapped by the preset.
    • system_query_additional (STRING) - the assembled string, wired into a VLM node's system-query slot or concatenated with your main system instruction.

    Installing it

    Comes from ComfyUI-UtilsCollection. Install via Manager (search ComfyUI-UtilsCollection) or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/silveroxides/ComfyUI-UtilsCollection
    

    Restart and it's there. Deps are just opencv-python and typing-extensions; no model files needed.

    One practical note

    Because this and the UC_ version are aliases of one implementation, you can wire the legacy node into the same graphs as the modern one and the outputs are byte-for-byte identical. If ComfyUI prompts you to swap it for UC_VLMSysQueryAddPresets, accept and move on - same behavior, and you'll stop seeing "(Legacy)" in your graph. The only real decision in this node is which preset you pick, and that should match the picture-slot syntax of the model you're driving (Gemma presets say [image 1], Qwen presets say <Picture 1>).

    Categoryadvanced/text

    Inputs (2)

    NameTypeDefaultDescription
    presetCOMBOcharacter_transfer_gemma15 options: character_transfer_gemma, character_transfer_qwen, h3_fl2va, h3_fl2va_experimental, h3_mixed_ref2va, h3_ref2va, +9
    textSTRING

    Outputs (1)

    NameTypeDescription
    system_query_additionalSTRING