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

  • Log In
  • Sign Up

TencentARC
/
VideoPainter

Diffusers
Safetensors
English
video
video inpainting
video editing
Model card Files Files and versions
xet
Community
2

Instructions to use TencentARC/VideoPainter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use TencentARC/VideoPainter with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("TencentARC/VideoPainter", 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
VideoPainter / assets
3.71 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
BianYx's picture
BianYx
Upload teaser.jpg
9e856aa verified about 1 year ago
  • method.jpg
    995 kB
    xet
    Upload method.jpg about 1 year ago
  • teaser.jpg
    2.72 MB
    xet
    Upload teaser.jpg about 1 year ago