text-to-music
Installation
SKILL.md
Text to Music
Generate music from a text prompt using Google Lyria 3 via the Rebyte data proxy. One endpoint, two models, returns a public URL to the rendered audio.
Authentication
AUTH_TOKEN=$(/home/user/.local/bin/rebyte-auth)
API_URL=$(python3 -c "import json; print(json.load(open('/home/user/.rebyte.ai/auth.json'))['sandbox']['relay_url'])")
Models
| Model | ID | Length | Good for |
|---|---|---|---|
| Lyria 3 | lyria-3 |
~30 seconds | Jingles, stings, ad beds, social loops, fast iteration |
| Lyria 3 Pro | lyria-3-pro |
up to ~3 minutes | Full songs, podcast themes, soundtracks; understands structure (intro/verse/chorus/bridge) |
Latency: lyria-3 returns in seconds; lyria-3-pro can take 1–3 minutes. Don't set short HTTP timeouts.