Nodes/ComfyUI-Photoshoot/Photoshoot Prompt speichern
ComfyUI Node

Photoshoot Prompt speichern

Photoshoot Prompt speichern

By ralksta·Created 4 days ago·Updated about 21 hours ago· 48
Photoshoot Prompt speichern
    • prompt
    prompt
    name
    speichernfalse

    Most of the Photoshoot Save nodes store one building block - a person, a scene, a style. Krea2PromptSave ("Photoshoot Prompt speichern") stores something different: the fully assembled prompt, the finished string that comes out of the back of the Prompt Builder (Krea2PromptJoin). It's the "keep this exact combination that worked" node.

    Why you'd want that

    Say you've dialled in a series you love - the person, the room, the style, the pose order, everything. That combination lives as a prompt string, and the pack's own motivation is blunt: without this node you'd have to dig the prompt back out of the image metadata or rebuild it by hand. Save it under a name and you can send it straight back into the engine later, no reconstruction.

    The distinction from the other Save nodes is the point: a saved person is one fragment that still needs a scene, pose and style around it. A saved prompt is the whole sentence, placeholders resolved. Load it, wire it to your sampler, and you're reproducing a known-good result.

    The inputs

    • prompt - the text to save, wired from Krea2PromptJoin's prompt output (it's a forced-input field).
    • name - the label, e.g. "Mara loft series v3".
    • speichern - the save switch, speichern on / aus off.

    The prompt output passes the text through, so the node can sit in-line and still feed your text encoder.

    The mechanism

    Same Save-node internals as the rest of the pack. It's an OUTPUT_NODE, which keeps it in ComfyUI's execution plan even when its output connects to nothing - without that, a node at the end of a dead branch gets pruned before it runs. Its IS_CHANGED returns the current time while speichern is on, forcing a real write past ComfyUI's result cache. So: switch on, run once, switch off.

    Saved prompts live in ComfyUI/user/krea2_prompts/ as JSON. Like the other stores, that folder isn't part of the pack's repo - back it up if you keep a library of finished prompts.

    Installing

    No dependencies beyond ComfyUI:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ralksta/ComfyUI-Photoshoot
    

    or ComfyUI Manager → search "Photoshoot" → install → restart. Under the Photoshoot category.

    Notes and gotchas

    • New names appear in the Load node only after refresh (R). Dropdowns are populated at node-definition query time, not live. Save, press R, then load.
    • It stores the resolved prompt. Because PromptJoin already resolved the placeholders, what you load is complete - but it's also static. If you later change the person or scene in the builder, the saved prompt won't follow; re-save it.
    • The switch is the only way it writes. Run with speichern off and the node is a passthrough. The console prints a [Photoshoot Prompt] line (created or updated) when it does write, so that's where you confirm.

    This is the "archive a good day" node - small, unglamorous, and the reason you don't lose a working combination to a ComfyUI restart.

    CategoryPhotoshoot

    Inputs (3)

    NameTypeDefaultDescription
    promptSTRING
    nameSTRING
    speichernBOOLEANfalse

    Outputs (1)

    NameTypeDescription
    promptSTRING