Nodes/ComfyUI_IPAdapter_plus/IPAdapter Precise Style Transfer Batch
ComfyUI Node Runs on cloud

IPAdapter Precise Style Transfer Batch

Style only, with a boost knob

By cubiq·Created 3 years ago·Updated about a year ago· 6,086
IPAdapter Precise Style Transfer Batch
  • model
  • ipadapter
  • image
  • image_negative
  • attn_mask
  • clip_vision
  • MODEL
weight1.00
style_boost1.00
combine_embeds
start_at0.000
end_at1.000
embeds_scaling

This is the "just take the style, leave everything else" node, with one extra dial the plain style-transfer weight type doesn't give you. It targets the specific attention layers that carry style - palette, texture, brushwork - and skips the ones that carry layout and content, so your generation follows your prompt for what is in the frame while borrowing how it looks from the reference. That layer-targeting approach comes straight from InstantStyle, which this pack credits. The word "Precise" is doing real work here: it's more surgical than setting weight_type to style transfer on a normal apply node.

Reach for it when a reference has a look you love but a composition you don't want. Feed it as the style source, write your own prompt for the subject, and you get the aesthetic without the baggage. The "Batch" suffix marks this as the variant for batched/animation contexts; for a single still the non-batch Precise Style Transfer is the equivalent.

How it works

Same skeleton as every apply node: it patches the model with image conditioning and returns a patched MODEL for your sampler. What's special is the narrowed injection - only the style layers get the reference - plus the style_boost control that lets you push the style contribution past its natural level.

The inputs that matter

  • image - your style reference.
  • weight - overall strength, default 1.0. Ease it down if the style starts overriding the prompt's content.
  • style_boost - the headline dial, default 1.0, and it ranges from -5 to 5. Turn it up when the style is landing but too weakly; it amplifies the style layers' contribution specifically. Negative values push the other way. This is the knob you'll actually play with.
  • combine_embeds - how multiple references merge if you feed a batch (concat, add, subtract, average, norm average).

start_at / end_at gate when the adapter runs during sampling - ending a touch early lets final steps recover detail - and embeds_scaling is the injection math, which you can leave alone. Optional attn_mask, image_negative, and clip_vision handle masking, a negative reference, and feeding the encoder explicitly.

Installing the pack

ComfyUI Manager: search ComfyUI IPAdapter plus, install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus

then restart. IPAdapter wants the newest ComfyUI - update Comfy first if a node errors on load. CLIP vision encoders go in ComfyUI/models/clip_vision, adapter weights in ComfyUI/models/ipadapter (create it if missing), and the Unified Loader needs exact filenames.

Where people get burned

The universal one first: the ClipVision/IPAdapter mismatch. A tensor-size error on queue means your encoder and adapter don't match - SD 1.5 adapters expect ViT-H, the bigG/vit-G models expect their own. It's the number-one IPAdapter error and the first thing to check.

The node-specific trap is over-cranking style_boost. Because it targets a narrow set of layers, pushing it hard doesn't just intensify the style - past a point it starts to smear detail and wash out the image, since IPAdapter already softens detail when it's laid on thick. If the output goes flat or muddy, pull style_boost back toward 1.0 and let weight do more of the work. And remember the pack's scope: this is an SD 1.5 / SDXL tool in maintenance mode. On those bases the style transfer here is excellent; on Flux and newer it simply doesn't load.

Categoryipadapter

Inputs (12)

NameTypeDefaultDescription
modelMODEL
ipadapterIPADAPTER
imageIMAGE
weightFLOAT1.00-1–5
style_boostFLOAT1.00-5–5
combine_embedsCOMBO5 options: concat, add, subtract, average, norm average
start_atFLOAT0.0000–1
end_atFLOAT1.0000–1
embeds_scalingCOMBO4 options: V only, K+V, K+V w/ C penalty, K+mean(V) w/ C penalty
image_negativeoptIMAGE
attn_maskoptMASK
clip_visionoptCLIP_VISION

Outputs (1)

NameTypeDescription
MODELMODEL