Prompt Studio Settings
Prompt Studio's cache-safe style picker
- style
Prompt Studio Settings is not a node that does anything by itself. It's the style-picker companion to Prompt Studio, and it exists for one reason: to keep your cache honest. If you're running Prompt Studio without the ComfyUI-API-Optimizer's Hash Vault caching, you can skip this entirely and just use the style dropdown on Prompt Studio itself. This node is for the workflow where you've wired Prompt Studio's style into a cache key and you're tired of manually updating two widgets and hoping they never desync.
Here's the pattern, straight from the README. The node owns the style dropdown (the same two dozen master-photographer presets: Alec Soth, Alex Webb, Daido Moriyama, Fan Ho, and friends, or None for generic-realism). It emits the selected style as a single wildcard STRING output. Wire that one output to both places:
- Prompt Studio's
styleinput - right-click the style widget on Prompt Studio and choose Convert Widget to Input to make it accept a wire. - A Hash Vault
any_input_Nslot on the API Optimizer.
Pick the photographer once, in one place, and both the prompt enhancement and the cache key update together. The point is that cache invalidation can never drift from the style you actually applied - the classic failure it prevents is changing the style on the dropdown, forgetting the cache slot, and watching identical-looking cache hits serve you stale styled prompts at "free."
The single input
style- the photographer dropdown, same 24 choices as Prompt Studio's own widget,Noneincluded. That's the whole node.
Output
style - a wildcard * STRING. That's it. No API call happens; emit just returns the string you picked, so this node is instant and free. It's pure plumbing.
Installing it and the honest caveat
It ships in the same ComfyUI-Gemini-Direct pack as Prompt Studio - Manager search "ComfyUI-Gemini-Direct" or the standard clone-and-install, then restart. No API key needed to run this node, though anything you wire it into will want one.
And the honest caveat: this is a thin utility node, and it only earns its place in workflows that already use the API Optimizer's Hash Vault. If you're not caching, it's an extra hop in your graph for zero benefit - just use Prompt Studio's own dropdown. If you are caching styled generations, it's the difference between a cache that's occasionally serving you the wrong style and a cache you can trust. There's a demo workflow showing the full wiring at ComfyUI-API-Optimizer/workflows/prompt_studio_styled_generation.json.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| style | COMBO | None | Master photographer DNA prompt to apply. 'None' generates a generic-realism prompt without photographer styling. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| style | * | — |