Photoshoot Prompt speichern
Photoshoot Prompt speichern
- prompt
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'spromptoutput (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
speichernoff and the node is a passthrough. The console prints a[Photoshoot Prompt]line (createdorupdated) 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.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| name | STRING | — | |
| speichern | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |