generate_music
Create instrumental music by providing text prompts with weights for genre, instrument, or mood. Adjust tempo, scale, temperature, and duration for customized output.
Instructions
Generate instrumental music from weighted text prompts using Google's Lyria model.
Each prompt has a 'text' describing genre/instrument/mood and a 'weight' for emphasis. The server manages the streaming session internally.
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": {
"prompts": "<prompts>"
},
"name": "generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ||
| scale | No | ||
| prompts | Yes | ||
| temperature | No | ||
| duration_seconds | No |