Fooocus Styles
The dropdown that made Fooocus look 'good out of the box'
- fooocus_styles
The name undersells it. This node doesn't apply a style to your image - it picks which style library the whole pipeline draws from, and that's the quiet reason Fooocus outputs looked better than bare SDXL prompts with the same words. It's also the easiest node in the pack, which is why it's a good first one to understand: everything downstream treats its single output as ground truth.
Why it exists
Fooocus (lllyasviel's frozen-in-2024 SDXL UI) hid almost every knob behind presets, and the styles dropdown was the one customisation surface it actually trusted you with. "Cinematic", "SAI", "Fooocus V2" - each entry is a curated bundle of prompt suffixes and negative additions written by the style pack's author, the kind of thing you'd normally only get by studying someone's CivitAI metadata. Seedsa's pack lifted the whole idea. This node loads one styles file and hands it to the Fooocus PreKSampler, which folds the style's tokens into the conditioning while it samples. You type a plain prompt; the style does the flavouring work in the background.
What you actually touch
Just one required input:
- styles - which style library to load. Default
fooocus_styles, which is the plain Fooocus set. Thesdxl_styles_*entries are community style packs that grew around the project:sdxl_styles_diva,sdxl_styles_twriandsdxl_styles_marc_k3nt3lare named after the people who wrote them,sdxl_styles_saiis the SDXL-prompt-style set, andsdxl_styles_mrecomes from the Fooocus-MRE fork. Different files = different default flavour, same "pick one and don't touch it" workflow.
Output: a single fooocus_styles output of type FOOOCUS_STYLES, which wires straight into the fooocus_styles input on the PreKSampler. Nothing else consumes it.
Installing it
It's part of the Seedsa/Fooocus_Nodes pack, so install the pack, not this node:
cd ComfyUI/custom_nodes
git clone https://github.com/Seedsa/Fooocus_Nodes.git
then restart ComfyUI. Or search "Fooocus Nodes" in ComfyUI Manager and click install - honestly the better path, because the README's clone URL has been returning 404 since the author's GitHub account was renamed or removed. Manager pulls from its registry, which still lists the pack. There's no model download for this node, just the style files the pack loads. If the styles dropdown comes up empty after install, that's the giveaway the pack folder didn't come across complete - reinstall rather than hunting for a missing file.
Gotchas
The styles output is meaningless without the PreKSampler in the chain - if you've wired a Fooocus Loader into plain ComfyUI KSamplers, this node does nothing. And don't stack style nodes: one fooocus_styles output per pipeline. If you want the look of a specific style without committing to the whole library, that's what the styles files themselves are for - open the JSON, read the prompt blocks, steal the lines you like.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| styles | COMBO | fooocus_styles | 7 options: fooocus_styles, sdxl_styles_fooocus, sdxl_styles_diva, sdxl_styles_twri, sdxl_styles_marc_k3nt3l, sdxl_styles_sai, +1 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| fooocus_styles | FOOOCUS_STYLES | — |