generated

IPAdapter Tiled Batch(IPAdapterTiledBatch)

IPAdapter Tiled Batch node from ComfyUI-IPAdapter-plus.

IP Adapter Tiled Batch

model
ipadapter
image
image_negative
attn_mask
clip_vision
weight
1.00
weight_type
COMBO
start_at
0.000
end_at
1.000
sharpening
0.00
embeds_scaling
COMBO
encode_batch_size
0
IPAdapter plus

Description

IPAdapter Tiled Batch applies IPAdapter conditioning to a diffusion model using a batch of images as pre-tiled references. Instead of splitting a single image into tiles internally, this node expects tiling to be handled upstream: the images in the input batch are used as the tile/reference set. This is useful when you want explicit control over tile content, tile ordering, or when the tiled images are produced by another node.

The node belongs to the ComfyUI-IPAdapter-plus package and is implemented by the IPAdapterTiledBatch class.

Inputs

Required Inputs

InputTypeDefault / RangeDescription
modelMODELRequiredThe diffusion model that receives the IPAdapter attention patch. Connect the model that will be used for sampling.
ipadapterIPADAPTERRequiredThe IPAdapter weights and configuration, usually supplied by an IPAdapter loader node.
imageIMAGERequiredThe reference image batch. In this tiled batch variant, the batch itself is treated as the set of tiles/references rather than being tiled internally.
weightFLOAT1, range -1 to 3, step 0.05Overall strength of the IPAdapter influence. 1 is the neutral default, 0 effectively disables the effect, negative values can reverse the influence, and values above 1 strengthen it.
weight_typeCOMBORequiredSelects the weighting scheme used when applying IPAdapter attention. The available choices are provided by the installed IPAdapter implementation; choose the weighting style that suits how strongly different parts of the model should be affected.
start_atFLOAT0, range 0 to 1, step 0.001The fraction of the sampling schedule at which IPAdapter influence begins. 0 means it is active from the first step.
end_atFLOAT1, range 0 to 1, step 0.001The fraction of the sampling schedule at which IPAdapter influence ends. 1 means it remains active through the final step. Keep start_at below end_at for a non-empty active window.
sharpeningFLOAT0, range 0 to 1, step 0.05Sharpening applied to the IPAdapter image conditioning. 0 disables sharpening; higher values emphasize detail and edges. Increase in small increments to avoid over-sharpened results.
embeds_scalingCOMBORequired; options belowControls how IPAdapter embeddings are scaled and injected into the model's attention key/value projections.
encode_batch_sizeINT0, range 0 to 4096Number of images encoded through CLIP vision at a time. 0 uses the implementation's default behavior. Lower values reduce peak memory when processing large tile batches; higher values may encode faster.

embeds_scaling Options

  • V only: scales the value embeddings only.
  • K+V: scales both key and value embeddings.
  • K+V w/ C penalty: scales key and value embeddings with an additional C penalty term.
  • K+mean(V) w/ C penalty: scales key embeddings and mean value embeddings with a C penalty term.

These options affect the balance between conditioning strength and stability. V only is the most conservative starting point; the key/value variants and penalty variants can produce stronger or more controlled effects depending on the model and reference images.

Optional Inputs

InputTypeDescription
image_negativeIMAGEA negative reference image batch used to steer generation away from its content. Leave unconnected when no negative guidance is needed.
attn_maskMASKA mask that restricts where IPAdapter attention is applied. This is useful for limiting the influence to part of the image or tile layout.
clip_visionCLIP_VISIONAn optional CLIP vision encoder used to encode the reference images. If omitted, the node uses the encoder supplied by the IPAdapter or the package default.

Outputs

The current node definition declares no output sockets. As a result, this node does not expose a patched MODEL or conditioning socket to downstream nodes in this version. If a workflow expects an output from IPAdapter Tiled Batch, verify the installed package version; the inputs described above are still applied when the node executes.

Usage Notes

  • Prepare tiles upstream. Because this is the tiled batch variant, the input image batch defines the tile references. Use an upstream tiling or image-batch node if you need to split a source image.
  • Keep tile order consistent. The order of images in the batch determines how the references are applied, so arrange the batch deliberately when tile placement matters.
  • Tune weight and weight_type together. Start near the default weight of 1, then adjust the weighting scheme if the effect is too strong, too weak, or unstable.
  • Use start_at and end_at to schedule the effect. For example, starting later can preserve more of the base model's composition, while ending earlier can reduce over-application in the final steps.
  • Use sharpening subtly. Small increases can recover detail in the conditioning, but high values may produce harsh or artifact-prone results.
  • Lower encode_batch_size if memory is tight. This is especially relevant when the tile batch is large or when using a high-resolution CLIP vision encoder.
  • Use image_negative to push results away from unwanted content, and attn_mask when the IPAdapter influence should be spatially restricted.
  • Provide clip_vision explicitly if you need a specific vision encoder rather than relying on the IPAdapter or package default.

Comments

Sign in with GitHub to join the discussion.

Loading comments…