Generate speech from text with ElevenLabs in Node.js
Turn any string into natural speech with the ElevenLabs TypeScript SDK and the Eleven v4 model in a few lines of Node.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- ElevenLabs API keyELEVENLABS_API_KEYGet key
Click Create API key
$
npx wirestack add elevenlabs-text-to-speech-node@11Revision 11, checked Nov 15, 2026. Installs exactly
@elevenlabs/elevenlabs-js 2.78.0, dotenv 18.0.10, creates the files and adds the key names to your .env. It shows everything first and asks before changing anything.Adapt to my stackProShowing the original (Node.js). Pick your stack to see it rewritten.
Free accounts can open one adapted integration a month. Sign in to try it.
