Instructions to use MATLOWAI/MiniMax-H3-Variable-Clock with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
Variable clock LoRA (run f, step 2000), punching comparisons, README
Browse files- .gitattributes +6 -0
- LICENSE +22 -0
- LICENSE-MiniMax-H3 +84 -0
- README.md +134 -0
- assets/punching_long_all_frames.mp4 +3 -0
- assets/punching_long_kept.mp4 +3 -0
- assets/punching_long_kept_poster.jpg +3 -0
- assets/punching_long_prompt.txt +5 -0
- assets/punching_short_all_frames.mp4 +3 -0
- assets/punching_short_kept.mp4 +3 -0
- assets/punching_short_kept_poster.jpg +3 -0
- assets/punching_short_prompt.txt +5 -0
- clock_maps/eval_option1_long124_hold_map.json +1 -0
- clock_maps/eval_option1_short56_hold_map.json +1 -0
- minimax_h3_variable_clock_runf_step2000_r16.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/punching_long_all_frames.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/punching_long_kept.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/punching_long_kept_poster.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
assets/punching_short_all_frames.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
assets/punching_short_kept.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
assets/punching_short_kept_poster.jpg filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 MatlowAI (Dylan Matlow)
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
LICENSE-MiniMax-H3
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MiniMax H3 COMMUNITY LICENSE AGREEMENT
|
| 2 |
+
MiniMax H3 release date/License date: August 2, 2026.
|
| 3 |
+
The scope of this License Agreement (this “Agreement”) is expressly limited to the “Applicable Territory” as defined below.
|
| 4 |
+
By clicking to accept, or by using, reproducing, modifying, distributing, running, or displaying any portion or element of the MiniMax H3 Works (including through any Hosted Services) in any manner, you acknowledge and accept the terms of this Agreement, and this Agreement shall take immediate effect upon the occurrence of such act.
|
| 5 |
+
I. Definitions
|
| 6 |
+
1. “Acceptable Use Policy” means the policy published by MiniMax in Exhibit A.
|
| 7 |
+
2. “Agreement” means the terms and conditions set forth herein that govern the use, reproduction, distribution, modification, running, and display of the MiniMax H3 Works or any portion or element thereof.
|
| 8 |
+
3. “Applicable Territory” means worldwide, excluding the Excluded Territories.
|
| 9 |
+
4. “Documentation” means the specifications, manuals, and documentation concerning MiniMax H3 that are publicly released by MiniMax.
|
| 10 |
+
5. “Excluded Territories” means the European Union, the United Kingdom, the Republic of Korea and the United States of America.
|
| 11 |
+
6. “MiniMax H3” means the video generation model, together with its software and algorithms, including trained model weights, parameters (including optimizer states), machine-learning model code, inference-supporting code, and other elements thereof made publicly available by Us, as released at https://huggingface.co/MiniMaxAI/MiniMax-H3.
|
| 12 |
+
7. “MiniMax H3 Works” means (i) the Materials, (ii) the Model Derivatives, and (iii) all derivatives thereof.
|
| 13 |
+
8. “Hosted Services” means hosted services provided via application programming interfaces (APIs), web access, or any other electronic or remote means.
|
| 14 |
+
9. “Licensee,” “you,” or “your” means the natural or legal person exercising rights and/or using the MiniMax H3 Works for any purpose in any field of use under this Agreement.
|
| 15 |
+
10. “Materials” means, collectively, MiniMax H3 and the Documentation (and any portion thereof), in each case as made available by MiniMax under this Agreement and proprietary to MiniMax.
|
| 16 |
+
11. “Model Derivatives” means all of the following: (i) any modification of MiniMax H3 or any Model Derivative thereof; (ii) any work based on MiniMax H3 or any Model Derivative thereof; or (iii) any other machine learning model created by transferring the patterns of the weights, parameters, operational patterns, or Outputs of MiniMax H3 or any Model Derivative thereof to another model, such that the latter model exhibits behavior similar to MiniMax H3 or its Model Derivatives, including by distillation methods, methods using intermediate data representations, or methods based on training using synthetic-data Outputs generated by MiniMax H3 or its Model Derivatives. For the avoidance of doubt, Outputs are not deemed Model Derivatives.
|
| 17 |
+
12. “Output” means any result of operating or otherwise using MiniMax H3 or any Model Derivatives (including through Hosted Services).
|
| 18 |
+
13. “Third Party” means any natural or legal person that is not under common control with us or with you.
|
| 19 |
+
14. “Including” means “including but not limited to.”
|
| 20 |
+
15. “We,” “Us” or “MiniMax” means Nanonoble Pte. Ltd..
|
| 21 |
+
II. Grant of Rights
|
| 22 |
+
Solely within the Applicable Territory, we grant you a non-exclusive, non-transferable, royalty-free, limited license to use, reproduce, distribute, create derivative works (including Model Derivatives), and modify the Materials in accordance with the terms of this Agreement and the Acceptable Use Policy, based on the intellectual property and other rights owned by MiniMax that are embodied in or used by the Materials. You shall not violate (or encourage or permit any person to violate) any term of this Agreement or the Acceptable Use Policy.
|
| 23 |
+
We will continuously evaluate the applicable laws, regulations and compliance requirements for the Excluded Territories. In the meantime, should any person in such Excluded Territories be interested in deploying our models, you are welcome to contact us about obtaining a license, which will be granted based on robust controls and guardrails for purposes of complying with the laws, regulations and compliance requirements of the Excluded Territories.
|
| 24 |
+
III. Distribution and Redistribution
|
| 25 |
+
Subject to and conditioned on your continuing compliance with this Agreement, including its territorial restrictions and the Acceptable Use Policy, and solely within the Applicable Territory, you may distribute or make available the MiniMax H3 Works to Third Parties within the Applicable Territory; provided, that all of the following conditions are met:
|
| 26 |
+
1. You must provide a copy of this Agreement to all such Third Parties who receive the MiniMax H3 Works or use your products or services related thereto;
|
| 27 |
+
2. You must cause any modified files to carry prominent notices stating that you have modified such files;
|
| 28 |
+
3. You are encouraged to:
|
| 29 |
+
a. display a notice on any product or service developed using MiniMax H3 indicating that the product or service is “Powered by MiniMax H3”;
|
| 30 |
+
b. add an AI-generation identifier to files produced using generative AI models including MiniMax H3; and
|
| 31 |
+
c. publish at least one technical blog post or a public statement describing your experience using MiniMax H3 Works;
|
| 32 |
+
4. All distributions to Third Parties (other than through Hosted Services) must be accompanied by a “NOTICE” text file containing the following notice:
|
| 33 |
+
“MiniMax H3 is licensed under the MiniMax H3 Community License Agreement, Copyright © 2026 MiniMax. All Rights Reserved.”
|
| 34 |
+
You may add your own copyright notices on your modifications; except as provided in this Section and in Section V, however, you may not impose additional or different terms and conditions on the use, reproduction, or distribution of your modifications or of any aggregate Model Derivatives, and your use, reproduction, modification, distribution, running, and display of the work must otherwise comply with the terms and conditions of this Agreement (including the provisions concerning the Applicable Territory). If you receive the MiniMax H3 Works from a Licensee as part of an integrated end-user product, the provisions of Section III of this Agreement do not apply to you, but Section V and Exhibit A remain applicable.
|
| 35 |
+
IV. Additional Commercial Terms
|
| 36 |
+
1. You shall obtain a separate, prior written authorization from MiniMax by contacting api@minimax.io with the subject line “MiniMax H3 licensing - authorization request”, if your commercial products and services generate more than 20 million US dollars (or equivalent in other currencies) in yearly revenue.
|
| 37 |
+
2. You shall prominently display “MiniMax H3”on the user interface of commercial product or service that uses MiniMax H3 or MiniMax H3 Works.
|
| 38 |
+
V. Use Restrictions
|
| 39 |
+
1. Your use of the MiniMax H3 Works must comply with applicable laws and regulations (including trade-compliance laws and regulations) and must comply with the Acceptable Use Policy for the MiniMax H3 Works, which is incorporated into this Agreement by reference.
|
| 40 |
+
2. Before providing access to the MiniMax H3 Works or any product, service, or Hosted Service incorporating them, you must bind each recipient or user to enforceable terms at least as protective as the use restrictions in this Section V and Exhibit A, and you must notify each recipient or user that those restrictions apply.
|
| 41 |
+
3. You may not use the MiniMax H3 Works or any of their Outputs or results to improve any other artificial intelligence model (other than MiniMax H3 or its Model Derivatives).
|
| 42 |
+
4. You may not use, reproduce, modify, distribute, or display the MiniMax H3 Works or any of their Outputs or results outside the Applicable Territory. Any such use outside the Applicable Territory is not authorized by this Agreement.
|
| 43 |
+
5. If you provide or make available to any Third Party a product, service, or Hosted Service that permits the generation of Outputs using MiniMax H3 or any Model Derivative, you must, before making that product or service available and throughout its operation, implement, maintain, test, and periodically review reasonable and proportionate technical and organizational safeguards designed to prevent and mitigate access, uses, and Outputs that violate this Section V or Exhibit A, including uses or Outputs that infringe, misappropriate, or otherwise violate any Third Party’s intellectual-property or other rights. You must not knowingly disable, materially weaken, or permit the circumvention of those safeguards. You must maintain a reasonably accessible mechanism for reporting suspected violations. Upon receiving a good-faith report or otherwise obtaining actual knowledge of a violation, you must promptly investigate and take reasonable steps within your control to stop or mitigate the violation, including removing or disabling access to offending content or services and suspending or terminating repeat violators where appropriate. You are responsible for implementing and enforcing these requirements with respect to your products, services, systems, users, and downstream recipients.
|
| 44 |
+
VI. Intellectual Property
|
| 45 |
+
1. Subject to MiniMax’s rights in the MiniMax H3 Works (and the intellectual property therein), and to your compliance with the terms and conditions of this Agreement, as between you and MiniMax, you will own the derivative works and modifications of the Materials that you have created or had created, as well as any Model Derivatives.
|
| 46 |
+
2. Except for the limited license expressly granted in this paragraph, no trademark license is granted under this Agreement; with respect to MiniMax H3 Works, the Licensee may not use any name or mark owned by or associated with MiniMax or any of its affiliates, except as reasonably and customarily necessary to describe and distribute the MiniMax H3 Works. MiniMax hereby grants you a license to use the “MiniMax H3” mark (the “Mark”) within the Applicable Territory solely for the purpose of complying with Section III.3; provided, that you comply with all applicable trademark-protection laws. All goodwill arising from your use of the Mark shall inure to the benefit of MiniMax.
|
| 47 |
+
3. If you bring or assert any suit or other legal proceeding (including a cross-claim or counterclaim in any action) against us or any other natural or legal person alleging that the Materials, any Output, or any portion of the foregoing infringes any intellectual property right or other right owned by you or for which you can obtain a license, all licenses granted to you under this Agreement will terminate as of the date such suit or proceeding is filed. You shall defend, indemnify, and hold us harmless against any Third-Party claim arising out of or related to the use or distribution of the MiniMax H3 Works by you or by any Third Party.
|
| 48 |
+
4. MiniMax claims no rights over the Outputs you generate. You and your users are entirely responsible for the Outputs and any subsequent use thereof.
|
| 49 |
+
VII. Disclaimers and Limitations of Liability
|
| 50 |
+
1. We have no obligation to support, update, provide training for, or develop any further version of the MiniMax H3 Works, or to grant any license with respect thereto.
|
| 51 |
+
2. UNLESS AND ONLY TO THE EXTENT REQUIRED BY APPLICABLE LAW, THE MINIMAX H3 WORKS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED “AS IS” WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES OF ANY KIND INCLUDING ANY WARRANTIES OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, COURSE OF DEALING, USAGE OF TRADE, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING, REPRODUCING, MODIFYING, PERFORMING, DISPLAYING OR DISTRIBUTING ANY OF THE MINIMAX H3 WORKS OR OUTPUTS AND ASSUME ANY AND ALL RISKS ASSOCIATED WITH YOUR OR A THIRD PARTY’S USE OR DISTRIBUTION OF ANY OF THE MINIMAX H3 WORKS OR OUTPUTS AND YOUR EXERCISE OF RIGHTS AND PERMISSIONS UNDER THIS AGREEMENT.
|
| 52 |
+
3. TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL MINIMAX OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, FOR ANY DAMAGES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR LOST PROFITS OF ANY KIND ARISING FROM THIS AGREEMENT OR RELATED TO ANY OF THE MINIMAX H3 WORKS OR OUTPUTS, EVEN IF MINIMAX OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
| 53 |
+
VIII. Term and Termination
|
| 54 |
+
1. This Agreement is effective from the moment you accept this Agreement or begin accessing the Materials, and, subject to your compliance with its terms and conditions, will remain in effect until terminated as provided herein.
|
| 55 |
+
2. If you breach any term or condition of this Agreement, we have the right to terminate this Agreement. Upon termination, you must immediately cease accessing, using, and distributing the MiniMax H3 Works; delete or destroy all copies within your possession or control; and notify each downstream recipient that your authorization has ended. The obligations in the preceding sentence and Sections VI.1, VI.3, VII, and IX survive termination.
|
| 56 |
+
IX. Governing Law and Jurisdiction
|
| 57 |
+
1. This Agreement, and any dispute arising out of or related to this Agreement, shall be governed by the laws of the Hong Kong Special Administrative Region of the People’s Republic of China, without regard to its conflict-of-laws rules. The United Nations Convention on Contracts for the International Sale of Goods does not apply to this Agreement.
|
| 58 |
+
2. Any dispute arising out of or related to this Agreement shall be subject to the exclusive jurisdiction of the courts of the Hong Kong Special Administrative Region of the People’s Republic of China with competent jurisdiction. Both MiniMax and the Licensee hereby consent to the exclusive jurisdiction of such courts for any such dispute.
|
| 59 |
+
Additional Note: Please note that the encoder of MiniMax H3 uses Qwen3-VL-32B, which is licensed under Apache 2.0 License: https://github.com/QwenLM/Qwen3-VL/blob/main/LICENSE.
|
| 60 |
+
|
| 61 |
+
Exhibit A — Acceptable Use Policy
|
| 62 |
+
MiniMax reserves the right to update this Acceptable Use Policy from time to time.
|
| 63 |
+
Last revised: August 2, 2026.
|
| 64 |
+
MiniMax is committed to promoting the safe and fair use of its tools and features, including MiniMax H3. You agree not to use MiniMax H3, any Model Derivatives, or any Output in any of the following ways:
|
| 65 |
+
1. Use outside the Applicable Territory;
|
| 66 |
+
2. Use in any manner that violates any applicable national, federal, state, local, or international law, regulation, or other legal requirement, or that infringes, misappropriates, or otherwise violates any Third Party’s intellectual-property or other proprietary rights, including through unauthorized reproduction, distribution, public display, public performance, or creation of derivative works;
|
| 67 |
+
3. Use in any manner that may harm yourself or others;
|
| 68 |
+
4. Use to repurpose or distribute the Outputs of MiniMax H3 or any Model Derivatives in order to harm yourself or others;
|
| 69 |
+
5. Use to circumvent or bypass any safety guardrails or safeguards we have implemented;
|
| 70 |
+
6. Use in any manner that exploits or harms, or intends to exploit or harm, minors;
|
| 71 |
+
7. Use to generate or disseminate verifiably false information and/or content for the purpose of harming others or influencing elections;
|
| 72 |
+
8. Use to manufacture or facilitate false online engagement, including fake reviews and other means of false online engagement;
|
| 73 |
+
9. Use to intentionally defame, disparage, or otherwise harass others;
|
| 74 |
+
10. Use to generate and/or disseminate malware (including ransomware) or any other content intended to damage electronic systems;
|
| 75 |
+
11. Use to generate or disseminate personally identifiable information for the purpose of harming others;
|
| 76 |
+
12. Use to generate or disseminate information (including images, code, posts, or articles) in or to any public environment (including via bot tweets or similar means) without clearly and prominently disclosing that such information and/or content is machine-generated;
|
| 77 |
+
13. Use to impersonate another person without that person’s consent, authorization, or lawful right to do so;
|
| 78 |
+
14. Use to make high-risk automated decisions in critical domains that affect individual safety, rights, or well-being (such as law enforcement, immigration, healthcare or medical services, critical-infrastructure management, product-safety components, essential services, credit, employment, housing, education, social scoring, or insurance);
|
| 79 |
+
15. Use in any manner that violates or disregards the social, ethical, or moral standards of other countries or regions;
|
| 80 |
+
16. Use to carry out, assist, threaten, incite, plan, advocate for, or encourage violent extremism or terrorism;
|
| 81 |
+
17. Use for any purpose intended to discriminate against, or harm, individuals or groups based on protected characteristics or categories, online or offline social behavior, or known or predicted personality traits;
|
| 82 |
+
18. Use to intentionally exploit the vulnerabilities of specific populations based on age, social, physical, or psychological characteristics, so as to materially distort the behavior of a member of that group in a manner that causes, or is likely to cause, physical or psychological harm to that person or to others;
|
| 83 |
+
19. Use for military purposes;
|
| 84 |
+
20. Use to engage in any unauthorized or unlicensed professional activity, including but not limited to financial, legal, medical or healthcare, or other professional practice.
|
README.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: MiniMaxAI/MiniMax-H3
|
| 4 |
+
base_model_relation: adapter
|
| 5 |
+
tags:
|
| 6 |
+
- minimax-h3
|
| 7 |
+
- lora
|
| 8 |
+
- video
|
| 9 |
+
- motion
|
| 10 |
+
- slow-motion
|
| 11 |
+
- variable-frame-rate
|
| 12 |
+
pipeline_tag: text-to-video
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# MiniMax-H3 variable clock (run f, step 2,000, r16)
|
| 16 |
+
|
| 17 |
+
An experimental rank-16 LoRA that teaches MiniMax-H3 to run on a **variable clock**: the model is told, latent
|
| 18 |
+
by latent, how much real time each latent covers. Each slow-motion stretch then gets more latents per second
|
| 19 |
+
of real time, and the model generates those frames directly instead of making a normal clip and stretching it.
|
| 20 |
+
|
| 21 |
+
This is research output, released as is. Results below are from **one seed per prompt** and are mixed; read
|
| 22 |
+
the "What it does and does not do yet" section before using it.
|
| 23 |
+
|
| 24 |
+
## Why
|
| 25 |
+
|
| 26 |
+
Slow motion with H3 today goes through a "de-rope" pass (time-smear). Each real frame is repeated several times
|
| 27 |
+
into a longer clip, the model re-denoises that clip, and the repeats are thrown away afterwards. Two problems:
|
| 28 |
+
|
| 29 |
+
1. **Wasted compute.** You generate frames only to discard them.
|
| 30 |
+
2. **Small things move too fast.** At higher denoise the model re-invents fine, fast detail (hair, sparks,
|
| 31 |
+
leaves, birds) at its normal per-frame rhythm inside the stretched clip. After the repeats are dropped,
|
| 32 |
+
that detail plays back too fast and looks stiff, even though the big motion was slowed correctly.
|
| 33 |
+
|
| 34 |
+
The goal here is to bake the clock into the model so it **natively** changes its time rate. Slowed stretches
|
| 35 |
+
get less temporal compression (more compute per second of real time), and that compute should go into
|
| 36 |
+
smoother, more coherent motion in the frames you keep, not into frames you throw away.
|
| 37 |
+
|
| 38 |
+
## How it works
|
| 39 |
+
|
| 40 |
+
**The clock.** H3's video VAE packs pixel frames into latents in a fixed (1, 4, 4, 4, 4) pattern per 17 frames
|
| 41 |
+
(legal lengths are 17k + 5 frames). Each latent gets a *span*, the real time it covers, which drives its
|
| 42 |
+
temporal RoPE position. With 5/3 RoPE units per real frame:
|
| 43 |
+
|
| 44 |
+
| a 4-frame latent that holds | real frames | span | reads as |
|
| 45 |
+
|---|---:|---:|---|
|
| 46 |
+
| 4 distinct real frames | 4 | 6.67 | normal speed |
|
| 47 |
+
| 2 real frames, each repeated twice | 2 | 3.33 | 2x slow motion |
|
| 48 |
+
| 1 real frame, repeated four times | 1 | 1.67 | 4x slow motion |
|
| 49 |
+
|
| 50 |
+
A **hold map** lists, for every real frame, how many generated frames it occupies (1, 2 or 4), aligned to
|
| 51 |
+
the latent grid. The spans come from the hold map. The `clock_maps/` folder holds the two maps used in the
|
| 52 |
+
videos below, in the format `{"hold_map_used": [...]}`.
|
| 53 |
+
|
| 54 |
+
**The training data ("option 1").** The stock VAE is kept unchanged. Training clips were built from real
|
| 55 |
+
24 fps footage by repeating real frames *inside* latents: in a 2x stretch each latent holds 2 real frames
|
| 56 |
+
(each shown twice), and in a 4x stretch it holds 1 real frame (shown four times). The training target is
|
| 57 |
+
therefore always real frames, never invented in-between frames. Before training we checked that the stock VAE
|
| 58 |
+
round-trips these repeated-frame latents at least as well as ordinary ones (kept-frame PSNR 35–38 dB, copies
|
| 59 |
+
inside a latent within 0.3–0.5 of 255; 2 clips).
|
| 60 |
+
|
| 61 |
+
- 84 training rows from 21 live-action sources, 124 and 141 frames, 1280x736. Each source gives one
|
| 62 |
+
normal-speed row, one constant 2x or 4x row, and two variable rows (ramps such as normal → 2x → 4x → 2x →
|
| 63 |
+
normal, slow intro, slow outro, bursts).
|
| 64 |
+
- Of the 4-frame latents, 44% are normal speed, 30% 2x and 26% 4x. The mix is balanced across clip lengths
|
| 65 |
+
and across the start, middle and end of clips, and slowed stretches start at random positions in the footage.
|
| 66 |
+
- Captions are the same for every row from a source, so the speed comes only from the clock, never from the text.
|
| 67 |
+
- No animation in the training data.
|
| 68 |
+
|
| 69 |
+
**Training.** LoRA rank 16 / alpha 16, AdamW 5e-5 (constant, 10 warmup steps), 2,000 steps, batch 1, bf16,
|
| 70 |
+
seed 20260923, 2 temporal fine RoPE bands kept at native rate (`keep_bands = 2`). A native-clock anchor
|
| 71 |
+
(weight 30) keeps normal-speed behaviour close to the base model. About 78 GPU-hours on one RTX PRO 6000
|
| 72 |
+
(about 2.3 min per step).
|
| 73 |
+
|
| 74 |
+
**Inference.** Give the sampler the hold map, so the per-latent spans are set, with the LoRA at 1.0 and the
|
| 75 |
+
same 2 fine bands. Generate. Then keep the **first copy** of every real frame and play the result at 24 fps.
|
| 76 |
+
Normal stretches play at normal speed and slowed stretches play as slow motion.
|
| 77 |
+
|
| 78 |
+
## Videos
|
| 79 |
+
|
| 80 |
+
Every video is a side-by-side with the same seed (20260923), the same prompt and the same clock: **stock
|
| 81 |
+
H3 + clock (left)** vs **this LoRA + clock (right)**. The banner shows the current speed. The prompts are in `assets/`.
|
| 82 |
+
|
| 83 |
+
**Punching, long.** 1344x768, 124 generated frames: about 1.4 s normal, about 2.25 s of 2x, about 2 s of
|
| 84 |
+
4x, 2x, normal. Bob and weave, slips, jabs, an uppercut, a spinning backfist and a hook-cross.
|
| 85 |
+
|
| 86 |
+
- `assets/punching_long_kept.mp4`: the kept frames, the video you would actually ship.
|
| 87 |
+
- `assets/punching_long_all_frames.mp4`: every generated frame, including the repeats, with the
|
| 88 |
+
real-frame / copy index in the banner.
|
| 89 |
+
|
| 90 |
+
<video controls muted playsinline preload="metadata" width="100%"
|
| 91 |
+
poster="https://huggingface.co/MATLOWAI/MiniMax-H3-Variable-Clock/resolve/main/assets/punching_long_kept_poster.jpg">
|
| 92 |
+
<source src="https://huggingface.co/MATLOWAI/MiniMax-H3-Variable-Clock/resolve/main/assets/punching_long_kept.mp4" type="video/mp4">
|
| 93 |
+
</video>
|
| 94 |
+
|
| 95 |
+
**Punching, short.** 1344x768, 56 generated frames (2.3 s, shorter than H3's usual 5–15 s range),
|
| 96 |
+
normal → 2x → 4x → 2x → normal.
|
| 97 |
+
|
| 98 |
+
- `assets/punching_short_kept.mp4`
|
| 99 |
+
- `assets/punching_short_all_frames.mp4`
|
| 100 |
+
|
| 101 |
+
<video controls muted playsinline preload="metadata" width="100%"
|
| 102 |
+
poster="https://huggingface.co/MATLOWAI/MiniMax-H3-Variable-Clock/resolve/main/assets/punching_short_kept_poster.jpg">
|
| 103 |
+
<source src="https://huggingface.co/MATLOWAI/MiniMax-H3-Variable-Clock/resolve/main/assets/punching_short_kept.mp4" type="video/mp4">
|
| 104 |
+
</video>
|
| 105 |
+
|
| 106 |
+
## What it does and does not do yet
|
| 107 |
+
|
| 108 |
+
All of the following are from one seed per prompt; treat them as observations, not measurements.
|
| 109 |
+
|
| 110 |
+
- **Short punching clip:** the stock model jumps between poses and draws see-through ghost fists. The LoRA
|
| 111 |
+
moves through the punches more continuously, with motion blur on two frames of the fastest punch.
|
| 112 |
+
- **Long punching clip:** both versions handle the full spinning backfist. The stock model's frames look
|
| 113 |
+
crisper; the LoRA shows more motion blur on the fastest punches.
|
| 114 |
+
- **Anime rooftop run (not shown here):** at step 2,000 the running figure stays crisp through the 2x / 4x
|
| 115 |
+
stretch, where the stock model and an earlier time-smear-trained LoRA both ghosted or blurred.
|
| 116 |
+
- **Live-action dancer (not shown here):** a clean, coherent spin. This is the first checkpoint where kept
|
| 117 |
+
frames in the slowed stretch move noticeably less per frame than in the normal stretch.
|
| 118 |
+
- **Not learned yet:** at 2x and 4x the copies inside a latent should come out as the same held frame,
|
| 119 |
+
because that is how training repeated them. They don't yet. They differ by about 7–9 out of 255 on average,
|
| 120 |
+
against about 0.4 for true repeats through the VAE, so motion keeps going across the copies. Using only the
|
| 121 |
+
first copy of each real frame hides this.
|
| 122 |
+
- It **still costs more compute** on slowed stretches. It does not yet save compute anywhere; that is the next
|
| 123 |
+
research step (variable compression in both directions, and in space for detail such as faces and hands).
|
| 124 |
+
|
| 125 |
+
## Using it
|
| 126 |
+
|
| 127 |
+
- Trained and tested only with per-latent true-clock spans and `keep_bands = 2`, at LoRA strength 1.0.
|
| 128 |
+
Untested with other clock implementations, including K = 0 true-clock nodes.
|
| 129 |
+
- Text-to-video at full denoise is the main test. A de-rope (V2V partial denoise) test is in progress and
|
| 130 |
+
will be added here.
|
| 131 |
+
- Base model: MiniMax-H3 (FL2VA, pruned bf16 DiT). See `LICENSE-MiniMax-H3` for the base model's terms.
|
| 132 |
+
|
| 133 |
+
`minimax_h3_variable_clock_runf_step2000_r16.safetensors` sha256
|
| 134 |
+
`c01235bd0b7492856162b9965431007e9f9828e77454324d7f246546aeb1e652`
|
assets/punching_long_all_frames.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba7833d398f397bd544165d68f9e59c31933b24006e35e05eb809eabd01badc9
|
| 3 |
+
size 2889611
|
assets/punching_long_kept.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c74c76c5530ef63d9ec41b22b9a3ffaec9d67b774a202869bc437a8468ff471
|
| 3 |
+
size 2101522
|
assets/punching_long_kept_poster.jpg
ADDED
|
Git LFS Details
|
assets/punching_long_prompt.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[Shot 1] 2D anime, cel-shaded, cinematic, a close-up medium shot framed from the top of her head down to her chest, a beautiful adult woman in her twenties with a high ponytail, wearing a low-cut black sports bra and red hand wraps, shadowboxing at full speed in a sunlit boxing gym. She bobs and weaves under an imaginary punch, slips left and right, snaps a double jab, rips a rising uppercut, then plants and whips into a spinning backfist that turns her whole body away from the camera and back again, finishing with a fast hook-cross combination. Her shoulders and hips rotate hard, her ponytail whips around her head through the spin, her chest bounces with each sharp movement, loose strands of hair and sweat droplets fly off, her expression focused and fierce. The camera holds steady and close as her fists and wraps snap in and out of frame, dust motes drifting through the window light behind her.
|
| 2 |
+
|
| 3 |
+
overall_soundscape: Sharp exhales with each punch; quick shuffling footwork on a canvas floor; the whoosh of the spinning backfist; the snap of wraps cutting the air; a heavy bag creaking faintly in the background; muffled gym ambience.
|
| 4 |
+
|
| 5 |
+
non_diegetic_music: N/A
|
assets/punching_short_all_frames.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:365f82585fbe76d16daa6fdb05aeacfe5f674339cc9ad892a7ffbdb09839d3bf
|
| 3 |
+
size 1587055
|
assets/punching_short_kept.mp4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08659595e56a861f4cf31e913dc491e76b537603915917a44ca76e20e8356a1c
|
| 3 |
+
size 1170770
|
assets/punching_short_kept_poster.jpg
ADDED
|
Git LFS Details
|
assets/punching_short_prompt.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[Shot 1] 2D anime, cel-shaded, cinematic, a close-up medium shot framed from the top of her head down to her chest, a beautiful adult woman in her twenties with a high ponytail, wearing a low-cut black sports bra and red hand wraps, shadowboxing fast toward the camera in a sunlit boxing gym. She throws rapid jab-cross combinations and a sharp hook, shoulders rotating hard with each punch, her ponytail whipping and her chest bouncing with each sharp movement, loose strands of hair flying, sweat droplets flicking off her brow, her expression focused and fierce. The camera holds steady and close as her fists snap in and out of frame, dust motes drifting through the window light behind her.
|
| 2 |
+
|
| 3 |
+
overall_soundscape: Sharp exhales with each punch; quick shuffling footwork on a canvas floor; the snap of wraps cutting the air; a heavy bag creaking faintly in the background; muffled gym ambience.
|
| 4 |
+
|
| 5 |
+
non_diegetic_music: N/A
|
clock_maps/eval_option1_long124_hold_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"hold_map_used": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 4, 4, 4, 4, 1, 4, 4, 4, 4, 1, 4, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "world_frames": 73, "generated_frames": 124, "strides_4frame": [4, 4, 4, 4, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4], "shape": "native 4 / 2x 8 / 4x 9 / 2x 4 / native 4 four-frame latents, 124 frames"}
|
clock_maps/eval_option1_short56_hold_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"hold_map_used": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 4, 4, 4, 1, 4, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1], "world_frames": 36, "generated_frames": 56, "strides_4frame": [4, 4, 4, 2, 2, 1, 1, 1, 1, 2, 2, 4, 4], "shape": "native->2x->4x->2x->native, 56 frames"}
|
minimax_h3_variable_clock_runf_step2000_r16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c01235bd0b7492856162b9965431007e9f9828e77454324d7f246546aeb1e652
|
| 3 |
+
size 298261224
|