Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

vdo
/
CogVideoX-5b

Text-to-Video
Diffusers
Safetensors
English
CogVideoXPipeline
cogvideox
video-generation
thudm
Model card Files Files and versions
xet
Community

Instructions to use vdo/CogVideoX-5b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use vdo/CogVideoX-5b with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("vdo/CogVideoX-5b", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
CogVideoX-5b
21.1 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
camenduru's picture
camenduru
thanks to THUDM ❤
53ee424 verified over 1 year ago
  • scheduler
    thanks to THUDM ❤ over 1 year ago
  • text_encoder
    thanks to THUDM ❤ over 1 year ago
  • tokenizer
    thanks to THUDM ❤ over 1 year ago
  • transformer
    thanks to THUDM ❤ over 1 year ago
  • vae
    thanks to THUDM ❤ over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • LICENSE
    5.7 kB
    thanks to THUDM ❤ over 1 year ago
  • README.md
    15.6 kB
    thanks to THUDM ❤ over 1 year ago
  • README_zh.md
    14.7 kB
    thanks to THUDM ❤ over 1 year ago
  • configuration.json
    56 Bytes
    thanks to THUDM ❤ over 1 year ago
  • model_index.json
    411 Bytes
    thanks to THUDM ❤ over 1 year ago