Generate MIDI
generate_midiTranscribe a separated track to MIDI. taskId is required: pass the completed stem-separation task id from separate_stems. The route returns 400 without it, and an audioUrl alone is not enough. Spends Galatic.AI credits. Returns a job id; poll get_job_status with kind "midi".
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": {
"context": "<context>"
},
"name": "generate_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | No | Required. The completed stem-separation task id from separate_stems. | |
| audioId | No | Library audio id for the track, when it is in your library. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| audioUrl | No | Audio URL. Accepted, but the route still requires taskId. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. |