minimax/speech-2.8-turbo
The low-latency variant of the MiniMax Speech 2.8 family. It turns text into speech via /v1/audio/speech and returns raw audio bytes. MiniMax positions it as having the same capabilities as HD, optimized for speed and cost, which suits voice agents, live narration, and interactive voice response. 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-turboReplace 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-turbo",
voice="alloy",
input="Hello from OneHop!",
)
Path("speech.mp3").write_bytes(response.read())