successFlag: 0: 待执行 - 任务等待执行中successFlag: 1: 成功 - MIDI 生成成功完成successFlag: 2: 失败 - 创建任务失败successFlag: 3: 失败 - 生成MIDI失败type: split_stem 参数时,midiData可能为空curl --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
}
}