alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (2024)

😊 EasyAnimate is an end-to-end solution for generating high-resolution and long videos. We can train transformer based diffusion generators, train VAEs for processing long videos, and preprocess metadata.

😊 Based on Sora like structure and DIT, we use transformer as a diffuser for video generation. We built easyanimate based on motion module, u-vit and slice-vae. In the future, we will try more training programs to improve the effect.

😊 Welcome!

The model trained with size 512*512*144 for EasyAnimate for both text-to-video and image-to-video. We give a simple usage here, for more details, you can refer to EasyAnimate.

  • Result Gallery
  • How to use
  • Model zoo
  • Algorithm Detailed
  • TODO List
  • Contact Us
  • Reference
  • License

These are our generated results:Our UI interface is as follows:alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (1)

# clone codegit clone https://github.com/aigc-apps/EasyAnimate.git# enter EasyAnimate's dircd EasyAnimate# download weightsmkdir models/Diffusion_Transformermkdir models/Motion_Modulemkdir models/Personalized_Modelcd models/Diffusion_Transformer/git lfs installgit clone https://huggingface.co/alibaba-pai/EasyAnimateV3-XL-2-InP-512x512cd ../../

EasyAnimateV3:

NameTypeStorage SpaceUrlHugging FaceDescription

| EasyAnimateV3-XL-2-InP-512x512.tar | EasyAnimateV3 | 16.2GB | Download | 🤗Link | EasyAnimateV3 official weights for 512x512 image to video resolution. Training with 144 frames and fps 24 || EasyAnimateV3-XL-2-InP-768x768.tar | EasyAnimateV3 | 16.2GB | Download | 🤗Link | EasyAnimateV3 official weights for 768x768 image to video resolution. Training with 144 frames and fps 24 || EasyAnimateV3-XL-2-InP-960x960.tar | EasyAnimateV3 | 16.2GB | Download | 🤗Link | EasyAnimateV3 official weights for 960x960 image to video resolution. Training with 144 frames and fps 24 || easyanimatev3_minimalism_lora.safetensors | Lora of Pixart | 485.1MB | Download | - | A lora training with a specifial type images. Images can be downloaded from Url. |

1. Data Preprocessing

Video Cut

For long video cut, EasyAnimate utilizes PySceneDetect to identify scene changes within the video and performs scene cutting based on certain threshold values to ensure consistency in the themes of the video segments. After cutting, we only keep segments with lengths ranging from 3 to 10 seconds for model training.

Video Cleaning and Description

Following SVD's data preparation process, EasyAnimate provides a simple yet effective data processing pipeline for high-quality data filtering and labeling. It also supports distributed processing to accelerate the speed of data preprocessing. The overall process is as follows:

  • Duration filtering: Analyze the basic information of the video to filter out low-quality videos that are short in duration or low in resolution.
  • Aesthetic filtering: Filter out videos with poor content (blurry, dim, etc.) by calculating the average aesthetic score of uniformly distributed 4 frames.
  • Text filtering: Use easyocr to calculate the text proportion of middle frames to filter out videos with a large proportion of text.
  • Motion filtering: Calculate interframe optical flow differences to filter out videos that move too slowly or too quickly.
  • Text description: Recaption video frames using videochat2 and vila. PAI is also developing a higher quality video recaption model, which will be released for use as soon as possible.

2. Model Architecture

We have adopted PixArt-alpha as the base model and modified the VAE and DiT model structures on this basis to better support video generation. The overall structure of EasyAnimate is as follows:

The diagram below outlines the pipeline of EasyAnimate. It includes the Text Encoder, Video VAE (video encoder and decoder), and Diffusion Transformer (DiT). The T5 Encoder is used as the text encoder. Other components are detailed in the sections below.

alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (2)

To introduce feature information along the temporal axis, EasyAnimate incorporates the Motion Module to achieve the expansion from 2D images to 3D videos. For better generation effects, it jointly finetunes the Backbone together with the Motion Module, thereby achieving image generation and video generation within a single Pipeline.

Additionally, referencing U-ViT, it introduces a skip connection structure into EasyAnimate to further optimize deeper features by incorporating shallow features. A fully connected layer is also zero-initialized for each skip connection structure, allowing it to be applied as a plug-in module to previously trained and well-performing DiTs.

Moreover, it proposes Slice VAE, which addresses the memory difficulties encountered by MagViT when dealing with long and large videos, while also achieving greater compression in the temporal dimension during video encoding and decoding stages compared to MagViT.

For more details, please refer to arxiv.

  • Support model with larger resolution.
  • Support video inpaint model.
  1. Use Dingding to search group 77450006752 or Scan to join
  2. You need to scan the image to join the WeChat group or if it is expired, add this student as a friend first to invite you.

alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (3)alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (4)alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (5)

This project is licensed under the Apache License (Version 2.0).

alibaba-pai/EasyAnimateV3-XL-2-InP-512x512 · Hugging Face (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Van Hayes

Last Updated:

Views: 5837

Rating: 4.6 / 5 (66 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.