Passer à la navigation

Get Voice

Retrieve a single voice by the same id values GET /v2/voices exposes — a built-in ElevenLabs voice id or the UUID of a voice cloned by your organization. A missing or foreign-organization id returns a 404 with errorCode voice_not_found.

Authentification

x-api-keystring
Authentification par clé API via en-tête

Paramètres de chemin

idstringRequis

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

Paramètres de requête

providerenumOptionnel

Provider to resolve the voice against. Currently elevenlabs.

Valeurs autorisées:

Réponse

Voice retrieved successfully
providerenum
The voice provider.
Valeurs autorisées:
idstringOptionnel
The voice id to pass as voiceId in TTS and generation text inputs.
internalVoiceIdstringOptionnel
The internal id of a cloned voice, when applicable.
voiceIdstringOptionnel

The provider (ElevenLabs) voice id.

namestringOptionnel
The display name of the voice.
previewUrlstringOptionnel
A URL to a short preview sample of the voice, when available.
restrictionenumOptionnel

Present when the voice cannot currently be used for synthesis (ElevenLabs). verification_required means the voice needs verification in ElevenLabs — complete it there if the voice is from your own connected ElevenLabs account, otherwise choose another voice. blocked means ElevenLabs has blocked the voice — choose another voice. Null or absent means the voice is unrestricted.

Valeurs autorisées:

Erreurs

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error