mmaudio(文字生成配音)
POST
/302/submit/mmaudio-t2aAI视频配音,输入文字,生成声音,同步接口
价格:0.05 PTC/次
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
prompt
string
提示词
negative_prompt
string
负面提示词
num_steps
integer
4-50
duration
integer
可选
1-30,如果时长小于视频时长,视频会被剪切
cfg_strength
number
0-20
seed
integer
可选
示例1
{
"prompt": "People applauded and cheered.",
"negative_prompt": "",
"num_steps": 25,
"duration": 8,
"cfg_strength": 4.5
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 3 个月前