ComfyUI-SopranoTTS

December 30, 2025 ยท View on GitHub

ComfyUI custom nodes for Soprano TTS - a fast, lightweight text-to-speech model.

Features

  • SopranoLoader: Load the TTS model once, reuse across multiple generations
  • SopranoTTS: Generate speech from a single text input
  • SopranoTTSBatch: Process multiple texts efficiently in batch
  • SopranoTTSStream: Streaming generation (lmdeploy backend only)

Installation

Search for "SopranoTTS" in ComfyUI Manager and click Install.

Option 2: Manual Installation

  1. Navigate to your ComfyUI custom nodes directory:

    cd ComfyUI/custom_nodes
    
  2. Clone this repository:

    git clone https://github.com/jo-nike/ComfyUI-SopranoTTS.git
    
  3. Install dependencies:

    cd ComfyUI-SopranoTTS
    pip install -r requirements.txt
    
  4. Restart ComfyUI

Usage

Basic Workflow

  1. Add a Soprano TTS Loader node
  2. Connect it to a Soprano TTS node
  3. Enter your text
  4. Connect the audio output to a SaveAudio node

Nodes

Soprano TTS Loader

Loads the SopranoTTS model. The model is cached, so subsequent runs reuse the loaded model.

InputTypeDefaultDescription
backendCOMBOtransformersModel backend: transformers (recommended for newer GPUs), lmdeploy, or auto
cache_size_mbINT10LMDeploy KV cache size in MB
decoder_batch_sizeINT1Batch size for audio decoder

Soprano TTS

Generate speech from text.

InputTypeDefaultDescription
modelSOPRANO_MODEL-Model from SopranoLoader
textSTRING-Text to synthesize
temperatureFLOAT0.3Generation temperature (0.0-2.0)
top_pFLOAT0.95Nucleus sampling parameter
repetition_penaltyFLOAT1.2Penalty for repeated tokens

Soprano TTS Batch

Process multiple texts (one per line) in a single batch.

InputTypeDefaultDescription
textsSTRING-Multiple texts separated by newlines
(other params same as SopranoTTS)

Soprano TTS Stream

Streaming generation with lower latency. Only works with lmdeploy backend.

InputTypeDefaultDescription
chunk_sizeINT1Tokens per audio chunk
(other params same as SopranoTTS)

GPU Compatibility

  • RTX 5080 / Blackwell GPUs: Use backend: transformers (lmdeploy doesn't support compute capability 12.0 yet)
  • RTX 40xx / Ada GPUs: Either backend works
  • RTX 30xx / Ampere GPUs: Either backend works

Audio Output

  • Sample Rate: 32,000 Hz
  • Channels: Mono
  • Format: ComfyUI AUDIO type (compatible with SaveAudio, PreviewAudio, etc.)

Example Workflows

See the workflows/ folder for example workflow JSON files.

License

MIT