Nodes/ComfyUI-SimpleChat/Prompt JSON Unpack
ComfyUI Node

Prompt JSON Unpack

Unpack an LLM-produced JSON into ComfyUI-typed fields + Mustache vars.

By Moeblack·Created 8 months ago·Updated 6 months ago· 8
Prompt JSON Unpack
    • positive
    • negative
    • width
    • height
    • steps
    • cfg
    • sampler
    • seed
    • notes
    • vars
    • obj
    • sampler_name
    json_text
    strip_code_fencetrue
    CategorySimpleChat/Utils

    Inputs (2)

    NameTypeDefaultDescription
    json_textSTRING
    strip_code_fenceoptBOOLEANtrue

    Outputs (12)

    NameTypeDescription
    positiveSTRING
    negativeSTRING
    widthINT
    heightINT
    stepsINT
    cfgFLOAT
    samplerSAMPLER
    seedINT
    notesSTRING
    varsSIMPLECHAT_VARS
    objSIMPLECHAT_JSON
    sampler_nameSTRING