VoiceService
Get custom voice capacity
Inworld Voice API reference: check how many custom voices your organization has and the most its plan allows.
/voices/v1/voices:customVoiceCapacityCheck 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.
curl -s 'https://api.inworld.ai/voices/v1/voices:customVoiceCapacity' \
-H "Authorization: Basic $INWORLD_API_KEY"{
"usedCustomVoices": 37,
"maxCustomVoices": 500
}usedCustomVoicescounts instant clones, designed voices and copied voices in every workspace of your organization, not only the API key's workspace.maxCustomVoicesis 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.
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.