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

  • Log In
  • Sign Up

passenger12138
/
Transform2Venom

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

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

  • Libraries
  • Diffusers

    How to use passenger12138/Transform2Venom 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("passenger12138/Transform2Venom")
    
    prompt = "\"The video begins with a anime young character with long hair. 5en3m venom transformation. Transform into a venom character transformation. Venom is depicted with his iconic black symbiote body, large white eyes with black pupils, sharp teeth, and a menacing expression. The transformation is smooth and seamless, blending the human figure with the monstrous .\""
    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
  • Draw Things
Transform2Venom / workflow
15.2 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
passenger12138's picture
passenger12138
upload
8816b1e 12 months ago
  • wan_img2video_lora_workflow.json
    15.2 kB
    upload 12 months ago