
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
Usa este flujo de trabajo desde código
Cada flujo de trabajo de Comfy es un grafo JSON. El siguiente payload es este flujo de trabajo, exactamente como lo ejecuta ComfyUI: descárgalo desde la URL, guárdalo en control de versiones o cárgalo en ComfyUI y ejecútalo nodo por nodo.
Ejecuta desde TypeScript o Python con el Comfy SDK. El mismo código funciona en Comfy Cloud o en un ComfyUI propio: solo cambia la URL base.
// 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");El SDK utiliza un flujo de trabajo en formato API: abre este flujo de trabajo en ComfyUI y usa Archivo → Exportar flujo de trabajo (API).
El acceso a la API de Comfy Cloud requiere un plan con clave API.













