SuperAPI AI Directory

Step-Video-T2V

Step-Video-T2V is an open-source text-to-video pretrained model from stepfun-ai with 30 billion parameters, capable of generating videos up to 204 frames long. The model uses a deeply compressed Video-VAE (16x16 spatial and 8x temporal compression ratios) to improve training and inference efficiency, and uses bilingual text encoders to support Chinese and English prompts. It is based on the DiT architecture (48 layers, 48 attention heads) combined with 3D full attention and Flow Matching for denoising generation, and finally improves visual quality through Direct Preference Optimization (DPO). The project released inference code and model weights on February 17, 2025, along with a Turbo version; on March 17, 2025, it released Step-Video-TI2V, an image-to-video model based on this model. The model needs to run on NVIDIA GPUs that support CUDA, and an 80GB VRAM GPU is recommended. The test environment is Linux, and it depends on Python >= 3.10.0 and PyTorch >= 2.3-cu121. The official team also released Step-Video-T2V-Eval, an evaluation benchmark containing 128 Chinese prompts, covering 11 categories. The online version can be experienced in Yuewen Video.

Open website

About this tool

Step-Video-T2V is an open-source text-to-video pretrained model from stepfun-ai, and the related code and model weights have been released on GitHub.

Usage

This model is used to generate videos based on text prompts, supports bilingual Chinese and English prompt input, and can generate videos up to 204 frames long. The official team positions it as a current state-of-the-art (SoTA) text-to-video pretrained model and compares it with open-source and commercial engines on a self-built evaluation benchmark.

Main Capabilities

  • Model scale: 30 billion parameters.
  • Video generation: Supports generating videos up to 204 frames long.
  • Video compression: Uses a deeply compressed Video-VAE to achieve a 16x16 spatial compression ratio and an 8x temporal compression ratio, accelerating training and inference while maintaining video reconstruction quality.
  • Text encoding: Uses two bilingual pretrained text encoders to process English and Chinese prompts.
  • Generation architecture: Based on the DiT (Diffusion Transformer) architecture, containing 48 layers, with 48 attention heads per layer and a dimension of 128 per head; uses 3D full attention, is trained through Flow Matching, and denoises input noise into latent frames, with text embeddings and timesteps as conditions.
  • Training stability and sequence processing: Uses AdaLN-Single to introduce timestep conditions, introduces QK-Norm in self-attention to ensure training stability, and uses 3D RoPE to handle sequences of different video lengths and resolutions.
  • Visual quality optimization: Applies Direct Preference Optimization (DPO) in the final stage, using human preference data to fine-tune the model, reducing artifacts and making generated videos smoother and more realistic.
  • Evaluation benchmark: Releases Step-Video-T2V-Eval, containing 128 Chinese prompts from real users, covering 11 categories: sports, food, landscapes, animals, festivals, compositional concepts, surreal, people, 3D animation, cinematography, and style.

Versions and Releases

  • February 17, 2025: Released the inference code and model weights of Step-Video-T2V; also released the inference code and model weights of Step-Video-T2V-Turbo; the technical report was open-sourced.
  • March 17, 2025: Released Step-Video-TI2V, an image-to-video model based on Step-Video-T2V.

Usage

Environment Requirements

  • Requires an NVIDIA GPU with CUDA support. The model was tested on four GPUs.
  • GPUs with 80GB of VRAM are recommended for better generation quality.
  • Tested operating system: Linux.
  • The self-attention in the text encoder (step_llm) only supports CUDA compute capabilities sm_80, sm_86, and sm_90.
  • Python >= 3.10.0 (Anaconda or Miniconda recommended).
  • PyTorch >= 2.3-cu121.

Inference Script

Officially, a decoupled strategy is used for the text encoder, VAE decoding, and DiT to optimize GPU resource utilization for DiT. Therefore, a dedicated GPU is required to handle the API service for text encoder embeddings and VAE decoding.

The open-source project ModelScope's DiffSynth-Studio provides single-GPU inference and quantization support, which can significantly reduce the required VRAM; refer to its examples for details.

Best Practice Inference Settings

Officially, it is noted that changes in inference hyperparameters significantly affect the trade-off between video fidelity and dynamics, and it is recommended to refer to the officially provided best practices for tuning. For more performance results, refer to the benchmark metrics from the xDiT team.

Use Cases

  • Text-to-video generation research and development.
  • Video content generation driven by Chinese and English prompts.
  • Video generation model evaluation (using the Step-Video-T2V-Eval benchmark).
  • Online experience: The online version of Step-Video-T2V is available on Yuewen Video, where examples can also be viewed.

Limitations

  • Running requires an NVIDIA GPU with CUDA support, 80GB of VRAM is recommended, the test environment is Linux, and the hardware threshold is relatively high.
  • The text encoder self-attention only supports specific CUDA compute capabilities (sm_80, sm_86, sm_90).
  • No specific information on fees, pricing, or commercial use terms is officially provided.
  • No information on platform support other than the above environment requirements is officially provided.

Acknowledgments and Integrations

The team officially thanks the xDiT team for their support and parallelization strategies; the code will be integrated into the official Huggingface/Diffusers repository; thanks to the FastVideo team for their continued collaboration, and looks forward to jointly releasing an inference acceleration solution in the near future.