批量获取任务
POST
{{BASE_URL}}/suno/submit/fetch请求参数
Body 参数application/json
action
string
必需
ids
array[string]
必需
示例
{
"action": "string",
"ids": [
"string"
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
string
必需
data
array [object {9}]
必需
task_id
string
必需
action
string
必需
status
string
必需
fail_reason
string
必需
submit_time
integer
必需
start_time
integer
必需
finish_time
integer
必需
progress
string
必需
data
array [object {21}]
必需
示例
{
"code": "success",
"message": "",
"data": [
{
"task_id": "b85c241a-4d97-4ee4-1111-68c053509b24",
"action": "LYRICS",
"status": "SUCCESS",
"fail_reason": "",
"submit_time": 1720507944,
"start_time": 1720507944,
"finish_time": 1720507944,
"progress": "100%",
"data": {
"id": "b85c241a-4d97-4ee4-1111-68c053509b24",
"text": "[Verse]\n喵星人 喵喵叫\n追逐影子 跳上床\n\n[Verse 2]\n窗外飞鸟 看得见\n小心爪子 伸得远\n\n[Chorus]\n喵喵喵 一起摇滚\n跳上桌子 猛撒欢\n把忧愁 通通甩掉\n喵喵喵 我们摇滚\n\n[Bridge]\n夜深人静 地板上\n偷偷摸摸 又跳上\n\n[Verse 3]\n阳光晒背 午后暖\n懒洋洋地 打个盹\n\n[Chorus]\n喵喵喵 一起摇滚\n跳上桌子 猛撒欢\n把忧愁 通通甩掉\n喵喵喵 我们摇滚",
"title": "喵星摇滚",
"status": "complete"
}
},
{
"task_id": "bee8f32e1994417ba8d7485d1aaf3b26",
"action": "MUSIC",
"status": "SUCCESS",
"fail_reason": "",
"submit_time": 1720433188,
"start_time": 1720433204,
"finish_time": 1720433313,
"progress": "100%",
"data": [
{
"id": "86e395cb-b4a8-50a7-a081-6a341a48064f",
"title": "City Lights",
"handle": "timelesssubgenre031",
"status": "complete",
"is_liked": false,
"metadata": {
"tags": "emotional punk",
"type": "gen",
"prompt": "[Verse]\n猫咪在跳舞 喵喵喵\n摇着尾巴 转圈圈\n灯光闪烁 猫眼闪\n每只猫咪 都是明星\n\n[Verse 2]\n猫抓吉他 声音大\n爪子弹奏 猫咪乐\n嗷嗷叫声 唱不停\n猫咪乐队 要震天\n\n[Chorus]\n喵 喵 喵喵喵\n猫咪歌声 在回荡\n喵 喵 喵喵喵\n喵星狂欢 到天亮\n\n[Verse 3]\n窗边猫咪 打鼓棒\n爪爪敲击 节拍响\n大喵小喵 一起唱\n猫咪乐园 嗨翻天\n\n[Bridge]\n猫咪回忆 小鱼干\n跳舞奔跑 无忧烦\n一起歌唱 欢笑传\n猫咪摇滚 不会散\n\n[Chorus]\n喵 喵 喵喵喵\n猫咪歌声 在回荡\n喵 喵 喵喵喵\n喵星狂欢 到天亮",
"stream": true,
"history": null,
"duration": 125.44,
"error_type": null,
"error_message": null,
"concat_history": null,
"refund_credits": false,
"audio_prompt_id": null,
"gpt_description_prompt": null
},
"reaction": null,
"audio_url": "https://cdn1.suno.ai/86e395cb-b4a8-50a7-a081-6a341a48064f.mp3",
"image_url": "https://cdn1.suno.ai/image_86e395cb-b4a8-50a7-a081-6a341a48064f.png",
"is_public": false,
"video_url": "https://cdn1.suno.ai/86e395cb-b4a8-50a7-a081-6a341a48064f.mp4",
"created_at": "2024-07-08T10:06:28.420Z",
"is_trashed": false,
"model_name": "chirp-v3.5",
"play_count": 0,
"display_name": "TimelessSubgenre031",
"upvote_count": 0,
"image_large_url": "https://cdn1.suno.ai/image_large_86e395cb-b4a8-50a7-a081-6a341a48064f.png",
"is_video_pending": true,
"is_handle_updated": false,
"major_model_version": "v3.5"
},
{
"id": "ba6be886-4fde-4b34-bc32-8ae4ed8354ea",
"title": "City Lights",
"handle": "timelesssubgenre031",
"status": "complete",
"is_liked": false,
"metadata": {
"tags": "emotional punk",
"type": "gen",
"prompt": "[Verse]\n猫咪在跳舞 喵喵喵\n摇着尾巴 转圈圈\n灯光闪烁 猫眼闪\n每只猫咪 都是明星\n\n[Verse 2]\n猫抓吉他 声音大\n爪子弹奏 猫咪乐\n嗷嗷叫声 唱不停\n猫咪乐队 要震天\n\n[Chorus]\n喵 喵 喵喵喵\n猫咪歌声 在回荡\n喵 喵 喵喵喵\n喵星狂欢 到天亮\n\n[Verse 3]\n窗边猫咪 打鼓棒\n爪爪敲击 节拍响\n大喵小喵 一起唱\n猫咪乐园 嗨翻天\n\n[Bridge]\n猫咪回忆 小鱼干\n跳舞奔跑 无忧烦\n一起歌唱 欢笑传\n猫咪摇滚 不会散\n\n[Chorus]\n喵 喵 喵喵喵\n猫咪歌声 在回荡\n喵 喵 喵喵喵\n喵星狂欢 到天亮",
"stream": true,
"history": null,
"duration": 127.2,
"error_type": null,
"error_message": null,
"concat_history": null,
"refund_credits": false,
"audio_prompt_id": null,
"gpt_description_prompt": null
},
"reaction": null,
"audio_url": "https://cdn1.suno.ai/ba6be886-4fde-4b34-bc32-8ae4ed8354ea.mp3",
"image_url": "https://cdn1.suno.ai/image_ba6be886-4fde-4b34-bc32-8ae4ed8354ea.png",
"is_public": false,
"video_url": "https://cdn1.suno.ai/ba6be886-4fde-4b34-bc32-8ae4ed8354ea.mp4",
"created_at": "2024-07-08T10:06:28.420Z",
"is_trashed": false,
"model_name": "chirp-v3.5",
"play_count": 0,
"display_name": "TimelessSubgenre031",
"upvote_count": 0,
"image_large_url": "https://cdn1.suno.ai/image_large_ba6be886-4fde-4b34-bc32-8ae4ed8354ea.png",
"is_video_pending": true,
"is_handle_updated": false,
"major_model_version": "v3.5"
}
]
}
]
}
最后修改时间: 3 个月前