ATH-MaaS / Marco-Voice

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: December 03 2025
text-to-speech

Introduction of Marco-Voice

Model Details of Marco-Voice

License

This project is licensed under the Apache License, Version 2.0 (SPDX-License-Identifier: Apache-2.0).

We used compliance checking algorithms during the training process, to ensure the compliance of the trained model(s) to the best of our ability. Due to complex data and the diversity of language model usage scenarios, we cannot guarantee that the model is completely free of copyright issues or improper content. If you believe anything infringes on your rights or generates improper content, please contact us, and we will promptly address the matter.

🗣️ Marco-Voice: Multilingual Emotion-Controllable Speech Synthesis

License

Marco-Voice is an open-source, text-to-speech (TTS) framework that enables high-fidelity voice cloning and fine-grained emotional control in synthesized speech. By integrating advanced disentanglement techniques, Marco-Voice supports expressive speech generation with studio-grade quality.

Try it out on Hugging Face Spaces or integrate it into your applications for controllable, natural-sounding synthetic voices.

📌 Model Details
  • Developed by: Marco-Voice Team
  • Model type: Neural Text-to-Speech (TTS) with speaker and emotion conditioning
  • Emotion supported: 7 (including sad, surprise, happy, etc.)
  • Voice cloning: Zero-shot / few-shot speaker adaptation
  • Architecture compatibility: Works with CosyVoice backbones
🎯 Intended Uses & Capabilities

Marco-Voice is designed for applications requiring emotionally expressive and speaker-consistent synthetic speech, such as:

  • Virtual assistants with personalized voices and emotional tone
  • Audiobook narration with dynamic prosody
  • Gaming and animation voice synthesis
  • Accessibility tools (e.g., expressive screen readers)
  • Cross-lingual voice dubbing with preserved speaker identity
⚠️ Limitations & Ethical Considerations

There is a trade-off between timbre similarity and emotion control.

🚀 Getting Started

Set up your environment:

conda create -n marco python=3.8
conda activate marco
pip install -r requirements.txt


🎯 Inference Example
```python
from Models.marco_voice.cosyvoice_rodis.cli.cosyvoice import CosyVoice
from Models.marco_voice.cosyvoice_emosphere.cli.cosyvoice import CosyVoice as cosy_emosphere
from Models.marco_voice.cosyvoice_rodis.utils.file_utils import load_wav
import torch
import torchaudio

# Load pre-trained models
model = CosyVoice('pretrained_models/v4', load_jit=False, load_onnx=False, fp16=False)
model_emosphere = cosy_emosphere('pretrained_models/v5', load_jit=False, load_onnx=False, fp16=False)

# Define emotion mapping
emo = {
    "伤心": "Sad",
    "恐惧": "Fearful",
    "快乐": "Happy",
    "惊喜": "Surprise",
    "生气": "Angry",
    "戏谑": "Jolliest"
}

# Load reference speech for voice cloning
prompt_speech_16k = load_wav("your_audio_path/exam.wav", 16000)
emo_type = "快乐"

# Load emotion embedding based on speaker and emotion
if emo_type in ["生气", "惊喜", "快乐"]:
    emotion_info = torch.load("assets/emotion_info.pt")["male005"][emo.get(emo_type)]
elif emo_type in ["伤心"]:
    emotion_info = torch.load("assets/emotion_info.pt")["female005"][emo.get(emo_type)]
elif emo_type in ["恐惧"]:
    emotion_info = torch.load("assets/emotion_info.pt")["female003"][emo.get(emo_type)]
else:
    emotion_info = torch.load("assets/emotion_info.pt")["male005"][emo.get(emo_type)]

# 1. Discrete emotion control
for i, j in enumerate(model.synthesize(
    text="今天的天气真不错,我们出去散步吧!",
    prompt_text="",
    reference_speech=prompt_speech_16k,
    emo_type=emo_type,
    emotion_embedding=emotion_info
)):
    torchaudio.save(f'emotional_{emo_type}.wav', j['tts_speech'], 22050)

# 2. Continuous emotion control (Emosphere)
for i, j in enumerate(model_emosphere.synthesize(
    text="今天的天气真不错,我们出去散步吧!",
    prompt_text="",
    reference_speech=prompt_speech_16k,
    emotion_embedding=emotion_info,
    low_level_emo_embedding=[0.1, 0.4, 0.5]
)):
    torchaudio.save(f'emosphere_{emo_type}.wav', j['tts_speech'], 22050)

# 3. Cross-lingual emotion transfer
for i, j in enumerate(model.synthesize(
    text="hello, i'm a speech synthesis model, how are you today?",
    prompt_text="",
    reference_speech=prompt_speech_16k,
    emo_type=emo_type,
    emotion_embedding=emotion_info
)):
    torchaudio.save(f'cross_lingual_{emo_type}.wav', j['tts_speech'], 22050)
You can also run inference using the provided script:

For inference scripts, training recipes, documentation, and more, visit our GitHub repository: 👉 https://github.com/AIDC-AI/Marco-Voice

Runs of ATH-MaaS Marco-Voice on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Marco-Voice huggingface.co Model

More Marco-Voice license Visit here:

https://choosealicense.com/licenses/apache-2.0

Marco-Voice huggingface.co

Marco-Voice huggingface.co is an AI model on huggingface.co that provides Marco-Voice's model effect (), which can be used instantly with this ATH-MaaS Marco-Voice model. huggingface.co supports a free trial of the Marco-Voice model, and also provides paid use of the Marco-Voice. Support call Marco-Voice model through api, including Node.js, Python, http.

Marco-Voice huggingface.co Url

https://huggingface.co/ATH-MaaS/Marco-Voice

ATH-MaaS Marco-Voice online free

Marco-Voice huggingface.co is an online trial and call api platform, which integrates Marco-Voice's modeling effects, including api services, and provides a free online trial of Marco-Voice, you can try Marco-Voice online for free by clicking the link below.

ATH-MaaS Marco-Voice online free url in huggingface.co:

https://huggingface.co/ATH-MaaS/Marco-Voice

Marco-Voice install

Marco-Voice is an open source model from GitHub that offers a free installation service, and any user can find Marco-Voice on GitHub to install. At the same time, huggingface.co provides the effect of Marco-Voice install, users can directly use Marco-Voice installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Marco-Voice install url in huggingface.co:

https://huggingface.co/ATH-MaaS/Marco-Voice

Url of Marco-Voice

Marco-Voice huggingface.co Url

Provider of Marco-Voice huggingface.co

ATH-MaaS
ORGANIZATIONS

Other API from ATH-MaaS

huggingface.co

Total runs: 216.0K
Run Growth: 91.9K
Growth Rate: 42.53%
Updated:August 28 2026
huggingface.co

Total runs: 13.4K
Run Growth: -707
Growth Rate: -5.28%
Updated:August 15 2025
huggingface.co

Total runs: 7.9K
Run Growth: -1.7K
Growth Rate: -21.98%
Updated:August 15 2025
huggingface.co

Total runs: 7.6K
Run Growth: 3.8K
Growth Rate: 50.30%
Updated:February 13 2026
huggingface.co

Total runs: 4.4K
Run Growth: 23
Growth Rate: 0.52%
Updated:February 13 2026
huggingface.co

Total runs: 4.2K
Run Growth: 3.4K
Growth Rate: 81.04%
Updated:August 15 2025
huggingface.co

Total runs: 612
Run Growth: 9
Growth Rate: 1.47%
Updated:November 23 2024
huggingface.co

Total runs: 306
Run Growth: -145
Growth Rate: -47.39%
Updated:August 15 2025
huggingface.co

Total runs: 233
Run Growth: -3
Growth Rate: -1.29%
Updated:August 15 2025
huggingface.co

Total runs: 229
Run Growth: -738
Growth Rate: -322.27%
Updated:July 03 2025
huggingface.co

Total runs: 197
Run Growth: -54
Growth Rate: -27.41%
Updated:June 09 2026
huggingface.co

Total runs: 182
Run Growth: -213
Growth Rate: -117.03%
Updated:August 15 2025
huggingface.co

Total runs: 67
Run Growth: 40
Growth Rate: 59.70%
Updated:November 21 2024
huggingface.co

Total runs: 26
Run Growth: -6
Growth Rate: -23.08%
Updated:November 21 2024
huggingface.co

Total runs: 22
Run Growth: 12
Growth Rate: 54.55%
Updated:May 29 2025
huggingface.co

Total runs: 12
Run Growth: -8
Growth Rate: -66.67%
Updated:July 30 2025
huggingface.co

Total runs: 8
Run Growth: -3
Growth Rate: -37.50%
Updated:August 19 2025
huggingface.co

Total runs: 8
Run Growth: 0
Growth Rate: 0.00%
Updated:November 14 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 19 2025