@melite/models-h3 0.1.5-pre-alpha → 0.2.2-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/LICENSE +561 -457
- package/README.md +11 -16
- package/lib/actions.d.ts +100 -17
- package/lib/actions.js +1505 -257
- package/lib/chainEdit.d.ts +196 -0
- package/lib/chainEdit.js +334 -0
- package/lib/chainUpscale.d.ts +25 -0
- package/lib/chainUpscale.js +134 -0
- package/lib/extend.d.ts +25 -0
- package/lib/extend.js +221 -0
- package/lib/filmMix.d.ts +28 -12
- package/lib/filmMix.js +47 -16
- package/lib/finalize.js +6 -1
- package/lib/index.d.ts +12 -0
- package/lib/index.js +269 -65
- package/lib/mods/loras.d.ts +18 -95
- package/lib/mods/loras.js +35 -10
- package/lib/refine.d.ts +170 -0
- package/lib/refine.js +775 -0
- package/lib/repair.d.ts +15 -0
- package/lib/repair.js +164 -0
- package/lib/reshoot.d.ts +201 -0
- package/lib/reshoot.js +399 -0
- package/lib/schema.d.ts +70 -13
- package/lib/schema.js +342 -60
- package/lib/swap.d.ts +14 -0
- package/lib/swap.js +95 -0
- package/lib/timelineContract.d.ts +170 -0
- package/lib/timelineContract.js +238 -2
- package/lib/windowSpec.d.ts +23 -0
- package/lib/windowSpec.js +49 -0
- package/package.json +23 -12
package/lib/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { FAMILY_LAW } from "./timelineContract.js";
|
|
1
2
|
import { film } from "./actions.js";
|
|
2
3
|
export const DECL = {
|
|
3
4
|
"id": "h3",
|
|
4
5
|
"form": "form_video_director",
|
|
5
6
|
"label": "MiniMax H3",
|
|
6
|
-
"description": "MiniMax H3 joint video + audio — one model,
|
|
7
|
+
"description": "MiniMax H3 joint video + audio — one model, two lanes: multi-window timeline films and keyframe-anchored beats on the timeline bar",
|
|
7
8
|
"engine": "comfyui",
|
|
8
9
|
|
|
9
10
|
// lives on the family's own carrier schema (src/schema.ts,
|
|
@@ -47,9 +48,33 @@ export const DECL = {
|
|
|
47
48
|
"sr_switch",
|
|
48
49
|
"sr_model",
|
|
49
50
|
"sr_resolution",
|
|
51
|
+
"second_pass_enabled",
|
|
52
|
+
"refine_lora",
|
|
53
|
+
"refine_strength",
|
|
54
|
+
"refine_steps",
|
|
55
|
+
"refine_denoise",
|
|
56
|
+
"upscale_route",
|
|
57
|
+
"upscale_model",
|
|
50
58
|
"audio_clips",
|
|
51
59
|
"audio_stem",
|
|
60
|
+
// THE BAKE'S STATED DIALS + the attention backend (audit A7,
|
|
61
|
+
|
|
62
|
+
// authored on the panel — declared here so the writes row
|
|
63
|
+
// accounts for every serialized studio seat (the
|
|
64
|
+
// studio-contract-wall's A7 arm derives the drift).
|
|
65
|
+
"attention_backend",
|
|
66
|
+
"refmod_mode",
|
|
67
|
+
"refmod_pool",
|
|
68
|
+
"refmod_identity",
|
|
69
|
+
"refmod_save",
|
|
52
70
|
"loras",
|
|
71
|
+
// THE RE-SHOOT GROUP RETIRED from the writes row (the
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// RESHOOT_MOD bag is authored through the card's mods surface
|
|
75
|
+
// like replace/repair/extend (none of which ride this row);
|
|
76
|
+
// the studio projects it (the commission rail) but never
|
|
77
|
+
// authors it through the Layer-A serializer.
|
|
53
78
|
"document"
|
|
54
79
|
],
|
|
55
80
|
"kind": "custom",
|
|
@@ -62,92 +87,178 @@ export const DECL = {
|
|
|
62
87
|
// call knobs > lora steps > the steps row, Math.max across the
|
|
63
88
|
// bag). Served on the form-spec kind so every client face
|
|
64
89
|
// mirrors compose — one truth per value: the catalog row owns
|
|
65
|
-
// strength + steps; recipes reference ids ONLY.
|
|
66
|
-
|
|
90
|
+
// strength + steps; recipes reference ids ONLY. THE MARRIED
|
|
91
|
+
|
|
92
|
+
// declaration — the distill's sigma-shift grid is part of its
|
|
93
|
+
// training contract (8-step 12, 4-step 6; rows without a column
|
|
94
|
+
// keep the schema default 8), max across the bag, the doc's own
|
|
95
|
+
// stated shift never loses.
|
|
96
|
+
"mods": [{ "pack": "loras", "marries": { "steps": "max", "shift_video": "max" } }],
|
|
67
97
|
"genre": "video",
|
|
68
98
|
"variants": [
|
|
69
99
|
{
|
|
70
100
|
"id": "timeline",
|
|
71
|
-
"label": "
|
|
101
|
+
"label": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8",
|
|
72
102
|
"hint": "The multi-window timeline — hybrid FL2VA/Ref2VA windows, SLA sparse attention, the film path.",
|
|
73
103
|
"group": "Variant",
|
|
74
104
|
"route": "h3-timeline",
|
|
105
|
+
|
|
106
|
+
// CONVROT != INT8 CONVROT PRUNED — the system needs ALL
|
|
107
|
+
// THREE"): the timeline lane serves the smhfacct hybrid (its
|
|
108
|
+
// name carries no convrot mark — the coordinate states
|
|
109
|
+
// filename truth), the ALREADY-PROVISIONED Comfy-Org pruned
|
|
110
|
+
// ConvRot dit, and the 34 GB non-pruned ConvRot tier (digest
|
|
111
|
+
|
|
112
|
+
// vram_peak is claimed on the new tiers until measured (the
|
|
113
|
+
// singularity precedent).
|
|
75
114
|
"cells": [
|
|
76
115
|
{
|
|
77
116
|
"quant": "int8",
|
|
78
|
-
"label": "INT8
|
|
117
|
+
"label": "INT8 Hybrid",
|
|
79
118
|
"route": "h3-timeline",
|
|
80
119
|
"vram_peak_gb": 30,
|
|
120
|
+
"lane_inputs": {
|
|
121
|
+
"unet": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"quant": "int8_convrot_pruned",
|
|
126
|
+
"label": "INT8 ConvRot Pruned",
|
|
127
|
+
"route": "h3-timeline-pruned",
|
|
128
|
+
"lane_inputs": {
|
|
129
|
+
"unet": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"quant": "int8_convrot",
|
|
134
|
+
"label": "INT8 ConvRot",
|
|
135
|
+
"route": "h3-timeline-convrot",
|
|
136
|
+
"lane_inputs": {
|
|
137
|
+
"unet": "minimax_h3_fl2va_int8_convrot.safetensors",
|
|
138
|
+
},
|
|
139
|
+
"artifact": {
|
|
140
|
+
"source_url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_int8_convrot.safetensors",
|
|
141
|
+
"size_bytes": 34038892334,
|
|
142
|
+
"sha256": "7ad4c73e6e378b822ffd1629f27f632d3787d95f5e468e3af958f98c58df96a5",
|
|
143
|
+
"dest_root": "COMFYUI_ROOT",
|
|
144
|
+
"dest_sub": "diffusion_models",
|
|
145
|
+
"size_hint_gb": 34,
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
|
|
151
|
+
// this as a 'variant' … place this new one beside it" — the
|
|
152
|
+
|
|
153
|
+
// fine-tune rides the SAME timeline card as a checkpoint-axis
|
|
154
|
+
// row on its OWN variant lane address (the krea-2 raw-lane
|
|
155
|
+
// precedent — two offered variants never share a route address:
|
|
156
|
+
// the address claim takes pool order, so a shared spelling
|
|
157
|
+
// leaves the second lane unreachable and offered-cells red; the
|
|
158
|
+
// first-declared variant's lane_inputs stay the family default
|
|
159
|
+
// view, this row overrides the unet per-variant, and its
|
|
160
|
+
// resolver_defaults.model re-points the lane's own served
|
|
161
|
+
// default). NOT a lane revival: the folded single-shot routes
|
|
162
|
+
// stay retired. First+last-frame adherence is UNPROVEN on this
|
|
163
|
+
// checkpoint (ref2va-lineage fine-tune) — the bench audition
|
|
164
|
+
// decides before any default moves, and no vram_peak is claimed
|
|
165
|
+
// until it is measured.
|
|
166
|
+
{
|
|
167
|
+
"id": "singularity",
|
|
168
|
+
"label": "Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8",
|
|
169
|
+
"hint": "The community Singularity fine-tune (ref2va lineage) — HDR/action tuning; the first+last-frame pass is unproven here, audition before any default.",
|
|
170
|
+
"group": "Variant",
|
|
171
|
+
"route": "h3-singularity",
|
|
172
|
+
"resolver_defaults": { "model": "h3-singularity" },
|
|
173
|
+
"lane_inputs": {
|
|
174
|
+
"unet": "Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors",
|
|
175
|
+
},
|
|
176
|
+
"cells": [
|
|
177
|
+
{
|
|
178
|
+
"quant": "int8_pruned",
|
|
179
|
+
"label": "INT8 Pruned",
|
|
180
|
+
"route": "h3-singularity",
|
|
81
181
|
}
|
|
82
182
|
]
|
|
83
183
|
},
|
|
84
184
|
|
|
85
|
-
//
|
|
86
|
-
//
|
|
185
|
+
// lora to the silveroxides merge" — SILVEROXIDES IS THE MERGE,
|
|
186
|
+
// LIGHTX2V IS NOT). The artifact is silveroxides' OFFICIAL
|
|
187
|
+
// `minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors`
|
|
188
|
+
// (silver_official_releases/; catalog row h3_silver_dareties,
|
|
189
|
+
// labelled "Silveroxides DARE-TIES Merge", provisioned below
|
|
190
|
+
|
|
191
|
+
// experimental/ LightX2V-turbo × dareties file (row
|
|
192
|
+
// h3_lightx2v_turbo) as "the merge" — the F34b class again: a
|
|
193
|
+
// merge the catalog never held; that row stays PICK-ONLY under
|
|
194
|
+
// its honest experimental label.
|
|
195
|
+
|
|
87
196
|
|
|
88
|
-
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
92
|
-
//
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
// STEPS IS UNSTATED BY DESIGN — the row owns its married 4;
|
|
197
|
+
|
|
198
|
+
// and 3 recipes… Default is the standard") both carried forward —
|
|
199
|
+
// the trio Draft / Standard / Final Cut still rides ONE lora,
|
|
200
|
+
// selection only, and `standard` stays FIRST in the Recipe group
|
|
201
|
+
// ON PURPOSE: the birth stamp takes the first composing Recipe
|
|
202
|
+
// row (card-base seedRecipeStamp — the first-declared law; the
|
|
203
|
+
// Recipe axis itself YIELDS, never seeds a key), so every fresh
|
|
204
|
+
// h3-timeline card is born with the lora on. Geometry is NOT
|
|
205
|
+
// stamped here (the DRY law, one value one owner): the carrier
|
|
206
|
+
// schema's own 1344×768 floor IS the standard geometry. The
|
|
207
|
+
// payload mirrors a hand pick exactly (declared keys only):
|
|
208
|
+
// SELECTION ONLY (#36). STEPS IS UNSTATED BY DESIGN — the row
|
|
209
|
+
// owns its married 8 (the marriage law: the bag resolves unstated
|
|
210
|
+
// steps, so the default run takes the merge's full 8-step count,
|
|
211
|
+
// the designed 6–8 band's top — the dareties settings thread);
|
|
104
212
|
// stamping steps would hard-pin what the bag resolves. The
|
|
105
|
-
// file's door is the lane gate (lane_inputs loras +
|
|
106
|
-
// provision row below): absent on disk, the run refuses with
|
|
213
|
+
// file's door is the lane gate (lane_inputs loras +
|
|
214
|
+
// the provision row below): absent on disk, the run refuses with
|
|
107
215
|
// the fetch hint — the web popup's install button and the agent
|
|
108
216
|
// seat both ride that one refusal.
|
|
109
217
|
{
|
|
110
218
|
"id": "standard",
|
|
111
219
|
"label": "Standard",
|
|
112
|
-
"hint": "The default — the
|
|
220
|
+
"hint": "The default — the Silveroxides DARE-TIES Merge at the calibrated 1344×768. Steps derive from the lora marriage (8).",
|
|
113
221
|
"group": "Recipe",
|
|
114
222
|
"wire_defaults": {
|
|
115
|
-
"loras": [{ "id": "
|
|
223
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
116
224
|
},
|
|
117
225
|
"cells": [],
|
|
118
226
|
},
|
|
119
227
|
// DRAFT (operator, this session: "for low resolution, that is
|
|
120
228
|
// good for the draft recipe"): the fast iteration tier — the
|
|
121
|
-
// same
|
|
229
|
+
// same merge bag at draft geometry 768×448. Steps stay
|
|
122
230
|
// unstated (the marriage law).
|
|
123
231
|
{
|
|
124
232
|
"id": "draft",
|
|
125
233
|
"label": "Draft",
|
|
126
|
-
"hint": "Fast iteration — the same
|
|
234
|
+
"hint": "Fast iteration — the same Silveroxides merge bag at draft geometry (768×448). Steps derive from the lora marriage (8).",
|
|
127
235
|
"group": "Recipe",
|
|
128
236
|
"wire_defaults": {
|
|
129
|
-
"loras": [{ "id": "
|
|
237
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
130
238
|
"width": 768,
|
|
131
239
|
"height": 448,
|
|
132
240
|
},
|
|
133
241
|
"cells": [],
|
|
134
242
|
},
|
|
135
|
-
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
// the
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
243
|
+
|
|
244
|
+
// finishing tier — same bag, full geometry (the carrier floor
|
|
245
|
+
// 1344×768, never duplicated here), plus the spec's OWN Stage 2+3
|
|
246
|
+
// rail: the 3D latent-upscale handoff (upscale_route latent_2x —
|
|
247
|
+
// 2.0× in-band on the joint AV latent, z_a locked, the 0.35
|
|
248
|
+
// partial-denoise window; pass 2 rides the un-distilled base by
|
|
249
|
+
// the Stage-3 model law) behind the master switch. The pixel
|
|
250
|
+
// limbs (SeedVR2 sr_switch, sharpen, FILM interp) stay EXPLICIT
|
|
251
|
+
// picks — the spec ranks pixel-space super-res below the latent
|
|
252
|
+
// route; a recipe must not arm the inferior one by default.
|
|
142
253
|
{
|
|
143
254
|
"id": "final",
|
|
144
255
|
"label": "Final Cut",
|
|
145
|
-
"hint": "The finishing pass — the
|
|
256
|
+
"hint": "The finishing pass — the Silveroxides merge bag plus the spec's latent handoff: 2.0× 3D latent upscale with a 0.35 refine window on the un-distilled base. Pixel super-res and interpolation stay explicit picks.",
|
|
146
257
|
"group": "Recipe",
|
|
147
258
|
"wire_defaults": {
|
|
148
|
-
"loras": [{ "id": "
|
|
259
|
+
"loras": [{ "id": "h3_silver_dareties" }],
|
|
149
260
|
"second_pass_enabled": true,
|
|
150
|
-
"
|
|
261
|
+
"upscale_route": "latent_2x",
|
|
151
262
|
},
|
|
152
263
|
"cells": [],
|
|
153
264
|
},
|
|
@@ -179,19 +290,58 @@ export const DECL = {
|
|
|
179
290
|
"lane_inputs": {
|
|
180
291
|
"unet": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
|
|
181
292
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
// DEFAULT: the operator's order "switch the default lora to the
|
|
297
|
+
// silveroxides merge" — the official silver_official_releases
|
|
298
|
+
// DARE-TIES merge, not the experimental/ LightX2V file that row
|
|
299
|
+
// named): a run without the file refuses through the lane gate
|
|
300
|
+
// — the web popup's install button and the agent seat both key
|
|
301
|
+
// on that one refusal; "that is how it works".
|
|
185
302
|
// BARE NAME: the gate probes the provision row's own folder
|
|
186
303
|
// (loras/h3) as its last leg; the row below is the fetch truth.
|
|
187
|
-
"loras": "
|
|
304
|
+
"loras": "minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
188
305
|
},
|
|
189
306
|
// THE LANE SURFACE (the z-image precedent): exactly the knobs the
|
|
190
307
|
// h3-timeline card serves — the window inputs, the shared render
|
|
191
|
-
// tail, and each lane switch's refinement group.
|
|
308
|
+
// tail, and each lane switch's refinement group. NO 'prompt'
|
|
309
|
+
|
|
310
|
+
// is gone — calls own their text; the schema dropped it in
|
|
311
|
+
// schema.ts and this surface drops it with it, else the claim law
|
|
312
|
+
// names a dead declaration the card cannot carry).
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
// spelling, verbatim off the contract module (one owner —
|
|
316
|
+
// FAMILY_LAW IS the data deriveWindowFamily walks; the served
|
|
317
|
+
// copy cannot drift, the contract wall pins the agreement). The
|
|
318
|
+
// lanes still label the studio's family readouts; deadKeys is
|
|
319
|
+
// EMPTY since the t4r arm gained the post chain — no finish key
|
|
320
|
+
// is lane-dead, so the generic composeValidate clause admits
|
|
321
|
+
// every key on every lane.
|
|
322
|
+
"familyLaw": FAMILY_LAW,
|
|
323
|
+
|
|
324
|
+
// the round-48 sampler five): every row below either rides a graph
|
|
325
|
+
// consumer VERBATIM or is named as unstatable here — silent unmapped
|
|
326
|
+
// is the one shape this surface forbids. Wall:
|
|
327
|
+
// tests/value-roundtrip.spec.ts (registry row
|
|
328
|
+
// models-h3-sampler-value-law). Sampler → RandomNoise/KSamplerSelect/
|
|
329
|
+
// BasicScheduler (ARMs 1-3). Latent shape → ReferenceToVideo
|
|
330
|
+
// width/height/length/ref_image_size (13). Shifts → SigmaShift (14).
|
|
331
|
+
// sla_* → H3SLAAttention, sla_enabled owns the attention switch (15);
|
|
332
|
+
// sla_switch is NOT retired — the t4r arm reads it at the pick (31).
|
|
333
|
+
// attention_backend → ModelAttentionBackend (16). interp/sr → the
|
|
334
|
+
// FILM + SeedVR2 pairs behind the second-pass master (17);
|
|
335
|
+
// sharpen_* → the ImageSharpenKJ V3 combo wires (18 + U2 ARMs 48-50). refine_* → the
|
|
336
|
+
// rider loader/scheduler (4/4b/7). Media/refmod/duck/image_name →
|
|
337
|
+
// 19/20/22. k → the window save name (21); noise_seed → RandomNoise
|
|
338
|
+
// per stanza (2/34). STAND-DOWNS, named: fps_seconds is INTERNAL —
|
|
339
|
+
// derived from the window length at the render seat (the no-stale
|
|
340
|
+
// law; a stated pin never reaches a node, ARM 33); interp_switch and
|
|
341
|
+
// sharpen_switch are retired aliases — the primaries own their
|
|
342
|
+
// switches (23/32).
|
|
192
343
|
"params": [
|
|
193
|
-
"
|
|
194
|
-
"image", "last_frame",
|
|
344
|
+
"image",
|
|
195
345
|
"ref_images", "ref_videos", "ref_video_trims", "ref_audios", "ref_mods",
|
|
196
346
|
"duck_depth_db",
|
|
197
347
|
"seed", "width", "height", "length", "steps", "denoise",
|
|
@@ -199,8 +349,12 @@ export const DECL = {
|
|
|
199
349
|
"sharpen_enabled", "sharpen_method", "sharpen_radius", "sharpen_strength",
|
|
200
350
|
"sharpen_threshold", "sharpen_iterations", "sharpen_switch",
|
|
201
351
|
"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",
|
|
352
|
+
"sampler_name", "sched_name", "k", "noise_seed", "fps", "fps_seconds",
|
|
353
|
+
"refine_lora", "refine_strength", "refine_steps", "refine_denoise",
|
|
354
|
+
// THE LATENT-UPSCALE ROUTE (SOTA plan Phase P2 — the P2 verdict's
|
|
355
|
+
// own knobs on the lane surface): the sub-gate + its closed file
|
|
356
|
+
// surface ride beside the refine seats, witnessed at ARM 37.
|
|
357
|
+
"upscale_route", "upscale_model",
|
|
204
358
|
"attention_backend",
|
|
205
359
|
"sr_switch", "sr_resolution", "sr_model",
|
|
206
360
|
"ref_image_size",
|
|
@@ -209,7 +363,16 @@ export const DECL = {
|
|
|
209
363
|
"sla_dense_last_steps", "sla_dense_steps", "sla_dense_backend",
|
|
210
364
|
"sla_reference_protection", "sla_protect_audio", "sla_stabilize_motion",
|
|
211
365
|
"sla_disable_fp16_accum", "sla_switch",
|
|
366
|
+
// THE BAKE'S STATED DIALS (study §5/§7.2; value-arms ARMs 13/14)
|
|
367
|
+
// — the family's own declared surface for the RefMod extract's
|
|
368
|
+
// fidelity dials (the schema's refmod group, the film action's
|
|
369
|
+
// rows, the compose's stated inputs).
|
|
370
|
+
"refmod_mode", "refmod_pool", "refmod_identity", "refmod_save",
|
|
212
371
|
"image_name",
|
|
372
|
+
// THE RE-SHOOT COMMISSION left this map (the fourth-mod-bag
|
|
373
|
+
|
|
374
|
+
// knob→seat map mirrors DECL params, and the bag's law is
|
|
375
|
+
// witnessed by tests/reshoot.spec.ts, not by this census.
|
|
213
376
|
],
|
|
214
377
|
"provisions": [
|
|
215
378
|
{
|
|
@@ -219,17 +382,22 @@ export const DECL = {
|
|
|
219
382
|
"sha256": "64f57f77ed85df04f7c0989ab84a5c3c110fb43a40dbc9badfe8ab2d5baafbca",
|
|
220
383
|
"size_bytes": 20970379632
|
|
221
384
|
},
|
|
385
|
+
// THE SINGULARITY CHECKPOINT (the variant row above): digest and
|
|
386
|
+
// byte size read verbatim from the HF tree API (xet lfs oid),
|
|
387
|
+
|
|
388
|
+
// w4a8: like-for-like with the hybrid's footprint, and the w4a8
|
|
389
|
+
// quant scheme is unverified against the stock UNETLoader.
|
|
222
390
|
{
|
|
223
|
-
"name": "
|
|
224
|
-
"url": "https://huggingface.co/
|
|
391
|
+
"name": "Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors",
|
|
392
|
+
"url": "https://huggingface.co/WarmBloodAban/Minimax-h3_Singularity/resolve/main/Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors",
|
|
225
393
|
"folder": "diffusion_models",
|
|
226
|
-
"sha256": "
|
|
227
|
-
"size_bytes":
|
|
394
|
+
"sha256": "412a7b126595a958964193f3b42513d7cf2df4196ef04223a0f05e3622949cce",
|
|
395
|
+
"size_bytes": 20967647456
|
|
228
396
|
},
|
|
229
|
-
// THE
|
|
230
|
-
|
|
231
|
-
//
|
|
232
|
-
//
|
|
397
|
+
// THE PRUNED CONVROT TIER's FILE (the timeline's
|
|
398
|
+
|
|
399
|
+
// cure; the ref2va sibling and the retired single-shot lanes'
|
|
400
|
+
// orphan rows died with it)
|
|
233
401
|
{
|
|
234
402
|
"name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
|
235
403
|
"url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
|
@@ -237,13 +405,6 @@ export const DECL = {
|
|
|
237
405
|
"sha256": "e889202c41dafb67b10d67b97f0d8541508036a6090af23425a5c2615d03c47a",
|
|
238
406
|
"size_bytes": 20970379616
|
|
239
407
|
},
|
|
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
408
|
{
|
|
248
409
|
"name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
|
249
410
|
"url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
|
@@ -258,6 +419,20 @@ export const DECL = {
|
|
|
258
419
|
"sha256": "7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522",
|
|
259
420
|
"size_bytes": 5207808496
|
|
260
421
|
},
|
|
422
|
+
|
|
423
|
+
// lora to the silveroxides merge" — the OFFICIAL
|
|
424
|
+
// silver_official_releases DARE-TIES merge, pruned v2; the
|
|
425
|
+
// operator named this exact file: "pruned. That one is the same
|
|
426
|
+
// and less file size"). Digest + size: downloaded and
|
|
427
|
+
// sha256-verified against the HF tree API's xet lfs oid
|
|
428
|
+
// (d90eed1d…) — the landed bytes in both trees ARE this pin.
|
|
429
|
+
{
|
|
430
|
+
"name": "minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
431
|
+
"url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/silver_official_releases/minimax_h3_fl2v_turbo_silver_dareties_comfy_pruned_v2.safetensors",
|
|
432
|
+
"folder": "loras/h3",
|
|
433
|
+
"sha256": "d90eed1d6b29c78851a8a9332c2581fa90cd2b10b46972a2a20e817f4180dbe9",
|
|
434
|
+
"size_bytes": 765591085
|
|
435
|
+
},
|
|
261
436
|
{
|
|
262
437
|
"name": "minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
|
|
263
438
|
"url": "https://huggingface.co/silveroxides/MiniMax-H3_tests/resolve/main/minimax_h3_fl2v_lightx2v_v0.1_dareties_v4_step600_comfy_fro.safetensors",
|
|
@@ -335,6 +510,21 @@ export const DECL = {
|
|
|
335
510
|
"sha256": "de9663d974a884b477556748239c6f28239f7ca1825be270f98f023ff5dab6a7",
|
|
336
511
|
"size_bytes": 181697688
|
|
337
512
|
},
|
|
513
|
+
|
|
514
|
+
// Cseti's CrossView-Warp v1 at step 3500 — the exact file
|
|
515
|
+
// Comfy-Org's comfy-reshoot reference app pins
|
|
516
|
+
// (build/model-files.md). Digest + size read verbatim from the
|
|
517
|
+
// HF tree API (xet lfs oid), verified against the landed file.
|
|
518
|
+
// Arm-functional, NOT a mods/loras.ts catalog row: it rides the
|
|
519
|
+
// reshoot arm's own model seat (LoraLoaderModelOnly, trigger
|
|
520
|
+
// `crossview`, band 0.5–1, default 0.8) and is meaningless stacked freely.
|
|
521
|
+
{
|
|
522
|
+
"name": "MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1_3500.safetensors",
|
|
523
|
+
"url": "https://huggingface.co/Cseti/MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1/resolve/main/MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1_3500.safetensors",
|
|
524
|
+
"folder": "loras/h3",
|
|
525
|
+
"sha256": "aab492964261f6611ced672c70866ce9d64bab66fbd28fd39d26bcd09c852f91",
|
|
526
|
+
"size_bytes": 596452584
|
|
527
|
+
},
|
|
338
528
|
{
|
|
339
529
|
"name": "h3_silu_temb_grid.safetensors",
|
|
340
530
|
"url": "https://huggingface.co/deAPI-ai/minimax-h3-33b-int8/resolve/main/loras/h3_silu_temb_grid.safetensors",
|
|
@@ -345,7 +535,7 @@ export const DECL = {
|
|
|
345
535
|
{
|
|
346
536
|
"name": "minimax_h3_latent_upscaler_3d_bf16.safetensors",
|
|
347
537
|
"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": "
|
|
538
|
+
"folder": "latent_upscale_models",
|
|
349
539
|
"size_bytes": 690592992,
|
|
350
540
|
"sha256": "4f57821f5837f32f7142b67d815606dbd7550f194e5c769f7d6c3f83b146a5e6"
|
|
351
541
|
},
|
|
@@ -392,7 +582,21 @@ export const family = {
|
|
|
392
582
|
},
|
|
393
583
|
};
|
|
394
584
|
export { finalizeH3, H3_T4_STRIP } from "./finalize.js";
|
|
585
|
+
export { renderH3Swap } from "./swap.js";
|
|
586
|
+
export { renderH3Repair } from "./repair.js";
|
|
587
|
+
export { renderH3Extend, LAST_FRAME_BATCH_INDEX } from "./extend.js";
|
|
588
|
+
export { refineArmed, renderH3Refine, renderH3RefineBag, renderH3RefineCarry, renderH3RefineWindow, renderH3RefineWindows, refineWindowCount, refineWindowStarts, tokenExactCarry, nextTokenExact, lawfulCarryStart, REFINE_UPSCALE_MODEL, REFINE_2X_OOM_FRAMES, REFINE_DEFAULT_CLIP_SECONDS, REFINE_DEFAULT_OVERLAP_FRAMES } from "./refine.js";
|
|
589
|
+
export { refinePlaneSchema, REFINE_PLANE_KEYS } from "./schema.js";
|
|
590
|
+
export { MAX_COMPOSED_WINDOWS, SEAM_OVERLAP_FRAMES } from "./timelineContract.js";
|
|
591
|
+
export { H3_DEFAULT_LORA_ID, h3DefaultLoraEntry } from "./actions.js";
|
|
592
|
+
// F19 — the whole-film deferred ChainUpscale loop over a prior run.
|
|
593
|
+
export { upscaleArmed, renderH3ChainUpscale } from "./chainUpscale.js";
|
|
594
|
+
export { reshootArmed } from "./reshoot.js";
|
|
595
|
+
// F18 — the cross-regime join admission (the two resolution regimes
|
|
596
|
+
// in one family: film width/height vs the mod bags' plan tiers).
|
|
597
|
+
export { RESOLUTION_SHORT_EDGE, planTierShape, admitCrossRegimeJoin, } from "./chainEdit.js";
|
|
395
598
|
export { assertOverlayGated } from "./actions.js";
|
|
599
|
+
export { serveWindowSpec } from "./windowSpec.js";
|
|
396
600
|
// The Loader-row face: DSH loads plugin rows by bare specifier and
|
|
397
601
|
// unwraps `exports.default ?? exports` (vendor/cordis_plugins/loader
|
|
398
602
|
// unwrapExports) — the default export IS the row-loadable plugin. The
|
package/lib/mods/loras.d.ts
CHANGED
|
@@ -1,98 +1,21 @@
|
|
|
1
1
|
import type { Context } from '@melite/comfyui-card-kit/card-definition';
|
|
2
2
|
export declare const inject: string[];
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
}];
|
|
3
|
+
/** One catalog row's shape — the married columns are OPTIONAL by
|
|
4
|
+
* law (a row without shift_video declares no shift opinion; the
|
|
5
|
+
* schema's declared default owns), and the compose-side marriage
|
|
6
|
+
* reads both knobs through one dynamic key, so the table's row
|
|
7
|
+
* type names them. */
|
|
8
|
+
export interface H3LoraRow {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly filename: string;
|
|
11
|
+
readonly source_url: string;
|
|
12
|
+
readonly label: string;
|
|
13
|
+
readonly category: string;
|
|
14
|
+
readonly default_strength: number;
|
|
15
|
+
readonly steps: number;
|
|
16
|
+
readonly steps_min?: number;
|
|
17
|
+
readonly steps_max?: number;
|
|
18
|
+
readonly shift_video?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const H3_LORA_ROWS: readonly H3LoraRow[];
|
|
98
21
|
export declare function apply(ctx: Context): void;
|