1. 任务查询
AI 接口文档
  • 聊天对话
    • 原生Gemini格式
      • Gemini媒体识别
      • Gemini聊天对话
    • 实时语音
    • 原生OpenAI completions聊天对话格式
      POST
    • 原生OpenAI responses聊天对话格式
      POST
    • 原生Claude聊天对话格式
      POST
    • 联网模型识别文件
      POST
    • gpts
      POST
  • 生成视频
    • Luma
      • OpenAI 聊天格式
    • Sora
      • 创建视频
      • 获取视频任务状态
      • 获取视频内容
      • 视频编辑
      • 通过视频创建角色
    • Veo
      • 创建视频生成任务
      • 获取视频任务状态
    • Sora逆向
      • 非真人角色创建
        • 通过视频URL创建角色
        • 通过任务ID创建角色
      • 真人角色创建
      • 创建视频
      • 创建视频(参考图类型为文件)
      • 创建视频(OpenAI completions格式)
      • 视频编辑
      • 获取视频内容
      • 获取视频任务状态
    • Veo逆向
      • 创建视频
      • 获取视频任务状态
      • 创建视频(多图或首尾帧)
    • Grok逆向
      • 创建视频
      • 获取视频任务状态
    • 可灵
      • 文生视频
    • 其他
      • 创建视频生成任务
      • 获取视频生成任务状态
    • Seedance
      • 创建视频
  • 生成图片
    • Midjourney
      • 补充 - 其他参数以及回调
      • InsightFace任务提交
        • 提交swap_face任务
      • 任务提交
        • 执行动作
        • 提交Blend任务
        • 提交Describe任务
        • 提交Imagine任务
        • 提交Modal
        • 提交Shorten任务
      • 任务查询
        • 查询所有任务
        • 根据ID列表查询任务
        • 分页查询任务
        • 查询任务队列
        • 取消任务
        • 指定ID获取任务
        • 获取任务图片的seed(需设置mj或niji的私信ID)
    • Flux 文生图
      • OpenAI 聊天格式
    • 原生OpenAI格式
      • 编辑图片
      • 创建图片
    • 原生Gemini格式
      POST
    • StableDiffusion
      POST
    • Sora
      POST
    • 豆包
      POST
  • 自动补全
    • 内容补全接口
  • 向量生成
    • 创建嵌入
  • 音频
    • Suno 文生歌曲
      • 官方格式
        • 任务提交
          • 生成歌曲
          • 生成歌词
        • 任务查询
          • 查询单个任务
            GET
          • 批量获取任务
            GET
      • OpenAI 聊天格式
        POST
    • 创建转录
      POST
    • 创建翻译
      POST
    • TTS文本转语音
      POST
  • 帮忙中心
    • 常见问题及解决办法
  1. 任务查询

批量获取任务

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

请求参数

Header 参数

Body 参数application/json

示例
{
    "ids": [
        "string"
    ],
    "action": "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://aigc.x-see.cn/suno/fetch' \
--header 'Authorization: Bearer sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids": [
        "string"
    ],
    "action": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "success",
    "message": "",
    "data": [
        {
            "task_id": "346c5d10-a4a1-4f49-a851-66a7dae6cfaf",
            "notify_hook": "",
            "action": "MUSIC",
            "status": "IN_PROGRESS",
            "fail_reason": "",
            "submit_time": 1716191749,
            "start_time": 1716191786,
            "finish_time": 0,
            "progress": "0%",
            "data": [
                {
                    "id": "e9893d04-6a63-4007-8473-64b706eca4d1",
                    "title": "Electric Dance Party",
                    "status": "streaming",
                    "metadata": {
                        "tags": "club banger high-energy edm",
                        "prompt": "[Verse]\nEverybody in the place\nLet's go\nJump and dance\nFeel the rhythm\nLose control (ooh-yeah!)\nHands up in the air\nIt's time to show\nMove your body like you're on a roll\n\nShake it to the left\nShake it to the right\nFeel the bass\nFeel the beat\nAll night (ooh-yeah!)\nMiku's in the house\nGonna set the stage on fire\nGet ready for a wild ride\nIt's our desire\n\n[Verse 2]\nLights are flashing\nColors everywhere (ooh-yeah!)\nFeel the energy\nIt's in the air\nWe're unstoppable\nNothing can bring us down\nDancing to the beat\nThe whole world around",
                        "duration": null,
                        "error_type": null,
                        "error_message": null,
                        "audio_prompt_id": null,
                        "gpt_description_prompt": "miku dance"
                    },
                    "audio_url": "https://audiopipe.suno.ai/?item_id=e9893d04-6a63-4007-8473-64b706eca4d1",
                    "image_url": "https://cdn1.suno.ai/image_e9893d04-6a63-4007-8473-64b706eca4d1.png",
                    "video_url": "",
                    "model_name": "chirp-v3",
                    "image_large_url": "https://cdn1.suno.ai/image_large_e9893d04-6a63-4007-8473-64b706eca4d1.png",
                    "major_model_version": "v3"
                },
                {
                    "id": "fe69611b-fc72-4f6e-b476-5eef0b88c2e3",
                    "title": "Electric Dance Party",
                    "status": "streaming",
                    "metadata": {
                        "tags": "club banger high-energy edm",
                        "prompt": "[Verse]\nEverybody in the place\nLet's go\nJump and dance\nFeel the rhythm\nLose control (ooh-yeah!)\nHands up in the air\nIt's time to show\nMove your body like you're on a roll\n\nShake it to the left\nShake it to the right\nFeel the bass\nFeel the beat\nAll night (ooh-yeah!)\nMiku's in the house\nGonna set the stage on fire\nGet ready for a wild ride\nIt's our desire\n\n[Verse 2]\nLights are flashing\nColors everywhere (ooh-yeah!)\nFeel the energy\nIt's in the air\nWe're unstoppable\nNothing can bring us down\nDancing to the beat\nThe whole world around",
                        "duration": null,
                        "error_type": null,
                        "error_message": null,
                        "audio_prompt_id": null,
                        "gpt_description_prompt": "miku dance"
                    },
                    "audio_url": "https://audiopipe.suno.ai/?item_id=fe69611b-fc72-4f6e-b476-5eef0b88c2e3",
                    "image_url": "https://cdn1.suno.ai/image_fe69611b-fc72-4f6e-b476-5eef0b88c2e3.png",
                    "video_url": "",
                    "model_name": "chirp-v3",
                    "image_large_url": "https://cdn1.suno.ai/image_large_fe69611b-fc72-4f6e-b476-5eef0b88c2e3.png",
                    "major_model_version": "v3"
                }
            ]
        }
    ]
}
修改于 2024-08-14 10:10:25
上一页
查询单个任务
下一页
OpenAI 聊天格式
Built with