跳至内容
Google Lyria-3-Clip-Preview - OpenRouter 免费 AI 音乐片段生成模型

Google Lyria-3-Clip-Preview - OpenRouter 免费 AI 音乐片段生成模型

模型 ID google/lyria-3-clip-preview
这是 OpenRouter 免费模型,无需付费即可使用。(注意:30 秒片段原价$0.04/段,目前限时免费)

模型信息

属性
上下文长度1,048,576 tokens
最大输出65,535 tokens
输入价格$0 / 1M tokens
输出价格$0 / 1M tokens
供应商Google
状态免费(预览版)

描述

Lyria 3 是 Google 的音乐生成模型家族,通过 Gemini API 提供。Lyria 3 可从文本提示或图像生成高质量 48kHz 立体声音频。

Lyria 3 Clip 可生成短音频片段:

  • 30 秒时长片段
  • 音乐循环(loops)
  • 预览片段
  • 适合背景音乐、音效设计

使用示例

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/lyria-3-clip-preview",
    "messages": [{"role": "user", "content": "生成一段轻松的爵士乐循环"}]
  }'

注意事项

  • 预览版:这是预览模型,可能随时变为收费
  • 数据使用:提示和完成数据可能用于模型改进
  • 音频输出:生成的是音频内容,需要相应的播放支持

相关链接