Nodes Browser

ComfyDeploy: How ComfyUI_llm_easyanimiate works in ComfyUI?

What is ComfyUI_llm_easyanimiate?

implementation easyanimate with llama3-8b-6bit instruction LLM generation prompt help

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 ComfyUI_llm_easyanimiate and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Updates:

① Implement the EasyAnimate DiT video generation with Llama3 8B 6bit quantization LLM prompt

  • ✅ [2024/06/06] ExLlamaV2 and EasyAnimate U can contact me thr twitter_1twitter wechat_1 Weixin:GalaticKing

Llama3 generate positive prompt directly chained with EasyAnimate

llama3 generated prompt not modified workflow

Llama3 generate positive prompt first,then modify the prompts and output easyanimate videos

llama3 generate prompt llama3 generated prompt modified workflow

some test results

<table class="center"> <tr> <td width=100% style="border: none"> <video controls autoplay loop src="https://github.com/frankchieng/ComfyUI_llm_easyanimiate/assets/130369523/86a20d32-702a-4a3f-a7d5-abcf1419a23c" muted="false"></video> </td> </tr> <tr> <td width=100% style="border: none"> <video controls autoplay loop src="https://github.com/frankchieng/ComfyUI_llm_easyanimiate/assets/130369523/381d7458-57d9-4da4-8e47-a6aa32f39fad" muted="false"></video> </td> </tr> <tr> <td width=100% style="border: none"> <video controls autoplay loop src="https://github.com/frankchieng/ComfyUI_llm_easyanimiate/assets/130369523/da7c3388-c17b-4b69-bbdf-51dbb4a12cbf" muted="false"></video> </td> </tr> </table>

EasyAnimate modules structure as below:

./ComfyUI/
|-- models
|   |-- EasyAnimate
|   |   |-- Diffusion Transformer
|   |   |   |-- EasyAnimateV2-XL-2-768x768
|   |   |-- Personalizd_Model
|   |   |   |-- easyanimatev2_minimalism_lora.safetensors (you can put your own lora trained model here)

you can download model of EasyAnimateV2-XL-2-768x768

(Lora of Pixart)easyanimatev2_minimalism_lora.safetensors A lora training with a specifial type images. Images can be downloaded from Url.

Tips : For better render performance,you'd better have A100GPU around 40G,i've been tested with a RTX4090,the maximum resolution is 736*512,otherwise will be OOM, current model video length can be reached 6 secs,144 frames with 24 fps you have to install the ComfyUI-ExLlama-Nodes and comfyui-mixlab-nodes custome code as well

To use a model with the nodes, you should clone its repository with git or manually download all the files and place them in ComfyUI/models/llm. For example, if you'd like to download the 6-bit Llama-3-8B-Instruct, use the following command:

git install lfs
git clone https://huggingface.co/turboderp/Llama-3-8B-Instruct-exl2 -b 6.0bpw models/llm/Llama-3-8B-Instruct-exl2-6.0bpw

play with the llama3 instruction template like the panel as below:

<|begin_of_text|><|start_header_id|>user<|end_header_id|>

Come up with a detailed unique Stable Diffusion prompt,the prompt should always begin with like this:This video shows or The video features<|eot_id|><|start_header_id|>assistant<|end_header_id|>

This video shows the majestic beauty of a waterfall cascading down a cliff into a serene lake.The waterfall,with its powerful flow,is the central focus of the video.The surrounding landscape is lush and green,with trees and folige adding to the natural beauty of the scene.<|eot_id|><|start_header_id|>user<|end_header_id|>

How about another one?<|eot_id|><|start_header_id|>assistant<|end_header_id|>

The video features a young woman with black eyes and blonde hair standing in a forrest wearing a crown.She seems to be lost in thought,and the camera focuses on her face.The atmosphere is serene,adn the shot is in slow motion.The video is of high quality,and the view is very clear.High quality,masterpiece,best quality,highres,ultra-detailed,fantastic.<|eot_id|><|start_header_id|>user<|end_header_id|>

only generate one more,tulips<|eot_id|><|start_header_id|>assistant<|end_header_id|>

you can change the subject of prompt from tulips to flowers, fire, man,woman or whatever