Nodes Browser

ComfyDeploy: How ComfyBreakAnim works in ComfyUI?

What is ComfyBreakAnim?

Nodes:BreakFrames, GetKeyFrames, MakeGrid.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyBreakAnim and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

MakeFrame

BreakFrames:

Break any animation file that OpenCV will process into individual frames.

image

GetKeyFrames:

Process scene detection on all given frames, rank-orders, returns top N results. Also returns labeled images.

image

MakeGrid:

Plots given images on a grid. Calculates number of rows and columns for most even aspect ratio.

  • For concurrent frame generation. Creates potentially massive image.
  • Images are resized to be evenly-divisible by rows, columns, and 8 (to prevent "resize wobble").
  • Empty cells are padded with repeats of last image. Black space frustrates generation.

image

BreakGrid:

Breaks given image grid(s) back into individual images. Good practice to use rows/columns output from MakeGrid.

image