Remade commited on
Commit
d031d97
·
verified ·
1 Parent(s): 47723e0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +128 -0
README.md ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
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
+ Luffy looks intently off-camera and the camera zooms out as Luffy p5lls g4un pulls a gun and starts shooting.
18
+ output:
19
+ url: example_videos/luffy_gun.mp4
20
+ - text: >-
21
+ Neymar looks intently off-camera in the rain, rain drops begin to fall and the camera zooms out as he p5lls g4un pulls a gun and starts shooting.
22
+ output:
23
+ url: example_videos/neymar_gun.mp4
24
+ - text: >-
25
+ A rodent looks intently off-camera and the camera zooms out as the rodent p5lls g4un pulls a gun and starts shooting.
26
+ output:
27
+ url: example_videos/pika_gun.mp4
28
+ - text: >-
29
+ A woman looks intently off-camera and the camera zooms out as she p5lls g4un pulls a gun and starts shooting.
30
+ output:
31
+ url: example_videos/woman_gun.mp4
32
+ ---
33
+
34
+ <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
35
+ <h1 style="color: #24292e; margin-top: 0;">Gun Shooting Effect LoRA for Wan2.1 14B I2V 480p</h1>
36
+
37
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
38
+ <h2 style="color: #24292e; margin-top: 0;">Overview</h2>
39
+ <p>This LoRA is trained on the Wan2.1 14B I2V 480p model and allows you to make any person/object in an image shoot a gun. The effect works on a wide variety of objects, from animals to people!</p>
40
+ </div>
41
+
42
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
43
+ <h2 style="color: #24292e; margin-top: 0;">Features</h2>
44
+ <ul style="margin-bottom: 0;">
45
+ <li>Transform any image into a video of the subject pulling out and shooting a gun</li>
46
+ <li>Trained on the Wan2.1 14B 480p I2V base model</li>
47
+ <li>Consistent results across different object types</li>
48
+ <li>Simple prompt structure that's easy to adapt</li>
49
+ </ul>
50
+ </div>
51
+
52
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
53
+ <h2 style="color: #24292e; margin-top: 0;">Community</h2>
54
+ <ul style="margin-bottom: 0;">
55
+ <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>
56
+ <li><b>Request LoRAs:</b> We're training and open-sourcing Wan2.1 LoRAs for free - join our Discord to make requests!</li>
57
+ </ul>
58
+ </div>
59
+ </div>
60
+
61
+ <Gallery />
62
+
63
+
64
+ # Model File and Inference Workflow
65
+
66
+ ## 📥 Download Links:
67
+
68
+ - [gun_20_epochs.safetensors](./gun_20_epochs.safetensors) - LoRA Model File
69
+ - [wan_img2vid_lora_workflow.json](./workflow/wan_img2vid_lora_workflow.json) - Wan I2V with LoRA Workflow for ComfyUI
70
+
71
+ ---
72
+ <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
73
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
74
+ <h2 style="color: #24292e; margin-top: 0;">Recommended Settings</h2>
75
+ <ul style="margin-bottom: 0;">
76
+ <li><b>LoRA Strength:</b> 1.0</li>
77
+ <li><b>Embedded Guidance Scale:</b> 6.0</li>
78
+ <li><b>Flow Shift:</b> 5.0</li>
79
+ </ul>
80
+ </div>
81
+
82
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
83
+ <h2 style="color: #24292e; margin-top: 0;">Trigger Words</h2>
84
+ <p>The key trigger phrase is: <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;"> p5lls g4un pulls a gun and starts shooting.</code></p>
85
+ </div>
86
+
87
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
88
+ <h2 style="color: #24292e; margin-top: 0;">Prompt Template</h2>
89
+ <p>For best results, use this prompt structure:</p>
90
+ <div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; margin: 10px 0;">
91
+ <i>A [object] looks intently off-camera and the camera zooms out as the [object] p5lls g4un pulls a gun and starts shooting.</i>
92
+ </div>
93
+ <p>Simply replace <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;">[object]</code> with whatever you want to see pulling a gun out and shooting!</p>
94
+ </div>
95
+
96
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
97
+ <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
98
+ <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>
99
+ <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);">
100
+ <p>See the Downloads section above for the modified workflow.</p>
101
+ </div>
102
+ </div>
103
+
104
+ <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;">
105
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
106
+ <h2 style="color: #24292e; margin-top: 0;">Model Information</h2>
107
+ <p>The model weights are available in Safetensors format. See the Downloads section above.</p>
108
+ </div>
109
+
110
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
111
+ <h2 style="color: #24292e; margin-top: 0;">Training Details</h2>
112
+ <ul style="margin-bottom: 0;">
113
+ <li><b>Base Model:</b> Wan2.1 14B I2V 480p</li>
114
+ <li><b>Training Data:</b> Trained on 1 minute of video comprised of 10 short clips (each clip captioned separately) of people pulling up a gun and starting to shoot</li>
115
+ <li><b>Epochs:</b> 16</li>
116
+ </ul>
117
+ </div>
118
+
119
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
120
+ <h2 style="color: #24292e; margin-top: 0;">Additional Information</h2>
121
+ <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>
122
+ </div>
123
+
124
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
125
+ <h2 style="color: #24292e; margin-top: 0;">Acknowledgments</h2>
126
+ <p style="margin-bottom: 0;">Special thanks to Kijai for the ComfyUI Wan Video Wrapper and tdrussell for the training scripts!</p>
127
+ </div>
128
+ </div>