Skip to main content
POST
/
v3
/
minimax-voice-design
MiniMax Voice Design
curl --request POST \
  --url https://api.highwayapi.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 a personalized custom voice from a text description. Returns a voice_id that can be used with the T2A speech synthesis API, as well as a hex-encoded preview audio sample.

Request Headers

Content-Type
string
required
Enum value: application/json
Authorization
string
required
Bearer authentication format: 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. If not provided, the system will automatically create a unique voice_id.
preview_text
string
required
Text used to generate the preview audio sample, up to 500 characters.Length limit: 0 - 500

Response Information

voice_id
string
Generated voice ID, which can be used with the T2A speech synthesis API.