简体中文
cURL
curl --request POST \ --url https://api.kie.ai/api/v1/generate/upload-extend \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "uploadUrl": "https://api.example.com/upload", "defaultParamFlag": true, "instrumental": true, "prompt": "用更多舒缓的音符延长音乐", "style": "古典", "title": "宁静钢琴延长版", "continueAt": 60, "model": "V3_5", "negativeTags": "舒缓钢琴", "callBackUrl": "https://api.example.com/callback" }'
{ "code": 200, "msg": "success", "data": { "taskId": "5c79****be8e" } }
此 API 在保留音频轨道原始样式的同时扩展了音轨。它包括 Suno 的上传功能,允许用户上传音频文件进行处理。预期的结果是更长的音轨,无缝地延续输入的风格。
所有接口都需要通过 Bearer Token 方式进行认证。
获取 API Key:
使用方式: 在请求头中添加: Authorization: Bearer YOUR_API_KEY
注意事项:
请求成功
The response is of type object.
object