Skip to main content
POST
/
v3
/
minimax-voice-design
MiniMax Voice Design
curl --request POST \
  --url https://api.novita.ai/v3/minimax-voice-design \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "prompt": "<string>",
  "voice_id": "<string>",
  "preview_text": "<string>"
}
'
{
  "voice_id": "<string>"
}
Generate personalized custom voices from text descriptions. Returns a voice_id for use in T2A speech synthesis APIs, along with a hex-encoded preview audio sample.

Request Headers

Content-Type
string
required
Supports: application/json
Authorization
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

prompt
string
required
Voice description text that defines the characteristics of the voice to generate.
voice_id
string
Custom voice ID for the generated voice. If not provided, a unique voice_id will be automatically created.
preview_text
string
required
Text used for generating a preview audio sample. Max 500 characters.Length limit: 0 - 500

Response

voice_id
string
The generated voice ID, usable in T2A speech synthesis APIs.