Nodes/Akatz Custom Nodes/IPAdapter Custom Weights | Akatz
ComfyUI Node

IPAdapter Custom Weights | Akatz

Used to provide custom timings for crossfading multiple images using just two IPAdapters. Text input should be a string of weights in the format: (<weights (float or float tuple)>, <frame_index (int or float)>, <transition_frames (int or float, optional)>, <easing_function (string, optional)>),... E.g. Frame: "((0.0, 0.0), 0), (1.0, 5, 20, linear), (0.5, 25, 10, ease_in), ((0.0, 0.0), 48, 24, ease_out)" Percentage: "((0.0, 0.0), 0), (1.0, 0.1, 0.1, linear), (0.5, 0.25, 0.1, ease_in), ((0.0, 0.0), 0.5, 0.25, ease_out)" A default timing of "ease_in_out" is used if no interpolation function is specified. - weights: The weights and timings to be applied to the images - default_weights: The default starting weights (weights, weights_invert) to be used for transitions - default_easing: The default easing function to be used for transitions - timing_mode: The timing mode to be used for transitions (Frame or Percent) - frames: The number of frames in the output - image: The image batch to be crossfaded by the weights

By akatz-ai·Created 2 years ago·Updated 8 months ago· 32
IPAdapter Custom Weights | Akatz
  • image
  • weights
  • weights_invert
  • image_1
  • image_2
weights(1.0),
default_weights1.0, 0.0
default_easinglinear
timing_modeFrame
frames0
Category💜Akatz Nodes/IPAdapter

Inputs (6)

NameTypeDefaultDescription
imageIMAGE
weightsSTRING(1.0),
default_weightsSTRING1.0, 0.0
default_easingCOMBOlinear4 options: linear, ease_in_out, ease_in, ease_out
timing_modeCOMBOFrame2 options: Frame, Percent
framesINT0

Outputs (4)

NameTypeDescription
weightsFLOAT
weights_invertFLOAT
image_1IMAGE
image_2IMAGE