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
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.
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.
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.
| Input | Type | Description | |
|---|---|---|---|
voice_id | string | Required | Voice id from list_voices |
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.
| Input | Type | Description | |
|---|---|---|---|
page_size | integer | Optional | Items to return, up to 1000 (default 100) |
start_after_history_item_id | string | Optional | Item id to continue from |
voice_id | string | Optional | Only this voice |
search | string | Optional | Search term |
source | string | Optional | Source |
sort_direction | string | Optional | Sort direction |
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.
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.
| Input | Type | Description | |
|---|---|---|---|
search | string | Optional | Search by name or description |
page_size | integer | Optional | Results per page, up to 100 (default 10) |
next_page_token | string | Optional | Token from a previous response |
sort | string | Optional | Sort field |
sort_direction | string | Optional | Sort direction |
category | string | Optional | Voice category |
gender | string | Optional | Gender |
language | string | Optional | Language |
await setu.execute({
userId: "user_1",
action: "elevenlabs.list_voices",
input: {},
});