中转API
  1. 任务提交
中转API
  • OpenAI接口
    • OpenAI 常用格式(Chat Completions)
      POST
    • OpenAI 响应格式(Responses)
      POST
    • OpenAI 嵌入格式(Embeddings)
      POST
    • OpenAI 图像格式(Image)
      POST
    • OpenAI 图像格式(edits)
      POST
    • OpenAI 纯官gpt-image-1编辑
      POST
  • Midjourney绘图
    • 任务提交
      • 文生图 - Imagine
        POST
      • 关联按钮动作 - Action
        POST
      • 图生文 - Describe
        POST
      • 图像混合 - Blend
        POST
      • 局部重绘 - Modal
        POST
    • 任务查询
      • 多任务查询 - ListByCondition
      • 单任务查询 - FetchFromTask
      • Seed查询 - ImageSeed
  • Anthropic 对话格式(Messages)
    POST
  • Deepseek reasoning 对话格式(Reasoning Content)
    POST
  • Google Gemini 对话格式(Generate Content)
    POST
  1. 任务提交

关联按钮动作 - Action

POST
/mj/submit/action
所有的关联按钮动作UPSCALE、VARIATION、REROLL、ZOOM等

请求参数

Header 参数

Body 参数application/json

示例
{
    "customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
    "taskId": "14001934816969359",
    "notifyHook": "string",
    "state": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/mj/submit/action' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
    "taskId": "14001934816969359",
    "notifyHook": "string",
    "state": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 1,
    "description": "提交成功",
    "properties": {},
    "result": 1320098173412546
}
修改于 2025-07-28 09:12:20
上一页
文生图 - Imagine
下一页
图生文 - Describe
Built with