用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/QinghongLin/data2story-skill --skill openrouter-text2music命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | openrouter-text2music |
| description | Generate music (NOT speech) via OpenRouter using Google Lyria 3 Pro. |
Text → music via OpenRouter. Default model: google/lyria-3-pro-preview.
⚠️ This is a music-generation model, not TTS. It produces 48kHz stereo audio with instrumentation, and can include vocals and timed lyrics based on the prompt. For narration/voiceover, use a dedicated TTS tool (e.g., OpenAI tts-1, ElevenLabs).
Resolve TOOL_DIR = the directory containing this SKILL.md. Commands below use TOOL_DIR as a symbolic placeholder; replace it with the resolved, quoted path before running Bash.
export OPENROUTER_API_KEY=sk-or-v1-...
python3 TOOL_DIR/scripts/generate_music.py \
--prompt "Driving synthwave, 120 BPM, nostalgic lead over a pulsing arpeggio, no vocals" \
--download PROJECT_DIR/assets/bg_music.wav
| Flag | Default | Description |
|---|---|---|
--prompt | required | Text prompt (genre, mood, instruments, tempo, optional lyrics) |
--download | required | Output audio file path |
--model | google/lyria-3-pro-preview | Alt: google/lyria-3-clip-preview (shorter clips) |
lyria-3-pro-preview: $0.08 per songPOST /api/v1/chat/completions with modalities: ["audio","text"].message.audio, a content part with type=audio, or a data:audio/... URL embedded in the text content.基于 SOC 职业分类