ipadaptergenerated

IPAdapter(IPAdapterSimple)

IPAdapterSimple applies an IPAdapter to a diffusion model using an image as a visual prompt.

IP Adapter Simple

model
ipadapter
image
attn_mask
MODEL
weight
1.00
start_at
0.000
end_at
1.000
weight_type
COMBO
IPAdapter plus

Description

IPAdapterSimple applies an IPAdapter to a diffusion model using an image as a visual prompt. It is the compact entry point in ComfyUI-IPAdapter-plus for attaching IPAdapter behavior directly to a model: you provide the model, a loaded IPAdapter object, and the reference image, and the node returns a patched model that carries the adapter effect.

Use this node when you want the image prompt to influence sampling without adding a separate image output or a more complex conditioning chain. The strength, active sampling range, weighting mode, and optional attention mask are all controlled directly on this node.

Inputs

InputTypeRequiredDefault / RangeDescription
modelMODELYes-The diffusion model to patch with the IPAdapter. This can be the base model or a model that has already passed through other model patches.
ipadapterIPADAPTERYes-The IPAdapter object, typically produced by an IPAdapter loader node. It supplies the adapter weights and projection behavior used to interpret the image prompt.
imageIMAGEYes-The reference image used as the visual prompt. The subject, composition, colors, or style in this image influence the patched model according to the selected weight type.
weightFLOATYes1.0, range -1.0 to 3.0, step 0.05Overall strength of the IPAdapter effect. 1.0 is the normal starting point, 0.0 effectively disables the adapter, values above 1.0 increase the influence, and negative values can invert or subtract the image influence.
start_atFLOATYes0.0, range 0.0 to 1.0, step 0.001Normalized sampling point where the adapter begins to apply. 0.0 means the adapter is active from the first sampling step.
end_atFLOATYes1.0, range 0.0 to 1.0, step 0.001Normalized sampling point where the adapter stops applying. 1.0 means the adapter remains active through the final sampling step.
weight_typeCOMBOYesOptions: standard, prompt is more important, style transferSelects the weighting preset used by the adapter. standard applies a balanced IPAdapter influence; prompt is more important biases the result toward the text prompt; style transfer biases the result toward the reference image's style.
attn_maskMASKNo-Optional attention mask that restricts where the adapter attends. When supplied, align the mask with the image region you want the IPAdapter to affect. If omitted, the adapter uses its normal unmasked behavior.

Outputs

OutputTypeDescription
MODELMODELThe patched diffusion model with the IPAdapter applied. Connect this output to your sampler or to additional model patches in place of the original model.

Usage Notes

  • Load or create an IPADAPTER object before this node, then connect your model, the IPAdapter object, and the reference image.
  • The returned MODEL is the model you should sample with. This node does not output an image itself; it modifies the model so that image-prompt influence is present during sampling.
  • Keep start_at below end_at for a normal active window. For example, 0.0 to 1.0 applies the adapter through the whole sampling process, while a narrower range such as 0.2 to 0.8 limits when the image influence is active.
  • Raise weight gradually when tuning. Values above 1.0 can make the image prompt dominate, while the prompt is more important weight type can help preserve text-prompt adherence.
  • Use attn_mask when the IPAdapter effect should be localized rather than applied across the full image prompt.
  • Because the output is a model patch, you can still chain additional model modifications after this node if your workflow requires them.

Comments

Sign in with GitHub to join the discussion.

Loading comments…