用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill music-generation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | music-generation |
| description | Generate ambient background music using Lyria via the Interactions API. |
Generate background music for the radio show using the Lyria model via the Interactions API.
python3 skills/music-generation/scripts/generate_music.py --workspace ./workspace --mood tech
| Argument | Default | Description |
|---|---|---|
--workspace | workspace | Root workspace directory |
--mood | default | Music mood (see moods below) |
| Mood | Style | Pair with --style |
|---|---|---|
tech (default) | Clean synths, electronic pulse, Silicon Valley startup vibe | explainer, debate |
chill | Soft pads, gentle piano, lo-fi warmth | roundtable, explainer |
debate | Building tension, brass-like synths, panel discussion opener | debate, interview |
--mood.lyria-3-clip-preview model.{workspace}/audio/music/background.mp3.google-genai (>= 2.0.0){workspace}/audio/music/background.mp3Lyria is experimental. If generation fails with a policy error or returns no music, the script will attempt to retry once with a simpler fallback prompt: "Create a 30-second simple ambient background track. Instrumental only, calm and neutral."
If the fallback attempt also fails, the pipeline proceeds without background music — the audio-mixing step handles this gracefully.