Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Remade-AI
/
Zen

Image-to-Video
Diffusers
English
text-to-image
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

Instructions to use Remade-AI/Zen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Remade-AI/Zen 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("Wan-AI/Wan2.1-I2V-14B-480P,Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Remade-AI/Zen")
    
    prompt = "The video starts with a portrait of a rodent. The scene then transitions to the rodent's z3n1fy zen transformation as the rodent is wearing a pink robe with a white shirt underneath, with a zen garden background. The rodent is facing the camera with a neutral expression. The background appears to be blurred and out of focus. The scene then transitions again to show the transformed rodent, in what appears to be a garden setting. The rodent is now wearing a black kimono with white floral designs and a white belt. The rodent carries a basket in one hand and a colorful fan in the other. The rodent is walking down a pathway lined with hedges and greenery. The z3n1fy zen transformation is complete. The rodent has a neutral expression, looking directly at the camera."
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png")
    
    image = pipe(image=input_image, prompt=prompt).frames[0]
    export_to_video(output, "output.mp4")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
Zen / example_videos
14.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Remade's picture
Remade
upload man_zen.gif
2e6f9d5 verified about 1 year ago
  • man_zen.gif
    11.1 MB
    xet
    upload man_zen.gif about 1 year ago
  • man_zen.mp4
    1.2 MB
    xet
    Upload 3 files about 1 year ago
  • rodent_zen.mp4
    1.21 MB
    xet
    Upload 3 files about 1 year ago
  • thanos_zen.mp4
    1.34 MB
    xet
    Upload 3 files about 1 year ago