Wide LabsCompute

MiniMax Speech 2.8 HD

MiniMax/speech-2.8-hd MiniMaxText-to-speechREST
Price$0.049 /1K chars
EndpointPOST /v2/audio/minimax-speech-2-8-hd/generateREST
Example output

Made with MiniMax Speech 2.8 HD

“Good evening from the Aegean coast. The ferries are in, the tea is hot, and the sunset is right on time.”

voice_id: Wise_Womanemotion: calm

One request to this model through the API, at list price.

Try this prompt

Quick start

Send a JSON request to the endpoint below; the response carries the result.
curl -X POST https://api.widelabs.tr/v2/audio/minimax-speech-2-8-hd/generate \
  -H "Authorization: Bearer $WIDELABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Welcome to the MiniMax 2.8 HD demo.",
  "voice_id": "male-qn-qingse"
}'
import os
import requests

resp = requests.post(
    "https://api.widelabs.tr/v2/audio/minimax-speech-2-8-hd/generate",
    headers={"Authorization": "Bearer " + os.environ["WIDELABS_API_KEY"]},
    json={
        "text": "Welcome to the MiniMax 2.8 HD demo.",
        "voice_id": "male-qn-qingse"
    },
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.widelabs.tr/v2/audio/minimax-speech-2-8-hd/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.WIDELABS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    text: "Welcome to the MiniMax 2.8 HD demo.",
    voice_id: "male-qn-qingse"
  }),
});
console.log(await resp.json());

Parameters

NameTypeDescription
store_output"provider" | "wl1d" | "wl7d" | "wl30d"
default "provider"
Where this request's output media is hosted, and for how long. `provider` (default) returns a Wide Labs CDN link that live-proxies the provider for 1 hour — the same hour the task record itself lives. `wl1d` / `wl7d` / `wl30d` copy the output into Wide Labs own storage and keep BOTH the link and the task record for 1, 7 or 30 days,…
text requiredstringText to synthesize (max 10000 chars). Supports <#x.xx#> pause tags and (laughs)/(chuckle)/... interjection tags.
voice_id requiredstringMiniMax system, cloned, or text-generated voice ID. See https://platform.minimaxi.com/docs/faq/system-voice-id
speednumberSpeech speed multiplier (0.5–2). Default 1.
volnumberVolume multiplier (0–10]. Default 1.
pitchintegerPitch in semitones (-12 to 12). Default 0.
emotion"happy" | "sad" | "angry" | "fearful" | "disgusted" | "surprised"Emotion preset ('whisper' is not supported by 2.8-hd).
audio_format"mp3" | "pcm" | "flac" | "wav"Output audio format. Default 'mp3' ('wav' non-streaming only).
audio_sample_rate8000 | 16000 | 22050 | 24000 | 32000 | 44100Audio sample rate (Hz). Default 32000.
audio_bitrate32000 | 64000 | 128000 | 256000Audio bitrate (mp3 only). Default 128000.
audio_channel1 | 21 (mono) or 2 (stereo). Default 1.
language_booststringBoost a specific language/dialect (e.g. 'English', 'Chinese', 'auto').
subtitle_enablebooleanGenerate a subtitle .json file (non-streaming only). Default false.
aigc_watermarkbooleanAppend an AIGC rhythm watermark (non-streaming only). Default false.
webhook_urlstringHTTPS URL to receive a signed completion webhook when the async task reaches a terminal state (requires an API key, "async": true and direct mode; otherwise 422). See the Webhooks section for the delivery payload and events, and GET /v2/customer/webhook-secret for the signing secret + verification.

Start building on Wide Labs Compute

Create an account, add credit and send your first request with the SDK you already use.