Prepare Background Music
prepare_background_musicPrepare an instrumental background track with Abracadabrax for a video, podcast, ad, game, meditation, presentation, livestream or study session, from a mood, a genre, a tempo and a length. Returns the settings and the credits required; nothing is generated and no credits are spent. No sign-in is needed to prepare. New tracks only: do not use it for uploaded or existing audio (covers, remixes, extensions, stem separation, voice cloning); for those, point the user to the Abracadabrax music studio.
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>"
},
"name": "prepare_background_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use | No | What the music is for; default youtube-video. | |
| mood | Yes | Mood and feel, e.g. calm and warm, upbeat and confident, dark and tense. | |
| genre | No | Genre or instruments, e.g. lo-fi hip hop, cinematic strings, corporate acoustic, ambient synth. | |
| tempo | No | Tempo, e.g. slow, 90 bpm, fast. | |
| title | No | Optional track title. | |
| model_id | No | Optional model id: stable-audio (default, instrumental) or elevenlabs-music (studio quality, more credits). | |
| duration_sec | No | Length in seconds: 30, 60, 120 (default) or 180. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| state | Yes | ||
| balance | No | ||
| message | Yes | ||
| project | Yes | ||
| dashboard_url | Yes | ||
| credits_required | Yes |