filliptm/ComfyUI-FL-FishSpeech

FL FishSpeech - AI Text-to-Speech & Voice Cloning for ComfyUI

10

stars

5

commits

Python

primary language

Aug 24, 2026

updated

README

FL FishSpeech

AI text-to-speech and voice cloning nodes for ComfyUI powered by OpenAudio S1-mini (Fish Audio). High-quality 44.1kHz speech synthesis with zero-shot voice cloning from a single reference clip.

Fish Audio Patreon

Workflow Preview

Features

  • Voice Cloning - Clone any voice from a single reference audio clip (5-30 seconds)
  • High-Quality Audio - 44.1kHz output via DAC neural codec
  • DualAR Transformer - 860M parameter model for natural-sounding speech
  • Emotion Control - Inline tags like [laugh], [whispers], [angry] for expressive speech
  • Whisper Transcription - Built-in transcription node for generating reference text
  • Per-Token Progress - Real-time progress bar tracking during generation
  • torch.compile Support - Optional JIT compilation for faster inference

Nodes

NodeDescription
Model LoaderLoad OpenAudio S1-mini transformer + DAC codec
Reference AudioEncode reference audio + transcript for voice cloning
TTSGenerate speech from text with optional voice cloning
VQ EncodeEncode audio to VQ codes (discrete audio representation)
VQ DecodeDecode VQ codes back to audio waveform
TranscribeTranscribe audio to text using Whisper

Installation

ComfyUI Manager

Search for "FL FishSpeech" and install.

Manual

cd ComfyUI
git clone https://github.com/fishaudio/fish-speech.git
git -C fish-speech checkout befe4001745417f8c42131739d862b8a6fdbd15a
git clone https://github.com/filliptm/ComfyUI-FL-FishSpeech.git custom_nodes/ComfyUI-FL-FishSpeech
pip install -r custom_nodes/ComfyUI-FL-FishSpeech/requirements.txt

Quick Start

  1. Add FL FishSpeech Model Loader — models download automatically on first use
  2. For voice cloning:
    • Load a reference audio clip (5-30 seconds of clear speech)
    • Connect to FL FishSpeech Transcribe to get the transcript
    • Connect both audio and transcript to FL FishSpeech Reference Audio
  3. Add FL FishSpeech TTS node
    • Connect the model and optional reference
    • Enter your text
  4. Connect output to Preview Audio or Save Audio

Basic TTS (No Cloning)

Model Loader → TTS → Preview Audio

Voice Cloning Pipeline

Model Loader ─────────────────→ TTS → Preview Audio
                                 ↑
Load Audio → Transcribe ──→ Reference Audio
         └────────────────→

Emotion & Expression Tags

FishSpeech supports inline expression tags within your text:

TagEffect
[laugh]Laughter
[whispers]Whispering voice
[angry]Angry tone
[sad]Sad tone
[excited]Excited delivery

Example: Hello! [laugh] That's so funny. [whispers] But don't tell anyone.

Parameters

TTS Settings

ParameterDefaultRangeDescription
temperature1.00.1-2.0Sampling randomness. Higher = more varied
top_p0.90.1-1.0Nucleus sampling threshold
top_k301-100Top-k token filtering
repetition_penalty1.11.0-2.0Penalize repeated tokens
chunk_length51250-1000Max bytes per text chunk
max_new_tokens00-4096Max tokens per chunk (0 = auto)
seed00-2^31Random seed (0 = random)

Model Loader Settings

ParameterDefaultDescription
deviceautoDevice selection (auto, cuda, cpu)
precisionbfloat16Model precision (bfloat16 recommended for CUDA)
compilefalseEnable torch.compile (slow first run, faster after)

Transcribe Settings

ParameterDefaultDescription
modelwhisper-large-v3-turboWhisper model variant
languageautoLanguage code or auto-detect

Model

ModelParametersVRAMOutput
OpenAudio S1-mini~860M~14GB44.1kHz mono audio

Models download automatically on first use to ComfyUI/models/fishspeech/.

The model uses a DualAR (Dual Autoregressive) Transformer for semantic token generation and a DAC (Descript Audio Codec) with 10 codebooks for high-quality audio reconstruction.

Requirements

  • Python 3.10+
  • 16GB RAM minimum
  • NVIDIA GPU with 14GB+ VRAM recommended

Supported Platforms

PlatformDeviceNotes
NVIDIA GPUCUDA14GB+ VRAM, bfloat16 recommended
Apple SiliconMPSM1/M2/M3/M4 supported
CPUCPUVery slow, not recommended

Credits

License

Apache 2.0

Contributors

filliptm

5 commits

filliptm/ComfyUI-FL-FishSpeech

FL FishSpeech - AI Text-to-Speech & Voice Cloning for ComfyUI

10

stars

5

commits

Python

primary language

Aug 24, 2026

updated

README

FL FishSpeech

AI text-to-speech and voice cloning nodes for ComfyUI powered by OpenAudio S1-mini (Fish Audio). High-quality 44.1kHz speech synthesis with zero-shot voice cloning from a single reference clip.

Fish Audio Patreon

Workflow Preview

Features

  • Voice Cloning - Clone any voice from a single reference audio clip (5-30 seconds)
  • High-Quality Audio - 44.1kHz output via DAC neural codec
  • DualAR Transformer - 860M parameter model for natural-sounding speech
  • Emotion Control - Inline tags like [laugh], [whispers], [angry] for expressive speech
  • Whisper Transcription - Built-in transcription node for generating reference text
  • Per-Token Progress - Real-time progress bar tracking during generation
  • torch.compile Support - Optional JIT compilation for faster inference

Nodes

NodeDescription
Model LoaderLoad OpenAudio S1-mini transformer + DAC codec
Reference AudioEncode reference audio + transcript for voice cloning
TTSGenerate speech from text with optional voice cloning
VQ EncodeEncode audio to VQ codes (discrete audio representation)
VQ DecodeDecode VQ codes back to audio waveform
TranscribeTranscribe audio to text using Whisper

Installation

ComfyUI Manager

Search for "FL FishSpeech" and install.

Manual

cd ComfyUI
git clone https://github.com/fishaudio/fish-speech.git
git -C fish-speech checkout befe4001745417f8c42131739d862b8a6fdbd15a
git clone https://github.com/filliptm/ComfyUI-FL-FishSpeech.git custom_nodes/ComfyUI-FL-FishSpeech
pip install -r custom_nodes/ComfyUI-FL-FishSpeech/requirements.txt

Quick Start

  1. Add FL FishSpeech Model Loader — models download automatically on first use
  2. For voice cloning:
    • Load a reference audio clip (5-30 seconds of clear speech)
    • Connect to FL FishSpeech Transcribe to get the transcript
    • Connect both audio and transcript to FL FishSpeech Reference Audio
  3. Add FL FishSpeech TTS node
    • Connect the model and optional reference
    • Enter your text
  4. Connect output to Preview Audio or Save Audio

Basic TTS (No Cloning)

Model Loader → TTS → Preview Audio

Voice Cloning Pipeline

Model Loader ─────────────────→ TTS → Preview Audio
                                 ↑
Load Audio → Transcribe ──→ Reference Audio
         └────────────────→

Emotion & Expression Tags

FishSpeech supports inline expression tags within your text:

TagEffect
[laugh]Laughter
[whispers]Whispering voice
[angry]Angry tone
[sad]Sad tone
[excited]Excited delivery

Example: Hello! [laugh] That's so funny. [whispers] But don't tell anyone.

Parameters

TTS Settings

ParameterDefaultRangeDescription
temperature1.00.1-2.0Sampling randomness. Higher = more varied
top_p0.90.1-1.0Nucleus sampling threshold
top_k301-100Top-k token filtering
repetition_penalty1.11.0-2.0Penalize repeated tokens
chunk_length51250-1000Max bytes per text chunk
max_new_tokens00-4096Max tokens per chunk (0 = auto)
seed00-2^31Random seed (0 = random)

Model Loader Settings

ParameterDefaultDescription
deviceautoDevice selection (auto, cuda, cpu)
precisionbfloat16Model precision (bfloat16 recommended for CUDA)
compilefalseEnable torch.compile (slow first run, faster after)

Transcribe Settings

ParameterDefaultDescription
modelwhisper-large-v3-turboWhisper model variant
languageautoLanguage code or auto-detect

Model

ModelParametersVRAMOutput
OpenAudio S1-mini~860M~14GB44.1kHz mono audio

Models download automatically on first use to ComfyUI/models/fishspeech/.

The model uses a DualAR (Dual Autoregressive) Transformer for semantic token generation and a DAC (Descript Audio Codec) with 10 codebooks for high-quality audio reconstruction.

Requirements

  • Python 3.10+
  • 16GB RAM minimum
  • NVIDIA GPU with 14GB+ VRAM recommended

Supported Platforms

PlatformDeviceNotes
NVIDIA GPUCUDA14GB+ VRAM, bfloat16 recommended
Apple SiliconMPSM1/M2/M3/M4 supported
CPUCPUVery slow, not recommended

Credits

License

Apache 2.0

Contributors

filliptm

5 commits

Languages

Python

100.0%