@melite/models-h3 0.1.5-pre-alpha → 0.2.0-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 +1 -1
- package/lib/actions.d.ts +91 -17
- package/lib/actions.js +1235 -210
- package/lib/chainEdit.d.ts +187 -0
- package/lib/chainEdit.js +330 -0
- package/lib/chainUpscale.d.ts +25 -0
- package/lib/chainUpscale.js +134 -0
- package/lib/extend.d.ts +17 -0
- package/lib/extend.js +174 -0
- package/lib/filmMix.d.ts +24 -10
- package/lib/filmMix.js +30 -14
- package/lib/index.d.ts +12 -0
- package/lib/index.js +245 -66
- package/lib/mods/loras.d.ts +18 -95
- package/lib/mods/loras.js +21 -10
- package/lib/refine.d.ts +123 -0
- package/lib/refine.js +301 -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 +352 -0
- package/lib/schema.d.ts +60 -13
- package/lib/schema.js +296 -54
- package/lib/swap.d.ts +14 -0
- package/lib/swap.js +95 -0
- package/lib/timelineContract.d.ts +163 -0
- package/lib/timelineContract.js +216 -1
- package/lib/windowSpec.d.ts +23 -0
- package/lib/windowSpec.js +49 -0
- package/package.json +7 -7
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,172 @@ 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
|
+
// Larry + LightX2V dareties merge — preferred for detail at 8
|
|
186
|
+
// steps; the standalone LightX2V turbos stay in the catalog for
|
|
187
|
+
// the audio/dialogue routes). The artifact is silveroxides'
|
|
188
|
+
// `minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors`
|
|
189
|
+
// (catalog row h3_lightx2v_turbo, provisioned below with its sha).
|
|
190
|
+
|
|
87
191
|
|
|
88
|
-
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
92
|
-
//
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
//
|
|
96
|
-
//
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
// file's door is the lane gate (lane_inputs loras + the
|
|
106
|
-
// provision row below): absent on disk, the run refuses with
|
|
192
|
+
|
|
193
|
+
// and 3 recipes… Default is the standard") both carried forward —
|
|
194
|
+
// the trio Draft / Standard / Final Cut still rides ONE lora,
|
|
195
|
+
// selection only, and `standard` stays FIRST in the Recipe group
|
|
196
|
+
// ON PURPOSE: the birth stamp takes the first composing Recipe
|
|
197
|
+
// row (card-base seedRecipeStamp — the first-declared law; the
|
|
198
|
+
// Recipe axis itself YIELDS, never seeds a key), so every fresh
|
|
199
|
+
// h3-timeline card is born with the lora on. Geometry is NOT
|
|
200
|
+
// stamped here (the DRY law, one value one owner): the carrier
|
|
201
|
+
// schema's own 1344×768 floor IS the standard geometry. The
|
|
202
|
+
// payload mirrors a hand pick exactly (declared keys only):
|
|
203
|
+
// SELECTION ONLY (#36). STEPS IS UNSTATED BY DESIGN — the row
|
|
204
|
+
// owns its married 8 (the marriage law: the bag resolves unstated
|
|
205
|
+
// steps, so the default run takes the turbo's full count, not a
|
|
206
|
+
// departed lora's 4); stamping steps would hard-pin what the bag
|
|
207
|
+
// resolves. The file's door is the lane gate (lane_inputs loras +
|
|
208
|
+
// the provision row below): absent on disk, the run refuses with
|
|
107
209
|
// the fetch hint — the web popup's install button and the agent
|
|
108
210
|
// seat both ride that one refusal.
|
|
109
211
|
{
|
|
110
212
|
"id": "standard",
|
|
111
213
|
"label": "Standard",
|
|
112
|
-
"hint": "The default — the
|
|
214
|
+
"hint": "The default — the Larry + LightX2V merge (dareties, 768p) at the calibrated 1344×768. Steps derive from the lora marriage (8).",
|
|
113
215
|
"group": "Recipe",
|
|
114
216
|
"wire_defaults": {
|
|
115
|
-
"loras": [{ "id": "
|
|
217
|
+
"loras": [{ "id": "h3_lightx2v_turbo" }],
|
|
116
218
|
},
|
|
117
219
|
"cells": [],
|
|
118
220
|
},
|
|
119
221
|
// DRAFT (operator, this session: "for low resolution, that is
|
|
120
222
|
// good for the draft recipe"): the fast iteration tier — the
|
|
121
|
-
// same
|
|
223
|
+
// same turbo bag at draft geometry 768×448. Steps stay
|
|
122
224
|
// unstated (the marriage law).
|
|
123
225
|
{
|
|
124
226
|
"id": "draft",
|
|
125
227
|
"label": "Draft",
|
|
126
|
-
"hint": "Fast iteration — the same
|
|
228
|
+
"hint": "Fast iteration — the same merge bag at draft geometry (768×448). Steps derive from the lora marriage (8).",
|
|
127
229
|
"group": "Recipe",
|
|
128
230
|
"wire_defaults": {
|
|
129
|
-
"loras": [{ "id": "
|
|
231
|
+
"loras": [{ "id": "h3_lightx2v_turbo" }],
|
|
130
232
|
"width": 768,
|
|
131
233
|
"height": 448,
|
|
132
234
|
},
|
|
133
235
|
"cells": [],
|
|
134
236
|
},
|
|
135
|
-
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
// the
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
237
|
+
|
|
238
|
+
// finishing tier — same bag, full geometry (the carrier floor
|
|
239
|
+
// 1344×768, never duplicated here), plus the spec's OWN Stage 2+3
|
|
240
|
+
// rail: the 3D latent-upscale handoff (upscale_route latent_2x —
|
|
241
|
+
// 2.0× in-band on the joint AV latent, z_a locked, the 0.35
|
|
242
|
+
// partial-denoise window; pass 2 rides the un-distilled base by
|
|
243
|
+
// the Stage-3 model law) behind the master switch. The pixel
|
|
244
|
+
// limbs (SeedVR2 sr_switch, sharpen, FILM interp) stay EXPLICIT
|
|
245
|
+
// picks — the spec ranks pixel-space super-res below the latent
|
|
246
|
+
// route; a recipe must not arm the inferior one by default.
|
|
142
247
|
{
|
|
143
248
|
"id": "final",
|
|
144
249
|
"label": "Final Cut",
|
|
145
|
-
"hint": "The finishing pass — the
|
|
250
|
+
"hint": "The finishing pass — the 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
251
|
"group": "Recipe",
|
|
147
252
|
"wire_defaults": {
|
|
148
|
-
"loras": [{ "id": "
|
|
253
|
+
"loras": [{ "id": "h3_lightx2v_turbo" }],
|
|
149
254
|
"second_pass_enabled": true,
|
|
150
|
-
"
|
|
255
|
+
"upscale_route": "latent_2x",
|
|
151
256
|
},
|
|
152
257
|
"cells": [],
|
|
153
258
|
},
|
|
@@ -179,19 +284,53 @@ export const DECL = {
|
|
|
179
284
|
"lane_inputs": {
|
|
180
285
|
"unet": "minimax_h3_hybrid_fl2va_ref2va_b30-49-int8.safetensors",
|
|
181
286
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
//
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
// without the file refuses through the lane gate — the web
|
|
290
|
+
// popup's install button and the agent seat both key on that one
|
|
291
|
+
// refusal; "that is how it works").
|
|
185
292
|
// BARE NAME: the gate probes the provision row's own folder
|
|
186
293
|
// (loras/h3) as its last leg; the row below is the fetch truth.
|
|
187
|
-
"loras": "
|
|
294
|
+
"loras": "minimax_h3_fl2v_lightx2v_turbo_4to8step_v0.1-v1.0_768p_v4_step600_dareties.safetensors",
|
|
188
295
|
},
|
|
189
296
|
// THE LANE SURFACE (the z-image precedent): exactly the knobs the
|
|
190
297
|
// h3-timeline card serves — the window inputs, the shared render
|
|
191
|
-
// tail, and each lane switch's refinement group.
|
|
298
|
+
// tail, and each lane switch's refinement group. NO 'prompt'
|
|
299
|
+
|
|
300
|
+
// is gone — calls own their text; the schema dropped it in
|
|
301
|
+
// schema.ts and this surface drops it with it, else the claim law
|
|
302
|
+
// names a dead declaration the card cannot carry).
|
|
303
|
+
|
|
304
|
+
// window-family key law in the served spelling, verbatim off the
|
|
305
|
+
// contract module (one owner — FAMILY_LAW IS the law the walk
|
|
306
|
+
// enforces; the served copy cannot drift, the contract wall pins
|
|
307
|
+
// the agreement). The generic seats (composeValidate's family
|
|
308
|
+
// clause, the studio rail's group omit) judge the t4r refusals
|
|
309
|
+
// from this data at the gesture and at the render, one hop before
|
|
310
|
+
// the door.
|
|
311
|
+
"familyLaw": FAMILY_LAW,
|
|
312
|
+
|
|
313
|
+
// the round-48 sampler five): every row below either rides a graph
|
|
314
|
+
// consumer VERBATIM or is named as unstatable here — silent unmapped
|
|
315
|
+
// is the one shape this surface forbids. Wall:
|
|
316
|
+
// tests/value-roundtrip.spec.ts (registry row
|
|
317
|
+
// models-h3-sampler-value-law). Sampler → RandomNoise/KSamplerSelect/
|
|
318
|
+
// BasicScheduler (ARMs 1-3). Latent shape → ReferenceToVideo
|
|
319
|
+
// width/height/length/ref_image_size (13). Shifts → SigmaShift (14).
|
|
320
|
+
// sla_* → H3SLAAttention, sla_enabled owns the attention switch (15);
|
|
321
|
+
// sla_switch is NOT retired — the t4r arm reads it at the pick (31).
|
|
322
|
+
// attention_backend → ModelAttentionBackend (16). interp/sr → the
|
|
323
|
+
// FILM + SeedVR2 pairs behind the second-pass master (17);
|
|
324
|
+
// sharpen_* → the ImageSharpenKJ grouped dict (18). refine_* → the
|
|
325
|
+
// rider loader/scheduler (4/4b/7). Media/refmod/duck/image_name →
|
|
326
|
+
// 19/20/22. k → the window save name (21); noise_seed → RandomNoise
|
|
327
|
+
// per stanza (2/34). STAND-DOWNS, named: fps_seconds is INTERNAL —
|
|
328
|
+
// derived from the window length at the render seat (the no-stale
|
|
329
|
+
// law; a stated pin never reaches a node, ARM 33); interp_switch and
|
|
330
|
+
// sharpen_switch are retired aliases — the primaries own their
|
|
331
|
+
// switches (23/32).
|
|
192
332
|
"params": [
|
|
193
|
-
"
|
|
194
|
-
"image", "last_frame",
|
|
333
|
+
"image",
|
|
195
334
|
"ref_images", "ref_videos", "ref_video_trims", "ref_audios", "ref_mods",
|
|
196
335
|
"duck_depth_db",
|
|
197
336
|
"seed", "width", "height", "length", "steps", "denoise",
|
|
@@ -199,8 +338,12 @@ export const DECL = {
|
|
|
199
338
|
"sharpen_enabled", "sharpen_method", "sharpen_radius", "sharpen_strength",
|
|
200
339
|
"sharpen_threshold", "sharpen_iterations", "sharpen_switch",
|
|
201
340
|
"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",
|
|
341
|
+
"sampler_name", "sched_name", "k", "noise_seed", "fps", "fps_seconds",
|
|
342
|
+
"refine_lora", "refine_strength", "refine_steps", "refine_denoise",
|
|
343
|
+
// THE LATENT-UPSCALE ROUTE (SOTA plan Phase P2 — the P2 verdict's
|
|
344
|
+
// own knobs on the lane surface): the sub-gate + its closed file
|
|
345
|
+
// surface ride beside the refine seats, witnessed at ARM 37.
|
|
346
|
+
"upscale_route", "upscale_model",
|
|
204
347
|
"attention_backend",
|
|
205
348
|
"sr_switch", "sr_resolution", "sr_model",
|
|
206
349
|
"ref_image_size",
|
|
@@ -209,7 +352,16 @@ export const DECL = {
|
|
|
209
352
|
"sla_dense_last_steps", "sla_dense_steps", "sla_dense_backend",
|
|
210
353
|
"sla_reference_protection", "sla_protect_audio", "sla_stabilize_motion",
|
|
211
354
|
"sla_disable_fp16_accum", "sla_switch",
|
|
355
|
+
// THE BAKE'S STATED DIALS (study §5/§7.2; value-arms ARMs 13/14)
|
|
356
|
+
// — the family's own declared surface for the RefMod extract's
|
|
357
|
+
// fidelity dials (the schema's refmod group, the film action's
|
|
358
|
+
// rows, the compose's stated inputs).
|
|
359
|
+
"refmod_mode", "refmod_pool", "refmod_identity", "refmod_save",
|
|
212
360
|
"image_name",
|
|
361
|
+
// THE RE-SHOOT COMMISSION left this map (the fourth-mod-bag
|
|
362
|
+
|
|
363
|
+
// knob→seat map mirrors DECL params, and the bag's law is
|
|
364
|
+
// witnessed by tests/reshoot.spec.ts, not by this census.
|
|
213
365
|
],
|
|
214
366
|
"provisions": [
|
|
215
367
|
{
|
|
@@ -219,17 +371,22 @@ export const DECL = {
|
|
|
219
371
|
"sha256": "64f57f77ed85df04f7c0989ab84a5c3c110fb43a40dbc9badfe8ab2d5baafbca",
|
|
220
372
|
"size_bytes": 20970379632
|
|
221
373
|
},
|
|
374
|
+
// THE SINGULARITY CHECKPOINT (the variant row above): digest and
|
|
375
|
+
// byte size read verbatim from the HF tree API (xet lfs oid),
|
|
376
|
+
|
|
377
|
+
// w4a8: like-for-like with the hybrid's footprint, and the w4a8
|
|
378
|
+
// quant scheme is unverified against the stock UNETLoader.
|
|
222
379
|
{
|
|
223
|
-
"name": "
|
|
224
|
-
"url": "https://huggingface.co/
|
|
380
|
+
"name": "Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors",
|
|
381
|
+
"url": "https://huggingface.co/WarmBloodAban/Minimax-h3_Singularity/resolve/main/Minimax-h3_Singularity_ref2va_Pruned_v1.3_int8.safetensors",
|
|
225
382
|
"folder": "diffusion_models",
|
|
226
|
-
"sha256": "
|
|
227
|
-
"size_bytes":
|
|
383
|
+
"sha256": "412a7b126595a958964193f3b42513d7cf2df4196ef04223a0f05e3622949cce",
|
|
384
|
+
"size_bytes": 20967647456
|
|
228
385
|
},
|
|
229
|
-
// THE
|
|
230
|
-
|
|
231
|
-
//
|
|
232
|
-
//
|
|
386
|
+
// THE PRUNED CONVROT TIER's FILE (the timeline's
|
|
387
|
+
|
|
388
|
+
// cure; the ref2va sibling and the retired single-shot lanes'
|
|
389
|
+
// orphan rows died with it)
|
|
233
390
|
{
|
|
234
391
|
"name": "minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
|
235
392
|
"url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors",
|
|
@@ -237,13 +394,6 @@ export const DECL = {
|
|
|
237
394
|
"sha256": "e889202c41dafb67b10d67b97f0d8541508036a6090af23425a5c2615d03c47a",
|
|
238
395
|
"size_bytes": 20970379616
|
|
239
396
|
},
|
|
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
397
|
{
|
|
248
398
|
"name": "qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
|
249
399
|
"url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
|
@@ -335,6 +485,21 @@ export const DECL = {
|
|
|
335
485
|
"sha256": "de9663d974a884b477556748239c6f28239f7ca1825be270f98f023ff5dab6a7",
|
|
336
486
|
"size_bytes": 181697688
|
|
337
487
|
},
|
|
488
|
+
|
|
489
|
+
// Cseti's CrossView-Warp v1 at step 3500 — the exact file
|
|
490
|
+
// Comfy-Org's comfy-reshoot reference app pins
|
|
491
|
+
// (build/model-files.md). Digest + size read verbatim from the
|
|
492
|
+
// HF tree API (xet lfs oid), verified against the landed file.
|
|
493
|
+
// Arm-functional, NOT a mods/loras.ts catalog row: it rides the
|
|
494
|
+
// reshoot arm's own model seat (LoraLoaderModelOnly, trigger
|
|
495
|
+
// `crossview`, band 0.5–1, default 0.8) and is meaningless stacked freely.
|
|
496
|
+
{
|
|
497
|
+
"name": "MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1_3500.safetensors",
|
|
498
|
+
"url": "https://huggingface.co/Cseti/MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1/resolve/main/MiniMax-H3_Ref2VA-LoRA-CrossView-Warp_v1_3500.safetensors",
|
|
499
|
+
"folder": "loras/h3",
|
|
500
|
+
"sha256": "aab492964261f6611ced672c70866ce9d64bab66fbd28fd39d26bcd09c852f91",
|
|
501
|
+
"size_bytes": 596452584
|
|
502
|
+
},
|
|
338
503
|
{
|
|
339
504
|
"name": "h3_silu_temb_grid.safetensors",
|
|
340
505
|
"url": "https://huggingface.co/deAPI-ai/minimax-h3-33b-int8/resolve/main/loras/h3_silu_temb_grid.safetensors",
|
|
@@ -345,7 +510,7 @@ export const DECL = {
|
|
|
345
510
|
{
|
|
346
511
|
"name": "minimax_h3_latent_upscaler_3d_bf16.safetensors",
|
|
347
512
|
"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": "
|
|
513
|
+
"folder": "latent_upscale_models",
|
|
349
514
|
"size_bytes": 690592992,
|
|
350
515
|
"sha256": "4f57821f5837f32f7142b67d815606dbd7550f194e5c769f7d6c3f83b146a5e6"
|
|
351
516
|
},
|
|
@@ -392,7 +557,21 @@ export const family = {
|
|
|
392
557
|
},
|
|
393
558
|
};
|
|
394
559
|
export { finalizeH3, H3_T4_STRIP } from "./finalize.js";
|
|
560
|
+
export { renderH3Swap } from "./swap.js";
|
|
561
|
+
export { renderH3Repair } from "./repair.js";
|
|
562
|
+
export { renderH3Extend } from "./extend.js";
|
|
563
|
+
export { refineArmed, renderH3Refine, renderH3RefineWindow, renderH3RefineWindows, refineWindowCount, refineWindowStarts, REFINE_UPSCALE_MODEL, REFINE_2X_OOM_FRAMES, REFINE_DEFAULT_CLIP_SECONDS } from "./refine.js";
|
|
564
|
+
export { refinePlaneSchema, REFINE_PLANE_KEYS } from "./schema.js";
|
|
565
|
+
export { MAX_COMPOSED_WINDOWS, SEAM_OVERLAP_FRAMES } from "./timelineContract.js";
|
|
566
|
+
export { H3_DEFAULT_LORA_ID, h3DefaultLoraEntry } from "./actions.js";
|
|
567
|
+
// F19 — the whole-film deferred ChainUpscale loop over a prior run.
|
|
568
|
+
export { upscaleArmed, renderH3ChainUpscale } from "./chainUpscale.js";
|
|
569
|
+
export { reshootArmed } from "./reshoot.js";
|
|
570
|
+
// F18 — the cross-regime join admission (the two resolution regimes
|
|
571
|
+
// in one family: film width/height vs the mod bags' plan tiers).
|
|
572
|
+
export { RESOLUTION_SHORT_EDGE, planTierShape, admitCrossRegimeJoin, } from "./chainEdit.js";
|
|
395
573
|
export { assertOverlayGated } from "./actions.js";
|
|
574
|
+
export { serveWindowSpec } from "./windowSpec.js";
|
|
396
575
|
// The Loader-row face: DSH loads plugin rows by bare specifier and
|
|
397
576
|
// unwraps `exports.default ?? exports` (vendor/cordis_plugins/loader
|
|
398
577
|
// 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;
|