hf_mirrors/animatediff
Model Introduction
Files & versions
Analysis

AnimateDiff Model Card

Input (by RealisticVision)AnimationInputAnimation
Input ScribbleOutputInput ScribblesOutput

Introduction

This repository is the MindSpore implementation of AnimateDiff.

Model Description

  • Developed by: MindSpore lab
  • Framework: MindSpore
  • Model type: text-to-video generative model
  • License: apache-2.0
  • Model Description: This is a model that can be used to generate and modify videos based on text prompts.
  • Resources for more information: Check out the GitHub Repository.

Evaluation Results

Inference

ModelContextSchedulerStepsResolutionFrameSpeed (step/s)Time(s/video)
AnimateDiff v2D910*x1-MS2.2.10DDIM30512x512161.225

Context: {Ascend chip}-{number of NPUs}-{mindspore version}.

Training

ModelContextTaskLocal BS x Grad. Accu.ResolutionFrameStep T. (s/step)
AnimateDiff v2D910*x1-MS2.2.10MM training1x1512x512161.29
AnimateDiff v2D910*x1-MS2.2.10Motion Lora1x1512x512161.26
AnimateDiff v2D910*x1-MS2.2.10MM training w/ Embed. cached1x1512x512160.75
AnimateDiff v2D910*x1-MS2.2.10Motion Lora w/ Embed. cached1x1512x512160.71

How to Get Started with the Model

For information on how to train and infer with the model, please have a look at MindOne GitHub Repository.

Uses

Direct Use

The model is intended for research purposes only. Possible research areas and tasks include

  • Generation of artworks and use in design and other artistic processes.
  • Applications in educational or creative tools.
  • Research on generative models.
  • Safe deployment of models which have the potential to generate harmful content.
  • Probing and understanding the limitations and biases of generative models.

Excluded uses are described below.

Out-of-Scope Use

The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.

Limitations and Bias

Limitations

  • The generated videos are rather short, and the model does not achieve perfect photorealism.
  • The model may generate videos without motion, or very slow camera pans.
  • The model cannot be controlled through text.
  • The model cannot render legible text.
  • Faces and people in general may not be generated properly.
  • The autoencoding part of the model is lossy.