Maisi-AI API Doc
首页全部
OpenAI语言模型图像模型视频模型音频模型
首页全部
OpenAI语言模型图像模型视频模型音频模型
  1. 任务查询
  • 语言模型
    • Claude
      • Anthropic Messages
    • OpenAI
      • Chat聊天
      • Response
    • Gemini
      • 聊天接口(非流)
      • 聊天接口(流式)
  • 图像模型
    • Gpt-image2图像
      • 生成图像
      • 图片编辑
    • Midjourney绘图
      • 任务提交
        • 提交Imagine任务
        • 提交Action任务
        • 提交Blend任务
        • 提交Modal任务
        • 提交Describe任务
        • 提交Shorten任务
        • 提交SwapFace任务
        • 提交Video任务
        • 上传文件到discord
      • 任务查询
        • 指定id查询任务
          GET
        • 指定id列表查询任务
          POST
        • 获取任务图片的seed
          GET
    • Nano Banana生图
      • 官方格式(文生图)
      • 官方格式(图生图)
  • 视频模型
    • 国产视频模型说明文档
    • Grok-video视频
      • Grok提交视频生成
      • Grok查询任务状态
      • Grok下载视频接口
    • Seedance-2.0视频
      • SeeDance2系列视频生成说明
      • 文生视频
      • 首尾帧生成视频
      • 多图参考生成
      • 多模态视频生成
      • 官方格式参数生成
      • 查询视频生成结果
    • seedance官方透传
      • 一、视频生成(数据面)
        • 创建视频生成任务【唯一计费接口】
        • 查询视频生成任务列表(不计费)
        • 查询任务详情(不计费,回源官方取权威结果)
        • 取消或删除任务(不计费)
      • 二、控制面 · 12 个 Action(逐个)
        • 2.1 CreateAssetGroup 创建素材组
        • 2.2 ListAssetGroups 素材组列表
        • 2.3 GetAssetGroup 素材组详情
        • 2.4 UpdateAssetGroup 更新素材组
        • 2.5 DeleteAssetGroup 删除素材组
        • 3.1 CreateAsset 上传素材
        • 3.2 ListAssets 素材列表
        • 3.3 GetAsset 素材详情
        • 3.4 UpdateAsset 重命名素材
        • 3.5 DeleteAsset 删除素材
        • 4.1 CreateVisualValidateSession 拉起真人认证
        • 4.2 GetVisualValidateResult 换取真人素材组 id
      • 三、站点素材账本(
        • api
          • volc_asset
            • )
        • 额度概览(管理员)
        • 回源同步(管理员)
        • 删除资产(管理员)
        • 全部资产(管理员 role >= 10)
        • 我的资产(任意登录用户)
      • 五、控制面 · 统一入口
        • RPC 统一入口(Action 由 query 指定)
  • 音频模型
  • 平台接口
  1. 任务查询

指定id查询任务

GET
/mj/task/{id}/fetch
通过任务id,查询任务信息。(可以通过轮询调用该接口,实现任务进行的查询。也可以通过回调接口获取)

请求参数

Path 参数

Header 参数

返回响应

🟢200成功
application/json
Bodyapplication/json

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/mj/task//fetch' \
--header 'Authorization;'
响应示例响应示例
{
    "id": "1712205491372224",
    "action": "DESCRIBE",
    "prompt": "",
    "promptEn": "1️⃣ White haired anime boy with blue eyes and black sweatshirt, small white dog in the background, anime style, aesthetic \n\n2️⃣ A cute anime boy with white hair and blue eyes, wearing black , is standing next to his small dog in the sunlight. The background features soft lighting and a simple composition. He has an adorable expression on his face, exuding cuteness., Anime style,Cute hairstyle \n\n3️⃣ A cute anime boy with white hair and blue eyes, wearing black sweatshirt vest, standing next to his small dog. The background is blurred and sunny, creating an atmosphere of calmness and happiness. \n\n4️⃣ White haired anime boy with blue eyes and small white dog, anime style, aesthetic, cute",
    "description": "Submit success",
    "submitTime": 1712205491372,
    "startTime": 1712205494313,
    "finishTime": 1712205499534,
    "imageUrl": "https://cdn.discordapp.com/ephemeral-attachments/1092492867185950852/1225303391505485904/1712205491372224.jpg?ex=6620a3b5&is=660e2eb5&hm=14ed57f41dce6178c65757ee58a84e8314fde1bf294da32fac2d8ea991dd3e52&",
    "status": "SUCCESS",
    "progress": "100%",
    "failReason": "",
    "buttons": [
        {
            "customId": "MJ::Job::PicReader::1",
            "emoji": "1️⃣",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::Job::PicReader::2",
            "emoji": "2️⃣",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::Job::PicReader::3",
            "emoji": "3️⃣",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::Job::PicReader::4",
            "emoji": "4️⃣",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::Picread::Retry",
            "emoji": "🔄",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::Job::PicReader::all",
            "emoji": "🎉",
            "label": "Imagine all",
            "type": 2,
            "style": 2
        }
    ],
    "state": ""
}
修改于 2026-05-07 18:52:46
上一页
上传文件到discord
下一页
指定id列表查询任务
Built with