Downloads · 30 days
2
0% of all-time downloads
nachikethmurthy666/text-to-video-ms-1.7b
text-to-video-ms-1.7b is a text-to-video model from nachikethmurthy666. Use it when you need video from a text prompt. It is set up for diffusers. The card lists the license as creativeml-openrail-m.
This model is a rehosted and learner-accessible version of the original damo-vilab/text-to-video-ms-1.7b from Alibaba DAMO.
Downloads · 30 days
2
0% of all-time downloads
All-time downloads
751
Public
Parameters
1.4B
22 GB on disk
Likes
1
Public
Click a slice to open those files.
.bin11 GB · 50%
From the Hugging Face model README
This model is a rehosted and learner-accessible version of the original damo-vilab/text-to-video-ms-1.7b from Alibaba DAMO.
It enables text-to-video generation using diffusion models and is ideal for researchers, learners, and creators building cutting-edge Generative AI experiences.
Install the Libraries
$ pip install diffusers transformers accelerate torch
from diffusers import DiffusionPipeline
import torch
from diffusers.utils import export_to_video
pipe = DiffusionPipeline.from_pretrained(
"nachikethmurthy666/text-to-video-ms-1.7b",
torch_dtype=torch.float16,
variant="fp16"
).to("cuda")
pipe.enable_model_cpu_offload()
prompt = "An astronaut riding a horse on Mars at sunset"
video = pipe(prompt, num_inference_steps=25).frames[0]
video_path = export_to_video(video)