ComfyPilotComfyPilot
工作流 / 音频 / ElevenLabs:文本转对话
ElevenLabs:文本转对话

ElevenLabs:文本转对话

ElevenLabs: Text to Dialogue

输入文本并选择语音配置文件,生成高质量、情感丰富的音频对话。

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

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

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

节点构成

ElevenLabsVoiceSelector × 2
LoadAudio × 1
ElevenLabsInstantVoiceClone × 1
Note × 1
ElevenLabsTextToDialogue × 1
RecordAudio × 1
SaveAudioAdvanced × 1
MarkdownNote × 1

官方标注的模型

ElevenLabs

工作流 JSON

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

1{
2 "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3 "revision": 0,
4 "last_node_id": 221,
5 "last_link_id": 302,
6 "nodes": [
7 {
8 "id": 210,
9 "type": "LoadAudio",
10 "pos": [
11 1820,
12 1090
13 ],
14 "size": [
15 240,
16 170
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 4,
21 "inputs": [],
22 "outputs": [
23 {
24 "name": "AUDIO",
25 "type": "AUDIO",
26 "links": [
27 296
28 ]
29 }
30 ],
31 "properties": {
32 "Node name for S&R": "LoadAudio",
33 "cnr_id": "comfy-core",
34 "ver": "0.14.1"
35 },
36 "widgets_values": [
37 "long_demo.mp3",
38 null,
39 null
40 ],
41 "widgets_values_named": {
42 "audio": "long_demo.mp3",
43 "upload": null
44 }
45 },
46 {
47 "id": 212,
48 "type": "ElevenLabsInstantVoiceClone",
49 "pos": [
50 2110,
51 1090
52 ],
53 "size": [
54 270,
55 110
56 ],
57 "flags": [],
58 "order": 6,
59 "mode": 4,
60 "inputs": [
61 {
62 "label": "audio0",
63 "name": "files.audio0",
64 "type": "AUDIO",
65 "link": 296
66 },
67 {
68 "name": "files.audio1",
69 "shape": 7,
70 "type": "AUDIO",
71 "link": null
72 }
73 ],
74 "outputs": [
75 {
76 "name": "voice",
77 "type": "ELEVENLABS_VOICE",
78 "links": null
79 }
80 ],
81 "properties": {
82 "Node name for S&R": "ElevenLabsInstantVoiceClone",
83 "cnr_id": "comfy-core",
84 "ver": "0.14.1"
85 },
86 "widgets_values": [
87 true
88 ],
89 "widgets_values_named": {
90 "remove_background_noise": true
91 },
92 "color": "#432",
93 "bgcolor": "#653"
94 },
95 {
96 "id": 217,
97 "type": "Note",
98 "pos": [
99 2120,
100 1260
101 ],
102 "size": [
103 260,
104 110
105 ],
106 "flags": [],
107 "order": 1,
108 "mode": 0,
109 "inputs": [],
110 "outputs": [],
111 "title": "How to enable bypassed nodes",
112 "properties": [],
113 "widgets_values": [
114 "Please select and use Ctrl-B to enable the bypassed nodes."
115 ],
116 "widgets_values_named": {
117 "text": "Please select and use Ctrl-B to enable the bypassed nodes."
118 },
119 "color": "#222",
120 "bgcolor": "#000"
121 },
122 {
123 "id": 211,
124 "type": "ElevenLabsVoiceSelector",
125 "pos": [
126 1940,
127 740
128 ],
129 "size": [
130 320,
131 90
132 ],
133 "flags": [],
134 "order": 2,
135 "mode": 0,
136 "inputs": [],
137 "outputs": [
138 {
139 "name": "voice",
140 "type": "ELEVENLABS_VOICE",
141 "links": [
142 299
143 ]
144 }
145 ],
146 "properties": {
147 "Node name for S&R": "ElevenLabsVoiceSelector",
148 "cnr_id": "comfy-core",
149 "ver": "0.14.1"
150 },
151 "widgets_values": [
152 "Roger (male, american)"
153 ],
154 "widgets_values_named": {
155 "voice": "Roger (male, american)"
156 }
157 },
158 {
159 "id": 219,
160 "type": "ElevenLabsVoiceSelector",
161 "pos": [
162 1940,
163 880
164 ],
165 "size": [
166 320,
167 90
168 ],
169 "flags": [],
170 "order": 3,
171 "mode": 0,
172 "inputs": [],
173 "outputs": [
174 {
175 "name": "voice",
176 "type": "ELEVENLABS_VOICE",
177 "links": [
178 300
179 ]
180 }
181 ],
182 "properties": {
183 "Node name for S&R": "ElevenLabsVoiceSelector",
184 "cnr_id": "comfy-core",
185 "ver": "0.14.1"
186 },
187 "widgets_values": [
188 "Laura (female, american)"
189 ],
190 "widgets_values_named": {
191 "voice": "Laura (female, american)"
192 }
193 },
194 {
195 "id": 218,
196 "type": "ElevenLabsTextToDialogue",
197 "pos": [
198 2450,
199 690
200 ],
201 "size": [
202 340,
203 423
204 ],
205 "flags": [],
206 "order": 7,
207 "mode": 0,
208 "inputs": [
209 {
210 "name": "inputs.voice1",
211 "type": "ELEVENLABS_VOICE",
212 "link": 299
213 },
214 {
215 "name": "inputs.voice2",
216 "type": "ELEVENLABS_VOICE",
217 "link": 300
218 }
219 ],
220 "outputs": [
221 {
222 "name": "AUDIO",
223 "type": "AUDIO",
224 "links": [
225 302
226 ]
227 }
228 ],
229 "properties": {
230 "Node name for S&R": "ElevenLabsTextToDialogue",
231 "cnr_id": "comfy-core",
232 "ver": "0.14.1"
233 },
234 "widgets_values": [
235 0.5,
236 "auto",
237 "eleven_v3",
238 "2",
239 "Now, you can use ElevenLabs node to generate multi-dialogue audio.",
240 "Yes, you can use voice cloning too",
241 "",
242 2061518140,
243 "randomize",
244 "mp3_44100_192"
245 ],
246 "widgets_values_named": {
247 "stability": 0.5,
248 "apply_text_normalization": "auto",
249 "model": "eleven_v3",
250 "inputs": "2",
251 "inputs.text1": "Now, you can use ElevenLabs node to generate multi-dialogue audio.",
252 "inputs.text2": "Yes, you can use voice cloning too",
253 "language_code": "",
254 "seed": 2061518140,
255 "control_after_generate": "randomize",
256 "output_format": "mp3_44100_192"
257 },
258 "color": "#432",
259 "bgcolor": "#653"
260 },
261 {
262 "id": 214,
263 "type": "RecordAudio",
264 "pos": [
265 1820,
266 1320
267 ],
268 "size": [
269 240,
270 150
271 ],
272 "flags": [],
273 "order": 4,
274 "mode": 4,
275 "inputs": [],
276 "outputs": [
277 {
278 "name": "AUDIO",
279 "type": "AUDIO",
280 "links": null
281 }
282 ],
283 "properties": {
284 "Node name for S&R": "RecordAudio",
285 "cnr_id": "comfy-core",
286 "ver": "0.14.1"
287 },
288 "widgets_values": [
289 "",
290 ""
291 ],
292 "widgets_values_named": {
293 "audio": ""
294 }
295 },
296 {
297 "id": 220,
298 "type": "SaveAudioAdvanced",
299 "pos": [
300 2820,
301 690
302 ],
303 "size": [
304 680,
305 178
306 ],
307 "flags": [],
308 "order": 8,
309 "mode": 0,
310 "inputs": [
311 {
312 "name": "audio",
313 "type": "AUDIO",
314 "link": 302
315 }
316 ],
317 "outputs": [
318 {
319 "name": "audio",
320 "type": "AUDIO",
321 "links": null
322 }
323 ],
324 "properties": [],
325 "widgets_values": [
326 "audio/ComfyUI",
327 "mp3",
328 "V0"
329 ],
330 "widgets_values_named": {
331 "filename_prefix": "audio/ComfyUI",
332 "format": "mp3",
333 "format.quality": "V0"
334 }
335 },
336 {
337 "id": 221,
338 "type": "MarkdownNote",
339 "pos": [
340 1280,
341 690
342 ],
343 "size": [
344 480,
345 226.6875
346 ],
347 "flags": [],
348 "order": 5,
349 "mode": 0,
350 "inputs": [],
351 "outputs": [],
352 "properties": [],
353 "widgets_values": [
354 "## Input Asset\n\n- [long_demo.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/long_demo.mp3)\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"
355 ],
356 "widgets_values_named": {
357 "text": "## Input Asset\n\n- [long_demo.mp3](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/long_demo.mp3)\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"
358 },
359 "color": "#222",
360 "bgcolor": "#000"
361 }
362 ],
363 "links": [
364 [
365 296,
366 210,
367 0,
368 212,
369 0,
370 "AUDIO"
371 ],
372 [
373 299,
374 211,
375 0,
376 218,
377 0,
378 "ELEVENLABS_VOICE"
379 ],
380 [
381 300,
382 219,
383 0,
384 218,
385 1,
386 "ELEVENLABS_VOICE"
387 ],
388 [
389 302,
390 218,
391 0,
392 220,
393 0,
394 "AUDIO"
395 ]
396 ],
397 "groups": [
398 {
399 "id": 1,
400 "title": "Option 2: Create a Voice Clone",
401 "bounding": [
402 1790,
403 1020,
404 610,
405 470
406 ],
407 "color": "#3f789e",
408 "flags": []
409 },
410 {
411 "id": 2,
412 "title": "Option 1: Use Preset Voice",
413 "bounding": [
414 1790,
415 660,
416 608.3333333333334,
417 325
418 ],
419 "color": "#3f789e",
420 "flags": []
421 }
422 ],
423 "config": [],
424 "extra": {
425 "ds": {
426 "scale": 0.8916666666666667,
427 "offset": [
428 -1341.2368574766385,
429 -368.09725467289707
430 ]
431 },
432 "frontendVersion": "1.52.5",
433 "workflowRendererVersion": "LG",
434 "ue_links": [],
435 "links_added_by_ue": [],
436 "VHS_latentpreview": false,
437 "VHS_latentpreviewrate": 0,
438 "VHS_MetadataImage": true,
439 "VHS_KeepIntermediate": true
440 },
441 "version": 0.4
442}