3.5 KiB
FunPack Scene Builder
FunPack Scene Builder stores named scene presets inside the selected refinement key, separate from Refiner's conditioning-delta learning. Connected positive and negative prompts are memory sources only: every queue run collects their phrases into universal memory, but the node outputs composed scene text or pass-through text in Learning mode.
Visible Controls
scene_name: The scene being edited or saved.
mode: Manual, Auto, or Learning.
All other Scene Builder controls live in the custom editor UI.
Editor Menus
Positive prompt: Opens a multiline text composer. Typed text, commas, periods, and manual ordering are preserved exactly. Database chips can be clicked or dragged into the text field.
Negative prompt: Same composer behavior for the negative prompt.
Database: Add, edit, delete, search, categorize, and wildcard-group universal words and phrases.
Each menu has Back, Cancel, and Confirm controls. Cancel restores the menu snapshot from before editing. Confirm saves prompt/database edits.
Modes
Manual outputs the current composed positive and negative scene text, plus the connected LoRA stack passed through unchanged.
Auto scans intent_prompt for a saved scene name or alias. Exact matches are preferred, then a conservative word-match fallback is used. If nothing matches, the node falls back to Manual output.
Learning saves connected positive and negative prompt phrases into Scene Builder universal memory, then passes the connected positive prompt, negative prompt, and LoRA stack through unchanged.
Connection-Only Inputs
intent_prompt: Text used for Auto scene detection. This can be the same intent prompt that feeds Refiner V2.
positive_prompt and negative_prompt: Universal memory sources. They do not override scene output except in Learning pass-through mode.
refinement_key_input: Optional key that owns this Scene Builder memory and saved scenes.
lora_stack: Optional current LoRA stack. Scene Builder passes it through unchanged so Refiner can use the active LoRAs for suggestions.
Scene Builder memory is stored in the selected refinement key under its own scene_builder section. Refiner reset clears conditioning-delta learning and prompt histories, but preserves Scene Builder universal memory and saved scenes.
Outputs
positive_prompt: Composed positive scene text.
negative_prompt: Composed negative scene text.
lora_stack: The connected FUNPACK_LORA_STACK, passed through unchanged.
status: Summary of selected mode, matched scene, phrase counts, and pass-through LoRA stack count.
Wildcards
Database phrases can share a wildcard group. If multiple phrases from the same wildcard group appear in the runtime composed prompt, Scene Builder outputs one randomly selected phrase from that group and omits the others. The saved prompt text is not rewritten.
Workflow
- Connect positive and negative prompt text, then queue once to collect phrase memory.
- Open Database to clean up phrases, assign categories, or set wildcard groups.
- Open Positive prompt or Negative prompt to type freely and insert chips from the database.
- Enter a scene name and confirm or save the scene.
- Use Auto with a scene name or alias in
intent_promptto apply a saved scene automatically. - Use Learning when generating changing prompts and you want Scene Builder to collect memory while leaving the generation prompt untouched.