> This is a page from the ElevenLabs documentation. For a complete page index, fetch https://elevenlabs.io/docs/llms.txt. For the full documentation in a single file, fetch https://elevenlabs.io/docs/llms-full.txt.

# Instant Voice Cloning – Schnellstart

In diesem Leitfaden erfahren Sie, wie Sie mit der Clone Voice API eine Instant Voice Clone erstellen. Informationen zum Erstellen einer Instant Voice Clone über das Dashboard finden Sie im Produktleitfaden [Instant Voice Clone](/docs/de/eleven-creative/voices/voice-cloning/instant-voice-cloning).

Eine detaillierte Erklärung, wie IVC und PVC technisch funktionieren und wann Sie welche Option wählen sollten, finden Sie unter [Voice Cloning: So funktioniert es](/docs/de/eleven-api/concepts/voice-cloning).

## Instant Voice Clone API verwenden

> **Note**
>
> Dieser Leitfaden setzt voraus, dass Sie [Ihren API-Schlüssel und Ihr SDK eingerichtet haben](/docs/de/eleven-api/quickstart). Schließen Sie
> zuerst die Kurzanleitung ab, falls Sie dies noch nicht getan haben.

#### API-Anfrage senden

Erstellen Sie eine neue Datei namens `example.py` oder `example.mts`, je nach gewählter Sprache, und fügen Sie den folgenden Code hinzu:

```python maxLines=0
# example.py
import os
from dotenv import load_dotenv
from elevenlabs.client import ElevenLabs
from io import BytesIO

load_dotenv()

elevenlabs = ElevenLabs(
  api_key=os.getenv("ELEVENLABS_API_KEY"),
)

voice = elevenlabs.voices.ivc.create(
    name="My Voice Clone",
    # Replace with the paths to your audio files.
    # The more files you add, the better the clone will be.
    files=[BytesIO(open("/path/to/your/audio/file.mp3", "rb").read())]
)

print(voice.voice_id)
```

```typescript maxLines=0
// example.mts
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import "dotenv/config";
import fs from "node:fs";

const elevenlabs = new ElevenLabsClient();

const voice = await elevenlabs.voices.ivc.create({
    name: "My Voice Clone",
    // Replace with the paths to your audio files.
    // The more files you add, the better the clone will be.
    files: [
        fs.createReadStream(
            "/path/to/your/audio/file.mp3",
        ),
    ],
});

console.log(voice.voiceId);
```

#### Code ausführen

```python
python example.py
```

```typescript
npx tsx example.mts
```

Die Voice-ID sollte in der Konsole ausgegeben werden.

## Nächste Schritte

#### [Professionelles Voice Cloning](/docs/de/eleven-api/guides/how-to/voices/professional-voice-cloning)

Erstellen Sie durch das Finetuning eines Modells mit Ihren Sprachaufnahmen einen hochwertigeren Klon.

#### [Voice Cloning: So funktioniert es](/docs/de/eleven-api/concepts/voice-cloning)

Verstehen Sie die technischen Unterschiede zwischen IVC und PVC und wann Sie welche Option wählen sollten.