Image-Text-to-Video
MiniMax H3
English
lora
video-generation
reference-to-video
token-pruning
distillation
Instructions to use HikariDawn/CodecOPSD-H3-Ref2VA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
Update model card
Browse files- .gitattributes +12 -0
- README.md +57 -3
- assets/gallery_ref2va.webp +3 -0
- assets/shortfilm/film.mp4 +3 -0
- assets/shortfilm/part1.mp4 +3 -0
- assets/shortfilm/part1_greybox.mp4 +3 -0
- assets/shortfilm/part1_in5.jpg +0 -0
- assets/shortfilm/part1_in6.jpg +0 -0
- assets/shortfilm/part1_in7.jpg +0 -0
- assets/shortfilm/part2.mp4 +3 -0
- assets/shortfilm/part2_5.jpg +0 -0
- assets/shortfilm/part2_6.jpg +0 -0
- assets/shortfilm/part2_7.jpg +0 -0
- assets/shortfilm/part2_greybox.mp4 +3 -0
- assets/shortfilm/part3.mp4 +3 -0
- assets/shortfilm/part3_5.jpg +0 -0
- assets/shortfilm/part3_6.jpg +0 -0
- assets/shortfilm/part3_greybox.mp4 +3 -0
- assets/shortfilm/part4.mp4 +3 -0
- assets/shortfilm/part4_5.jpg +0 -0
- assets/shortfilm/part4_6.jpg +0 -0
- assets/shortfilm/part4_7.jpg +0 -0
- assets/shortfilm/part4_greybox.mp4 +3 -0
- assets/shortfilm/part5.mp4 +3 -0
- assets/shortfilm/part5_5.jpg +0 -0
- assets/shortfilm/part5_6.jpg +0 -0
- assets/shortfilm/part5_7.jpg +0 -0
- assets/shortfilm/part5_8.jpg +0 -0
- assets/shortfilm/part5_greybox.mp4 +3 -0
- assets/shortfilm/shared0.jpg +0 -0
- assets/shortfilm/shared1.jpg +0 -0
- assets/shortfilm/shared2.jpg +0 -0
- assets/shortfilm/shared3.jpg +0 -0
- assets/shortfilm/shared4.jpg +0 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/codecopsd_header.gif filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/gallery_ref2va.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
assets/codecopsd_header.gif filter=lfs diff=lfs merge=lfs -text
|
| 37 |
assets/gallery_ref2va.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/gallery_ref2va.webp filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/shortfilm/film.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/shortfilm/part1_greybox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/shortfilm/part1.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
assets/shortfilm/part2_greybox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
assets/shortfilm/part2.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
assets/shortfilm/part3_greybox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
assets/shortfilm/part3.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
assets/shortfilm/part4_greybox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
assets/shortfilm/part4.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
assets/shortfilm/part5_greybox.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
assets/shortfilm/part5.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -58,11 +58,65 @@ This repo holds the CodecOPSD LoRA for **MiniMax-H3 Ref2VA** (reference-to-video
|
|
| 58 |
| CodecOPSD on Qwen-Image 2.1 | Qwen-Image 2.1 | | Coming soon |
|
| 59 |
| CodecOPSD on FLUX 3 Image Klein | FLUX 3 Image Klein | | Coming soon |
|
| 60 |
|
| 61 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
## Run it
|
| 68 |
|
|
|
|
| 58 |
| CodecOPSD on Qwen-Image 2.1 | Qwen-Image 2.1 | | Coming soon |
|
| 59 |
| CodecOPSD on FLUX 3 Image Klein | FLUX 3 Image Klein | | Coming soon |
|
| 60 |
|
| 61 |
+
## Short Film
|
| 62 |
+
|
| 63 |
+
**Robot versus Monster**: made with MiniMax-H3 Ref2VA + CodecOPSD in five generations, no post-editing.<br>
|
| 64 |
+
<sub>Greybox video + pictures → video · 768 x 1344, 754 frames · tokens 282,768 → 93,862 (−67%) · denoising 357.9 s on 1x B200</sub>
|
| 65 |
+
|
| 66 |
+
<video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/film.mp4" autoplay muted loop playsinline controls width="100%"></video>
|
| 67 |
+
|
| 68 |
+
Conditions of each part (hatched = tokens dropped by codec pruning):
|
| 69 |
+
|
| 70 |
+
<details>
|
| 71 |
+
<summary><b>References of all five parts</b>: the mech (front, back), the monster, two scenes</summary>
|
| 72 |
+
|
| 73 |
+
<table><tr><td width="20%" align="center"><img src="assets/shortfilm/shared0.jpg" width="100%"><br><sub>Identity: mech, front −53%</sub></td><td width="20%" align="center"><img src="assets/shortfilm/shared1.jpg" width="100%"><br><sub>Identity: mech, back −54%</sub></td><td width="20%" align="center"><img src="assets/shortfilm/shared2.jpg" width="100%"><br><sub>Identity: monster −65%</sub></td><td width="20%" align="center"><img src="assets/shortfilm/shared3.jpg" width="100%"><br><sub>Scene: street −18%</sub></td><td width="20%" align="center"><img src="assets/shortfilm/shared4.jpg" width="100%"><br><sub>Scene: city from above −32%</sub></td></tr></table>
|
| 74 |
+
|
| 75 |
+
</details>
|
| 76 |
+
|
| 77 |
+
<details>
|
| 78 |
+
<summary><b>Part 1</b>: draws its blade, charges, takes off · 141 frames · tokens 53,568 → 18,906 (−65%) · 67.1 s</summary>
|
| 79 |
+
|
| 80 |
+
<table><tr><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part1.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Output, part 1</sub></td><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part1_greybox.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Greybox video −70%</sub></td></tr></table>
|
| 81 |
+
<table><tr><td width="33%" align="center"><img src="assets/shortfilm/part1_in6.jpg" width="100%"><br><sub>First frame −13%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part1_in7.jpg" width="100%"><br><sub>Last frame −16%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part1_in5.jpg" width="100%"><br><sub>Effect: thruster −87%</sub></td></tr></table>
|
| 82 |
+
|
| 83 |
+
</details>
|
| 84 |
+
|
| 85 |
+
<details>
|
| 86 |
+
<summary><b>Part 2</b>: charges, slapped away by the right hand, recovers · 175 frames · tokens 63,648 → 17,879 (−72%) · 80.2 s</summary>
|
| 87 |
+
|
| 88 |
+
<table><tr><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part2.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Output, part 2</sub></td><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part2_greybox.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Greybox video −78%</sub></td></tr></table>
|
| 89 |
+
<table><tr><td width="33%" align="center"><img src="assets/shortfilm/part2_6.jpg" width="100%"><br><sub>First frame −30%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part2_7.jpg" width="100%"><br><sub>Last frame −24%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part2_5.jpg" width="100%"><br><sub>Key pose: hand −52%</sub></td></tr></table>
|
| 90 |
|
| 91 |
+
</details>
|
| 92 |
+
|
| 93 |
+
<details>
|
| 94 |
+
<summary><b>Part 3</b>: giant-blade ultimate and the dive · 175 frames · tokens 62,112 → 21,538 (−65%) · 86.1 s</summary>
|
| 95 |
+
|
| 96 |
+
<table><tr><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part3.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Output, part 3</sub></td><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part3_greybox.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Greybox video −70%</sub></td></tr></table>
|
| 97 |
+
<table><tr><td width="50%" align="center"><img src="assets/shortfilm/part3_5.jpg" width="100%"><br><sub>First frame −23%</sub></td><td width="50%" align="center"><img src="assets/shortfilm/part3_6.jpg" width="100%"><br><sub>Last frame −25%</sub></td></tr></table>
|
| 98 |
+
|
| 99 |
+
</details>
|
| 100 |
+
|
| 101 |
+
<details>
|
| 102 |
+
<summary><b>Part 4</b>: the cut and its wide replay (frames 70 to 103 reuse the earlier wide shot) · 123 frames · tokens 48,576 → 16,265 (−67%) · 55.9 s</summary>
|
| 103 |
+
|
| 104 |
+
<table><tr><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part4.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Output, part 4</sub></td><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part4_greybox.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Greybox video −73%</sub></td></tr></table>
|
| 105 |
+
<table><tr><td width="33%" align="center"><img src="assets/shortfilm/part4_5.jpg" width="100%"><br><sub>First frame −30%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part4_6.jpg" width="100%"><br><sub>Wound, front −48%</sub></td><td width="33%" align="center"><img src="assets/shortfilm/part4_7.jpg" width="100%"><br><sub>Wound, back −54%</sub></td></tr></table>
|
| 106 |
+
|
| 107 |
+
</details>
|
| 108 |
+
|
| 109 |
+
<details>
|
| 110 |
+
<summary><b>Part 5</b>: landing, push-in on the shield · 140 frames · tokens 54,864 → 19,274 (−65%) · 68.6 s</summary>
|
| 111 |
+
|
| 112 |
+
<table><tr><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part5.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Output, part 5</sub></td><td width="50%" align="center"><video src="https://huggingface.co/HikariDawn/CodecOPSD-H3-Ref2VA/resolve/main/assets/shortfilm/part5_greybox.mp4" autoplay muted loop playsinline width="100%"></video><br><sub>Greybox video −70%</sub></td></tr></table>
|
| 113 |
+
<table><tr><td width="25%" align="center"><img src="assets/shortfilm/part5_6.jpg" width="100%"><br><sub>First frame −46%</sub></td><td width="25%" align="center"><img src="assets/shortfilm/part5_7.jpg" width="100%"><br><sub>Last frame −12%</sub></td><td width="25%" align="center"><img src="assets/shortfilm/part5_5.jpg" width="100%"><br><sub>Effect: ring −82%</sub></td><td width="25%" align="center"><img src="assets/shortfilm/part5_8.jpg" width="100%"><br><sub>Wound, back −54%</sub></td></tr></table>
|
| 114 |
+
|
| 115 |
+
</details>
|
| 116 |
+
|
| 117 |
+
## Gallery
|
| 118 |
|
| 119 |
+
<a href="https://kiteretsu77.github.io/CodecOPSD_website/#gallery" target="_blank"><img src="assets/gallery_ref2va.webp" width="100%" alt="CodecOPSD MiniMax-H3 Ref2VA gallery"></a>
|
| 120 |
|
| 121 |
## Run it
|
| 122 |
|
assets/gallery_ref2va.webp
ADDED
|
Git LFS Details
|
assets/shortfilm/film.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1db5053d9acbe67a0d4e2e7da792a57bf8659d2596a637e2542efe445305d0d
|
| 3 |
+
size 6438272
|
assets/shortfilm/part1.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08b0075dc9da515e5ed0d04c9d2b24a72d1cc58927d2fb96b3afe402793660e5
|
| 3 |
+
size 1690383
|
assets/shortfilm/part1_greybox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e874df31956239c3144500c0602d3635807e59152a953435f43154b50ddc85c
|
| 3 |
+
size 624141
|
assets/shortfilm/part1_in5.jpg
ADDED
|
assets/shortfilm/part1_in6.jpg
ADDED
|
assets/shortfilm/part1_in7.jpg
ADDED
|
assets/shortfilm/part2.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41f4542bcae1dca1ae6a00fc7968c8403649e6f14455a8b5f4bc7d65385d1367
|
| 3 |
+
size 1367327
|
assets/shortfilm/part2_5.jpg
ADDED
|
assets/shortfilm/part2_6.jpg
ADDED
|
assets/shortfilm/part2_7.jpg
ADDED
|
assets/shortfilm/part2_greybox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28692a91a0a7e85073f6a1c19338cc45c48858f6258b69db0a47a711b3fa2623
|
| 3 |
+
size 326390
|
assets/shortfilm/part3.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad5226c2039398a2370748934c073cdd7c34cb5906dcefc94ab327132e12c7fa
|
| 3 |
+
size 1461924
|
assets/shortfilm/part3_5.jpg
ADDED
|
assets/shortfilm/part3_6.jpg
ADDED
|
assets/shortfilm/part3_greybox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0e3d7f58d5c971a9e1443d0b44b2ee8fad0846c961ce3680682203bf5bca610
|
| 3 |
+
size 508336
|
assets/shortfilm/part4.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ca46f8ae4f789d3b72b044c9b0d87e5ab768ea494ff40065fb3f9506a5ff0d9
|
| 3 |
+
size 989730
|
assets/shortfilm/part4_5.jpg
ADDED
|
assets/shortfilm/part4_6.jpg
ADDED
|
assets/shortfilm/part4_7.jpg
ADDED
|
assets/shortfilm/part4_greybox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56d044f3dd359f6901bedcdf3b19dbaf9ed34b20e27436b1828a647b2160b0bc
|
| 3 |
+
size 340093
|
assets/shortfilm/part5.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:428626472b1a1dc8b1df61b6c789eb3a6498617edb345594e455cdf7486aaae9
|
| 3 |
+
size 1504641
|
assets/shortfilm/part5_5.jpg
ADDED
|
assets/shortfilm/part5_6.jpg
ADDED
|
assets/shortfilm/part5_7.jpg
ADDED
|
assets/shortfilm/part5_8.jpg
ADDED
|
assets/shortfilm/part5_greybox.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8464280d4419fa32bb77b3cb2b68810475f1d580e0a604fd3861fc4d405d930d
|
| 3 |
+
size 497419
|
assets/shortfilm/shared0.jpg
ADDED
|
assets/shortfilm/shared1.jpg
ADDED
|
assets/shortfilm/shared2.jpg
ADDED
|
assets/shortfilm/shared3.jpg
ADDED
|
assets/shortfilm/shared4.jpg
ADDED
|