ElevenLabs: Texto a voz

Este flujo de trabajo de ComfyUI aprovecha la potencia de ElevenLabs para transformar texto escrito en voz ultra realista. Utilizando nodos como ElevenLabsTextToSpeech y ElevenLabsVoiceSelector, puedes seleccionar entre varias voces predefinidas o subir una muestra para clonar una voz específica para la síntesis. El flujo es versátil, permitiendo tanto la conversión de texto a voz como la clonación de voz, lo que lo convierte en una herramienta útil para creadores de contenido, educadores y desarrolladores que necesitan salidas de audio de alta calidad. Al integrar nodos como LoadAudio y SaveAudioMP3, puedes gestionar entradas y salidas de audio de forma eficiente, asegurando una experiencia fluida desde la entrada de texto hasta la generación del archivo de audio.

API

Use this workflow from code

Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.

api_elevenlabs_text_to_speech.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "ElevenLabs: Texto a voz" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("api_elevenlabs_text_to_speech_api.json");

const job = await client.run(wf);
await job.getOutputs("215")[0].toFile("output.png"); // SaveAudioMP3

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

Preguntas frecuentes

Preguntas Frecuentes

Ver todos los workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates