
This ComfyUI workflow turns written scripts into natural, expressive speech using the Fish Audio S2 Pro text‑to‑speech model. It supports over 80 languages and lets you direct performance with inline style tags (for example, adding [whisper] or [excited] directly in your text). The core path runs your text through the FishAudioTextToSpeech node and saves a single high‑quality audio file via SaveAudioAdvanced.
You can choose between two voice sources. Option 1 (Preset Audio) uses FishAudioVoiceSelector to supply a curated, ready‑to‑use voice to the TTS node. Option 2 (Voice Clone) uses LoadAudio plus FishAudioInstantVoiceClone to create a temporary voice profile from a short reference clip, then feeds that cloned voice to FishAudioTextToSpeech. Toggle between these options by enabling the corresponding workflow group (Ctrl‑B). A MarkdownNote node on the canvas provides quick reminders, while SaveAudioAdvanced writes the generated speech to disk in your chosen format. Because this uses API nodes, processing happens on the Fish Audio service and is pay‑per‑use once you’re signed in.
API
Use este workflow a partir do código
Todo workflow Comfy é um grafo JSON. O payload abaixo é este workflow, exatamente como o ComfyUI executa — obtenha-o pela URL, mantenha-o no controle de versão ou carregue-o no ComfyUI e execute nó por nó.
Execute a partir de TypeScript ou Python com o Comfy SDK. O mesmo código serve para o Comfy Cloud ou um ComfyUI hospedado por você — apenas a URL base muda.
// Install (beta)
npm i @comfyorg/sdk
// Run this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");O SDK utiliza um workflow no formato API: abra este workflow no ComfyUI e use Arquivo → Exportar Workflow (API).
O acesso à API do Comfy Cloud requer um plano com chave de API.













