minimax/speech-2.8-hd
The high-fidelity variant of the MiniMax Speech 2.8 family. It turns text into speech via /v1/audio/speech and returns raw audio bytes. Compared with the Turbo tier it spends more time synthesizing in exchange for more natural prosody and better audio quality, which suits audiobooks, video voice-over, and course audio — anything you ship as a finished asset. Multiple languages and preset voices are available, with adjustable speed. A single request accepts up to 10,000 characters of text, and billing counts the characters of your input — a CJK character counts as 2, while letters, punctuation, and spaces count as 1 each. Output is mp3.
Use either ID to call this model via the API.
minimax/speech-2.8-hdReplace the ONEHOP_KEY placeholder with your API key. Create one →
from pathlib import Path
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
response = client.audio.speech.create(
model="minimax/speech-2.8-hd",
voice="alloy",
input="Hello from OneHop!",
)
Path("speech.mp3").write_bytes(response.read())