Nodes/comfyui-arkennemasis/arkennemasis Prompt Build (substitution, no LLM)
ComfyUI Node

arkennemasis Prompt Build (substitution, no LLM)

Assemble one cell's prompt by pure string substitution: the change instruction, then the invariants, then both locks — the last three byte-identical across the whole run. Never invokes a language model.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
arkennemasis Prompt Build (substitution, no LLM)
    • prompt
    • constant_hash
    • prompt_hash
    • change_only
    recipe_json{}
    cell_json{}
    extra_constant
    audit_dir
    Categoryarkennemasis/Variation

    Inputs (4)

    NameTypeDefaultDescription
    recipe_jsonSTRING{}
    cell_jsonSTRING{}
    extra_constantoptSTRINGOptional extra text appended to EVERY prompt, after the locks — a backend-specific phrasing that helps this particular model. It joins the constant block, so it must not mention anything cell-specific.
    audit_diroptSTRINGOptional folder. Every built prompt is written there as <key>.prompt.txt, and the constant hash is appended to constants.log — which is what Prompt Audit reads.

    Outputs (4)

    NameTypeDescription
    promptSTRING
    constant_hashSTRING
    prompt_hashSTRING
    change_onlySTRING