Downloads · 30 days
197K
42% of all-time downloads
drbaph/MiniMax-H3-Turbo-Lora-ComfyUI
MiniMax-H3-Turbo-Lora-ComfyUI is a text-to-video model from drbaph. Use it when you need video from a text prompt. It is set up for minimax-h3. The card lists the license as apache-2.0.
This repository contains MiniMax-H3 Turbo and few-step LoRAs converted and optimized for ComfyUI.
Downloads · 30 days
197K
42% of all-time downloads
All-time downloads
471K
Public
Repo size
30.2 GB
Likes
495
Trending 17
Click a slice to open those files.
.safetensors30.2 GB · 100%
From the Hugging Face model README
This repository contains MiniMax-H3 Turbo and few-step LoRAs converted and optimized for ComfyUI.
These LoRAs accelerate MiniMax-H3 video and synchronized-audio generation by reducing the required number of sampling steps.
Four HyperFlow 8-step MiniMax-H3 LoRAs are now included.
They are derived from the original HyperFlow release by Video Rebirth:
HyperFlow is an 8-step MiniMax-H3 LoRA designed for the MiniMax-H3 T2VA, FL2VA and Ref2VA workflows.
The upstream HyperFlow implementation uses its own fixed 8-step sigma schedule. For these ComfyUI conversions, the recommended manual sigma sequence is:
1.0, 0.9939097854, 0.9842874953, 0.9660637197, 0.9230769231, 0.8349423898, 0.6968520491, 0.4687533149, 0.0
This is a nine-point sigma sequence defining eight denoising intervals.
| File | Variant | Purpose |
|---|---|---|
| minimax_h3_hyperflow_8step_v1.0_comfyui_bf16.safetensors | Full BF16 | Full-size ComfyUI HyperFlow 8-step conversion. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_bf16_resized_avg_rank_20_bf16.safetensors | Resized BF16, avg rank 20 | Compact resized version of the full HyperFlow ComfyUI conversion. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16.safetensors | Pruned BF16 | HyperFlow 8-step conversion for the pruned/curve-form MiniMax-H3 base. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16_resized_avg_rank_20_bf16.safetensors | Pruned resized BF16, avg rank 20 | Compact resized HyperFlow version for the pruned/curve-form MiniMax-H3 base. |
Use the non-pruned files with the corresponding full MiniMax-H3 base and the pruned files with the compatible pruned/curve-form base.
891.01.0, 0.9939097854, 0.9842874953, 0.9660637197, 0.9230769231, 0.8349423898, 0.6968520491, 0.4687533149, 0.0 OR euler / simple, normalWhen using the original Video Rebirth implementation, follow the upstream HyperFlow scheduler and loader rather than replacing its built-in schedule manually.
Newly added LoRA, located in the experimental/ folder:
minimax_h3_taomate_fl2va_3step_ema_comfyui.safetensors
Manual recommended sigmas: 3-step 1.0, 0.961165, 0.853333, 0.0 <br> 4-step 1.0, 0.970874, 0.907249, 0.640000, 0.0
Three LoRAs extracted from VDN-H3 8 step:
The main 8-step LoRA works on both FL2VA and Ref2VA. If you are running a pruned base, choose the pruned version that corresponds to your base — the pruned versions need their own matching pruned base.
Five dynamically resized BF16 LoRAs are now included. Their source weights were published in the correct MiniMax-H3 ComfyUI layout by:
| File | Source | Purpose |
|---|---|---|
minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_resized_avg_rank_21_bf16.safetensors | minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_bf16.safetensors | Four-step 768p FL2V generation. |
minimax_h3_fl2v_turbo_8step_v1.0_comfyui_resized_avg_rank_21_bf16.safetensors | minimax_h3_fl2v_turbo_8step_v1.0_comfyui_bf16.safetensors | Eight-step FL2V generation with a greater quality focus. |
minimax_h3_ref2v_turbo_4step_v0.1_comfyui_resized_avg_rank_21_bf16.safetensors | minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors | Four-step reference-to-video generation. |
minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_resized_avg_rank_64_bf16.safetensors | minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_bf16.safetensors | Four-step 768p FL2V generation, high-fidelity dynamic-rank resize. |
minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_resized_avg_rank_28_bf16.safetensors | minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_bf16.safetensors | Four-step 768p FL2V generation, compact dynamic-rank resize. |
The LightX2V files were already supplied in the correct ComfyUI namespace and QKV layout. No namespace conversion or AdaLN pruning was required.
Each LoRA was compressed using an exact compact SVD calculated from its LoRA A/B factors without materializing the full dense weight updates.
The process:
B @ A update.A = sqrt(S) × Vh and B = U × sqrt(S).alpha / rank scale into lora_B.The three original v1.0/v0.1 dynamic-rank files target the same projection-level average rank:
677831221.724359floor(21.724359) = 21Q, K and V are counted separately. The stored rank of a fused QKV adapter is the sum of its three independently selected ranks.
| LoRA | Output size | Average rank | Mean Frobenius norm retained | Baked scale |
|---|---|---|---|---|
| FL2V 4-step v1.0 768p | 284.36 MiB | 21.724359 | 94.95% | 1.0 |
| FL2V 8-step v1.0 | 311.89 MiB | 21.724359 | 97.72% | 0.0625 |
| Ref2V 4-step v0.1 | 311.79 MiB | 21.724359 | 98.33% | 0.0625 |
| FL2V 4-step v1.1 768p (rank 64) | 891.65 MiB | 64.500000 | 98.18% | 1.0 |
| FL2V 4-step v1.1 768p (rank 28) | 375.55 MiB | 28.500000 | 93.59% | 1.0 |
The Ref2V source was reduced from approximately 1,865.57 MiB to 311.79 MiB, an 83.29% reduction. The v1.1 768p source (1,865.57 MiB) was reduced to 891.65 MiB (−52.21%) at rank 64 and to 375.55 MiB (−79.87%) at rank 28.
A separate Frobenius threshold was solved for each LoRA because their singular-value distributions differ. Reusing one fixed threshold would not produce the same average rank.
Direct comparison between the original and resized effective LoRA updates produced:
| Measurement | Result |
|---|---|
| Global cosine similarity | 99.9190% |
| Global relative L2 error | 4.0234% |
| Mean projection Frobenius norm retained | 98.3332% |
| Minimum projection Frobenius norm retained | 96.4904% |
| Projection rank range | 2–105 |
| Size reduction | 83.29% |
These are numerical weight-reconstruction measurements, not a perceptual video-quality score.
Direct comparison between the v1.1 source and each resized variant produced:
| Measurement | Rank 64 | Rank 28 |
|---|---|---|
| Global cosine similarity | 99.1169% | 97.3279% |
| Global relative L2 error | 13.2601% | 22.9625% |
| Mean projection Frobenius norm retained | 98.1774% | 93.5945% |
| Minimum projection Frobenius norm retained | 98.0817% | 92.6661% |
| Projection rank range | 2–120 | 2–99 |
| Size reduction | 52.21% | 79.87% |
These are numerical weight-reconstruction measurements, not a perceptual video-quality score.
Every resized LightX2V file contains:
| Component | Count |
|---|---|
| BF16 tensors | 416 |
| LoRA A/B pairs | 208 |
| Independently ranked projections | 312 |
| QKV modules | 52 |
| Alpha tensors | 0 |
Validation confirmed:
The following output was generated with the recommended pruned-model workflow using the v4 step-600 EMA LoRA.
<video src="https://huggingface.co/drbaph/MiniMax-H3-Turbo-Lora-ComfyUI/resolve/main/assets/MiniMax_H3_audio.mp4" controls loop width="100%"> </video>
Download the current ComfyUI workflow
fl_minimax_h3_turbo_lora_example_workflow.jsonminimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors6–8EulerBeta1.0124–6The previous workflow remains available here:
Download the previous workflow
View the previous workflow output
| File | Description |
|---|---|
| minimax_h3_hyperflow_8step_v1.0_comfyui_bf16.safetensors | Full BF16 ComfyUI conversion of the HyperFlow 8-step LoRA. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_bf16_resized_avg_rank_20_bf16.safetensors | Compact resized BF16 HyperFlow conversion with average rank 20. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16.safetensors | Pruned/curve-form-compatible BF16 HyperFlow conversion. |
| minimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16_resized_avg_rank_20_bf16.safetensors | Compact resized HyperFlow conversion for the pruned/curve-form base, average rank 20. |
Recommended manual HyperFlow sigmas:
1.0, 0.931506, 0.839236, 0.703462, 0.5, 0.296538, 0.160764, 0.068494, 0.0
Original HyperFlow project:
| File | Description |
|---|---|
minimax_h3_fl2v_turbo_4step_v1.0_768p_comfyui_resized_avg_rank_21_bf16.safetensors | Dynamic-SVD resize of the official LightX2V four-step 768p FL2V LoRA. |
minimax_h3_fl2v_turbo_8step_v1.0_comfyui_resized_avg_rank_21_bf16.safetensors | Dynamic-SVD resize of the official LightX2V eight-step FL2V LoRA. |
minimax_h3_ref2v_turbo_4step_v0.1_comfyui_resized_avg_rank_21_bf16.safetensors | Dynamic-SVD resize of the official LightX2V four-step Ref2V LoRA. |
minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_resized_avg_rank_64_bf16.safetensors | High-fidelity dynamic-SVD resize of the LightX2V four-step v1.1 768p FL2V LoRA. |
minimax_h3_fl2v_turbo_4step_v1.1_768p_comfyui_resized_avg_rank_28_bf16.safetensors | Compact dynamic-SVD resize of the LightX2V four-step v1.1 768p FL2V LoRA. |
| File | Description |
|---|---|
minimax_h3_turbo_v4_step600_ema_pruned_comfyui.safetensors | Recommended. Pruned-model conversion of the v4 step-600 EMA checkpoint. |
minimax_h3_turbo_v4_step600_pruned_comfyui.safetensors | Non-EMA v4 step-600 variant. |
minimax_h3_turbo_4step_ema_ckpt850_pruned_comfyui.safetensors | EMA checkpoint-850 conversion. |
minimax_h3_turbo_4step_ckpt850_pruned_comfyui.safetensors | Non-EMA checkpoint-850 conversion. |
minimax_h3_turbo_4step_ema_ckpt500_pruned_comfyui.safetensors | EMA checkpoint-500 conversion. |
minimax_h3_turbo_4step_ckpt500_pruned_comfyui.safetensors | Non-EMA checkpoint-500 conversion. |
minimax_h3_turbo_4step_ema_pruned_comfyui.safetensors | Initial EMA Turbo preview conversion. |
minimax_h3_turbo_4step_pruned_comfyui.safetensors | Initial non-EMA Turbo preview conversion. |
| File | Description |
|---|---|
fl_minimax_h3_turbo_lora_example_workflow.json | Current recommended ComfyUI workflow. |
fl_minimax_h3_turbo_lora_example_workflow_old.json | Previous workflow retained for comparison. |
assets/MiniMax_H3_audio.mp4 | Current workflow example output. |
assets/MiniMax_H3_00060-audio.mp4 | Previous workflow example output. |
EMA and non-EMA files contain different tensor values and are retained separately.
The older full-model Turbo LoRAs use keys such as:
blocks.0.attn.qkv_proj.lora_A.weight
ComfyUI expects:
diffusion_model.blocks.0.attn.qkv_proj.lora_A.weight
The compatibility conversion applies:
blocks.* → diffusion_model.blocks.*token_refiner.* → diffusion_model.token_refiner.*The original full-model LoRAs also contain AdaLN adapters whose dimensions do not match the pruned/curve-form MiniMax-H3 checkpoint. Those incompatible adapters were removed.
| Component | Count |
|---|---|
| Source tensors | 518 |
| Source LoRA A/B pairs | 259 |
| Retained tensors | 416 |
| Retained LoRA A/B pairs | 208 |
| Removed AdaLN tensors | 102 |
| Removed AdaLN A/B pairs | 51 |
The removed adapters consist of 50 AdaLN projection pairs from blocks.0 through blocks.49 and one pair from final_layer.adaln_proj.linear.
These files are partial compatibility conversions and should not be assumed to behave identically to the original full-model LoRA used with its intended complete MiniMax-H3 base model.
The LightX2V dynamic-rank LoRAs do not use this pruning process.
HyperFlow is provided in separate full and pruned variants. Use the variant intended for the corresponding MiniMax-H3 base rather than mixing full-model and pruned-model files.
Place the LoRA files in:
ComfyUI/models/loras/
Load the selected LoRA with its compatible MiniMax-H3 model and workflow.
Recommended starting strength:
1.0
If adjustment is needed, test approximately:
0.8–1.2
When comparing files, keep the following identical:
For the four HyperFlow 8-step ComfyUI files, use:
1.0, 0.931506, 0.839236, 0.703462, 0.5, 0.296538, 0.160764, 0.068494, 0.0
The list contains nine sigma points for eight denoising steps.
For the experimental TaoMate FL2VA 3-step EMA LoRA, the manual recommended sigma sequence is:
1.0, 0.961165, 0.853333, 0.0
Maximum speed and useful for rapid previews. Use the matching four-step LightX2V FL2V or Ref2V workflow.
For the experimental TaoMate LoRA when running four steps, the manual recommended sigma sequence is:
1.0, 0.970874, 0.907249, 0.640000, 0.0
A good speed-to-quality compromise for the v4 step-600 EMA pruned conversion.
Recommended when prioritizing quality, motion consistency and synchronized-audio stability.
For the existing pruned-model workflow, start with:
8EulerBeta1.0124–6For the HyperFlow 8-step ComfyUI conversions, use the recommended manual sigma schedule:
1.0, 0.931506, 0.839236, 0.703462, 0.5, 0.296538, 0.160764, 0.068494, 0.0
HyperFlow upstream project:
Follow the source project recommendations when using the LightX2V LoRAs:
MiniMax-H3 generates video and synchronized audio as separate streams with different scheduling requirements.
Incorrect audio scheduling may cause:
If audio is unstable, check:
Broken audio should not automatically be attributed to the LoRA.
These LoRAs may be used with compatible ComfyUI acceleration methods such as:
These methods are optional and are not included in this repository. Some attention backends replace one another rather than stacking, and patch order depends on the implementation.
For few-step Turbo and HyperFlow workflows, establish a clean baseline before adding approximate attention or trajectory-forecasting methods.
The HyperFlow source weights and original implementation were released by Video Rebirth:
Credit for the original HyperFlow weights, training/distillation work, scheduler design and upstream implementation belongs to Video Rebirth and its contributors.
The HyperFlow files in this repository are ComfyUI-oriented conversions and resized/pruned variants of that upstream work. They should not be confused with the original upstream HyperFlow weight file or its official loader.
The four HyperFlow files included here are:
minimax_h3_hyperflow_8step_v1.0_comfyui_bf16.safetensorsminimax_h3_hyperflow_8step_v1.0_comfyui_bf16_resized_avg_rank_20_bf16.safetensorsminimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16.safetensorsminimax_h3_hyperflow_8step_v1.0_comfyui_pruned_bf16_resized_avg_rank_20_bf16.safetensorsRecommended manual ComfyUI sigma schedule:
1.0, 0.931506, 0.839236, 0.703462, 0.5, 0.296538, 0.160764, 0.068494, 0.0
The dynamically resized FL2V and Ref2V LoRAs are derived from the official ComfyUI-compatible files released by:
Credit for the source weights, training and release belongs to the LightX2V project and its contributors.
This repository provides only the dynamic-rank BF16 resizing, packaging and validation described above.
The older Turbo LoRA weights, training work and distillation method were released by:
larryvrh/MiniMax-H3-Turbo-Lora
Original ComfyUI Turbo custom node:
This repository does not claim authorship of:
The modifications provided here are limited to:
Please retain attribution and comply with the licenses and terms of the original HyperFlow, LightX2V, Turbo LoRA and MiniMax-H3 projects when using or redistributing these files.