← 模型目录

Google: Lyria 3

fal/fal-ai/lyria3
已启用
模型类别:Audio

Lyria 3 is Google's high-fidelity music model for thirty-second clips, including music with vocals and lyrics. Its model card emphasizes musical awareness and structural coherence within a short composition. A text brief can combine a genre, instrument palette, tempo, mood and vocal direction, allowing a short musical idea to be expressed as a single creative description. This clip-focused format suits quick exploration before developing a longer work. Use cases: vocal-hook ideas, short soundtrack concepts and compact music sketches for content production.

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

价格

直连
音频生成 $0.04 / 次请求

能力

modalitiesaudiostream

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/fal-ai/lyria3",
  "messages": [
    {
      "role": "user",
      "content": "Gentle acoustic music with warm piano and soft guitar"
    }
  ],
  "modalities": [
    "text",
    "audio"
  ],
  "stream": true,
  "audio": {
    "format": "mp3"
  }
}'
管理 API 密钥