Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

SkyReels-V2

> 编程语言
Open source

SkyReels-V2: Infinite-length Film Generative model

7.3K stars0 likes1 views
WebsiteGitHub

About

SkyReels-V2: Infinite-length Film Generative model

SkyReels V2: Infinite-Length Film Generative Model

Technical Report · Playground · Discord · Hugging Face · ModelScope


Welcome to the SkyReels V2 repository! Here, you'll find the model weights and inference code for our infinite-length film generative models. To the best of our knowledge, it represents the first open-source video generative model employing AutoRegressive Diffusion-Forcing architecture that achieves the SOTA performance among publicly available models.

News!!

  • Jan 29, 2026: We launched the API for the SkyReels-V3 models on the apifree.ai.
  • Jan 29, 2026: We release the inference code and model weights of SkyReels-V3.
  • Jun 1, 2025: We published the technical report, SkyReels-Audio: Omni Audio-Conditioned Talking Portraits in Video Diffusion Transformers.
  • May 16, 2025: We release the inference code for video extension and start/end frame control in diffusion forcing model.
  • Apr 24, 2025: We release the 720P models, SkyReels-V2-DF-14B-720P and SkyReels-V2-I2V-14B-720P. The former facilitates infinite-length autoregressive video generation, and the latter focuses on Image2Video synthesis.
  • Apr 21, 2025: We release the inference code and model weights of SkyReels-V2 Series Models and the video captioning model SkyCaptioner-V1 .
  • Apr 3, 2025: We also release SkyReels-A2. This is an open-sourced controllable video generation framework capable of assembling arbitrary visual elements.
  • Feb 18, 2025: we released SkyReels-A1. This is an open-sourced and effective framework for portrait image animation.
  • Feb 18, 2025: We released SkyReels-V1. This is the first and most advanced open-source human-centric video foundation model.

Demos

The demos above showcase 30-second videos generated using our SkyReels-V2 Diffusion Forcing model.

TODO List

  • Technical Report
  • Checkpoints of the 14B and 1.3B Models Series
  • Single-GPU & Multi-GPU Inference Code
  • SkyCaptioner-V1: A Video Captioning Model
  • Prompt Enhancer
  • Diffusers integration
  • Checkpoints of the 5B Models Series
  • Checkpoints of the Camera Director Models
  • Checkpoints of the Step & Guidance Distill Model

Quickstart

Installation

bash
# clone the repository.
git clone https://github.com/SkyworkAI/SkyReels-V2
cd SkyReels-V2
# Install dependencies. Test environment uses Python 3.10.12.
pip install -r requirements.txt

Model Download

You can download our models from Hugging Face:

Type Model Variant Recommended Height/Width/Frame Link
Diffusion Forcing 1.3B-540P 544 * 960 * 97f Huggingface ModelScope
5B-540P 544 * 960 * 97f Coming Soon
5B-720P 720 * 1280 * 121f Coming Soon
14B-540P 544 * 960 * 97f Huggingface ModelScope
14B-720P 720 * 1280 * 121f Huggingface ModelScope
Text-to-Video 1.3B-540P 544 * 960 * 97f Coming Soon
5B-540P 544 * 960 * 97f Coming Soon
5B-720P 720 * 1280 * 121f Coming Soon
14B-540P 544 * 960 * 97f Huggingface ModelScope
14B-720P 720 * 1280 * 121f Huggingface ModelScope
Image-to-Video 1.3B-540P 544 * 960 * 97f Huggingface ModelScope
5B-540P 544 * 960 * 97f Coming Soon
5B-720P 720 * 1280 * 121f Coming Soon
14B-540P 544 * 960 * 97f Huggingface ModelScope
14B-720P 720 * 1280 * 121f Huggingface ModelScope
Camera Director 5B-540P 544 * 960 * 97f Coming Soon
5B-720P 720 * 1280 * 121f Coming Soon
14B-720P 720 * 1280 * 121f Coming Soon

After downloading, set the model path in your generation commands:

Single GPU Inference

  • Diffusion Forcing for Long Video Generation

The Diffusion Forcing version model allows us to generate Infinite-Length videos. This model supports both text-to-video (T2V) and image-to-video (I2V) tasks, and it can perform inference in both synchronous and asynchronous modes. Here we demonstrate 2 running scripts as examples for long video generation. If you want to adjust the inference parameters, e.g., the duration of video, inference mode, read the Note below first.

synchronous generation for 10s video

…

asynchronous generation for 30s video

bash
model_id=Skywork/SkyReels-V2-DF-14B-540P
# asynchronous inference
python3 generate_video_df.py \
  --model_id ${model_id} \
  --resolution 540P \
  --ar_step 5 \
  --causal_block_size 5 \
  --base_num_frames 97 \
  --num_frames 737 \
  --overlap_history 17 \
  --prompt "A graceful white swan with a curved neck and delicate feathers swimming in a serene lake at dawn, its reflection perfectly mirrored in the still water as mist rises from the surface, with the swan occasionally dipping its head into the water to feed." \
  --addnoise_condition 20 \
  --offload

Text-to-video with diffusers:

…

Image-to-video with diffusers:

…

Note:

  • If you want to run the image-to-video (I2V) task, add --image ${image_path} to your command and it is also better to use text-to-video (T2V)-like prompt which includes some descriptions of the first-frame image.
  • For long video generation, you can just switch the --num_frames, e.g., --num_frames 257 for 10s video, --num_frames 377 for 15s video, --num_frames 737 for 30s video, --num_frames 1457 for 60s video. The number is not strictly aligned with the logical frame number for specified time duration, but it is aligned with some training parameters, which means it may perform better. When you use asynchronous inference with causal_block_size > 1, the --num_frames should be carefully set.
  • You can use --ar_step 5 to enable asynchronous inference. When asynchronous inference, --causal_block_size 5 is recommended while it is not supposed to be set for synchronous generation. REMEMBER that the frame latent number inputted into the model in every iteration, e.g., base frame latent number (e.g., (97-1)//4+1=25 for base_num_frames=97) and (e.g., (237-97-(97-17)x1+17-1)//4+1=20 for base_num_frames=97, num_frames=237, overlap_history=17) for the last iteration, MUST be divided by causal_block_size. If you find it too hard to calculate and set proper values, just use our recommended setting above :). Asynchronous inference will take more steps to diffuse the whole sequence which means it will be SLOWER than synchronous mode. In our experiments, asynchronous inference may improve the instruction following and visual consistent performance.
  • To reduce peak VRAM, just lower the --base_num_frames, e.g., to 77 or 57, while keeping the same generative length --num_frames you want to generate. This may slightly reduce video quality, and it should not be set too small.
  • --addnoise_condition is used to help smooth the long video generation by adding some noise to the clean condition. Too large noise can cause the inconsistency as well. 20 is a recommended value, and you may try larger ones, but it is recommended to not exceed 50.
  • Generating a 540P video using the 1.3B model requires approximately 14.7GB peak VRAM, while the same resolution video using the 14B model demands around 51.2GB peak VRAM.
  • Video Extention
bash
model_id=Skywork/SkyReels-V2-DF-14B-540P
# video extention
python3 generate_video_df.py \
  --model_id ${model_id} \
  --resolution 540P \
  --ar_step 0 \
  --base_num_frames 97 \
  --num_frames 120 \
  --overlap_history 17 \
  --prompt ${prompt} \
  --addnoise_condition 20 \
  --offload \
  --use_ret_steps \
  --teacache \
  --teacache_thresh 0.3 \
  --video_path ${video_path}

Note:

  • When performing video extension, you need to pass the --video_path ${video_path} parameter to specify the video to be extended.
  • Start/End Frame Control
bash
model_id=Skywork/SkyRee

Issues· 366 open

View all issuesOpen on GitHub
  • #495

    موزیک ویدئو

    Updated Sep 29, 2026
  • #494

    قهوه لاغری

    Updated Sep 29, 2026
  • #493

    در مورد قهوه لاغری یک ویدیو بسازید

    Updated Sep 29, 2026
  • #492

    طبس

    Updated Sep 27, 2026
  • #491

    சுகேசன் பல்லு

    Updated Sep 27, 2026
  • #490

    Late at night, the brother finally comes home.

    Updated Sep 26, 2026
  • #488

    வரி ஏய்ப்பு

    Updated Sep 24, 2026
  • #487

    “தெனாலிராமனின் புத்திசாலித்தனம்”

    Updated Sep 20, 2026
  • #486

    make a boy smile

    Updated Sep 20, 2026
  • #485

    skyreels

    Updated Sep 19, 2026

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言