Generate music
generate_musicGenerate a song or instrumental. The default engine is Google Lyria (songs with vocals or instrumentals, up to about 3 minutes), cleared for commercial use: Google claims no ownership of the output, but it is not a copyright grant and there is no IP indemnity; it needs the account's one-time 18+ confirmation in Music Studio. model: "lyria" asks for it explicitly; a "suno-..." model gives a Suno draft that is NOT cleared for commercial use. commercial: true marks the music as for YouTube, ads, a client or a release. With a suno model, customMode: true sings prompt as the lyrics: put real lyrics there, or leave customMode off. Spends Galatic.AI credits. Returns a job id; poll get_job_status with kind "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>",
"context": "<context>"
},
"name": "generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| style | No | ||
| title | No | ||
| lyrics | No | ||
| prompt | Yes | ||
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| commercial | No | ||
| customMode | No | ||
| instrumental | No | ||
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. | |
| durationSeconds | No |