简体中文
cURL
curl --request POST \ --url https://api.kie.ai/api/v1/generate/upload-cover \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "uploadUrl": "https://api.example.com/upload", "prompt": "一段平静舒缓的钢琴曲,带有柔和的旋律", "style": "古典", "title": "宁静钢琴冥想", "customMode": true, "instrumental": true, "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