| Parameter | Type | Required | Description |
|---|---|---|---|
taskId | string | Yes | The task ID returned from the MIDI generation request |
midiData field contains the complete MIDI data as a structured object with instruments and notestype: split_stem, the midiData may be empty.curl --location 'https://apibox.erweima.ai/api/v1/midi/record-info?taskId=5c79****be8e' \
--header 'Authorization: Bearer <token>'{
"code": 200,
"msg": "success",
"data": {
"taskId": "5c79****be8e",
"recordTaskId": -1,
"audioId": "e231****-****-****-****-****8cadc7dc",
"callbackUrl": "https://example.callback",
"completeTime": 1760335255000,
"midiData": {
"state": "complete",
"instruments": [
{
"name": "Drums",
"notes": [
{
"pitch": 73,
"start": 0.036458333333333336,
"end": 0.18229166666666666,
"velocity": 1
},
{
"pitch": 61,
"start": 0.046875,
"end": 0.19270833333333334,
"velocity": 1
}
]
},
{
"name": "Electric Bass (finger)",
"notes": [
{
"pitch": 44,
"start": 7.6875,
"end": 7.911458333333333,
"velocity": 1
}
]
}
]
},
"successFlag": 1,
"createTime": 1760335251000,
"errorCode": null,
"errorMessage": null
}
}