successFlag: 0: Pending - Task is waiting to be executedsuccessFlag: 1: Success - MIDI generation completed successfullysuccessFlag: 2: Failed - Failed to create tasksuccessFlag: 3: Failed - MIDI generation failedtype: split_stem, the midiData may be emptycurl --location --request GET 'https://api.kie.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
}
}