Create saved styles / prompt presets #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Set up reusable style presets in the SD WebUI so the MCP server can reference them by name.
Why
Currently every generation requires crafting a full prompt from scratch. Saved styles allow consistent results with minimal input — e.g. the MCP server could accept
style: "architectural-maquette"and automatically prepend the right prompt tokens and negative prompt.Steps
styles.csventries for key styles:architectural-maquette— white model, green trees, clean geometric buildingsisometric-game— colorful isometric citybuilder aestheticconcept-art— cinematic game key art stylelist_stylestool and accept astyleparameter ingenerate_imageUpdate from caymans session
\ has been created on caymans with three presets:
All styles use \ placeholder so the user prompt gets inserted into the template. Each has a matching negative prompt.
The file is gitignored (upstream .gitignore excludes /styles.csv), so it lives only on disk at C:/AI/stable-diffusion-webui/styles.csv.
Remaining work (alcatraz side)
MCP server updated on alcatraz to support
styleandloraparameters ingenerate_image, plus newlist_stylesandlist_lorastools.Styles are defined in the SD WebUI
styles.csvand can be referenced by name. LoRAs are referenced by filename and appended as<lora:name:weight>to the prompt.Test with
architectural-maquettestyle confirmed working.