Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
base_model:
|
6 |
+
- Wan-AI/Wan2.1-I2V-14B-480P
|
7 |
+
- Wan-AI/Wan2.1-I2V-14B-480P-Diffusers
|
8 |
+
pipeline_tag: image-to-video
|
9 |
+
tags:
|
10 |
+
- text-to-image
|
11 |
+
- lora
|
12 |
+
- diffusers
|
13 |
+
- template:diffusion-lora
|
14 |
+
- image-to-video
|
15 |
+
widget:
|
16 |
+
- text: >-
|
17 |
+
The video begins with a man. He begins the 54mur41 samurai transformation, and becomes a samurai. He is wearing a traditional samurai outfit, and is holding a katana. The background behind him is a misty mountainous landscape.
|
18 |
+
output:
|
19 |
+
url: example_videos/man_samurai.mp4
|
20 |
+
- text: >-
|
21 |
+
The video begins with a rabbit. The rabbit begins the 54mur41 samurai transformation, and becomes a samurai. The rabbit is wearing a traditional samurai outfit, and is holding a katana. The background behind the rabbit is a misty mountainous landscape.
|
22 |
+
output:
|
23 |
+
url: example_videos/rabbit_samurai.mp4
|
24 |
+
---
|
25 |
+
|
26 |
+
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
27 |
+
<h1 style="color: #24292e; margin-top: 0;">Samurai Effect LoRA for Wan2.1 14B I2V 480p</h1>
|
28 |
+
|
29 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
30 |
+
<h2 style="color: #24292e; margin-top: 0;">Overview</h2>
|
31 |
+
<p>This LoRA is trained on the Wan2.1 14B I2V 480p model and allows you to make any person/object in an image become a Samurai version of themselves!</p>
|
32 |
+
</div>
|
33 |
+
|
34 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
35 |
+
<h2 style="color: #24292e; margin-top: 0;">Features</h2>
|
36 |
+
<ul style="margin-bottom: 0;">
|
37 |
+
<li>Transform any image into a video of the subject as a Samurai version of themselves!</li>
|
38 |
+
<li>Trained on the Wan2.1 14B 480p I2V base model</li>
|
39 |
+
<li>Consistent results across different object types</li>
|
40 |
+
<li>Simple prompt structure that's easy to adapt</li>
|
41 |
+
</ul>
|
42 |
+
</div>
|
43 |
+
|
44 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
45 |
+
<h2 style="color: #24292e; margin-top: 0;">Community</h2>
|
46 |
+
<ul style="margin-bottom: 0;">
|
47 |
+
<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>
|
48 |
+
<li><b>Request LoRAs:</b> We're training and open-sourcing Wan2.1 LoRAs for free - join our Discord to make requests!</li>
|
49 |
+
</ul>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
|
53 |
+
<Gallery />
|
54 |
+
|
55 |
+
|
56 |
+
# Model File and Inference Workflow
|
57 |
+
|
58 |
+
## 📥 Download Links:
|
59 |
+
|
60 |
+
- [samurai_50_epochs.safetensors](./samurai_50_epochs.safetensors) - LoRA Model File
|
61 |
+
- [wan_I2V_LoRA_workflow.json](./wan_I2V_LoRA_workflow.json) - Wan I2V with LoRA Workflow for ComfyUI
|
62 |
+
|
63 |
+
---
|
64 |
+
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
65 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
66 |
+
<h2 style="color: #24292e; margin-top: 0;">Recommended Settings</h2>
|
67 |
+
<ul style="margin-bottom: 0;">
|
68 |
+
<li><b>LoRA Strength:</b> 1.0</li>
|
69 |
+
<li><b>Embedded Guidance Scale:</b> 6.0</li>
|
70 |
+
<li><b>Flow Shift:</b> 5.0</li>
|
71 |
+
</ul>
|
72 |
+
</div>
|
73 |
+
|
74 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
75 |
+
<h2 style="color: #24292e; margin-top: 0;">Trigger Words</h2>
|
76 |
+
<p>The key trigger phrase is: <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;"> 54mur41 samurai transformation</code></p>
|
77 |
+
</div>
|
78 |
+
|
79 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
80 |
+
<h2 style="color: #24292e; margin-top: 0;">Prompt Template</h2>
|
81 |
+
<p>For best results, try following the structure of the prompt examples above. These worked well for me.</p>
|
82 |
+
</div>
|
83 |
+
|
84 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
85 |
+
<h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
|
86 |
+
<p>This LoRA works with a modified version of <a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/blob/main/example_workflows/wanvideo_480p_I2V_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>
|
87 |
+
<p>See the Downloads section above for the modified workflow.</p>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
|
91 |
+
<div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
|
92 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
93 |
+
<h2 style="color: #24292e; margin-top: 0;">Model Information</h2>
|
94 |
+
<p>The model weights are available in Safetensors format. See the Downloads section above.</p>
|
95 |
+
</div>
|
96 |
+
|
97 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
98 |
+
<h2 style="color: #24292e; margin-top: 0;">Training Details</h2>
|
99 |
+
<ul style="margin-bottom: 0;">
|
100 |
+
<li><b>Base Model:</b> Wan2.1 14B I2V 480p</li>
|
101 |
+
<li><b>Training Data:</b> Trained on 35 seconds of video comprised of 7 short clips (each clip captioned separately) of people transforming into a Samurai!</li>
|
102 |
+
<li><b>Epochs:</b> 50</li>
|
103 |
+
</ul>
|
104 |
+
</div>
|
105 |
+
|
106 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
107 |
+
<h2 style="color: #24292e; margin-top: 0;">Additional Information</h2>
|
108 |
+
<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>
|
109 |
+
</div>
|
110 |
+
|
111 |
+
<div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
|
112 |
+
<h2 style="color: #24292e; margin-top: 0;">Acknowledgments</h2>
|
113 |
+
<p style="margin-bottom: 0;">Special thanks to Kijai for the ComfyUI Wan Video Wrapper and tdrussell for the training scripts!</p>
|
114 |
+
</div>
|
115 |
+
</div>
|