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

  • Log In
  • Sign Up

Skywork
/
SkyReels-V2-I2V-1.3B-540P-Diffusers

Image-to-Video
Diffusers
Safetensors
English
SkyReelsV2ImageToVideoPipeline
video
video generation
Model card Files Files and versions
xet
Community
5

Instructions to use Skywork/SkyReels-V2-I2V-1.3B-540P-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Skywork/SkyReels-V2-I2V-1.3B-540P-Diffusers 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("Skywork/SkyReels-V2-I2V-1.3B-540P-Diffusers", 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
SkyReels-V2-I2V-1.3B-540P-Diffusers / tokenizer
21.5 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
howe's picture
howe
diffusers (#1)
2ebddae verified 9 months ago
  • special_tokens_map.json
    7.08 kB
    diffusers (#1) 9 months ago
  • spiece.model
    4.55 MB
    xet
    diffusers (#1) 9 months ago
  • tokenizer.json
    16.8 MB
    xet
    diffusers (#1) 9 months ago
  • tokenizer_config.json
    61.8 kB
    diffusers (#1) 9 months ago