🔊

Text-to-Speech & Audio API

MiniMax Speech & Music · Hunyuan / WAND ASR

Studio-grade text-to-speech, full song generation and speech-to-text through OpenAI-compatible audio endpoints. Token-billed at $1.54/1M with URL or binary output.

Sign Up — Get $2 Free CreditCompare All Models

🔊 Text-to-Speech & Audio models & pricing

Ten audio models: six MiniMax Speech TTS voices, two MiniMax Music song generators, and two speech-to-text (ASR) models - all on OpenAI-compatible audio endpoints.

ModelPriceStrength
minimax-speech-2.8-hd~$0.054 / 1K charsLatest flagship TTS, studio voices + emotion controlNEW
minimax-speech-2.8-turbo~$0.031 / 1K charsFast low-latency TTS for realtime appsNEW
minimax-speech-2.6-hd~$0.054 / 1K charsHigh-definition multilingual TTSNEW
minimax-speech-2.6-turbo~$0.031 / 1K charsCost-optimized TTS at scaleNEW
minimax-speech-02-hd~$0.054 / 1K charsRich expressive timbresNEW
minimax-speech-02-turbo~$0.031 / 1K charsEconomical speech generationNEW
minimax-music-v3.0~$0.154 / songLatest song generation, vocal or instrumentalNEW
minimax-music-v2.6~$0.154 / songLyrics-to-song with configurable styleNEW
hy-asr-3.0-preview~$0.003 / minHunyuan speech-to-text, timestamps + SRTNEW
wand-asr-v1~$0.007 / minWAND multilingual ASR + language detectionNEW

Why run these models on NovAI?

Models
10 audio models
TTS from
~$0.031 / 1K chars
Music
~$0.154 / song
ASR from
~$0.003 / min
Output
URL or binary
Platform fee
$0

🚀 API usage

Text-to-speech — return an audio URL

curl https://aiapi-pro.com/v1/audio/speech \
  -H "Authorization: Bearer $NOVAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-speech-2.8-hd",
    "input": "Hello! Welcome to NovAI - one API key for every Chinese frontier model.",
    "voice": "male-qn-qingse",
    "response_format": "url"
  }'

Python (OpenAI SDK) — binary audio bytes

from openai import OpenAI
client = OpenAI(base_url="https://aiapi-pro.com/v1", api_key="YOUR_NOVAI_API_KEY")
resp = client.audio.speech.create(
    model="minimax-speech-2.8-hd",
    voice="male-qn-qingse",
    input="Hello! Welcome to NovAI.",
)
resp.stream_to_file("speech.mp3")

Speech-to-text (ASR)

curl https://aiapi-pro.com/v1/audio/transcriptions \
  -H "Authorization: Bearer $NOVAI_API_KEY" \
  -F model="hy-asr-3.0-preview" -F file="@audio.mp3"
TTS & Music use POST /v1/audio/speech (OpenAI-compatible). Set response_format to mp3/wav/opus for binary bytes (default) or url for a JSON body with audio_url (valid ~24h). Optional speed, volume, pitch, emotion. ASR uses POST /v1/audio/transcriptions and returns text with timestamps + an SRT subtitle URL. All audio is token-billed at $1.54 / 1M on real upstream usage.

Best use cases

Frequently asked questions

Is the TTS API OpenAI-compatible?

Yes. /v1/audio/speech follows the OpenAI audio shape, so client.audio.speech.create(model, voice, input) works with the OpenAI SDK - just point base_url to NovAI.

How is audio billed?

All audio (TTS, music, ASR) is token-billed at $1.54/1M on real upstream usage. Reference figures: HD TTS ~$0.054 per 1K chars, Turbo ~$0.031, music ~$0.154 per song, ASR ~$0.003-0.007 per minute.

What output formats are supported?

Set response_format to mp3, wav or opus for binary bytes (default), or url for a JSON body containing audio_url (valid ~24 hours).

Do you offer speech-to-text?

Yes - hy-asr-3.0-preview (~$0.003/min) and wand-asr-v1 (~$0.007/min, multilingual with language detection) via POST /v1/audio/transcriptions, returning text with timestamps and an SRT subtitle URL.

📚 In-depth guides & comparisons

Deep-dive articles and real tests for these audio models — including pricing vs the leading alternatives.

Explore other model categories

Start building with Text-to-Speech & Audio models today

One OpenAI-compatible API key · $2 free credit · zero platform fee · credits never expire

Sign Up Free →