T2V(Create Voice)
POST
/minimaxi/v1/text2voiceVincennes Tone Frequency from Minimax
Minimax:https://platform.minimaxi.com/document/VoiceGeneration?key=669f5af198ff2c57eeb9a0f0
请求参数
Header Params
Authorization
string
optional
Example:
Bearer {{YOUR_API_KEY}}
Content-Type
string
optional
Example:
application/json
Body Params application/json
gender
string
required
The gender of the voice. Optional values, 1.male, 2.female.
age
string
required
The age of the voice. Optional values: 1.child, 2.teenager, 3.young, 4.middle-aged, 5.old.
voice_desc
array[string]
optional
Customize the input tone style descriptors, such as ['casual', 'fashion'], ensuring that the number of descriptors does not exceed 8.
text
string
required
Audition audio text.
Example
{
"gender": "female",
"age": "old",
"voice_desc": [
"Kind and friendly",
"Kind and amiable",
"Kind hearted",
"Calm tone"
],
"text": "真正的危险不是计算机开始像人一样思考,而是人开始像计算机一样思考"
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 4 天前