- 最新公告
- OpenAI
- AnthropicClaude
- Elevenlabs 语音
- Fal.ai
- 火山方舟
- 可灵 Kling
- MiniMax
- 智谱 AI
- 万相
- 搜索 Search
- Textin
- Images
- Midjourney
- Audio
- RAG
- Files
- 🔥AI 工具
- 文档智能&图片处理
- AI产品配置教程
- 教程类
- 系统API
- 视频生成(Videos)
- 内容审查(Moderations)
- Deepdataspace
获取任务
开发中
GET
https://api.chatfire.cn/suno/fetch/{task_id}
最后修改时间:2024-12-20 02:01:51
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
task_id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.chatfire.cn/suno/fetch/'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
data
object
必需
task_id
string
必需
action
string
必需
status
string
必需
fail_reason
string
必需
submit_time
integer
必需
start_time
integer
必需
finish_time
integer
必需
progress
string
必需
data
array [object {20}]
必需
示例
{
"code": "success",
"message": "",
"data": {
"task_id": "3340d43f-0838-43fb-a3d5-2eecddb0fe67",
"action": "",
"status": "SUCCESS",
"fail_reason": "",
"submit_time": 1734659844,
"start_time": 1734659844,
"finish_time": 1734660006,
"progress": "100%",
"data": [
{
"id": "5136ad10-a21a-4454-a0aa-95199ae586fe",
"title": "City Lights",
"handle": "focusedbongodrums8396",
"status": "complete",
"is_liked": false,
"metadata": {
"tags": "emotional punk",
"type": "gen",
"prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears",
"stream": true,
"duration": 217.8,
"refund_credits": false
},
"audio_url": "https://cdn1.suno.ai/5136ad10-a21a-4454-a0aa-95199ae586fe.mp3",
"image_url": "https://cdn2.suno.ai/image_5136ad10-a21a-4454-a0aa-95199ae586fe.jpeg",
"is_public": false,
"video_url": "https://cdn1.suno.ai/5136ad10-a21a-4454-a0aa-95199ae586fe.mp4",
"created_at": "2024-12-20T01:57:23.910Z",
"is_trashed": false,
"model_name": "chirp-v4",
"play_count": 0,
"display_name": "FocusedBongoDrums8396",
"upvote_count": 0,
"image_large_url": "https://cdn2.suno.ai/image_large_5136ad10-a21a-4454-a0aa-95199ae586fe.jpeg",
"avatar_image_url": "https://cdn1.suno.ai/defaultOrange.webp",
"is_handle_updated": false,
"major_model_version": "v4"
},
{
"id": "1ae3efab-b401-4664-9f05-1894db133045",
"title": "City Lights",
"handle": "focusedbongodrums8396",
"status": "complete",
"is_liked": false,
"metadata": {
"tags": "emotional punk",
"type": "gen",
"prompt": "[Verse]\nWalking down the streets\nBeneath the city lights\nNeon signs flickering\nLighting up the night\nHeart beating faster\nLike a drum in my chest\nI'm alive in this moment\nFeeling so blessed\n\nStilettos on the pavement\nStepping with grace\nSurrounded by the people\nMoving at their own pace\nThe rhythm of the city\nIt pulses in my veins\nLost in the energy\nAs my worries drain\n\n[Verse 2]\nConcrete jungle shining\nWith its dazzling glow\nEvery corner hiding secrets that only locals know\nA symphony of chaos\nBut it's music to my ears\nThe hustle and the bustle\nWiping away my fears",
"stream": true,
"duration": 198.8,
"refund_credits": false
},
"audio_url": "https://cdn1.suno.ai/1ae3efab-b401-4664-9f05-1894db133045.mp3",
"image_url": "https://cdn2.suno.ai/image_1ae3efab-b401-4664-9f05-1894db133045.jpeg",
"is_public": false,
"video_url": "https://cdn1.suno.ai/1ae3efab-b401-4664-9f05-1894db133045.mp4",
"created_at": "2024-12-20T01:57:23.910Z",
"is_trashed": false,
"model_name": "chirp-v4",
"play_count": 0,
"display_name": "FocusedBongoDrums8396",
"upvote_count": 0,
"image_large_url": "https://cdn2.suno.ai/image_large_1ae3efab-b401-4664-9f05-1894db133045.jpeg",
"avatar_image_url": "https://cdn1.suno.ai/defaultOrange.webp",
"is_handle_updated": false,
"major_model_version": "v4"
}
]
}
}
修改于 2024-12-20 02:01:51