ساخت موسیقی (Generate music)
generate_musicCompose one short piece of music from a description (genre, mood, instruments, optional lyrics) and return it as an MCP audio block (base64 MP3). Default model lyria-3-clip-preview (a short clip). Takes up to about a minute. Paid per piece from the Gisoo credit of this key like POST /audio/music; the USD cost is in the text. یک قطعهٔ کوتاه موسیقی از روی توضیح میسازد؛ هزینه از اعتبار گیسو کم میشود.
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 |
|---|---|---|---|
| model | No | Music model id. Default: lyria-3-clip-preview. | |
| prompt | Yes | Genre, mood, tempo, instruments; lyrics if wanted. |