Nodes/AUN ComfyUI Nodes/Extract Widget Value
ComfyUI Node

Extract Widget Value

Extract a widget/input value from a specific node by numeric ID and widget name.

By loz2754·Created 7 months ago·Updated about a month ago· 4
Extract Widget Value
    • string
    • float
    • int
    node_identifier0
    widget_namemodel
    fallback
    basename_if_pathtrue
    concat_widget_namefalse
    CategoryAUN Nodes/Utility

    Inputs (5)

    NameTypeDefaultDescription
    node_identifierSTRING0Numeric ID or Title of the node to inspect.
    widget_nameSTRINGmodelInput/widget name to read from the node (case-insensitive).
    fallbackoptSTRINGValue to return if the widget isn't found.
    basename_if_pathoptBOOLEANtrueIf the value looks like a path, return only the basename.
    concat_widget_nameoptBOOLEANfalseIf true, concatenate the widget name and value with a dash.

    Outputs (3)

    NameTypeDescription
    stringSTRING
    floatFLOAT
    intINT