Smart Style Model Apply DUAL (CRT)
Steer a render toward a style from one or two reference images
- conditioning
- style_model
- clip_vision
- image_1
- image_2
- conditioning
Prompting gets you a subject; style models get you a look. Smart Style Model Apply DUAL (CRT) applies an image-based style to your conditioning - think "make this prompt render in the style of this reference painting" - and it does it for one or two reference images at once, each with its own strength. Feed it a style model, a CLIP Vision model, and a reference, and the conditioning that comes out carries that style into the sampler.
It's the CRT-Nodes take on ComfyUI's built-in StyleModelApply (the UnCLIP-style conditioning path), with the CLIP Vision encoding handled for you and a second reference image layered in. The "DUAL" in the name is the whole pitch: two style references, independently weighted, blended into one conditioning.
How it works
At its core it does what StyleModelApply does - but in one node with convenience built in:
- Encode the reference image(s) with the provided clip_vision model (
cropset tocentertrims to a square for encoding;noneleaves the full frame). - Run the style_model over the encoded image to produce style conditioning.
- Apply it to your text conditioning at strength_1 (and strength_2 for the second image), using one of two strength modes:
- multiply - scales the style conditioning directly by the strength (the blunt, classic approach).
- attn_bias - injects the strength as an attention bias on the conditioning's attention mask. This is the ComfyUI-native path for style models and is generally the better behaved of the two.
The second image is optional: connect image_2 and it activates automatically; leave it empty and it's effectively a single-style apply. The node also caches only its most recent result, so it stays light.
Inputs and output
- conditioning - your text conditioning from a CLIP text encode.
- style_model - a STYLE_MODEL (the same kind ComfyUI's StyleModelApply loads).
- clip_vision - a CLIP_VISION model for encoding the reference.
- image_1 (required) and image_2 (optional) - the reference images.
- strength_1 / strength_2 (0–10, default 1) - per-reference influence.
- strength_type -
multiplyorattn_bias. - crop -
centerornonefor the CLIP Vision encode.
Output is a single conditioning, ready to feed your KSampler alongside (or instead of) your plain positive conditioning.
Where you'll use it
- Style transfer: "same subject, painterly like this reference."
- Character/style consistency across a batch - one fixed reference, one fixed seed, a folder of prompts.
- Blending two aesthetics: image_1 at 0.7, image_2 at 0.4, and you're mixing looks with dials instead of Photoshop.
Gotchas
- It needs a style model and a CLIP Vision model loaded in - this is a conditional-style node, not a magic wand. If the menu is missing it entirely, you probably don't have the model types wired up, not the node.
multiplyvsattn_biasgenuinely changes the result;attn_biasis the better default with ComfyUI's style models, so reach formultiplyonly if you've compared and it works for your base.- Strength is not linear in the way you'd hope - halving 1.0 to 0.5 doesn't necessarily half the stylistic effect. Tune by eye.
Install is pack-level: ComfyUI Manager → search CRT-Nodes → install and restart, or clone the repo into custom_nodes. Heavy suite, graceful degradation on missing optional deps.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| conditioning | CONDITIONING | — | |
| style_model | STYLE_MODEL | — | |
| clip_vision | CLIP_VISION | — | |
| image_1 | IMAGE | — | |
| strength_1 | FLOAT | 1.0000–10 | — |
| strength_2 | FLOAT | 1.0000–10 | — |
| strength_type | COMBO | 2 options: multiply, attn_bias | |
| crop | COMBO | 2 options: center, none | |
| image_2opt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| conditioning | CONDITIONING | — |