AI 接口文档
  1. 任务查询
AI 接口文档
  • 发出请求
  • 模型接口
    • 聊天(Chat)
      • 实时语音
      • 聊天对话(OpenAI格式)
      • 聊天对话(Claude格式)
      • 识别文件
      • 识别图片
      • 联网对话
      • gpts
    • 自动补全(Completions)
      • 内容补全接口
    • 文生图片(Images)
      • Midjourney
        • 补充 - 其他参数以及回调
        • InsightFace任务提交
          • 提交swap_face任务
        • 任务提交
          • 执行动作
          • 提交Blend任务
          • 提交Describe任务
          • 提交Imagine任务
          • 提交Modal
          • 提交Shorten任务
        • 任务查询
          • 查询所有任务
          • 根据ID列表查询任务
          • 分页查询任务
          • 查询任务队列
          • 取消任务
          • 指定ID获取任务
          • 获取任务图片的seed(需设置mj或niji的私信ID)
      • DALL·E 3
      • Stable-Diffusion
      • gpt-4o-image
      • gpt-image-1
    • 向量生成(Embeddings)
      • 创建嵌入
    • 音频(Audio)
      • 创建转录
      • 创建翻译
      • TTS文本转语音
    • Suno 文生歌曲
      • 官方格式
        • 任务提交
          • 生成歌曲
          • 生成歌词
        • 任务查询
          • 查询单个任务
            GET
          • 批量获取任务
            GET
      • OpenAI 聊天格式
        POST
    • Flux 文生图
      • OpenAI 聊天格式
    • Luma 文生视频
      • OpenAI 聊天格式
  • 帮助中心
    • 常见问题及解决办法
  1. 任务查询

查询单个任务

GET
https://aigc.x-see.cn/suno/fetch/{task_id}

请求参数

Path 参数
task_id
string 
必需
Header 参数
Authorization
string 
必需
默认值:
API KEY 令牌
Content-Type
string 
必需
默认值:
application/json

示例代码

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://aigc.x-see.cn/suno/fetch/' \
--header 'Authorization;'

返回响应

🟢200成功
application/json
Body
object {0}
示例
{
  "code": "success",
  "message": "",
  "data": {
    "task_id": "f4a94d75-087b-4bb1-bd45-53ba293faf96",
    "notify_hook": "",
    "action": "LYRICS",
    "status": "SUCCESS",
    "fail_reason": "",
    "submit_time": 1716192124,
    "start_time": 1716192124,
    "finish_time": 1716192124,
    "progress": "100%",
    "data": {
      "id": "f4a94d75-087b-4bb1-bd45-53ba293faf96",
      "text": "[Verse]\nDancing in the neon light\nWith the rhythm\nFeeling so right\nMiku's here to steal the show\nWatch her dance\nFeel the techno glow\n\nShe's got moves like no one else\nIn this digital carousel\nWith her voice\nShe mesmerizes\nEvery beat\nEvery sound maximizes\n\n[Verse 2]\nIn her virtual world\nShe's the queen\nWith energy like you've never seen\nShe'll take you on a cosmic ride\nWith her dance moves\nShe can't hide",
      "title": "Electric Fantasy",
      "status": "complete"
    }
  }
}
上一页
生成歌词
下一页
批量获取任务
Built with