Generate music
generate_musicGenerate an original music track — Arabic, Egyptian, or any genre. Returns a public audio URL. Takes 2-4 minutes to generate. ⚠️ Uses credits (see CREDIT COSTS) — confirm with the user.
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": {
"topic": "<topic>"
},
"name": "generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Genre/style (e.g. 'arabic pop', 'cinematic orchestral', 'lo-fi', 'oriental', 'electronic') | |
| topic | Yes | Theme of the music (e.g. 'موسيقى رمضانية هادئة', 'upbeat Egyptian pop for a product launch', 'cinematic ambient for a luxury brand') | |
| language | No | Language for lyrics if vocal (default: arabic) | |
| instrumental | No | True = music only (default), False = include vocals | |
| extra_instructions | No | Mood, tempo, instruments (e.g. 'عود وكمان، إيقاع بطيء وهادئ') |