
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@restackio/integrations-elevenlabs
Advanced tools
This package provides an integration with ElevenLabs API for text-to-speech conversion using Restack.
This package provides an integration with ElevenLabs API for text-to-speech conversion using Restack.
To install the package, use npm or yarn:
npm install @restackio/integrations-elevenlabs
First, import the necessary modules and set up the ElevenLabs service:
// services.ts
import Restack from "@restackio/ai";
import { elevenlabsService } from "@restackio/integrations-elevenlabs";
export async function services() {
const client = new Restack();
elevenlabsService({ client }).catch((err) => {
console.error("Error starting ElevenLabs service:", err);
});
}
services().catch((err) => {
console.error("Error running services:", err);
});
To convert text to speech, use the elevenlabsConvert function:
// convertTextToSpeech.ts
import { log, step } from "@restackio/ai/workflow";
import * as elevenLabsFunctions from "@restackio/integrations-elevenlabs/functions";
import { elevenlabsTaskQueue } from "@restackio/integerations-elevenlabs/taskQueue";
export async function convertTextToSpeechWorkflow() {
const result = await step<typeof elevenLabsFunctions>({
taskQueue: elevenlabsTaskQueue,
}).elevenlabsConvert({
text: "Hello, world!",
apiKey: "YOUR_ELEVENLABS_API_KEY",
});
log.info("result", { result: result.media.payload }); // Base64 encoded audio
}
The elevenlabsConvert function accepts the following parameters:
text (required): The text to convert to speech.voiceId (optional): The ID of the voice to use. Defaults to "fCxG8OHm4STbIsWe4aT9".options (optional): Additional options for the text-to-speech conversion.twilioEncoding (optional): Set to enable Twilio-compatible encoding.apiKey (required): Your ElevenLabs API key.To use the ElevenLabs client without explicitly passing the API key, set the following environment variable:
ELEVENLABS_API_KEY=your_api_key_here
FAQs
This package provides an integration with ElevenLabs API for text-to-speech conversion using Restack.
We found that @restackio/integrations-elevenlabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.