cerspense / zeroscope_v2_XL

huggingface.co
Total runs: 166
24-hour runs: 8
7-day runs: -1
30-day runs: -125
Model's Last Updated: July 04 2023
video-to-video

Introduction of zeroscope_v2_XL

Model Details of zeroscope_v2_XL

model example example outputs (courtesy of dotsimulate )

zeroscope_v2 XL

A watermark-free Modelscope-based video model capable of generating high quality video at 1024 x 576. This model was trained from the original weights with offset noise using 9,923 clips and 29,769 tagged frames at 24 frames, 1024x576 resolution.
zeroscope_v2_XL is specifically designed for upscaling content made with zeroscope_v2_576w using vid2vid in the 1111 text2video extension by kabachuha . Leveraging this model as an upscaler allows for superior overall compositions at higher resolutions, permitting faster exploration in 576x320 (or 448x256) before transitioning to a high-resolution render.

zeroscope_v2_XL uses 15.3gb of vram when rendering 30 frames at 1024x576

Using it with the 1111 text2video extension
  1. Download files in the zs2_XL folder.
  2. Replace the respective files in the 'stable-diffusion-webui\models\ModelScope\t2v' directory.
Upscaling recommendations

For upscaling, it's recommended to use the 1111 extension. It works best at 1024x576 with a denoise strength between 0.66 and 0.85. Remember to use the same prompt that was used to generate the original clip.

Usage in 🧨 Diffusers

Let's first install the libraries required:

$ pip install git+https://github.com/huggingface/diffusers.git
$ pip install transformers accelerate torch

Now, let's first generate a low resolution video using cerspense/zeroscope_v2_576w .

import torch
from diffusers import DiffusionPipeline, DPMSolverMultistepScheduler
from diffusers.utils import export_to_video

pipe = DiffusionPipeline.from_pretrained("cerspense/zeroscope_v2_576w", torch_dtype=torch.float16)
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
pipe.enable_model_cpu_offload()
pipe.enable_vae_slicing()
pipe.unet.enable_forward_chunking(chunk_size=1, dim=1) # disable if enough memory as this slows down significantly

prompt = "Darth Vader is surfing on waves"
video_frames = pipe(prompt, num_inference_steps=40, height=320, width=576, num_frames=36).frames
video_path = export_to_video(video_frames)

Next, we can upscale it using cerspense/zeroscope_v2_XL .

pipe = DiffusionPipeline.from_pretrained("cerspense/zeroscope_v2_XL", torch_dtype=torch.float16)
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
pipe.enable_model_cpu_offload()
pipe.enable_vae_slicing()

video = [Image.fromarray(frame).resize((1024, 576)) for frame in video_frames]

video_frames = pipe(prompt, video=video, strength=0.6).frames
video_path = export_to_video(video_frames, output_video_path="/home/patrick/videos/video_1024_darth_vader_36.mp4")

Here are some results:

Darth vader is surfing on waves.
Darth vader surfing in waves.
Known issues

Rendering at lower resolutions or fewer than 24 frames could lead to suboptimal outputs.

Thanks to camenduru , kabachuha , ExponentialML , dotsimulate , VANYA , polyware , tin2tin

Runs of cerspense zeroscope_v2_XL on huggingface.co

166
Total runs
8
24-hour runs
7
3-day runs
-1
7-day runs
-125
30-day runs

More Information About zeroscope_v2_XL huggingface.co Model

More zeroscope_v2_XL license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

zeroscope_v2_XL huggingface.co

zeroscope_v2_XL huggingface.co is an AI model on huggingface.co that provides zeroscope_v2_XL's model effect (), which can be used instantly with this cerspense zeroscope_v2_XL model. huggingface.co supports a free trial of the zeroscope_v2_XL model, and also provides paid use of the zeroscope_v2_XL. Support call zeroscope_v2_XL model through api, including Node.js, Python, http.

zeroscope_v2_XL huggingface.co Url

https://huggingface.co/cerspense/zeroscope_v2_XL

cerspense zeroscope_v2_XL online free

zeroscope_v2_XL huggingface.co is an online trial and call api platform, which integrates zeroscope_v2_XL's modeling effects, including api services, and provides a free online trial of zeroscope_v2_XL, you can try zeroscope_v2_XL online for free by clicking the link below.

cerspense zeroscope_v2_XL online free url in huggingface.co:

https://huggingface.co/cerspense/zeroscope_v2_XL

zeroscope_v2_XL install

zeroscope_v2_XL is an open source model from GitHub that offers a free installation service, and any user can find zeroscope_v2_XL on GitHub to install. At the same time, huggingface.co provides the effect of zeroscope_v2_XL install, users can directly use zeroscope_v2_XL installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

zeroscope_v2_XL install url in huggingface.co:

https://huggingface.co/cerspense/zeroscope_v2_XL

Url of zeroscope_v2_XL

zeroscope_v2_XL huggingface.co Url

Provider of zeroscope_v2_XL huggingface.co

cerspense
ORGANIZATIONS

Other API from cerspense

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 12 2023