Agent skill · Content & Marketing

openrouter-text2music

Generate atmospheric sound-design / SFX (NOT speech, NOT the front-of-blog BGM) via OpenRouter using Google Lyria 3 Pro.

QinghongLingithub.com/QinghongLinGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add QinghongLin/data2story-skill --skill openrouter-text2music --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 2 KB
Bundled scripts: yes
Path: skills/data2story-pro/designer/scripts/openrouter-text2music/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 149
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# openrouter-text2music Text → audio via OpenRouter. Default model: `google/lyria-3-pro-preview`. **Role in Data2Story: atmospheric sound-design / SFX only — never the front BGM.** Use this for a sound the story needs that has NO findable real recording: an ambient bed (tension drone, texture, room tone) or best-effort sharp foley (e.g. a glass-shatter texture). Lyria's strength is ambient/textural beds, not crisp transients, so sharp foley is best-effort. The result is an opt-in, event/section-bound, reader-controlled element. **The front-of-blog BGM must be a SOURCED real track (sourced_bgm via the Scout) — never generated here.** **⚠️ This is a generative audio model, not TTS.** It produces 48kHz stereo audio; for narration/voiceover use a dedicated TTS tool (e.g., OpenAI `tts-1`, ElevenLabs). ## Usage 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. ```bash export OPENROUTER_API_KEY=sk-or-v1-... python3 TOOL_DIR/scripts/generate_music.py \ --prompt "Low rumbling tension drone, sub-bass swell, no melody, slowly building unease" \ --download PROJEC

What's inside
Steps it walks through
  1. Usage
  2. SFX prompting
  3. Flags
  4. Pricing
  5. Notes
Ships with 2 files
  • config.json
  • scripts/generate_music.py
Commands it runs
export OPENROUTER_API_KEY=sk-or-v1-...
python3 TOOL_DIR/scripts/generate_music.py \
More from data2story-skill
All skills →
About this skill
What does the openrouter-text2music skill do?

Generate atmospheric sound-design / SFX (NOT speech, NOT the front-of-blog BGM) via OpenRouter using Google Lyria 3 Pro.

How do I install it?

Run `npx skills add QinghongLin/data2story-skill --skill openrouter-text2music --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From QinghongLin/data2story-skill, a repository with 149 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going