Setu Recipes: reusable digital workers across every app.Browse templates

Integrations / ElevenLabs

ElevenLabs

AI voices: browse voices and models, and check usage, subscription and generation history.

6 actions API key 6 read0 write Calls api.elevenlabs.io

Connect

TypeScript
const conn = await setu.connections.initiate({ userId: "user_1", toolkit: "elevenlabs" });
console.log(conn.connectUrl); // show this to your user
await conn.waitUntilActive();

Permissions requested

This toolkit uses a single credential and requests no scopes.

Actions

Get subscriptionreadelevenlabs.get_subscriptionGet the subscription: plan tier, character quota used and remaining, voice slots and billing status.

No input.

TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.get_subscription",
  input: {},
});
Get userreadelevenlabs.get_userGet the account's user info, including subscription tier and character usage.

No input.

TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.get_user",
  input: {},
});
Get voicereadelevenlabs.get_voiceGet one voice by id: name, category, labels, description and default settings.
InputTypeDescription
voice_idstringRequiredVoice id from list_voices
TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.get_voice",
  input: {
    "voice_id": "<voice_id>"
  },
});
List generation historyreadelevenlabs.list_historyList past speech generations (text, voice, model, character cost), newest first, with paging.
InputTypeDescription
page_sizeintegerOptionalItems to return, up to 1000 (default 100)
start_after_history_item_idstringOptionalItem id to continue from
voice_idstringOptionalOnly this voice
searchstringOptionalSearch term
sourcestringOptionalSource
sort_directionstringOptionalSort direction
TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.list_history",
  input: {},
});
List modelsreadelevenlabs.list_modelsList the speech models and their supported languages, text limits and cost multipliers.

No input.

TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.list_models",
  input: {},
});
List voicesreadelevenlabs.list_voicesSearch and list voices available to the account, with filters and paging.
InputTypeDescription
searchstringOptionalSearch by name or description
page_sizeintegerOptionalResults per page, up to 100 (default 10)
next_page_tokenstringOptionalToken from a previous response
sortstringOptionalSort field
sort_directionstringOptionalSort direction
categorystringOptionalVoice category
genderstringOptionalGender
languagestringOptionalLanguage
TypeScript
await setu.execute({
  userId: "user_1",
  action: "elevenlabs.list_voices",
  input: {},
});