download_stock_music
Downloads a stock music track from a URL into the local music cache, making tracks available for video or audio projects.
Instructions
[Cinematic Engine] Download a stock music track.
Downloads a music file from a URL (e.g., from list_stock_music results) to the local music cache directory.
Args: url: URL to download (download_url from list_stock_music) output: Output directory (default: "music_cache") filename: Output filename (default: derived from URL)
Returns: { "success": True, "data": { "path": "/path/to/downloaded/track.mp3", "size_bytes": 1234567 } }
Example: # Search for music result = list_stock_music(query="upbeat corporate") track = result["data"]["tracks"][0]
# Download it
download_stock_music(url=track["download_url"], filename="background.mp3")
# Use with ffmpeg in shell:
# ffmpeg -i video.mp4 -i music_cache/background.mp3 -filter_complex "[1:a]volume=0.15[bg];[0:a][bg]amix" -c:v copy output.mp4
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": {
"url": "<url>"
},
"name": "download_stock_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| output | No | ||
| filename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hints | No | ||
| message | No | ||
| success | No | ||
| suggestions | No |