XaiJu
Jerry Davos
Jerry Davos

patreon


[Update] [v2.1] Animate ControlNet Animation - LCM [Early Access]

VIDEO TUTORIAL :  https://youtu.be/qczh3caLZ8o

The Animation Workflow is divided into 4 parts :

[PART 1] - ControlNet Passes Export

All the necessary control passes are extracted with this workflow, it serves as a base dough for making the initial raw animation frames.

Export At Least 2 Passes for Raw Animation

Instruction

if your video is longer than 20 second, you may encounter "Out of Memory" errors, then use the batch workflow.

How to use Batch workflow Example:

If you have a 30 second video of 1280x720 with 30 fps then your total frames will be 30x30 = 900 frames

Then

Total rendered frames: 900

ControlNet Usage Tips

At least 2 Passes are required to use raw animation workflow and get a quality render.

Results
It will export your enabled passes in the specified folder

________________________________________________________________________

[PART 2] Animation Raw

This is the heart of the workflow, main raw animation will be rendered here, where it be realistic, anime, cartoon or abstract.

Instruction

________________________________________________________________________

[Part 3] Refiner

This workflow further enhances the raw animations, add details, upscale and refines it.

Instruction

After you have rendered the raw Images from #2 Main Animation Raw file,

You can skip 12th step If faces are looking good or does not have faces in the video.

________________________________________________________________________

[Part 4] Face Fix


In this workflow, faces of the refined workflow will be enhanced. As The refiner work on all over the image, the faces might be not up to the mark, in this workflow "Only faces" are worked upon.

The Current Version 2.1 face fix workflow performs better than v2.0

Instruction

After you have refined the Images in #3 Refiner, You are ready for Face Fix workflow

________________________________________________________________________

________________________________________________________________________

Changelog v2.1

1) Added Details Enhancer in the #2 Raw and #3 Refiner workflow, you can see the following GIF to get an overview

2) Wider CFG Support, now you can use higher CFG values and not get artifacts up to a higher level of 9 which was not possible in v2.0 version.

3) AnimateDiff Macro Motion Controller has been added, it controls the overall motion/movements of the elements of the animation, observe motion in background.

4) Total Sampler Steps: Total Number of steps for ksampler. (Default value - 10)
5) Stop raw at nth step: Raw sampler will stop at this step.  (Default Value - 6)
6) HighRes Fix Upscale - It upscales the Latent - (value around 1.1 - 1.4 is good, above 1.5 no change is observed)
7) Start Highres Fix from nth step: Higres fix sampler will start at this step and continue till the total sampler steps. (Default Value - 5)

____________________________________________________________________

VIDEO BREAKDOWN :


Positive Prompt : (masterpiece, top quality, best quality, official art, beautiful and aesthetic), Extreme detailed, Sexy ,1girl, blond, blue dress, blue hairband, blue eyes, blond hair

Negative Prompt : ugly, deformed, bad lighting, blurry, text, clouds, watermark, extra hands, bad quality, deformed hands, deformed fingers, nostalgic, drawing, painting, bad anatomy, worst quality, blurry, blurred, normal quality, bad focus, tripod, three legs, weird legs, short legs, bag, handbag, 3 hands, 4 hands, three hands

(embedding:BadDream:1) boy, man, male,

(embedding:ng_deepnegative_v1_75t:1),

(embedding:epiCNegative:1),

(embedding:bad-picture-chill-75v:1),

(embedding:AS-YoungV2-neg:1),

(embedding:ERA09NEGV2:1)

CFG - 4

Model - civitai.com/models/56680/imp

No Loras

ControlNet - OpenPose (Weight - 1.0) and LineArt (Weight - 0.9)

Original Video Link:
https://www.youtube.com/watch?v=AYs_ZmVvyyQ&ab_channel=KatyPerryVEVO 

PROCESS :
1) Video was trimmed around the main song moment of 15 seconds.
2) It was processed in Part 1 -  Line and OpenPose Passes was extracted for this Video.
3) Above mentioned prompts and settings were applied in the #2 Raw Animation workflow.
4) It was then Refined in Part 3
5) As face was looking good after refiner, #4 face fix workflow was not used.
6) Output Frames were combined, and post Processed in After Effects.

______________________________________________________________________

______________________________________________________________________

INSTALLATION :

All the Custom Nodes used can be downloaded easily from inside the manager and for some cases if the manager fails to install them, you can manually install with these links:

-------------------------------------------------------------------------------------------------------------------------

*Simple Evaluate Float | Integers | Strings Node error can be solved by manually installing the v1.92 from the following link and restarting Comfy as administrator to install the remaining Dependencies: Efficiency Nodes for ComfyUI - v1.92 | Stable Diffusion Other | Civitai

Or you can simply delete the A+B node and the overlapping node, the workflow will run fine without them.

-------------------------------------------------------------------------------------------------------------------------

** [Part 5] ReActor Face Swap workflow has been discarded for now as it was complicated to install and gave buggy results**

----------------------------------------

AnimateDiff Models :

1) Temporaldiff-v1-animatediff

2) MotionModel_v01 

---------------------------------------------

LCM Lora : huggingface.co/latent-consistency/lcm-lora-sdv1-5/tree/main

-----------------------------------------------------------------------------------------------------

END

-----------------------------------------------------------------------------------------------------

Workflows :

Gdrive Link : ControlNet Animation Using ControlNet - Google Drive

and also attached below :

Post Update - 28/12/2023

1) The Recent Update Broke the Text Concatenate Nodes while image saving, you have to select the clean_whitespace value to true to work properly in every parts of the workflow.

2) Now you have to remove the quotes " " in the input path of the Load video Input node in Part 1 - ControlNet Passes Exporter to work properly.

The Files attached below are updated and will not give the Clean_whitespace error anymore.
.
.

My Discord Server : https://discord.gg/z9rgJyfPWJ

Comments

I am trying to use LoRAs stack on this one but it doesn't apply so matter how many times I try. Can you assist me in this one?

GuyXotic

Hey, in Theory the workflows should work with 2 persons

Jerry Davos

hello, do you have any workflows that have 2 persions dancing??

HàoÓc


More Creators