Realtime TTS-2 is live. Built for realtime conversation that feels human. Read the Realtime TTS-2 announcement

VoiceService

Get custom voice capacity

Inworld Voice API reference: check how many custom voices your organization has and the most its plan allows.

GET/voices/v1/voices:customVoiceCapacity

Check how many custom voices you have and how many your plan allows before you clone, design or copy a voice. A standard API key works: this endpoint needs only read access to voices, and it is free.

bash
curl -s 'https://api.inworld.ai/voices/v1/voices:customVoiceCapacity' \
  -H "Authorization: Basic $INWORLD_API_KEY"
json
{
  "usedCustomVoices": 37,
  "maxCustomVoices": 500
}
  • usedCustomVoices counts instant clones, designed voices and copied voices in every workspace of your organization, not only the API key's workspace.
  • maxCustomVoices is your plan's limit plus any add-ons. If it is absent, no custom voice limit applies.
  • Voices produced by Professional Voice Cloning are not counted here. They use PVC voice slots, which Resolve upload limits reports.

When usedCustomVoices reaches maxCustomVoices, requests that create a voice fail with 400. Delete voices you no longer use, or upgrade your plan. See Custom voice limit for the error and which requests it affects.

Authorizations

Authorizationstringrequired

Your API key. Read permissions are required for GET endpoints. Write permissions are required for POST, PATCH, and DELETE endpoints.

For Basic authentication, please populate Basic $INWORLD_API_KEY. You can create a key in one command with the Inworld CLI: inworld workspace add-key.

Response

200 - application/json

usedCustomVoicesinteger

Custom voices that count toward maxCustomVoices: instant clones, designed voices and copied voices in every workspace of your organization. Voices produced by Professional Voice Cloning are not counted.

maxCustomVoicesinteger

The most custom voices your organization can have, from its plan plus any add-ons. Creating a voice fails once usedCustomVoices reaches this number. If the field is absent, no custom voice limit applies.