Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
为上传的人声音频添加 AI 生成的器乐伴奏
POST /api/v1/music/add-instrumental
task_id
clip_id
start_s
0
end_s
mv
"chirp-v3-5"
callback_url
retention_days
7
{ "code": 0, "message": "ok", "request_id": "req-1710000000000", "data": { "task_id": "64f3a1b2c8d9e0f1a2b3c4d5", "status": "queuing" } }
clipId
status = "completed"
results[].audio_url
# 1. 上传人声音频 CLIP_ID=$(curl -s -X POST https://api.example.com/api/v1/music/upload \ -H "Authorization: Bearer sk-mm-your-key" \ -H "Content-Type: application/json" \ -d '{"audio_url":"https://example.com/my-vocals.mp3"}' \ | jq -r '.data.clipId') # 2. 添加伴奏 curl -X POST https://api.example.com/api/v1/music/add-instrumental \ -H "Authorization: Bearer sk-mm-your-key" \ -H "Content-Type: application/json" \ -d "{ \"clip_id\": \"$CLIP_ID\", \"start_s\": 0, \"end_s\": 30 }"