简体中文
cURL
curl --request POST \ --url https://api.kie.ai/api/v1/mp4/generate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "taskId": "taskId_774b9aa0422f", "audioId": "audioId_0295980ec02e", "callBackUrl": "https://api.example.com/callback", "author": "电子音乐DJ", "domainName": "music.example.com" }'
{ "code": 0, "msg": "", "data": { "taskId": "" } }
基于您生成的音乐曲目创建带有可视化效果的视频。
taskId
audioId
author
domainName
所有接口都需要通过 Bearer Token 方式进行认证。
获取 API Key:
使用方式: 在请求头中添加: Authorization: Bearer YOUR_API_KEY
注意事项:
成功
The response is of type object.
object