generate_music
Generate background tracks, jingles, or full songs from text prompts, including optional lyrics, timestamps, duration, WAV output, and reference images to inspire the music.
Instructions
Generate music with Lyria (background tracks, jingles, full songs). Lyrics follow the prompt language.
prompt: genre, tempo, instruments, mood; say "instrumental" for no vocals. lyria-3.5 accepts [verse]/[chorus] tags and timestamps for custom lyrics and structure. model: lyria-3-clip-preview (30 s) or lyria-3.5 (full song). If unavailable (404) the next fallback is tried automatically; the model used is reported. duration_seconds: target length (lyria-3.5 only). wav: WAV instead of MP3 (lyria-3.5 only). reference_images: up to 10 images to inspire the music.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wav | No | ||
| model | No | ||
| prompt | Yes | ||
| filename | No | ||
| force_new | No | ||
| duration_seconds | No | ||
| reference_images | No |