Zum Inhalt springen
DeutschlandGPT

Create voice (clone)

Creates a cloned ElevenLabs voice from one or more uploaded audio samples (Instant Voice Cloning). The returned voice_id is scoped to your workspace — only your workspace may use it in /v2/audio/speech. Submit as multipart/form-data.

POSThttps://api.deutschlandgpt.de/v2/audio/voices

Example request

curl https://api.deutschlandgpt.de/v2/audio/voices \
  -X POST \
  -H "Authorization: Bearer $DGPT_API_KEY"

Response

200application/json
{
  "id": "00000000-0000-0000-0000-000000000000",
  "object": "voice",
  "voice_id": "string",
  "name": "string",
  "requires_verification": true,
  "created": 0
}

The created voice.

idstring<uuid>

Registry id (pass to DELETE /v2/audio/voices/{id}).

objectstring
voice_idstring

ElevenLabs voice id — pass as voice to /v2/audio/speech.

namestring
requires_verificationboolean
createdinteger

Response codes

200

The created voice.

object
400

Missing name/file or provider error.

401

Unauthorized

503

ElevenLabs is not configured.

Was this page helpful?