View as Markdown
ElevenLabs icon

ElevenLabs ACTION

Add Voice

Add a voice from one or more audio files. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ElevenLabs account once, then configure and run Add Voice from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "elevenlabs-add-voice",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    elevenlabs: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    files: ["File Paths or URLs"],
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add Voice inputs
Property Type Description
name Name string
The name that identifies this voice. This will be displayed in the dropdown of the website.
Required
files File Paths or URLs string[]
Provide either an array of file URLs or an array of paths to a files in the /tmp directory (for example, /tmp/myFile.pdf).
Required
description Description string
How would you describe the voice?
Optional
labels Labels string
Serialized labels dictionary for the voice.
Optional
syncDir SyncDir dir
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
elevenlabs-add-voice
Version
0.0.7
App
ElevenLabs
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes