Instructions to use Remade-AI/Gun-Shooting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Gun-Shooting 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/Gun-Shooting") prompt = "Luffy looks intently off-camera and the camera zooms out as Luffy p5lls g4un pulls a gun and starts shooting." 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
Cakeify workflow is mistakingly in the Gunshooting Repo
#1
by gjnave - opened
incorrect workflow
thanks for all this! so cool
Appreciate the spot! Actually the workflow in terms of all the nodes and connections is exactly the same across all the Wan2.1 I2V LoRAs, it's just the LoRA selection, prompt and input image that are different