generate_music
Generate music tracks up to 8 minutes using Suno models. Supports game music, ambient, and jingles with custom styles and instrumental options.
Instructions
Generate music using Suno via kie.ai. Supports V5.5 (custom style), V5 (best quality), V4.5+, V4.5, V4. Up to 8 minutes. Great for game music stems, ambient tracks, and jingles. Polls until done and downloads to kie/assets/raw/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Set false to submit and return immediately with the task_id (async mode) — then poll with check_task and fetch with download_result. Recommended for long generations to avoid client-side watchdog timeouts. | |
| model | No | Suno model. V5_5=custom style, V5=best quality. Default: V5 | V5 |
| style | No | Style tags (e.g. "Celtic, orchestral, upbeat, fantasy, game music") | |
| title | No | Track title (optional) | |
| prompt | Yes | Music description (e.g. "upbeat Celtic fantasy adventure, flute and drums, heroic") | |
| filename | No | Output filename. Auto-generated if omitted. | |
| download_dir | No | Absolute directory to save the file(s) into (created if missing). Defaults to the server's kie/assets/raw/. Must be absolute — the MCP server's working directory is not the caller's. | |
| instrumental | No | No vocals when true (recommended for game music) | |
| max_wait_seconds | No | Override the blocking-mode polling budget in seconds (defaults: image 600, video 900, audio 300, speech 300). Ignored when wait=false. |