Ir para a navegação

Get Voice

Get one voice by a built-in ElevenLabs voice id or the UUID of a voice your organization cloned.

While a clone is still being created this returns 409 voice_clone_pending. Poll until you get 200 (ready) or 404 (no voice was created), and don’t submit another clone in the meantime. A missing voice, or one from another organization, returns 404 voice_not_found. During a provider outage, an id missing from the saved list returns 503 instead; retry after recovery. See Voice Cloning.

Autenticação

x-api-keystring
Autenticação de chave de API via cabeçalho

Parâmetros de caminho

idstringObrigatório

The voice id — a built-in provider voice id or a cloned voice UUID.

Parâmetros de consulta

providerenumOpcional

Provider to resolve the voice against. Currently elevenlabs.

Valores permitidos:

Resposta

Voice retrieved successfully
providerenum
The voice provider.
Valores permitidos:
idstringOpcional
The voice id to pass as voiceId in TTS and generation text inputs.
internalVoiceIdstringOpcional
The internal id of a cloned voice, when applicable.
voiceIdstringOpcional

The provider (ElevenLabs) voice id.

namestringOpcional
The display name of the voice.
previewUrlstringOpcional
A URL to a short preview sample of the voice, when available.
restrictionenumOpcional

Set when ElevenLabs won’t currently let the voice be used; null or absent otherwise. verification_required: verify the voice in ElevenLabs if it comes from your connected ElevenLabs account, or choose another voice. blocked: ElevenLabs blocked the voice; choose another.

Valores permitidos:

Erros

401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
503
Service Unavailable Error