Retrieve audio configuration parameters
December 23, 2024 (August 21, 2025)
This version of MiniMax audio has been decommissioned. Consider switching to Mureka API
Table of contents
Please configure at least one www.minimax.io/audio account for this endpoint, see Setup MiniMax for details.
https://api.useapi.net/v1/minimax/audio/config/?…
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
API token
is required, see Setup useapi.net for details.
Query Parameters
account
is optional when only one account configured. However, if you have multiple accounts configured, this parameter becomes required.
Responses
-
{ "t2a_emotion": [ { "label": "Happy", "value": "happy" }, { "label": "...", "value": "..." } ], "voice_tag_accent": [ { "language": "English", "tag_name": "US (General)" }, { "language": "...", "tag_name": "..." } ], "voice_tag_age": [ { "tag_name": "Young Adult" }, { "tag_name": "..." } ], "voice_tag_gender": [ { "tag_name": "Male" }, { "tag_name": "..." } ], "voice_tag_language": [ { "tag_name": "English" }, { "tag_name": "..." } ] }
-
{ "error": "<Error message>", "code": 400 }
-
{ "error": "Unauthorized", "code": 401 }
Model
{ // TypeScript, all fields are optional
t2a_emotion: {
label: string
value: string
}[]
voice_tag_accent: {
language: string
tag_name: string
}[]
voice_tag_age: {
tag_name: string
}[]
voice_tag_gender: {
tag_name: string
}[]
voice_tag_language: {
tag_name: string
}[]
}
Examples
-
curl "https://api.useapi.net/v1/minimax/audio/config/?account=account" \ -H "Accept: application/json" \ -H "Authorization: Bearer …"
-
const token = "API token"; const account = "Previously configured account"; const apiUrl = `https://api.useapi.net/v1/minimax/audio/config/?account=${account}`; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result});
-
import requests token = "API token" account = "Previously configured account" apiUrl = f"https://api.useapi.net/v1/minimax/audio/config/?account={account}" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())