---
title: allin-dance-minimax-h3
canonical_url: "https://www.modelscope.cn/models/orangeHong/allin-dance-minimax-h3"
md_url: "https://www.modelscope.cn/models/orangeHong/allin-dance-minimax-h3.md"
repository: orangeHong/allin-dance-minimax-h3
chinese_name: "偶映-dance-minimax-h3"
last_updated: 2026-08-29
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: 745.5M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - safetensors
frameworks:
  - pytorch
downloads: 196
stars: 2
tags:
  - LoRA
---

# allin-dance-minimax-h3

> allin-dance-minimax-h3 - orangeHong 在 ModelScope 开源的模型。本模型依托魔搭社区（ModelScope）AIGC专区模型训练环境与算力完成训练。

orangeHong/allin-dance-minimax-h3 是 ModelScope 魔搭社区上的 745.5M 参数text-to-video-synthesis模型，采用 Apache License 2.0 许可，基于 MiniMax/MiniMax-H3 构建。

- **Repository**: orangeHong/allin-dance-minimax-h3
- **License**: Apache License 2.0
- **Tasks**: text-to-video-synthesis
- **Parameters**: 745.5M
- **Base model**: MiniMax/MiniMax-H3
- **Tags**: LoRA
- **Downloads**: 196
- **Stars**: 2
- **Last updated**: 2026-08-29

Source: https://www.modelscope.cn/models/orangeHong/allin-dance-minimax-h3

---

# 偶映-dance-minimax-h3

## 模型介绍

本模型依托魔搭社区（ModelScope）AIGC专区[模型训练](https://modelscope.cn/aigc/modelTraining)环境与算力完成训练。

* 模型类型：LoRA
* 基础模型：[MiniMax/MiniMax-H3](https://modelscope.cn/models/MiniMax/MiniMax-H3)
* 训练代码：[DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)
* 训练数据量：30
* 总训练步数：2000
* 开源协议：Apache-2.0

## 推理代码

安装 [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)：

```bash
pip install diffsynth
```

开始推理：

```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="orangeHong/allin-dance-minimax-h3", origin_file_pattern="allin-dance-minimax-h3_c1-st2000.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,
)
```
