Instructions to use Muapi/sharingan-eyes-effect-wan-2.1-i2v-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Muapi/sharingan-eyes-effect-wan-2.1-i2v-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wan-ai/Wan2.1-T2V-14B-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Muapi/sharingan-eyes-effect-wan-2.1-i2v-lora") prompt = "A man with short gray hair plays a red electric guitar." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Sharingan Eyes Effect | Wan 2.1 I2V LoRa
Base model: Wan Video 14B i2v 480p Trained words: Sh4r1ng4nEy3s, The video shows a close up of an person's face where their eyes are closed at the beginning. The camera zooms in closer and closer to the closed eye of the person. The person's eye starts slowly bleeding tears so that there are two streams of blood, then the person opens their eyes dramatically to reveal a Sh4r1ng4nEy3s effect in his eye, and at the same time, visual effect of light radiates outward around the border of the video.
๐ง Usage (Python)
๐ Get your MUAPI key from muapi.ai/access-keys
import requests, os
url = "https://api.muapi.ai/api/v1/wan21_t2v"
headers = {"Content-Type": "application/json", "x-api-key": os.getenv("MUAPIAPP_API_KEY")}
payload = {
"prompt": "masterpiece, best quality",
"lora_model": "sharingan-eyes-effect-wan-21-i2v-lora",
"lora_strength": 1.0,
"width": 832,
"height": 480,
"num_frames": 81
}
print(requests.post(url, headers=headers, json=payload).json())
- Downloads last month
- 9
