
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
استخدم سير العمل هذا من الكود
كل سير عمل في Comfy هو رسم بياني بصيغة JSON. الحمولة أدناه هي هذا سير العمل بالضبط كما يشغله ComfyUI — يمكنك جلبه من الرابط، حفظه في نظام التحكم بالإصدارات، أو تحميله في ComfyUI وتشغيله عقدة تلو الأخرى.
شغّله من TypeScript أو Python باستخدام Comfy SDK. نفس الكود يعمل على Comfy Cloud أو ComfyUI الذي تستضيفه بنفسك — فقط عنوان URL الأساسي يتغير.
// 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");يأخذ SDK سير العمل بصيغة API: افتح هذا سير العمل في ComfyUI واستخدم ملف → تصدير سير العمل (API).
يتطلب الوصول إلى Comfy Cloud API خطة تتضمن مفتاح API.













