API reference
🇨🇳 Chinese
  • 🇨🇳 Chinese
  • 🇺🇸 English
  1. 任务查询
API reference
🇨🇳 Chinese
  • 🇨🇳 Chinese
  • 🇺🇸 English
  • 系统内部接口
    • 用户查询账号信息
    • 查询Key信息
  • OpenAI
    • 聊天
      • 流式请求
      • 非流请求
    • Responses
      • 创建模型响应
      • 获得模型响应
      • 删除模型响应
      • 取消模型响应
    • 图像
      • 创建图像
      • 创建图像编辑
      • 创建图像变化
    • 视频接口
      • 创建视频任务
      • 重新编辑视频
      • 获取视频信息
      • 删除视频
      • 下载视频文件
    • 音频接口(Audio)
      • 文本转音频
      • 音频转文本
      • 创建翻译
    • OpenAI-Realtime
      • Realtime
    • Completions
      • Instruct
    • 嵌入
      • 创建嵌入
    • 审核
      • 创建审核
    • 模型
      • 获取模型列表
    • 帮助中心
      • 常见问题及解决办法
    • 重排序
      • 创建重排序请求
  • Anthropic
    • Anthropic Claude
  • 异步任务通用接口(内测)
    • 提交任务
    • 查询任务
  • Suno(音乐)
    • 场景一:续写音乐并获取完整音乐
    • 场景二:Cover 音乐:音乐翻版\修改风格
    • 场景三:Replace Section:替换片段
    • 场景四:Persona:歌手风格
    • 场景五:stems:声曲分离 Vocals Instrumental
    • 场景六:Timing:歌词、音频时间线(仅限chirp-auk)
    • 场景七:wav:获取 wav 格式文件
    • 场景八:mp4:生成 mp4 mv 视频(仅限chirp-auk)
    • 场景九:all-stems:全轨声曲分离(仅限chirp-auk)
    • 场景十:高阶参数
    • 场景十一:Add Insterumental
    • 场景十二:Add Vocals
    • 场景十三:获取 midi
    • 生成音乐
    • 上传音乐
    • 歌曲拼接
    • 新建 Persona
    • 声曲分离
    • 生成歌词
    • 拓展 style tags
    • Timing:歌词、音频时间线
    • 获取 wav 格式文件
    • 生成 mp4 mv 视频
    • 获取 midi
    • 查询单个任务
    • 批量查询任务
    • 批量查询歌曲
  • Midjourney API文档(生图)
    • 快速教学-完整流程一遍过
    • 怎么切换不同的速度
    • 任务提交
      • 提交Imagine任务
      • 提交Blend任务
      • 提交Action任务
      • 提交Modal
      • 提交Describe任务
      • 提交VIDEO任务
      • 提交Edit任务
      • 提交Retexture任务
      • 上传文件到discord
    • 任务查询
      • 指定ID获取任务
        GET
      • 根据ID列表查询任务
        POST
      • 获取任务图片的seed
        GET
      • 根据ID列表查询任务-字段displays
        POST
      • 查询所有任务
        GET
      • 分页查询任务
        POST
      • 查询任务队列
        GET
      • 取消任务
        POST
  • Flux(生图)
    • 官方格式
      • 生成图片
      • 微调
      • 查询任务
    • OpenAI Dalle3格式
    • OpenAI Dalle3格式编辑图片
  • Recraft(生图)
    • 官方格式
      • 附录
      • Generate Image(生成图片)
      • Vectorize Image(矢量化图片)
      • Remove Background(删除背景)
      • Clarity Upscale(清晰度提升)
      • Generative Upscale(生成高清)
      • Create style(创建样式)
    • OpenAI Dalle3格式-生成图片
  • Ideogram(生图)
    • 支持使用OpenAI /v1/images/generations
    • 官方文档(实时更新)
    • Generate with Ideogram 3.0
    • Edit with Ideogram 3.0
    • Remix with Ideogram 3.0
    • Reframe with Ideogram 3.0
    • Replace Background with Ideogram 3.0
    • Upscale
    • Describe
    • Generate(legacy)
    • Edit(legacy)
    • Remix(legacy)
  • Luma(视频)
    • 官方API格式接口
      • 建议查看官方文档
      • 生成视频
      • 高清视频
      • 添加音频
      • video-reframe
      • 生成图片
      • image-reframe
      • 单个查询任务
    • RixAPI格式接口
      • 任务提交
        • 文生视频
        • 图生视频
        • 扩展视频
        • 视频生成音频
        • 获取视频无水印链接
      • 任务查询
        • 单个查询任务
        • 批量查询任务
  • Runway(视频)
    • 官方API接口格式
      • 从图像生成视频
      • 获取任务详细信息
    • 逆向格式
      • generate
      • video2video 视频转视频 风格重绘
      • Act-two 表情迁移
      • feed-获取任务
  • PIKA(视频)
    • generate(文本)
    • generate(参考图片)
    • generate(参考视频/扩展视频)
    • feed
  • 可灵API(官方接口)
    • 建议直接看官方文档
    • Callback协议
    • 多模态视频编辑
      • 请查看官方文档!
      • 初始化待编辑视频
      • 增加视频选区
      • 删减视频选区
      • 清除视频选区
      • 预览已选区视频
      • 创建任务
    • 生成图像
    • 扩图
    • 多图参考生图
    • 文生视频
    • 图生视频
    • 多图参考生视频
    • 视频特效
    • 视频延长
    • 【对口型】旧版
    • 【对口型】人脸识别
    • 【对口型】创建任务
    • 虚拟试穿
    • 文生音效
    • 视频生音效
    • 【通用】语音合成
    • 【通用】图像识别
    • 【数字人】创建任务
    • 查询任务(单个)
  • Replicate 通用接口
    • 创建任务
    • 使用官方模型创建任务
    • 查询任务
  • MiniMax海螺
    • 官方文档
    • 图片生成
    • 视频生成
    • 查询任务
    • 文件下载
  • 火山方舟
    • 创建视频
    • 查询视频状态
  • Pixverse
    • 生成任务
    • 查询任务
  • Viggle
    • 创建角色
    • 上传舞蹈视频模板
    • 创建舞蹈视频任务
    • 获取任务结果
    • 获取官方舞蹈视频TAG
    • 获取官方舞蹈视频TAG下的模板
  • 即梦AI
  • Elevenlabs
    • text-to-speech
    • speech-to-text
    • speech-to-speech
    • dubbing
    • Get dubbing
    • Get dubbed audio
    • Get dubbed transcript
  • veo
    • 视频统一格式
      • 创建视频
      • 查询任务
      • 创建视频,带图片
  • Udio(已废弃)
    • 官方格式
      • 生成音乐
      • 查询单个任务
  1. 任务查询

指定ID获取任务

GET
/mj/task/{id}/fetch
任务查询
最后修改时间:2025-10-31 14:45:33

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数

Header 参数

返回响应

🟢200成功
application/json
Body

🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/mj/task/1761030980635883/fetch' \
--header 'Authorization: Bearer <token>'
响应示例响应示例
200 - 成功示例
{
    "id": "1761030980635883",
    "action": "CUSTOM_ZOOM",
    "customId": "",
    "botType": "",
    "prompt": "https://pic1.iqiyipic.com/lequ/20250731/d9ce0b530c284bd7b11a3ddc3f5c2c14.jpg A cute Japanese woman with long hair, wearing a black tank top and a white skirt, is sitting in the kitchen of her home while doing a live stream on TikTok, holding an ice cream. She has bright, sparkling brown eyes that gaze directly at the camera. The background features modern white cabinets, a refrigerator, chrome appliances, handyman tools, a countertop lamp, and a glass-door cabinet underneath to store food items. Her expression exudes confidence and friendliness, giving off a warm vibe. --ar 2:1 --c 20",
    "promptEn": "https://pic1.iqiyipic.com/lequ/20250731/d9ce0b530c284bd7b11a3ddc3f5c2c14.jpg A cute Japanese woman with long hair, wearing a black tank top and a white skirt, is sitting in the kitchen of her home while doing a live stream on TikTok, holding an ice cream. She has bright, sparkling brown eyes that gaze directly at the camera. The background features modern white cabinets, a refrigerator, chrome appliances, handyman tools, a countertop lamp, and a glass-door cabinet underneath to store food items. Her expression exudes confidence and friendliness, giving off a warm vibe. --ar 2:1 --c 20",
    "description": "Waiting for window confirm",
    "state": "",
    "mode": "",
    "proxy": "",
    "submitTime": 1761030980635,
    "startTime": 1761030989958,
    "finishTime": 1761031173184,
    "imageUrl": "https://storage.fonedis.cc/upload_1761031177307888046.png",
    "imageUrls": [
        {
            "url": "https://cdn.midjourney.com/d863e715-999b-4e53-aee0-886200ec0b43/0_0.png"
        },
        {
            "url": "https://cdn.midjourney.com/d863e715-999b-4e53-aee0-886200ec0b43/0_1.png"
        },
        {
            "url": "https://cdn.midjourney.com/d863e715-999b-4e53-aee0-886200ec0b43/0_2.png"
        },
        {
            "url": "https://cdn.midjourney.com/d863e715-999b-4e53-aee0-886200ec0b43/0_3.png"
        }
    ],
    "imageHeight": 768,
    "imageWidth": 1536,
    "videoUrl": "",
    "videoUrls": null,
    "status": "SUCCESS",
    "progress": "100%",
    "failReason": "",
    "buttons": [
        {
            "customId": "MJ::JOB::upsample::1::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "U1",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::upsample::2::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "U2",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::upsample::3::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "U3",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::upsample::4::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "U4",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::reroll::0::d863e715-999b-4e53-aee0-886200ec0b43::SOLO",
            "emoji": "🔄",
            "label": "",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::variation::1::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "V1",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::variation::2::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "V2",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::variation::3::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "V3",
            "type": 2,
            "style": 2
        },
        {
            "customId": "MJ::JOB::variation::4::d863e715-999b-4e53-aee0-886200ec0b43",
            "emoji": "",
            "label": "V4",
            "type": 2,
            "style": 2
        }
    ],
    "maskBase64": "",
    "properties": {
        "notifyHook": "http://localhost:3000/mj/rixapi/notify",
        "flags": 0,
        "messageId": "",
        "messageHash": "d863e715-999b-4e53-aee0-886200ec0b43",
        "nonce": "",
        "customId": "",
        "finalPrompt": "扩大一些 --ar 2:1 --v 7 --stylize 100 --fast --zoom 1.8",
        "progressMessageId": "",
        "messageContent": "",
        "discordInstanceId": "1372468820912115716",
        "discordChannelId": "1372468820912115716"
    }
}
修改于 2025-10-31 14:45:33
上一页
上传文件到discord
下一页
根据ID列表查询任务
Built with