---
title: MiniStax-H3
canonical_url: "https://www.modelscope.ai/models/tensorvizion/MiniStax-H3"
md_url: "https://www.modelscope.ai/models/tensorvizion/MiniStax-H3.md"
repository: tensorvizion/MiniStax-H3
last_updated: 2026-09-28
license: "Apache License 2.0"
pipeline_tag: text-to-video-synthesis
tasks:
  - text-to-video-synthesis
base_model:
  - MiniMax/MiniMax-H3
base_model_relation: adapter
parameters: 931.8M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - safetensors
downloads: 1188
stars: 0
tags:
  - LoRA
  - "text2video generation"
---

# MiniStax-H3

> MiniStax-H3 - An open-source model by tensorvizion on ModelScope. This model is trained using the Civision/model training environment and computing resources provided by ModelScope.

tensorvizion/MiniStax-H3 is a 931.8M-parameter text-to-video-synthesis model on ModelScope. licensed under Apache License 2.0. derived from MiniMax/MiniMax-H3.

- **Repository**: tensorvizion/MiniStax-H3
- **License**: Apache License 2.0
- **Tasks**: text-to-video-synthesis
- **Parameters**: 931.8M
- **Base model**: MiniMax/MiniMax-H3
- **Tags**: LoRA, text2video generation
- **Downloads**: 1188
- **Stars**: 0
- **Last updated**: 2026-09-28

Source: https://www.modelscope.ai/models/tensorvizion/MiniStax-H3

---

# 

## Model Introduction

This model is trained using the [Civision/model training](https://modelscope.ai/civision/modelTraining) environment and computing resources provided by ModelScope.

* Model Type: LoRA
* Base Model: [MiniMax/MiniMax-H3](https://modelscope.ai/models/MiniMax/MiniMax-H3)
* Training Code: [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)
* Data amount：14
* Total training steps：2500
* License: Apache-2.0

## Inference Code

Install [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio):

```bash
pip install diffsynth
```

Inference:

```python
import torch
from diffsynth.pipelines.minimax_h3_audio_video import MiniMaxH3Pipeline, ModelConfig
from diffsynth.utils.data.audio_video import write_video_audio

vram_config = {
    "offload_dtype": "disk",
    "offload_device": "disk",
    "onload_dtype": "disk",
    "onload_device": "disk",
    "preparing_dtype": torch.bfloat16,
    "preparing_device": "cuda",
    "computation_dtype": torch.bfloat16,
    "computation_device": "cuda",
}
pipe = MiniMaxH3Pipeline.from_pretrained(
    torch_dtype=torch.bfloat16,
    device="cuda",
    model_configs=[
        ModelConfig(model_id="MiniMax/MiniMax-H3", origin_file_pattern="FL2VA/text_encoder/model*.safetensors", **vram_config),
        ModelConfig(model_id="MiniMax/MiniMax-H3", origin_file_pattern="FL2VA/transformer/model*.safetensors", **vram_config),
        ModelConfig(model_id="MiniMax/MiniMax-H3", origin_file_pattern="FL2VA/video_vae/source/model.safetensors", **vram_config),
        ModelConfig(model_id="MiniMax/MiniMax-H3", origin_file_pattern="FL2VA/audio_vae/model.safetensors", **vram_config),
    ],
    processor_config=ModelConfig(model_id="MiniMax/MiniMax-H3", origin_file_pattern="FL2VA/processor/"),
    vram_limit=torch.cuda.mem_get_info("cuda")[1] / (1024 ** 3) - 2,
)
pipe.load_lora(pipe.dit, ModelConfig(model_id="tensorvizion/MiniStax-H3", origin_file_pattern="MiniStax-H3_c1-st2500.safetensors"))

prompt = "A cat"
video, audio = pipe(
    prompt=prompt,
    height=480, width=832, num_frames=124, num_inference_steps=50, seed=0,
)
write_video_audio(
    video=video, audio=audio,
    output_path="t2va.mp4", fps=24, audio_sample_rate=32000,
)
```
