← 模型目录

ElevenLabs: Music 2

fal/elevenlabs/music/v2
已启用
模型类别:Audio

ElevenLabs Music 2 is a text-driven music model for vocal and instrumental compositions. The official model card positions it as an improvement over the first Music model in prompt adherence, composition and vocal delivery, with multilingual support. Musical direction can describe a sound palette, groove, melodic hook and progression between sections in one natural-language brief. Requested length and an instrumental-only option help tailor the composition to its intended role. Use cases: song concepts, dance-track sketches, backing music and scene-specific soundtrack cues.

模型组织
elevenlabs
上下文长度
未提供
输入
文本
输出
音频

价格

直连
音频生成 $0.60 / 分钟

能力

modalitiesaudiostreamsecondsinstrumental

API 调用

将 ROUTER_BASE_URL 设为 https://api.mkrouter.com, ROUTER_API_KEY 设为你的 API 密钥. 示例中的媒体地址、文件和音色占位值需要替换.

Chat CompletionsPOST /api/v1/chat/completions
curl "$ROUTER_BASE_URL/api/v1/chat/completions" \
  -H "Authorization: Bearer $ROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "fal/elevenlabs/music/v2",
  "messages": [
    {
      "role": "user",
      "content": "Gentle acoustic music with warm piano and soft guitar"
    }
  ],
  "modalities": [
    "text",
    "audio"
  ],
  "stream": true,
  "audio": {
    "format": "mp3",
    "duration": 30
  }
}'
管理 API 密钥
ElevenLabs: Music 2 | Router