@melite/models-h3 0.0.0-stage → 0.1.5-pre-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js ADDED
@@ -0,0 +1,401 @@
1
+ import { film } from "./actions.js";
2
+ export const DECL = {
3
+ "id": "h3",
4
+ "form": "form_video_director",
5
+ "label": "MiniMax H3",
6
+ "description": "MiniMax H3 joint video + audio — one model, three lanes: multi-window timeline films, single-shot FL2VA/Ref2VA clips, and keyframe-anchored beats",
7
+ "engine": "comfyui",
8
+
9
+ // lives on the family's own carrier schema (src/schema.ts,
10
+ // .default(42) — the walk fill). A DECL defaults row spelling 42
11
+ // again was dead surface on the same family's second seat.
12
+ "studio": {
13
+ "tenant": "video/h3-timeline",
14
+ "owns_params": true,
15
+ "writes": [
16
+ "calls",
17
+ "keyframes",
18
+ "fps",
19
+ "seed",
20
+ "width",
21
+ "height",
22
+ "length",
23
+ "steps",
24
+ "denoise",
25
+ "sampler_name",
26
+ "sched_name",
27
+ "shift_video",
28
+ "shift_audio",
29
+ "sla_sparsity",
30
+ "sla_block_size",
31
+ "sla_dense_last_steps",
32
+ "sla_dense_steps",
33
+ "sla_dense_backend",
34
+ "sla_reference_protection",
35
+ "sla_protect_audio",
36
+ "sla_stabilize_motion",
37
+ "sla_disable_fp16_accum",
38
+ "sharpen_enabled",
39
+ "sharpen_method",
40
+ "sharpen_strength",
41
+ "sharpen_radius",
42
+ "sharpen_threshold",
43
+ "sharpen_iterations",
44
+ "interpolate_enabled",
45
+ "interp_model",
46
+ "interp_multiplier",
47
+ "sr_switch",
48
+ "sr_model",
49
+ "sr_resolution",
50
+ "audio_clips",
51
+ "audio_stem",
52
+ "loras",
53
+ "document"
54
+ ],
55
+ "kind": "custom",
56
+ "size": "huge",
57
+ "layout": "studio"
58
+ },
59
+ // THE MARRIAGE DECLARATION (#36, the recipes rework): the loras
60
+ // pack's distill adapters carry married step counts — while a
61
+ // counting bag row rides, STEPS is theirs (compose card.ts:
62
+ // call knobs > lora steps > the steps row, Math.max across the
63
+ // bag). Served on the form-spec kind so every client face
64
+ // mirrors compose — one truth per value: the catalog row owns
65
+ // strength + steps; recipes reference ids ONLY.
66
+ "mods": [{ "pack": "loras", "marries": { "steps": "max" } }],
67
+ "genre": "video",
68
+ "variants": [
69
+ {
70
+ "id": "timeline",
71
+ "label": "Standard",
72
+ "hint": "The multi-window timeline — hybrid FL2VA/Ref2VA windows, SLA sparse attention, the film path.",
73
+ "group": "Variant",
74
+ "route": "h3-timeline",
75
+ "cells": [
76
+ {
77
+ "quant": "int8",
78
+ "label": "INT8 ConvRot",
79
+ "route": "h3-timeline",
80
+ "vram_peak_gb": 30,
81
+ }
82
+ ]
83
+ },
84
+
85
+ // bytedance" — the DMAD 4-step distill, ByteDance/TAMU, the
86
+ // catalog's h3_dmad_4step row; "Default needs to be a 4 step
87
+
88
+ // model, 1 variant, 1 quant, and 3 recipes… Default is the
89
+ // standard"): the recipe trio Draft / Standard / Final Cut, ALL
90
+ // THREE riding the ByteDance lora — selection only; the catalog
91
+ // row owns strength 1 and the married 4-step count. `standard`
92
+ // is FIRST in the Recipe group ON PURPOSE: the birth stamp takes
93
+ // the first composing Recipe row (card-base seedRecipeStamp —
94
+ // the first-declared law; the Recipe axis itself YIELDS, never
95
+ // seeds a key), so every fresh h3-timeline card is born at the
96
+ // DMAD calibrated point — the lora ALWAYS shows up on the
97
+ // default card. Geometry is NOT stamped here (the DRY law, one
98
+ // value one owner): the carrier schema's own 1344×768 floor IS
99
+ // the standard geometry — the DMAD rows' calibrated operating
100
+ // point (arXiv:2610.02188; ZhengmingYu/DMAD renders 1344×768,
101
+ // 362 frames on 8 GB-class GPUs). The payload mirrors a hand
102
+ // pick exactly (declared keys only): SELECTION ONLY (#36).
103
+ // STEPS IS UNSTATED BY DESIGN — the row owns its married 4;
104
+ // stamping steps would hard-pin what the bag resolves. The
105
+ // file's door is the lane gate (lane_inputs loras + the
106
+ // provision row below): absent on disk, the run refuses with
107
+ // the fetch hint — the web popup's install button and the agent
108
+ // seat both ride that one refusal.
109
+ {
110
+ "id": "standard",
111
+ "label": "Standard",
112
+ "hint": "The default — the ByteDance DMAD 4-step distill at the calibrated 1344×768. Steps derive from the lora marriage (4).",
113
+ "group": "Recipe",
114
+ "wire_defaults": {
115
+ "loras": [{ "id": "h3_dmad_4step" }],
116
+ },
117
+ "cells": [],
118
+ },
119
+ // DRAFT (operator, this session: "for low resolution, that is
120
+ // good for the draft recipe"): the fast iteration tier — the
121
+ // same ByteDance bag at draft geometry 768×448. Steps stay
122
+ // unstated (the marriage law).
123
+ {
124
+ "id": "draft",
125
+ "label": "Draft",
126
+ "hint": "Fast iteration — the same ByteDance 4-step bag at draft geometry (768×448). Steps derive from the lora marriage (4).",
127
+ "group": "Recipe",
128
+ "wire_defaults": {
129
+ "loras": [{ "id": "h3_dmad_4step" }],
130
+ "width": 768,
131
+ "height": 448,
132
+ },
133
+ "cells": [],
134
+ },
135
+ // FINAL CUT: the finishing tier — same bag, full geometry (the
136
+ // carrier floor 1344×768, never duplicated here), plus the
137
+ // second-pass rail: SeedVR2 super-res finish (sr_switch) behind
138
+ // the master switch (second_pass_enabled). sr_resolution keeps
139
+ // its OWN 1080 floor on the knob (one value, one owner — the
140
+ // recipe never re-states it); interpolation stays off (the
141
+ // FILM arm is a separate explicit pick, by design).
142
+ {
143
+ "id": "final",
144
+ "label": "Final Cut",
145
+ "hint": "The finishing pass — the 4-step bag plus the second-pass rail: sharpen + SeedVR2 super-res at 1080. Interpolation stays an explicit pick.",
146
+ "group": "Recipe",
147
+ "wire_defaults": {
148
+ "loras": [{ "id": "h3_dmad_4step" }],
149
+ "second_pass_enabled": true,
150
+ "sr_switch": true,
151
+ },
152
+ "cells": [],
153
+ },
154
+ ],
155
+ "variant_groups": [
156
+ {
157
+ "id": "Variant",
158
+ "label": "Variant",
159
+ },
160
+ {
161
+ "id": "Quant",
162
+ "label": "Quant",
163
+ },
164
+ {
165
+ "id": "Recipe",
166
+ "label": "Recipe",
167
+ "tooltip": "One-click recipes — patch-only rows that stamp picks onto the draft: Draft (768×448), Standard (the calibrated default), Final Cut (the second-pass finish).",
168
+ "default": "standard"
169
+ }
170
+ ],
171
+
172
+ // h3 was the ONE lane whose loader filenames lived in the card as
173
+ // constants while its DECL declared no lane_inputs — so a new
174
+ // quant or a renamed artifact left the card on stale weights with
175
+ // every wall green. The unet rides the row (the one file quants
176
+ // and hybrids vary); the encoder + the two VAEs ride the package
177
+ // const beside the parser (stroke 1 — invariants are not row
178
+ // members), and the card still reads none of them directly.
179
+ "lane_inputs": {
180
+ "unet": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
181
+
182
+ // lora is the default, and a run without the file refuses through
183
+ // the lane gate — the web popup's install button and the agent
184
+ // seat both key on that one refusal; "that is how it works").
185
+ // BARE NAME: the gate probes the provision row's own folder
186
+ // (loras/h3) as its last leg; the row below is the fetch truth.
187
+ "loras": "dmad_minimax_h3_4step_lora_critic_comfyui.safetensors",
188
+ },
189
+ // THE LANE SURFACE (the z-image precedent): exactly the knobs the
190
+ // h3-timeline card serves — the window inputs, the shared render
191
+ // tail, and each lane switch's refinement group.
192
+ "params": [
193
+ "prompt",
194
+ "image", "last_frame",
195
+ "ref_images", "ref_videos", "ref_video_trims", "ref_audios", "ref_mods",
196
+ "duck_depth_db",
197
+ "seed", "width", "height", "length", "steps", "denoise",
198
+ "second_pass_enabled",
199
+ "sharpen_enabled", "sharpen_method", "sharpen_radius", "sharpen_strength",
200
+ "sharpen_threshold", "sharpen_iterations", "sharpen_switch",
201
+ "interpolate_enabled", "interp_model", "interp_multiplier", "interp_switch",
202
+ "sampler_name", "sched_name", "k", "noise_seed", "fps_seconds",
203
+ "refine_lora", "refine_strength", "refine_steps",
204
+ "attention_backend",
205
+ "sr_switch", "sr_resolution", "sr_model",
206
+ "ref_image_size",
207
+ "shift_video", "shift_audio",
208
+ "sla_enabled", "sla_sparsity", "sla_block_size", "sla_min_seq_len",
209
+ "sla_dense_last_steps", "sla_dense_steps", "sla_dense_backend",
210
+ "sla_reference_protection", "sla_protect_audio", "sla_stabilize_motion",
211
+ "sla_disable_fp16_accum", "sla_switch",
212
+ "image_name",
213
+ ],
214
+ "provisions": [
215
+ {
216
+ "name": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
217
+ "url": "https://huggingface.co/smhfacct/Minimax-H3-fl2va-ref2va-hybrid-models/resolve/main/minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
218
+ "folder": "diffusion_models",
219
+ "sha256": "64f57f77ed85df04f7c0989ab84a5c3c110fb43a40dbc9badfe8ab2d5baafbca",
220
+ "size_bytes": 20970379632
221
+ },
222
+ {
223
+ "name": "minimax_h3_hybrid_fl2va_ref2va_b25-49-int8.safetensors",
224
+ "url": "https://huggingface.co/smhfacct/Minimax-H3-fl2va-ref2va-hybrid-models/resolve/main/minimax_h3_hybrid_fl2va_ref2va_b25-49-int8.safetensors",
225
+ "folder": "diffusion_models",
226
+ "sha256": "a629cfea8d89a071b140c6e1935dc9a23e72de6badc18975a2bb9e6d1423d76d",
227
+ "size_bytes": 20970379632
228
+ },
229
+ // THE FOLDED SINGLE-SHOT WEIGHTS (roadmap §8 — inherited from
230
+ // the dead h3 family verbatim: the fl2va/ref2va lanes load
231
+ // their own UNETs; the nvfp4 encoder + fp16 VAE are their
232
+ // alternates)
233
+ {
234
+ "name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
235
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
236
+ "folder": "diffusion_models",
237
+ "sha256": "e889202c41dafb67b10d67b97f0d8541508036a6090af23425a5c2615d03c47a",
238
+ "size_bytes": 20970379616
239
+ },
240
+ {
241
+ "name": "minimax_h3_ref2va_pruned_int8_convrot.safetensors",
242
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors",
243
+ "folder": "diffusion_models",
244
+ "sha256": "9255f52b6677845ad238f20dfaafa94727053694127ab7f255c048f0f9365779",
245
+ "size_bytes": 20970379616
246
+ },
247
+ {
248
+ "name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
249
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
250
+ "folder": "text_encoders",
251
+ "sha256": "35a88d51044231fe332301d7a62aa81e3f2cba62febeb446e2c1e3e0ef76f2c6",
252
+ "size_bytes": 15687142551
253
+ },
254
+ {
255
+ "name": "minimax_h3_video_vae_fp16.safetensors",
256
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_fp16.safetensors",
257
+ "folder": "vae",
258
+ "sha256": "7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522",
259
+ "size_bytes": 5207808496
260
+ },
261
+ {
262
+ "name": "minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
263
+ "url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
264
+ "folder": "loras/h3",
265
+ "sha256": "ffc5386a1b97aa1bc112b56378f37ef3c1cc69d55d5282281e8c6c728811e710",
266
+ "size_bytes": 867067150
267
+ },
268
+ {
269
+ "name": "minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors",
270
+ "url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/experimental/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors",
271
+ "folder": "loras/h3",
272
+ "sha256": "e14c9e78834f5fac9195cb022baf2bc83372140da5142a8c999a1f568cb4915d",
273
+ "size_bytes": 2116726792
274
+ },
275
+ {
276
+ "name": "minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors",
277
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors",
278
+ "folder": "loras/h3",
279
+ "sha256": "c396a9a06f58399e9df9754b18299818d84a2ddd371724ba48fe4a41221437dc",
280
+ "size_bytes": 1956192992
281
+ },
282
+ {
283
+ "name": "minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors",
284
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors",
285
+ "folder": "loras/h3",
286
+ "sha256": "2339acdf19bfe123f46b971ea35d367a84adb85de43627e1eceafa5a5b2b111e",
287
+ "size_bytes": 1956193000
288
+ },
289
+ {
290
+ "name": "minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
291
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors",
292
+ "folder": "loras/h3",
293
+ "sha256": "5b9ab5ade15d0775676d01a907268a69a1468dc6033b3b0d3ded5502f3ebb84c",
294
+ "size_bytes": 1956193000
295
+ },
296
+ {
297
+ "name": "MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors",
298
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors",
299
+ "folder": "loras/h3",
300
+ "sha256": "e97b813a6f857b9dab310f31ec30a8334f63a3e7dcb5d07c0c91933d3447a897",
301
+ "size_bytes": 1725921392
302
+ },
303
+ {
304
+ "name": "MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors",
305
+ "url": "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors",
306
+ "folder": "loras/h3",
307
+ "sha256": "6f18e1c2eccb14b37322607730f26b16bf1169b56cd098ea006cffaec43d1e39",
308
+ "size_bytes": 1725921392
309
+ },
310
+ {
311
+ "name": "minimax_h3_turbo_v4_step600_ema.safetensors",
312
+ "url": "https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/main/minimax_h3_turbo_v4_step600_ema.safetensors",
313
+ "folder": "loras/h3",
314
+ "sha256": "5f3a626cd72c93a8b9318d6760c510bc5092d2ab13aaba1f932c5bab07a416d3",
315
+ "size_bytes": 779849816
316
+ },
317
+ {
318
+ "name": "H3-PK-Parasyte-Turbo.safetensors",
319
+ "url": "https://huggingface.co/Plaguekind/H3-Lora/resolve/main/H3-PK-Parasyte-Turbo.safetensors",
320
+ "folder": "loras/h3",
321
+ "sha256": "dbf74bfb490b9322bd455edff95ce222b3553bb3472e4743134755db1edfe044",
322
+ "size_bytes": 2115774558
323
+ },
324
+ {
325
+ "name": "dmad_minimax_h3_4step_lora_critic_comfyui.safetensors",
326
+ "url": "https://huggingface.co/ZhengmingYu/DMAD/resolve/main/minimax_h3/dmad_minimax_h3_4step_lora_critic_comfyui.safetensors",
327
+ "folder": "loras/h3",
328
+ "sha256": "a4f54d9eb4eed9102be1adea8376e8e933cc2805f4017b95c14586290395b3a7",
329
+ "size_bytes": 1956195960
330
+ },
331
+ {
332
+ "name": "minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors",
333
+ "url": "https://huggingface.co/Kijai/MiniMax-H3_comfy/resolve/main/loras/minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors",
334
+ "folder": "loras/h3",
335
+ "sha256": "de9663d974a884b477556748239c6f28239f7ca1825be270f98f023ff5dab6a7",
336
+ "size_bytes": 181697688
337
+ },
338
+ {
339
+ "name": "h3_silu_temb_grid.safetensors",
340
+ "url": "https://huggingface.co/deAPI-ai/minimax-h3-33b-int8/resolve/main/loras/h3_silu_temb_grid.safetensors",
341
+ "folder": "h3_adaln",
342
+ "sha256": "30eb3c2cc7fb6b470d9717ff840d359313ac27cd64b705e32da1baa10f72d6a8",
343
+ "size_bytes": 5510600
344
+ },
345
+ {
346
+ "name": "minimax_h3_latent_upscaler_3d_bf16.safetensors",
347
+ "url": "https://huggingface.co/LBH-123-AI/Minimax_h3_latent_Upscaler/resolve/main/minimax_h3_latent_upscaler_3d_conv_v1/minimax_h3_latent_upscaler_3d_conv_v1_bf16.safetensors",
348
+ "folder": "diffusion_models",
349
+ "size_bytes": 690592992,
350
+ "sha256": "4f57821f5837f32f7142b67d815606dbd7550f194e5c769f7d6c3f83b146a5e6"
351
+ },
352
+ {
353
+ "name": "film_net_fp16.safetensors",
354
+ "url": "https://huggingface.co/Comfy-Org/frame_interpolation/resolve/main/frame_interpolation/film_net_fp16.safetensors",
355
+ "folder": "frame_interpolation",
356
+ "sha256": "f226e51375dc839d4b40e5c3d63da560dd1ea1c962364ec78f5adf2d05db05c0",
357
+ "size_bytes": 68882302
358
+ },
359
+ {
360
+ "name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
361
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
362
+ "folder": "text_encoders",
363
+ "sha256": "bc2ced0fbea64757fa9acddccfc0b3f4819d1dcf1da6c124d690d368be283923",
364
+ "size_bytes": 27141342152
365
+ },
366
+ {
367
+ "name": "minimax_h3_video_vae_int8_convrot.safetensors",
368
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_video_vae_int8_convrot.safetensors",
369
+ "folder": "vae",
370
+ "sha256": "52a2c8c73583c86e4f41cdcce3a6ad0ea562987bc0bf3d60a0cef5f5c8e60c0e",
371
+ "size_bytes": 2811065184
372
+ },
373
+ {
374
+ "name": "minimax_h3_audio_vae_fp32.safetensors",
375
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/vae/minimax_h3_audio_vae_fp32.safetensors",
376
+ "folder": "vae",
377
+ "sha256": "8e505d95dd1561d47abd43d4238fd40d9bb1ae9e147ed0a4cba778d76ae4db48",
378
+ "size_bytes": 605254808
379
+ }
380
+ ],
381
+ "has_agent": true,
382
+ "has_inference": true,
383
+ // the film action the h3-timeline card binds (the whole video
384
+ // lane: multi-window films, single windows, clips mixing).
385
+ "actions": [film],
386
+ };
387
+ export const family = {
388
+ name: "family-h3",
389
+ inject: ["models"],
390
+ apply(ctx) {
391
+ ctx.effect(() => ctx.models.registerFamily(DECL));
392
+ },
393
+ };
394
+ export { finalizeH3, H3_T4_STRIP } from "./finalize.js";
395
+ export { assertOverlayGated } from "./actions.js";
396
+ // The Loader-row face: DSH loads plugin rows by bare specifier and
397
+ // unwraps `exports.default ?? exports` (vendor/cordis_plugins/loader
398
+ // unwrapExports) — the default export IS the row-loadable plugin. The
399
+ // named `family` stays the library face (engine loadFamilies).
400
+ export { family as default };
401
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,98 @@
1
+ import type { Context } from '@melite/comfyui-card-kit/card-definition';
2
+ export declare const inject: string[];
3
+ export declare const H3_LORA_ROWS: readonly [{
4
+ readonly id: "h3_lightx2v_dareties";
5
+ readonly filename: "h3/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors";
6
+ readonly source_url: "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors";
7
+ readonly label: "LightX2V dareties v4";
8
+ readonly category: "distill";
9
+ readonly default_strength: 0.8;
10
+ readonly steps: 4;
11
+ }, {
12
+ readonly id: "h3_lightx2v_turbo";
13
+ readonly filename: "h3/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors";
14
+ readonly source_url: "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/experimental/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors";
15
+ readonly label: "LightX2V Turbo 4-8 step";
16
+ readonly category: "distill";
17
+ readonly default_strength: 0.6;
18
+ readonly steps: 8;
19
+ readonly steps_min: 4;
20
+ readonly steps_max: 8;
21
+ }, {
22
+ readonly id: "h3_turbo4_v1";
23
+ readonly filename: "h3/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors";
24
+ readonly source_url: "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors";
25
+ readonly label: "LightX2V Turbo 4-Step v1.0 (768p)";
26
+ readonly category: "distill";
27
+ readonly default_strength: 1;
28
+ readonly steps: 4;
29
+ }, {
30
+ readonly id: "h3_turbo8_v1";
31
+ readonly filename: "h3/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors";
32
+ readonly source_url: "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors";
33
+ readonly label: "LightX2V Turbo 8-Step v1.0";
34
+ readonly category: "distill";
35
+ readonly default_strength: 1;
36
+ readonly steps: 8;
37
+ }, {
38
+ readonly id: "h3_ref2v_turbo4";
39
+ readonly filename: "h3/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors";
40
+ readonly source_url: "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors";
41
+ readonly label: "LightX2V Ref Turbo 4-Step v0.1";
42
+ readonly category: "distill";
43
+ readonly default_strength: 1;
44
+ readonly steps: 4;
45
+ }, {
46
+ readonly id: "h3_acc8_fl2va";
47
+ readonly filename: "h3/MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors";
48
+ readonly source_url: "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors";
49
+ readonly label: "Kijai FL2VA Acc 8-Step";
50
+ readonly category: "distill";
51
+ readonly default_strength: 1;
52
+ readonly steps: 8;
53
+ }, {
54
+ readonly id: "h3_acc8_ref2va";
55
+ readonly filename: "h3/MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors";
56
+ readonly source_url: "https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors";
57
+ readonly label: "Kijai Ref2VA Acc 8-Step";
58
+ readonly category: "distill";
59
+ readonly default_strength: 1;
60
+ readonly steps: 8;
61
+ }, {
62
+ readonly id: "h3_larryvrh_v4_ema";
63
+ readonly filename: "h3/minimax_h3_turbo_v4_step600_ema.safetensors";
64
+ readonly source_url: "https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/main/minimax_h3_turbo_v4_step600_ema.safetensors";
65
+ readonly label: "Larryvrh Turbo v4-600 EMA";
66
+ readonly category: "distill";
67
+ readonly default_strength: 1;
68
+ readonly steps: 6;
69
+ readonly steps_min: 4;
70
+ readonly steps_max: 8;
71
+ }, {
72
+ readonly id: "h3_pk_parasyte";
73
+ readonly filename: "h3/H3-PK-Parasyte-Turbo.safetensors";
74
+ readonly source_url: "https://huggingface.co/Plaguekind/H3-Lora/resolve/main/H3-PK-Parasyte-Turbo.safetensors";
75
+ readonly label: "PK Parasyte Turbo";
76
+ readonly category: "distill";
77
+ readonly default_strength: 1.5;
78
+ readonly steps: 8;
79
+ readonly steps_min: 6;
80
+ readonly steps_max: 8;
81
+ }, {
82
+ readonly id: "h3_dmad_4step";
83
+ readonly filename: "h3/dmad_minimax_h3_4step_lora_critic_comfyui.safetensors";
84
+ readonly source_url: "https://huggingface.co/ZhengmingYu/DMAD/resolve/main/minimax_h3/dmad_minimax_h3_4step_lora_critic_comfyui.safetensors";
85
+ readonly label: "DMAD 4-Step (ByteDance/TAMU)";
86
+ readonly category: "distill";
87
+ readonly default_strength: 1;
88
+ readonly steps: 4;
89
+ }, {
90
+ readonly id: "h3_taomate_3step";
91
+ readonly filename: "h3/minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors";
92
+ readonly source_url: "https://huggingface.co/Kijai/MiniMax-H3_comfy/resolve/main/loras/minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors";
93
+ readonly label: "TaoMate 3-Step (refiner)";
94
+ readonly category: "distill";
95
+ readonly default_strength: 0.7;
96
+ readonly steps: 3;
97
+ }];
98
+ export declare function apply(ctx: Context): void;
@@ -0,0 +1,51 @@
1
+ export const inject = ['comfyui'];
2
+ export const H3_LORA_ROWS = [
3
+ { id: 'h3_lightx2v_dareties', filename: 'h3/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors', source_url: 'https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors', label: 'LightX2V dareties v4', category: 'distill', default_strength: 0.8, steps: 4 },
4
+ { id: 'h3_lightx2v_turbo', filename: 'h3/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors', source_url: 'https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/experimental/minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors', label: 'LightX2V Turbo 4-8 step', category: 'distill', default_strength: 0.6, steps: 8, steps_min: 4, steps_max: 8 },
5
+ { id: 'h3_turbo4_v1', filename: 'h3/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors', label: 'LightX2V Turbo 4-Step v1.0 (768p)', category: 'distill', default_strength: 1, steps: 4 },
6
+ { id: 'h3_turbo8_v1', filename: 'h3/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors', label: 'LightX2V Turbo 8-Step v1.0', category: 'distill', default_strength: 1, steps: 8 },
7
+ { id: 'h3_ref2v_turbo4', filename: 'h3/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors', source_url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors', label: 'LightX2V Ref Turbo 4-Step v0.1', category: 'distill', default_strength: 1, steps: 4 },
8
+ { id: 'h3_acc8_fl2va', filename: 'h3/MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors', source_url: 'https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-FL2VA-Acc-8Step_pruned_comfy.safetensors', label: 'Kijai FL2VA Acc 8-Step', category: 'distill', default_strength: 1, steps: 8 },
9
+ { id: 'h3_acc8_ref2va', filename: 'h3/MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors', source_url: 'https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/main/loras/MiniMax-H3-Ref2VA-Acc-8Step_pruned_comfy.safetensors', label: 'Kijai Ref2VA Acc 8-Step', category: 'distill', default_strength: 1, steps: 8 },
10
+
11
+ // 15k-vote leaderboard + the authors' own READMEs): larryvrh's
12
+ // v4-600 EMA is the crowd's #1 (1112 Elo at 6 steps; his README:
13
+ // "use 6–8 steps, strength 1.0 — where v4 looks its best");
14
+ // Plaguekind's Parasyte is #2 (1103) — his OWN mutation of
15
+ // dareties to "remove turbo behavior", README rec 1.5 str / 8
16
+ // steps / 12-3 shift / er_sde beta57 (the strength contract
17
+ // allows 0–2 — 1.5 is the designed point, not a typo). ──
18
+ { id: 'h3_larryvrh_v4_ema', filename: 'h3/minimax_h3_turbo_v4_step600_ema.safetensors', source_url: 'https://huggingface.co/larryvrh/MiniMax-H3-Turbo-Lora/resolve/main/minimax_h3_turbo_v4_step600_ema.safetensors', label: 'Larryvrh Turbo v4-600 EMA', category: 'distill', default_strength: 1, steps: 6, steps_min: 4, steps_max: 8 },
19
+ { id: 'h3_pk_parasyte', filename: 'h3/H3-PK-Parasyte-Turbo.safetensors', source_url: 'https://huggingface.co/Plaguekind/H3-Lora/resolve/main/H3-PK-Parasyte-Turbo.safetensors', label: 'PK Parasyte Turbo', category: 'distill', default_strength: 1.5, steps: 8, steps_min: 6, steps_max: 8 },
20
+
21
+ // Matching as Adversarial Distillation (Yu et al., ByteDance +
22
+ // Texas A&M, arXiv:2610.02188). Rank-128 over the attn/ff modules
23
+ // of all 50 transformer blocks + 2 token refiners; turns the
24
+ // 50-step teacher into a 4-step generator at 1344x768 with native
25
+ // stereo audio. The paper's EMA checkpoint (`lora_critic`,
26
+ // iteration 800 of the main run) in ComfyUI's key layout, 2.0 GB;
27
+ // the higher-bench `full_critic` twin stays unboarded until the
28
+ // velocity arena rules (one row, one paper). LICENCE: the MiniMax
29
+ // H3 community licence — the base weights' own class; the V1
30
+ // region exclusion precedent applies. STRENGTH 1: distillation
31
+ // adapters are designed at full strength (the lightx2v convention
32
+ // above). The paper's no-CFG + shift 12/2 spelling matches what
33
+ // the composed arms already pin (no cfg knob exists on this
34
+ // card). The adaln guard rides the arena's first stacked load: a
35
+ // dense LoRA silently drops 51 adaln_proj keys on a pruned base —
36
+ // watch the load log (roadmap, H3 velocity rows). ──
37
+ { id: 'h3_dmad_4step', filename: 'h3/dmad_minimax_h3_4step_lora_critic_comfyui.safetensors', source_url: 'https://huggingface.co/ZhengmingYu/DMAD/resolve/main/minimax_h3/dmad_minimax_h3_4step_lora_critic_comfyui.safetensors', label: 'DMAD 4-Step (ByteDance/TAMU)', category: 'distill', default_strength: 1, steps: 4 },
38
+ // ── THE REFINER (the second-pass instrument — see the refiner
39
+ // design in the ledger): solo it is retired-tier (arena 935),
40
+ // but 3 steps @ 0.7 over a non-accelerated draft "closes" the
41
+ // generation without smearing (the TaoMate refiner recipe). ──
42
+ { id: 'h3_taomate_3step', filename: 'h3/minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors', source_url: 'https://huggingface.co/Kijai/MiniMax-H3_comfy/resolve/main/loras/minimax_h3_taomate_3step_lora_avg_rank_19_bf16.safetensors', label: 'TaoMate 3-Step (refiner)', category: 'distill', default_strength: 0.7, steps: 3 },
43
+ ];
44
+ export function apply(ctx) {
45
+ ctx.effect(() => ctx.comfyui.registerFlavor({
46
+ pack: 'loras',
47
+ families: ['h3'],
48
+ rows: H3_LORA_ROWS,
49
+ }));
50
+ }
51
+ //# sourceMappingURL=loras.js.map