
This ComfyUI workflow performs voice conversion using the ElevenLabs Speech-to-Speech API. You provide a source audio clip (via LoadAudio or RecordAudio), choose a target voice (via ElevenLabsVoiceSelector for a preset voice or ElevenLabsInstantVoiceClone to create a new clone), and the ElevenLabsSpeechToSpeech node generates a new recording that preserves the timing and content of the original while changing the vocal timbre to match the selected voice. The output can be saved with SaveAudioMP3 or SaveAudioOpus.
Technically, the pipeline routes your source waveform into ElevenLabsSpeechToSpeech along with a target voice ID. In Option 1, ElevenLabsVoiceSelector queries your ElevenLabs account and outputs a selected voice for direct use. In Option 2, ElevenLabsInstantVoiceClone uploads a clean reference sample and returns a new voice resource that is then fed into the Speech-to-Speech node. The Note node contains guidance, and several nodes are initially bypassed so you can enable only what you need. This design makes it easy to A/B between preset voices and instant clones while keeping file management simple with explicit save nodes.
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.
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: Speech to Speech" (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_speech_to_speech_api.json");
const job = await client.run(wf);
await job.getOutputs("222")[0].toFile("output.png"); // SaveAudioAdvancedThe 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.
FAQ













