ElevenLabs v4 API-Referenz
ElevenLabs v4 Sprache mit 21 Stimmen und über 90 Sprachen, bis zu 10.000 Zeichen
Mit einem einzigen PopNow-API-Schlüssel rufst du ElevenLabs v4 aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.
Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.
Auf einen Blick
- Hersteller
- ElevenLabs
- Ergebnis
- Audio
- Ab
- $0.096 USD pro 1.000 Zeichen
- Typische Dauer
- etwa 7 s
- Modell-IDs
Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.
Text zu Sprache
elevenlabs/v4/text-to-speech
Preis
| Option | USD |
|---|---|
Standard | $0.096 pro 1.000 Zeichen |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
textPflicht | string | — | bis zu 10.000 Zeichen | The words to speak. Audio tags such as [whispers] or [sighs] are performed, not read. Billed per 1,000 characters. Up to 10,000 characters; about 3,000 or fewer keeps a long read from being cut off. |
voice_idOptional | string | Roger | Adam, Alice, Bella, Bill, Brian, Callum, Charlie, Chris, Daniel, Eric, George, Harry, Jessica, Laura, … (+7) | Preset voice. |
languageOptional | string | auto | auto, af, am, ar, hy, as, ast, az, be, bn, bs, bg, my, yue, … (+78) | Language to enforce, as an ISO code, or auto to detect it from the text. |
stabilityOptional | number | 0.5 | 0 bis 1 | How steady the delivery is, 0 to 1. Lower is more expressive and more variable. |
similarity_boostOptional | number | 0.75 | 0 bis 1 | How closely the speech follows the selected voice, 0 to 1. |
output_formatOptional | string | mp3_44100_128 | mp3_44100_128, mp3_44100_64, mp3_22050_32, opus_48000_128, pcm_24000, pcm_16000, wav_44100, ulaw_8000, alaw_8000 | Audio container, sample rate and bitrate. pcm is raw audio without a file header. |
text_normalization_modeOptional | string | auto | auto, on, off | Whether numbers, dates and abbreviations are spelled out before reading. |
clone_strengthOptional | number | — | 0 bis 1 | Strength of a professional voice clone, 0 to 1. Has no effect on preset voices. |
seedOptional | integer | — | 0 bis 4294967295 | Random seed for controlled comparisons. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "elevenlabs/v4/text-to-speech",
"input": {
"text": "Hi there! This voice was created with the PopNow API in just a few seconds."
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
