generate_midi
Export a Suno audio track to MIDI notation and download the .mid file to a local directory.
Instructions
Export a Suno track to MIDI notation. Downloads .mid file 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. | |
| taskId | Yes | Task ID of the Suno generation | |
| audioId | No | Audio ID from sunoData (optional) | |
| filename | No | ||
| 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. | |
| max_wait_seconds | No | Override the blocking-mode polling budget in seconds (default: audio 300). Ignored when wait=false. |