MiniMax Speech 2.8 Turbo API-Referenz
Schnelle Sprache, 400+ Stimmen mit 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 Credits 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
- 10.8 Credits pro 1.000 Zeichen ($0.108)
- Typische Dauer
- etwa 7 s
- Modell-IDs
1 Credit = 0,01 $. Bei Annahme reserviert ein Task den höchstmöglichen Betrag und rechnet am Ende den tatsächlichen Verbrauch ab, auf ganze Credits aufgerundet; der Rest wird freigegeben. Fehlgeschlagene Tasks kosten nichts. Den genauen Betrag vorab liefert POST /api/v1/jobs/quote.
Text zu Sprache
minimax/speech-2.8-turbo/text-to-speech
Preis
| Option | Credits (pro 1.000 Zeichen) | US-Dollar |
|---|---|---|
Standard | 10.8 | $0.108 |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
textPflicht | string | — | bis zu 5.000 Zeichen | The words to be spoken, exactly as written. Sound tags such as (sighs) or (laughs) are performed. Billed per 1,000 characters. |
voice_idOptional | string | Calm_Woman | Wise_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. |
emotionOptional | string | neutral | neutral, happy, sad, angry, fearful, disgusted, surprised | Emotion of the reading. |
speedOptional | number | 1 | 0.5 bis 2 | Speaking rate; 1 is the voice's normal pace. |
pitchOptional | integer | 0 | -12 bis 12 | Pitch shift in semitones; 0 keeps the voice's own pitch. |
volumeOptional | number | 1 | 0.1 bis 10 | Loudness multiplier; 1 is the normal level. |
languageOptional | string | auto | auto, 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_formatOptional | string | mp3 | mp3, wav, flac, pcm | File format of the result; pcm is headerless 16-bit little-endian samples. |
sample_rateOptional | integer | — | 8000, 16000, 22050, 24000, 32000, 44100 | Sample rate in Hz. The model uses 32000 when omitted. |
bitrateOptional | integer | — | 32000, 64000, 128000, 256000 | MP3 bitrate in bits per second; ignored for other formats. The model uses 128000 when omitted. |
audio_channelsOptional | string | — | mono, stereo | Mono or stereo output. Mono when omitted. |
english_normalizationOptional | boolean | false | — | Read numbers, dates and abbreviations in English text the way a person would say them. |
pronunciation_dictOptional | array<object> | — | bis zu 100 Einträge | Custom 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.
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.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
