Make music
make_musicMake new instrumental music beds with Google Lyria on the Gemini API and put them on the shelf. Costs 30 credits per short bed (about 27 seconds) or 60 per longer track, per version, unless the studio is in mock mode. Use estimate_only first and tell the user the price; max_credits refuses a dearer request. Returns track_ids for render_video.
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": {
"mood": "<mood>",
"genre": "<genre>",
"tempo": "<tempo>",
"length": "<length>"
},
"name": "make_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mood | Yes | ||
| genre | Yes | ||
| notes | No | Anything else, in plain words. Never name artists. | |
| tempo | Yes | ||
| length | Yes | Seconds. Up to 25 uses the short clip model, which always makes about 27s ($0.04 a version); longer uses Lyria 3.5 ($0.08) | |
| versions | No | ||
| max_credits | No | Refuse (make nothing) if the price in credits is above this | |
| estimate_only | No | Return the price without making anything |