Image-to-Video
Diffusers
Safetensors
English
CogVideoXImageToVideoPipeline
cogvideox
video-generation
thudm
Instructions to use zai-org/CogVideoX-5b-I2V with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use zai-org/CogVideoX-5b-I2V with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("zai-org/CogVideoX-5b-I2V", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Rename README.md to download
#22 opened about 1 month ago
by
Jesustepez
Rename README.md to download
#21 opened about 1 month ago
by
Jesustepez
Create mod
#20 opened 4 months ago
by
khorne829
Time for CogVideo 2?
#19 opened 9 months ago
by
natalie5
Request: DOI
#18 opened 10 months ago
by
johnnyyy123
Improve model card with pipeline tag and library name
#17 opened about 1 year ago
by
nielsr
Request: DOI
1
#14 opened over 1 year ago
by
greenartworker
'AutoencoderKLCogVideoX' object has no attribute '_clear_fake_context_parallel_cache'
1
#11 opened over 1 year ago
by
oscarprofreelance
Does "num_videos_per_prompt" arg will output multiple videos per prompt if I change the number to larger than 1?
#10 opened over 1 year ago
by
mayukitan
getting a strange error...
2
#9 opened over 1 year ago
by
OnyxMeow
Not working
4
#8 opened over 1 year ago
by
MikeT4
Is 2B-I2V model coming?
1
#7 opened over 1 year ago
by
MikeT4
想问一下文生视频和图生视频的模型区别
1
#6 opened over 1 year ago
by
aliang
Green Screen Issue ?
2
#5 opened over 1 year ago
by
Mazequeen
Multi-GPU inference: RuntimeError: Expected all tensors to be on the same device
🔥 1
3
#4 opened over 1 year ago
by
Butzermoggel
Getting CogVideoXPatchEmbed does not have pos_embedding.
❤️ 2
#2 opened over 1 year ago
by
Ozzymuppet
Create a video
1
#1 opened over 1 year ago
by
Achrafbenha