MiniMax Speech 2.8 HD
Text to speech
Starting price $0.17 / run
By MiniMax
MiniMax Speech-02 HD reads your text aloud in a chosen voice and emotion, with control over speed, pitch and volume.
minimax/speech-02-hdQuote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax/speech-02-hd",
"input": {
"text": "Your order has shipped and should arrive within two working days. Thanks for shopping with us."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "minimax/speech-02-hd", "quote_id": "QUOTE_ID", "input": {"text":"Your order has shipped and should arrive within two working days. Thanks for shopping with us."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
textrequired | string | Text to convert to speech (max 5000 characters, minimum 1 non-whitespace character) |
voice_setting | object | Voice configuration settings |
audio_setting | object | Audio configuration settings |
language_boost | string (enum) | Enhance recognition of specified languages and dialects |
output_format | string (enum) | Format of the output content (non-streaming only) |
pronunciation_dict | object | Custom pronunciation dictionary for text replacement |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
MiniMax Speech-02 HD turns up to 5000 characters of text into speech. Choose a preset voice and an emotion, such as happy, sad or surprised, then adjust speed, pitch and volume.
A language boost setting helps it read a given language, Turkish included, and a pronunciation dictionary fixes how names and terms are said.
Listen for mispronounced names, rushed pauses and unexpected number readings.