ComfyPilotComfyPilot
工作流 / 音频 / ElevenLabs:文生语音
ElevenLabs:文生语音

ElevenLabs:文生语音

ElevenLabs: Text to Speech

输入文本以生成超逼真语音,或上传语音样本以克隆用于合成。

音频 8 个节点 1 个输入 92 次使用 ComfyUI ≥ 0.25.0 ComfyUI 9 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

ElevenLabsTextToSpeech × 1
LoadAudio × 1
ElevenLabsVoiceSelector × 1
ElevenLabsInstantVoiceClone × 1
RecordAudio × 1
Note × 1
SaveAudioAdvanced × 1
MarkdownNote × 1

官方标注的模型

ElevenLabs

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3 "revision": 0,
4 "last_node_id": 219,
5 "last_link_id": 298,
6 "nodes": [
7 {
8 "id": 208,
9 "type": "ElevenLabsTextToSpeech",
10 "pos": [
11 2430,
12 730
13 ],
14 "size": [
15 350,
16 410
17 ],
18 "flags": [],
19 "order": 6,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "voice",
24 "type": "ELEVENLABS_VOICE",
25 "link": 295
26 }
27 ],
28 "outputs": [
29 {
30 "name": "AUDIO",
31 "type": "AUDIO",
32 "links": [
33 298
34 ]
35 }
36 ],
37 "properties": {
38 "Node name for S&R": "ElevenLabsTextToSpeech",
39 "cnr_id": "comfy-core",
40 "ver": "0.14.1"
41 },
42 "widgets_values": [
43 "Now, you can generate voice using the ElevenLabs Text - to - Speech node. You can also use your own voice to create a clone.",
44 0.5,
45 "auto",
46 "eleven_multilingual_v2",
47 1,
48 0.75,
49 false,
50 0,
51 "",
52 1,
53 "randomize",
54 "mp3_44100_192"
55 ],
56 "widgets_values_named": {
57 "text": "Now, you can generate voice using the ElevenLabs Text - to - Speech node. You can also use your own voice to create a clone.",
58 "stability": 0.5,
59 "apply_text_normalization": "auto",
60 "model": "eleven_multilingual_v2",
61 "model.speed": 1,
62 "model.similarity_boost": 0.75,
63 "model.use_speaker_boost": false,
64 "model.style": 0,
65 "language_code": "",
66 "seed": 1,
67 "control_after_generate": "randomize",
68 "output_format": "mp3_44100_192"
69 },
70 "color": "#432",
71 "bgcolor": "#653"
72 },
73 {
74 "id": 210,
75 "type": "LoadAudio",
76 "pos": [
77 1820,
78 950
79 ],
80 "size": [
81 250,
82 140
83 ],
84 "flags": [],
85 "order": 0,
86 "mode": 4,
87 "inputs": [],
88 "outputs": [
89 {
90 "name": "AUDIO",
91 "type": "AUDIO",
92 "links": [
93 296
94 ]
95 }
96 ],
97 "properties": {
98 "Node name for S&R": "LoadAudio",
99 "cnr_id": "comfy-core",
100 "ver": "0.14.1"
101 },
102 "widgets_values": [
103 "chatterbox_input_gettysburg.wav",
104 null,
105 null
106 ],
107 "widgets_values_named": {
108 "audio": "chatterbox_input_gettysburg.wav",
109 "upload": null
110 }
111 },
112 {
113 "id": 211,
114 "type": "ElevenLabsVoiceSelector",
115 "pos": [
116 1920,
117 730
118 ],
119 "size": [
120 320,
121 80
122 ],
123 "flags": [],
124 "order": 1,
125 "mode": 0,
126 "inputs": [],
127 "outputs": [
128 {
129 "name": "voice",
130 "type": "ELEVENLABS_VOICE",
131 "links": [
132 295
133 ]
134 }
135 ],
136 "properties": {
137 "Node name for S&R": "ElevenLabsVoiceSelector",
138 "cnr_id": "comfy-core",
139 "ver": "0.14.1"
140 },
141 "widgets_values": [
142 "Roger (male, american)"
143 ],
144 "widgets_values_named": {
145 "voice": "Roger (male, american)"
146 }
147 },
148 {
149 "id": 212,
150 "type": "ElevenLabsInstantVoiceClone",
151 "pos": [
152 2110,
153 950
154 ],
155 "size": [
156 270,
157 90
158 ],
159 "flags": [],
160 "order": 5,
161 "mode": 4,
162 "inputs": [
163 {
164 "label": "audio0",
165 "name": "files.audio0",
166 "type": "AUDIO",
167 "link": 296
168 },
169 {
170 "label": "audio1",
171 "name": "files.audio1",
172 "shape": 7,
173 "type": "AUDIO",
174 "link": null
175 }
176 ],
177 "outputs": [
178 {
179 "name": "voice",
180 "type": "ELEVENLABS_VOICE",
181 "links": null
182 }
183 ],
184 "properties": {
185 "Node name for S&R": "ElevenLabsInstantVoiceClone",
186 "cnr_id": "comfy-core",
187 "ver": "0.14.1"
188 },
189 "widgets_values": [
190 true
191 ],
192 "widgets_values_named": {
193 "remove_background_noise": true
194 },
195 "color": "#432",
196 "bgcolor": "#653"
197 },
198 {
199 "id": 214,
200 "type": "RecordAudio",
201 "pos": [
202 1820,
203 1150
204 ],
205 "size": [
206 240,
207 120
208 ],
209 "flags": [],
210 "order": 2,
211 "mode": 4,
212 "inputs": [],
213 "outputs": [
214 {
215 "name": "AUDIO",
216 "type": "AUDIO",
217 "links": null
218 }
219 ],
220 "properties": {
221 "Node name for S&R": "RecordAudio",
222 "cnr_id": "comfy-core",
223 "ver": "0.14.1"
224 },
225 "widgets_values": [
226 "",
227 ""
228 ],
229 "widgets_values_named": {
230 "audio": ""
231 }
232 },
233 {
234 "id": 217,
235 "type": "Note",
236 "pos": [
237 2120,
238 1150
239 ],
240 "size": [
241 260,
242 100
243 ],
244 "flags": [],
245 "order": 3,
246 "mode": 0,
247 "inputs": [],
248 "outputs": [],
249 "title": "How to enable bypassed nodes",
250 "properties": [],
251 "widgets_values": [
252 "Please select and use Ctrl-B to enable the bypassed nodes."
253 ],
254 "widgets_values_named": {
255 "text": "Please select and use Ctrl-B to enable the bypassed nodes."
256 },
257 "color": "#222",
258 "bgcolor": "#000"
259 },
260 {
261 "id": 218,
262 "type": "SaveAudioAdvanced",
263 "pos": [
264 2820,
265 730
266 ],
267 "size": [
268 270,
269 160
270 ],
271 "flags": [],
272 "order": 7,
273 "mode": 0,
274 "inputs": [
275 {
276 "name": "audio",
277 "type": "AUDIO",
278 "link": 298
279 }
280 ],
281 "outputs": [
282 {
283 "name": "audio",
284 "type": "AUDIO",
285 "links": null
286 }
287 ],
288 "properties": {
289 "Node name for S&R": "SaveAudioAdvanced"
290 },
291 "widgets_values": [
292 "audio/ComfyUI",
293 "mp3",
294 "V0"
295 ],
296 "widgets_values_named": {
297 "filename_prefix": "audio/ComfyUI",
298 "format": "mp3",
299 "format.quality": "V0"
300 }
301 },
302 {
303 "id": 219,
304 "type": "MarkdownNote",
305 "pos": [
306 1370,
307 690
308 ],
309 "size": [
310 370,
311 350
312 ],
313 "flags": [],
314 "order": 4,
315 "mode": 0,
316 "inputs": [],
317 "outputs": [],
318 "properties": [],
319 "widgets_values": [
320 "## Input Asset\n\n- [chatterbox_input_gettysburg.wav](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/chatterbox_input_gettysburg.wav)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
321 ],
322 "widgets_values_named": {
323 "text": "## Input Asset\n\n- [chatterbox_input_gettysburg.wav](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/chatterbox_input_gettysburg.wav)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
324 },
325 "color": "#222",
326 "bgcolor": "#000"
327 }
328 ],
329 "links": [
330 [
331 295,
332 211,
333 0,
334 208,
335 0,
336 "ELEVENLABS_VOICE"
337 ],
338 [
339 296,
340 210,
341 0,
342 212,
343 0,
344 "AUDIO"
345 ],
346 [
347 298,
348 208,
349 0,
350 218,
351 0,
352 "AUDIO"
353 ]
354 ],
355 "groups": [
356 {
357 "id": 1,
358 "title": "Option 2: Create a Voice Clone",
359 "bounding": [
360 1790,
361 870,
362 600,
363 510
364 ],
365 "color": "#3f789e",
366 "flags": []
367 },
368 {
369 "id": 2,
370 "title": "Option 1: Use Preset Voice",
371 "bounding": [
372 1790,
373 660,
374 600,
375 200
376 ],
377 "color": "#3f789e",
378 "flags": []
379 }
380 ],
381 "config": [],
382 "extra": {
383 "ds": {
384 "scale": 0.7477890223962662,
385 "offset": [
386 -1352.7321054912084,
387 -360.0260474503523
388 ]
389 },
390 "frontendVersion": "1.49.6",
391 "workflowRendererVersion": "Vue-corrected",
392 "ue_links": [],
393 "links_added_by_ue": [],
394 "VHS_latentpreview": false,
395 "VHS_latentpreviewrate": 0,
396 "VHS_MetadataImage": true,
397 "VHS_KeepIntermediate": true
398 },
399 "version": 0.4
400}