Creating a Flipbook Animation Effect Using Only ComfyUI
created 7 months ago
video
30 nodes

244

20

Tip this creator
Outputs
Description

Introduction

This workflow includes a very simple logic for applying the flipbook animation effect. It also contains the logic for compositing the original video into the desired flipbook animation, allowing the generation of simple videos without additional post-processing.

While I created a basic example using lineart, you can modify the original video processing in various ways to achieve even higher-quality results.

How to use

Insert a video of pages turning as the background into node 7. In the video I used, it takes 4 frames to flip one page, so the frame_load_cap is set to 4.

Insert the original video into node 3. In this workflow, the original video is processed into Lineart and the result is saved.

Set the Seed value of node 78 to 0.

Click QueuePrompt as many times as the number of pages you want.

The result will be saved as images in the output/flipbook folder.

To complete the process, combine these images into a video with an FPS of 28. (Video Combine)

(fps 28 = frame_load_cap from node 7 x force_rate from node 3)

If you want to change the size, adjust the nodes related to Image Resize and make sure to set the inset correctly in node 12.

Built-in nodes
Custom nodes
Bounded Image Blend with Mask
Image Bounds
GetImagesFromBatchIndexed
EmptyImage
Inset Image Bounds
PreviewImage
MaskPreview+
ImageToMask
VHS_VideoCombine
GrowMask
GetImageSize+
SimpleMath+
ImageResize+
Make Image Batch
VHS_LoadVideo
VHS_LoadVideoPath
CR Seed
Custom files
new

These are separate files that the creator has uploaded for this workflow.

pages_6fps.mp4

0
0
0
0