AI Music 2.5
供应商: ElevenLabs
音频
根据文字描述生成背景音乐和完整曲段
- 典型耗时
- 30-90s
- 参考输入
- 无
- toolId
- elevenlabs-music
输入模式
text-to-music
参数
| 参数 | 类型 | 默认值 | 取值 | 说明 |
|---|---|---|---|---|
| music_length_ms | select | 15000 | 3000 | 15000 | 30000 | 60000 | 120000 | 300000 | 600000 | Track length. Longer tracks cost more; re-quote after changing. |
| force_instrumental | toggle | false | — | Generate without vocals |
| composition_plan | text | — | Optional JSON plan with chunks containing text, positive_styles and duration_ms (3-120 seconds each, up to 10 minutes total). |
定价
价格即将公布 —— 联系我们获取抢先体验价格
价格更新于: —
API 示例
POST /v1/generations — elevenlabs-music
curl -X POST https://api.mukelabs.com/v1/generations \
-H "Authorization: Bearer $MUKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"toolId": "elevenlabs-music",
"inputMode": "text-to-music",
"prompt": "your prompt here",
"params": { "music_length_ms": "3000" },
"references": [],
"idempotencyKey": "a-unique-key-per-task",
"subjectId": "your-user-id"
}'常见问题
如何在 Muke Labs 上调用 AI Music 2.5?
提交 POST /v1/generations,toolId 为 "elevenlabs-music",选择一种输入模式(text-to-music),然后轮询 GET /v1/generations/{jobId} 获取结果。
AI Music 2.5 的价格是多少?
该模型的公开定价正在敲定 —— 联系我们获取抢先体验价格。所有任务均从预充值美元余额扣费,失败任务自动退款。
任务失败会怎样?
任务返回 "failed" 状态和类型化错误码,费用自动退回余额。
在哪里获取 API key?
在开发者门户(https://portal.muke.name)创建,然后作为 Bearer token 携带在每个请求上。