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