PopNowAPI Docs
Main content

MiniMax Speech 2.8 HD API reference

High-fidelity speech in 400+ voices with emotion control

Call MiniMax Speech 2.8 HD from your own code with one PopNow API key. Below are the exact model IDs to send, every input field the model accepts, what each request costs in USD, and a request you can paste into a terminal.

At a glance

Made by
MiniMax
Output
Audio
From
$0.12 USD per 1,000 characters
Typical time
about 7 s

Prices are in USD, charged to your PopNow balance. A task reserves the maximum possible charge when accepted and settles actual usage on completion; any remainder is released. Failed tasks are not charged. Call POST /api/v1/jobs/quote for an exact quote before running.

Text to Speech

minimax/speech-2.8-hd/text-to-speech

Price

OptionUSD
Default$0.12 per 1,000 characters

Parameters

FieldTypeDefaultAllowedWhat it does
textRequiredstring—up to 5,000 charactersThe 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 to 2Speaking rate; 1 is the voice's normal pace.
pitchOptionalinteger0-12 to 12Pitch shift in semitones; 0 keeps the voice's own pitch.
volumeOptionalnumber10.1 to 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>—up to 100 itemsCustom pronunciations: each alias in the text is read as its pronunciation.

Example request

This request runs as it is; any field you leave out uses its default. Put your key in POPNOW_API_KEY first.

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-hd/text-to-speech",
  "input": {
    "text": "Hi there! This voice was created with the PopNow API in just a few seconds."
  }
}'

The response carries a taskId straight away. Read the result with GET /api/v1/jobs/recordInfo, or add callBackUrl to be notified.

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"

Next steps

On this page