SuperAPI AI Directory

MOSS-TTSD

MOSS-TTSD is an open-source text-to-spoken-dialogue generation model from OpenMOSS, belonging to the MOSS-TTS family, and focused on long-form multi-speaker dialogue synthesis. It supports flexible control of 1 to 5 speakers, natural turn-taking and overlapping speech, and can generate up to 60 minutes of coherent audio in a single session while maintaining speaker identity consistency. The model has zero-shot voice cloning capability, requiring only a short reference audio to clone a timbre, and supports 20 languages including Chinese, English, Japanese, and European languages. It is suitable for scenarios such as AI podcasts, audiobooks, sports commentary, dubbing, and crosstalk, is licensed under Apache 2.0, and provides SGLang-accelerated inference and fine-tuning code.

Open website

About this tool

MOSS-TTSD is an open-source model in the MOSS-TTS family focused on long-form dialogue synthesis, with the goal of shifting from "text-to-speech" to "script-to-dialogue." It is aimed at content creation and development scenarios that require multiple speakers and long, continuous output.

Purpose MOSS-TTSD is used to convert static dialogue scripts into expressive spoken performances, suitable for long-form content requiring multi-speaker interaction such as AI podcasts, audiobooks, sports/esports commentary, dubbing, and crosstalk. It emphasizes dialogue rhythm, emotional detail, and continuity of speaker identity, rather than single-sentence reading.

Main capabilities

  • Multi-speaker support: Supports 1 to 5 speakers with flexible control, handles natural turn-taking and overlapping speech patterns, and maintains different personas.
  • Ultra-long context modeling: Can generate up to 60 minutes of coherent audio in a single session while maintaining identity consistency.
  • Multi-scenario adaptation: Fine-tuned for highly variable scenarios such as conversational media (AI podcasts), dynamic commentary (sports/esports), and entertainment (audiobooks, dubbing, crosstalk).
  • Multilingual and zero-shot cloning: Supports 20 languages, including Chinese, English, Japanese, and European languages; zero-shot voice cloning requires only a short reference audio and offers cross-lingual performance.
  • Inference acceleration: Supports the SGLang inference engine, which the official documentation says can accelerate by up to 16x; v1.0 supports end-to-end SGLang inference.
  • Fine-tuning support: Since v0.5, fine-tuning code has been open-sourced, supporting full-parameter fine-tuning, LoRA fine-tuning, and multi-node training.
  • Streaming inference: Since v0.5, streaming inference is supported.
  • 32 kHz output: Since v0.7, 32 kHz high-quality output is supported, and the single-generation length is extended (from 960 seconds to 1700 seconds).

Usage Installation requires using pip and conda to configure the environment. The model uses a continuation workflow: provide reference audio and its transcription as a prefix for each speaker, then provide the dialogue text to be generated, and the model will continue each speaker's identity. For batch inference, the provided inference script can be used. The script automatically uses all visible GPUs, and GPU visibility can be controlled via export CUDA_VISIBLE_DEVICES=<device_ids>. The main parameters include: --model_path (MOSS-TTSD path or HuggingFace ID), --codec_model_path (MOSS-Audio-Tokenizer path or ID), --input_jsonl (input JSONL file), --save_dir (output directory), --mode (generation, continuation, voice_clone, voice_clone_and_continuation, voice_clone_and_continuation recommended), --batch_size (default 1), --max_new_tokens (controls the length of generated audio, about 12.5 tokens per second), --temperature (default 1.1), --top_p (default 0.9), --top_k (default 50), --repetition_penalty (default 1.1), --text_normalize (recommended to always enable), --sample_rate_normalize (recommended to enable when using 2 or more speakers). The input JSONL has one JSON object per line, supports 1 to 5 speakers, uses [S1]–[S5] tags in the text, and provides a prompt_audio_speakerN / prompt_text_speakerN pair for each speaker. SGLang acceleration: v1.0 supports running the fused MOSS-TTSD and MOSS-Audio-Tokenizer models using OpenMOSS's deeply extended SGLang. You need to first clone the compatible branch, download MOSS-TTSD-v1.0 and MOSS-Audio-Tokenizer, run the fusion command to generate a single-directory model, and then start the inference service. The first startup may take a long time due to compilation; once you see "The server is fired up and ready to roll!" it is ready. The service API is compatible with the standard multimodal text generation interface, and the text field of the returned JSON contains base64-encoded WAV audio. The repository provides a minimal request example script, which by default sends requests to http://localhost:30000/generate , uses asset/reference_02_s1.wav and asset/reference_02_s2.wav in the repository as reference audio, and saves the output to outputs/output.wav.

Use cases AI podcast production, audiobooks, sports/esports commentary, dubbing, crosstalk, multilingual drama, and other long-form multi-speaker content. Community projects include ComfyUI-MOSS-TTS (a ComfyUI extension), MOSS-TTS-OpenAI (an OpenAI-compatible TTS API), and AnyPod (a podcast generation tool backed by MOSS-TTS/MOSS-TTSD).

Limitations and notes The model is licensed under Apache 2.0. The official project explicitly prohibits unauthorized voice cloning, impersonation, fraud, scams, deepfakes, or any illegal activity, and users must comply with local laws, regulations, and ethical standards. The developers are not responsible for misuse. For evaluation, objective evaluation uses MMS-FA for word-level alignment and utterance segmentation, and uses wespeaker to extract embeddings to calculate speaker attribution accuracy (ACC) and speaker similarity (SIM); subjective evaluation scores open-source models on speaker attribution accuracy, voice similarity, prosody, and overall quality and calculates Elo ratings, and calculates win rates for closed-source models. Specific hardware requirements, prices, and fee information are not yet provided.