PopNowAPI-Doku
Hauptinhalt

MiniMax Speech 2.8 Turbo API-Referenz

Schnelle Spracherzeugung mit 400+ Stimmen und Emotionssteuerung

Mit einem einzigen PopNow-API-Schlüssel rufst du MiniMax Speech 2.8 Turbo 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
MiniMax
Ergebnis
Audio
Ab
$0.072 USD pro 1.000 Zeichen
Typische Dauer
etwa 6 s

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

minimax/speech-2.8-turbo/text-to-speech

Preis

OptionUSD
Standard$0.072 pro 1.000 Zeichen

Parameter

FeldTypStandardwertErlaubtBedeutung
textPflichtstring—bis zu 5.000 ZeichenThe words to be spoken, exactly as written. Sound tags such as (sighs) or (laughs) are performed. Billed per 1,000 characters.
voice_idOptionalstringCalm_WomanWise_Woman, Friendly_Person, Inspirational_girl, Deep_Voice_Man, Calm_Woman, Casual_Guy, Lively_Girl, Patient_Man, Young_Knight, Determined_Man, Lovely_Girl, Decent_Boy, Imposing_Manner, Elegant_Man, … (+458)System voice. The label shows the voice name and, where known, the language it is built for.
emotionOptionalstringneutralneutral, happy, sad, angry, fearful, disgusted, surprisedEmotion of the reading.
speedOptionalnumber10.5 bis 2Speaking rate; 1 is the voice's normal pace.
pitchOptionalinteger0-12 bis 12Pitch shift in semitones; 0 keeps the voice's own pitch.
volumeOptionalnumber10.1 bis 10Loudness multiplier; 1 is the normal level.
languageOptionalstringautoauto, zh, yue, en, ar, ru, es, fr, pt, de, tr, nl, uk, vi, … (+27)Language hint that improves pronunciation; auto detects it from the text.
output_formatOptionalstringmp3mp3, wav, flac, pcmFile format of the result; pcm is headerless 16-bit little-endian samples.
sample_rateOptionalinteger—8000, 16000, 22050, 24000, 32000, 44100Sample rate in Hz. The model uses 32000 when omitted.
bitrateOptionalinteger—32000, 64000, 128000, 256000MP3 bitrate in bits per second; ignored for other formats. The model uses 128000 when omitted.
audio_channelsOptionalstring—mono, stereoMono or stereo output. Mono when omitted.
english_normalizationOptionalbooleanfalse—Read numbers, dates and abbreviations in English text the way a person would say them.
pronunciation_dictOptionalarray<object>—bis zu 100 EinträgeCustom pronunciations: each alias in the text is read as its pronunciation.

Beispielanfrage

Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.

POST /api/v1/jobs/createTask?wait=60
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": "minimax/speech-2.8-turbo/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.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Weiter geht’s

Auf dieser Seite