Instructions to use Remade-AI/Tsunami with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Tsunami 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", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Remade-AI/Tsunami") prompt = "The video shows a coastal village hit by a t5un@m1 realistic tsunami. Buildings are flooded, boats are capsized, and debris litters the streets, while people are seen evacuating the area." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Create README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121---license: apache-2.0language:- enbase_model:- Wan-AI/Wan2.1-T2V-14Bpipeline_tag: text-to-videotags:- text-to-video- text-to-image- lora- diffusers- template:diffusion-lorawidget:- text: >- The video shows a coastal village hit by a t5un@m1 realistic tsunami. Buildings are flooded, boats are capsized, and debris litters the streets, while people are seen evacuating the area. output: url: example_videos/tsunami1.mp4- text: >- The video is of a beach with many boats and jet skis. The water recedes and then a t5un@m1 realistic tsunami rushes in, sweeping away all the objects on the beach. The sky is sunny. output: url: example_videos/tsunami2.mp4- text: >- The video shows a t5un@m1 realistic tsunami wave crashing into a coastal area. The wave is large and powerful, and it destroys everything in its path. There are several boats and buildings in the path of the wave. The water is a murky brown color. output: url: example_videos/tsunami3.mp4- text: >- The video shows a coastal city after a t5un@m1 realistic tsunami. The city is flooded with water, and there are many damaged buildings and cars. The sky is a dark gray. output: url: example_videos/tsunami4.mp4---
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> <h1 style="color: #24292e; margin-top: 0;">Realistic Tsunami LoRA for Wan2.1 14B T2V</h1> <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Overview</h2> <p>This LoRA is trained on the Wan2.1 14B T2V model and allows you to generate videos of realistic tsunamis!</p> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Features</h2> <ul style="margin-bottom: 0;"> <li>Trained on the Wan2.1 14B T2V base model</li> <li>Consistent results across different object and scenes types</li> <li>Simple prompt examples that are easy to adapt</li> </ul> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Community</h2> <ul style="margin-bottom: 0;"> <li><b>Discord:</b> <a href="https://discord.com/invite/7tsKMCbNFC" style="color: #0366d6; text-decoration: none;">Join our community</a> to generate videos with this LoRA for free</li> <li><b>Request LoRAs:</b> We're training and open-sourcing Wan2.1 LoRAs for free - join our Discord to make requests!</li> </ul> </div></div>
<Gallery />
# Model File and Inference Workflow
## 📥 Download Links:
- [tsunami_4_epochs.safetensors](./tsunami_4_epochs.safetensors) - LoRA Model File- [wan_txt2vid_lora_workflow.json](./workflow/wan_txt2vid_lora_workflow.json) - Wan T2V with LoRA Workflow for ComfyUI
---<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Recommended Settings</h2> <ul style="margin-bottom: 0;"> <li><b>LoRA Strength:</b> 1.0</li> <li><b>Embedded Guidance Scale:</b> 6.0</li> <li><b>Flow Shift:</b> 5.0</li> </ul> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Trigger Words</h2> <p>The key trigger phrase is: <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;">t5un@m1 realistic tsunami</code></p> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Prompt Template</h2> <p>For prompting, check out the example prompts; this way of prompting seems to work very well.</p>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2> <p>This LoRA works with a modified version of <a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/blob/main/example_workflows/wanvideo_T2V_example_02.json" style="color: #0366d6; text-decoration: none;">Kijai's Wan Video Wrapper workflow</a>. The main modification is adding a Wan LoRA node connected to the base model.</p> <img src="./workflow/workflow_screenshot.png" style="width: 100%; border-radius: 8px; margin: 15px 0; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"> <p>See the Downloads section above for the modified workflow.</p> </div></div>
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Model Information</h2> <p>The model weights are available in Safetensors format. See the Downloads section above.</p> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Training Details</h2> <ul style="margin-bottom: 0;"> <li><b>Base Model:</b> Wan2.1 14B T2V</li> <li><b>Training Data:</b> Trained on 6 minutes of video comprised of 74 short clips (each clip captioned separately) of various real tsunami videos.</li> <li><b> Epochs:</b> 20</li> </ul> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Additional Information</h2> <p>Training was done using <a href="https://github.com/tdrussell/diffusion-pipe" style="color: #0366d6; text-decoration: none;">Diffusion Pipe for Training</a></p> </div>
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> <h2 style="color: #24292e; margin-top: 0;">Acknowledgments</h2> <p style="margin-bottom: 0;">Special thanks to Kijai for the ComfyUI Wan Video Wrapper and tdrussell for the training scripts!</p> </div></div>README.mdAdded+121