ComfyUI Node
Run MOSS-TTSD Generation
Generates speech using MOSS-TTSD. Modes: - 'generation': Text-to-speech without reference (uses internal voice). - 'voice_clone': Clones voice from reference audio. - 'continuation': Continues speech from reference audio (good for emotion). - 'voice_clone_and_continuation': Combines cloning and continuation (best for mimicking). Parameters: - [S1]-[S5]: Speaker tags for multi-speaker generation. - audio_temperature: Higher = more dynamic/emotional, Lower = more stable. - audio_top_p/top_k: Controls decoding randomness. - text_normalize: Cleans text (removes special chars, merges tags). - sample_rate_normalize: Resamples all inputs to match.
Run MOSS-TTSD Generation
- moss_model
- moss_codec
- reference_audio_s1
- reference_audio_s2
- reference_audio_s3
- reference_audio_s4
- reference_audio_s5
- audio
◄text[S1] Hello world.►
◄modevoice_clone►
◄audio_temperature1.1►
◄audio_top_p0.90►
◄audio_top_k50►
◄audio_repetition_penalty1.1►
◄text_temperature1.1►
◄max_new_tokens2000►
◄text_normalizetrue►
◄sample_rate_normalizetrue►
◄reference_text_s1►
◄reference_text_s2►
◄reference_text_s3►
◄reference_text_s4►
◄reference_text_s5►
CategoryKaola/MOSS-TTSD
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| moss_model | MOSS_TTSD_MODEL | Loaded MOSS-TTSD model. | |
| moss_codec | MOSS_AUDIO_CODEC | Loaded MOSS Audio Tokenizer/Codec. | |
| text | STRING | [S1] Hello world. | Text to generate speech from. Use [S1]-[S5] tags for specific speakers. |
| mode | COMBO | voice_clone | Generation mode. 'voice_clone' is recommended for reference audio. |
| audio_temperature | FLOAT | 1.10.1–2 | Audio sampling temperature. Higher = more random/emotional. |
| audio_top_p | FLOAT | 0.900.1–1 | Nucleus sampling probability for audio. |
| audio_top_k | INT | 501–200 | Top-K sampling for audio. |
| audio_repetition_penalty | FLOAT | 1.11–2 | Penalty for repeating audio tokens. |
| text_temperature | FLOAT | 1.10.1–2 | Temperature for text generation (if applicable). |
| max_new_tokens | INT | 2000100–10000 | Maximum number of tokens to generate. |
| text_normalize | BOOLEAN | true | Normalize text (clean punctuation, merge tags) before generation. |
| sample_rate_normalize | BOOLEAN | true | Resample all reference audios to the same sample rate. |
| reference_audio_s1opt | AUDIO | — | |
| reference_text_s1opt | STRING | — | |
| reference_audio_s2opt | AUDIO | — | |
| reference_text_s2opt | STRING | — | |
| reference_audio_s3opt | AUDIO | — | |
| reference_text_s3opt | STRING | — | |
| reference_audio_s4opt | AUDIO | — | |
| reference_text_s4opt | STRING | — | |
| reference_audio_s5opt | AUDIO | — | |
| reference_text_s5opt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| audio | AUDIO | — |