简体中文
cURL
curl --request GET \ --url https://api.sunoapi.org/api/v1/lyrics/record-info \ --header 'Authorization: Bearer <token>'
{ "code": 200, "msg": "success", "data": { "taskId": "11dc****8b0f", "param": "{\"prompt\":\"A song about peaceful night in the city\"}", "response": { "taskId": "11dc****8b0f", "lyricsData": [ { "text": "[Verse]\n我穿越城市黑暗夜\n心中燃烧梦想的烈火", "title": "钢铁侠", "status": "complete", "errorMessage": "" } ] }, "status": "SUCCESS", "type": "LYRICS", "errorCode": null, "errorMessage": null } }
获取歌词生成任务的详细信息,包括状态、参数和结果。
所有接口都需要通过 Bearer Token 方式进行认证。
在请求头中添加:
Authorization: Bearer YOUR_API_KEY
⚠️ 注意: 请妥善保管您的 API Key,不要泄露给他人 如果怀疑 API Key 泄露,请立即在管理页面重置
⚠️ 注意:
从生成歌词接口返回的任务ID。用于获取特定歌词生成任务的详细信息。
请求成功
The response is of type object.
object