Model reference · open weights
Dasheng-AudioGen is an open-weight audio or speech model from mispeech. Dasheng-AudioGen (FP32) weighs 4.4 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the mispeech/Dasheng-AudioGen model card, 2026-10-01
What it is
| Released by | mispeech |
|---|---|
| Released | 2026-04-07 |
| Parameters | 2.2B |
| VRAM | 4.4 GB for the weights |
What it runs on
| Card | One stream | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
Dasheng-AudioGen is a unified audio generation model that can jointly synthesize intelligible speech, music, sound effects, and environmental acoustics from text descriptions.
src="https://github.com/user-attachments/assets/497f5688-8731-4830-8ee7-b9cf4234d900"
controls
autoplay
muted
loop
playsinline
width="85%">
pip install torch torchaudio "transformers<5" einops
Tested with Python 3.10, torch 2.8.0+cu128, transformers 4.57. Not compatible with transformers 5.x.
Dasheng-AudioGen uses structured tags to describe different audio aspects. A valid prompt must start with the `` tag, which provides the overall scene description. Other tags are optional and can be included as needed.
| Tag | Description | Required |
|---|---|---|
| `` | Overall audio scene description | Yes |
| `` | Speaker identity and speaking style | No |
| `` | Spoken transcript / dialogue | No |
| `` | Sound effects | No |
| `` | Background music | No |
| `` | Environmental ambience | No |
Rules:
Multilingual note: When using the multilingual model, all descriptive tags (
caption,speech,sfx,music,env) should be in English. Only the `` field (the actual speech content to synthesize) uses the target language.
Pass each aspect as a named argument. The caption field is required; all other fields are optional.
import torchaudio
from transformers import AutoModel
model = AutoModel.from_pretrained("mispeech/Dasheng-AudioGen", trust_remote_code=True).cuda()
prompt = model.compose_prompt(
caption="A gritty detective narrating over the sound of heavy rain and a melancholic solo jazz saxophone.",
speech="gritty deep male voice",
music="melancholic solo saxophone",
env="distant urban ambience",
sfx="heavy rain hitting pavement",
asr="The city never sleeps, but it sure knows how to cry.",
)
audio = model.generate(prompt)
torchaudio.save("output.wav", audio.cpu(), 16000)
Pass a complete tagged string via the prompt parameter. The string must start with ``.
import torchaudio
from transformers import AutoModel
model = AutoModel.from_pretrained("mispeech/Dasheng-AudioGen", trust_remote_code=True).cuda()
prompt = model.compose_prompt(
prompt=" A gritty detective narrating over the sound of heavy rain and a melancholic solo jazz saxophone. gritty deep male voice The city never sleeps, but it sure knows how to cry. heavy rain hitting pavement melancholic solo saxophone distant urban ambience"
)
audio = model.generate(prompt)
torchaudio.save("output.wav", audio.cpu(), 16000)
import torchaudio
from transformers import AutoModel
model = AutoModel.from_pretrained("mispeech/Dasheng-AudioGen", trust_remote_code=True).cuda()
prompts = [
model.compose_prompt(caption="A cat meowing softly.", sfx="Soft cat meow."),
model.compose_prompt(caption="Thunder rolling in the distance.", env="Stormy night ambience."),
model.compose_prompt(caption="A piano playing a gentle melody.", music="Soft piano ballad."),
]
audios = model.generate(prompts)
for i, audio in enumerate(audios):
torchaudio.save(f"output_{i}.wav", audio.unsqueeze(0).cpu(), 16000)
import torchaudio
from transformers import AutoModel
model = AutoModel.from_pretrained("mispeech/Dasheng-AudioGen", trust_remote_code=True).cuda()
prompt = model.compose_prompt(caption="A dog barking in a park")
audio = model.generate(
prompts=prompt,
num_steps=25, # number of denoising steps (default: 25)
guidance_scale=5.0, # classifier-free guidance scale (default: 5.0)
sway_sampling_coef=-1.0, # sway sampling coefficient (default: -1.0, 0 for linear)
)
torchaudio.save("output.wav", audio.cpu(), 16000)
Dasheng-AudioGen was developed with contributions from XIAOMI LLM PLUS and SJTU X-LANCE.
@article{mei2026dashengaudiogen,
title = {Dasheng AudioGen: A Unified Model for Generating Coherent Audio Scenes from Text},
author = {Jiahao Mei and Heinrich Dinkel and Yadong Niu and Xingwei Sun and Gang Li and Yifan Liao and Jiahao Zhou and Junbo Zhang and Jian Luan and Mengyue Wu},
journal = {arXiv preprint arXiv:2605.27838},
year = {2026}
}
This project is released under the Apache License 2.0.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.