ComfyUI Node

Set Value

Set Value (VF9)

By huyl3-cpu·Created 9 months ago·Updated 4 months ago· 1
Set Value
  • background
  • mask
  • background
  • mask
license_key
enable_backgroundtrue
enable_masktrue

The display name is just "Set Value," which tells you almost nothing - but this is actually the one node in the whole pack where a license_key field sits directly next to real image data, rather than off in a folder-path config node somewhere. That combination is worth understanding before you wire it into anything.

What it looks like. Required inputs: license_key (a plain string), enable_background and enable_mask (both booleans, both default true). Optional inputs: background (an IMAGE) and mask (a MASK). The outputs mirror the optional inputs exactly - background and mask come back out.

What it's doing, and what the schema can't tell you. The shape here reads as a gate: enable_background and enable_mask most likely control whether whatever you feed into background/mask actually makes it through to the outputs, and license_key sits alongside them as a required condition. What the info_schema genuinely cannot answer is what happens on a blank or invalid key - whether the node silently passes data through anyway, blocks it, or errors out. That logic lives in the node's Python source, and the pack's README doesn't document this node at all (it only covers the video-segmenting node in detail), so there's no author guidance to lean on here. Flagging that honestly is more useful than guessing at behavior I can't verify.

One more thing worth noting about the naming: VF9_SetValue is the internal class name, but the display name ComfyUI actually shows you in the node browser is just "Set Value" - generic to the point of being unhelpful if you're scanning a long node list trying to remember which "Set Value" node was the one with the license gate. If you're hunting for it again later, the class name VF9_SetValue (visible if you right-click a placed node, or in a saved workflow's JSON) is the more reliable thing to search for than the display name alone, since this pack has several other nodes that also start with "Set Value" in their display name but do completely different things.

Installing it. Same pack, same install path as everything else in comfyui-sortlist. Search comfyui-huyl2-nodes in ComfyUI Manager, or:

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

Restart ComfyUI.

Troubleshooting. If background or mask come out empty even though you've clearly wired something into the matching optional input, the first thing to check is whether enable_background/enable_mask got toggled off somewhere - a stray default or an accidentally-flipped switch is a much more common cause of "my data vanished" than anything exotic. After that, the license_key field is the next suspect, precisely because it's the one required text input with no visible default and nothing in the schema describing what a valid value looks like. If you didn't get this node - or a valid key for it - from wherever this pack's author distributes their workflow templates, there isn't anything in the public README or the node's own inputs that will tell you what to put there.

Categorycomfyui-sortlist

Inputs (5)

NameTypeDefaultDescription
license_keySTRING
enable_backgroundBOOLEANtrue
enable_maskBOOLEANtrue
backgroundoptIMAGE
maskoptMASK

Outputs (2)

NameTypeDescription
backgroundIMAGE
maskMASK