Feature: add prompt template node by Pfannkuchensack · Pull Request #8680 · invoke-ai/InvokeAI

and others added 2 commits

December 16, 2025 01:53
Add a new node that applies Style Preset templates to prompts in workflows.
The node takes a style preset ID and positive/negative prompts as inputs,
then replaces {prompt} placeholders in the template with the provided prompts.

This makes Style Preset templates accessible in Workflow mode, enabling
users to apply consistent styling across their workflow-based generations.
Adds a new StylePresetField type that enables dropdown selection of
style presets from the database in the workflow editor.

Changes:
- Add StylePresetField to backend (fields.py)
- Update Prompt Template node to use StylePresetField instead of string ID
- Add frontend field type definitions (zod schemas, type guards)
- Create StylePresetFieldInputComponent with Combobox
- Register field in InputFieldRenderer and nodesSlice
- Add translations for preset selection

@Pfannkuchensack

@Pfannkuchensack

@Pfannkuchensack Pfannkuchensack changed the title Claude/add prompt template node r zr ln Feature: add prompt template node

Dec 16, 2025

@Pfannkuchensack

@Pfannkuchensack

auto-merge was automatically disabled

December 24, 2025 17:06

Head branch was pushed to by a user without write access

@Pfannkuchensack