全部接口
指定ID获取任务(免费
获取任务图片的seed(免费
提交swap_face任务
执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等)
提交Blend任务(图生图)
绘图变化(UPSCALE; VARIATION; REROLL)
提交Describe任务(图生文)
提交edits任务(图片编辑)
提交Imagine任务(文生图、文图生图)
提交Modal(提交局部重绘、ZOOM)
提交Shorten任务(prompt分析)
绘图变化-simple(UPSCALE; VARIATION; REROLL)
上传图片获得url
提交Video任务(文生视频、文图生视频)
根据ID列表查询任务(免费
模型信息
| 模型 ID | mj_fast_variation | 供应商 | Mid-journey |
|---|---|---|---|
| 输入模态 | 未注明 | 输出模态 | 未注明 |
| 分类 | 未注明 | 发布时间 | 未注明 |
调用接口
| 分组 | 接口 | 渠道 | 方法 | 路径 |
|---|---|---|---|---|
| 全部接口 | 指定ID获取任务(免费 | 本站 AI 中转站 | GET | /mj/task/{id}/fetch |
| 全部接口 | 获取任务图片的seed(免费 | 本站 AI 中转站 | GET | /mj/task/{id}/image-seed |
| 全部接口 | 提交swap_face任务 | 本站 AI 中转站 | POST | /mj/insight-face/swap |
| 全部接口 | 执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等) | 本站 AI 中转站 | POST | /mj/submit/action |
| 全部接口 | 提交Blend任务(图生图) | 本站 AI 中转站 | POST | /mj/submit/blend |
| 全部接口 | 绘图变化(UPSCALE; VARIATION; REROLL) | 本站 AI 中转站 | POST | /mj/submit/change |
| 全部接口 | 提交Describe任务(图生文) | 本站 AI 中转站 | POST | /mj/submit/describe |
| 全部接口 | 提交edits任务(图片编辑) | 本站 AI 中转站 | POST | /mj/submit/edits |
| 全部接口 | 提交Imagine任务(文生图、文图生图) | 本站 AI 中转站 | POST | /mj/submit/imagine |
| 全部接口 | 提交Modal(提交局部重绘、ZOOM) | 本站 AI 中转站 | POST | /mj/submit/modal |
| 全部接口 | 提交Shorten任务(prompt分析) | 本站 AI 中转站 | POST | /mj/submit/shorten |
| 全部接口 | 绘图变化-simple(UPSCALE; VARIATION; REROLL) | 本站 AI 中转站 | POST | /mj/submit/simple-change |
| 全部接口 | 上传图片获得url | 本站 AI 中转站 | POST | /mj/submit/upload-discord-images |
| 全部接口 | 提交Video任务(文生视频、文图生视频) | 本站 AI 中转站 | POST | /mj/submit/video |
| 全部接口 | 根据ID列表查询任务(免费 | 本站 AI 中转站 | POST | /mj/task/list-by-condition |
GET /mj/task/{id}/fetch
{
"tags": [
"任务查询"
],
"summary": "指定ID获取任务(免费",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"buttons": {
"type": "array",
"items": {
"type": "object",
"required": [
"customId",
"type",
"label",
"style",
"emoji"
],
"properties": {
"type": {
"type": "string"
},
"emoji": {
"type": "string"
},
"label": {
"type": "string",
"description": "MJ 显示的图标"
},
"style": {
"type": "string"
},
"customId": {
"type": "string",
"description": "action 提交用"
}
}
}
}
}
}
}
},
"description": "OK"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string",
"description": "任务ID"
},
"required": true,
"description": "任务ID"
}
],
"description": ""
}GET /mj/task/{id}/image-seed
{
"tags": [
"任务查询"
],
"summary": "获取任务图片的seed(免费",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436430"
}
}
},
"description": "OK"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string",
"description": "任务ID"
},
"required": true,
"description": "任务ID"
}
],
"description": ""
}POST /mj/insight-face/swap
{
"tags": [
"InsightFace任务提交"
],
"summary": "提交swap_face任务",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436430"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交swap_face任务",
"$schema": "",
"properties": [],
"x-apifox-id": "139393499"
}
}
},
"required": true
}
}POST /mj/submit/action
{
"tags": [
"任务提交"
],
"summary": "执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "执行动作(所有的关联按钮动作UPSCALE; VARIATION; REROLL; ZOOM等)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393501"
}
}
},
"required": true
}
}POST /mj/submit/blend
{
"tags": [
"任务提交"
],
"summary": "提交Blend任务(图生图)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交Blend任务(图生图)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393503"
}
}
},
"required": true
}
}POST /mj/submit/change
### 绘图变化(UPSCALE; VARIATION; REROLL)
即将废弃,请使用 执行动作 接口;功能更多,对接更简单
{
"tags": [
"任务提交"
],
"summary": "绘图变化(UPSCALE; VARIATION; REROLL)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "### 绘图变化(UPSCALE; VARIATION; REROLL)\n即将废弃,请使用 执行动作 接口;功能更多,对接更简单",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "绘图变化(UPSCALE; VARIATION; REROLL)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393500"
}
}
},
"required": true
}
}POST /mj/submit/describe
{
"tags": [
"任务提交"
],
"summary": "提交Describe任务(图生文)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交Describe任务(图生文)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393504"
}
}
},
"required": true
}
}POST /mj/submit/edits
{
"tags": [
"任务提交"
],
"summary": "提交edits任务(图片编辑)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交edits任务(图片编辑)",
"$schema": "",
"required": [
"prompt",
"image",
"01K0DXE082FMKS5ZWV1SH9GK07"
],
"properties": {
"image": {
"type": "string"
},
"prompt": {
"type": "string"
},
"maskBase64": {
"type": "string",
"description": "蒙版base64,编辑区域使用透明,可随意调节尺寸"
},
"notifyHook": {
"type": "string"
}
},
"x-apifox-id": "323778871"
}
}
},
"required": true
}
}POST /mj/submit/imagine
{
"tags": [
"任务提交"
],
"summary": "提交Imagine任务(文生图、文图生图)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交Imagine任务(文生图、文图生图)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393505"
}
}
},
"required": true
}
}POST /mj/submit/modal
{
"tags": [
"任务提交"
],
"summary": "提交Modal(提交局部重绘、ZOOM)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436431",
"title": "提交Modal(提交局部重绘、ZOOM)",
"$schema": "",
"x-apifox-id": "139393506"
}
}
},
"required": true
}
}POST /mj/submit/shorten
{
"tags": [
"任务提交"
],
"summary": "提交Shorten任务(prompt分析)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交Shorten任务(prompt分析)",
"$schema": "",
"properties": [],
"x-apifox-id": "139393507"
}
}
},
"required": true
}
}POST /mj/submit/simple-change
### 绘图变化-simple(UPSCALE; VARIATION; REROLL)
即将废弃,请使用 执行动作 接口;功能更多,对接更简单
{
"tags": [
"任务提交"
],
"summary": "绘图变化-simple(UPSCALE; VARIATION; REROLL)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "### 绘图变化-simple(UPSCALE; VARIATION; REROLL)\n即将废弃,请使用 执行动作 接口;功能更多,对接更简单",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436443",
"title": "绘图变化-simple(UPSCALE; VARIATION; REROLL)",
"$schema": "",
"x-apifox-id": "139393502"
}
}
},
"required": true
}
}POST /mj/submit/upload-discord-images
{
"tags": [
"任务提交"
],
"summary": "上传图片获得url",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"code",
"description",
"result",
"properties"
],
"properties": {
"code": {
"type": "integer"
},
"result": {
"type": "array",
"items": {
"type": "string"
}
},
"properties": {
"type": "object",
"properties": []
},
"description": {
"type": "string"
}
}
}
}
},
"description": "OK"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "上传图片获得url",
"$schema": "",
"required": [
"base64Array"
],
"properties": {
"base64Array": {
"type": "array",
"items": {
"type": "string"
}
}
},
"x-apifox-id": "295408056"
}
}
},
"required": true
}
}POST /mj/submit/video
### 提交Video任务(文生视频、文图生视频)
一次出 4 个视频
{
"tags": [
"任务提交"
],
"summary": "提交Video任务(文生视频、文图生视频)",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436447"
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "### 提交Video任务(文生视频、文图生视频)\n一次出 4 个视频",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"title": "提交Video任务(文生视频、文图生视频)",
"$schema": "",
"required": [
"prompt",
"image",
"motion"
],
"properties": {
"image": {
"type": "string",
"description": "url \\ base64; 首帧图片,扩展时可为空"
},
"index": {
"type": "string",
"maxLength": 3,
"minLength": 0,
"description": "扩展视频;执行的视频索引号"
},
"action": {
"enum": [
"extend"
],
"type": "string",
"description": "扩展视频;对视频任务进行操作。不为空时,index、taskId必填"
},
"motion": {
"enum": [
"low",
"high"
],
"type": "string"
},
"prompt": {
"type": "string"
},
"task_id": {
"type": "string",
"description": "扩展视频; 需要操作的视频父任务ID"
},
"notifyHook": {
"type": "string"
}
},
"x-apifox-id": "323778153"
}
}
},
"required": true
}
}POST /mj/task/list-by-condition
{
"tags": [
"任务查询"
],
"summary": "根据ID列表查询任务(免费",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/77436440"
}
}
}
},
"description": "OK"
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Created"
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Unauthorized"
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Forbidden"
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": []
}
}
},
"description": "Not Found"
}
},
"parameters": [],
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/definitions/77436441",
"title": "根据ID列表查询任务(免费",
"$schema": "",
"x-apifox-id": "139393508"
}
}
},
"required": true
}
}价格
| 价格组 | 渠道 | 计费项 | 价格 | 单位 |
|---|---|---|---|---|
| default | AI 中转站 | request | CNY 0.2 | request |
服务级错误码参照(error_code):
| 错误码 | 说明 | |
|---|---|---|
| 221301 | 数据源超时 | |
| 221303 | 认证失败 认证失败,请稍后重试 认证失败,该卡当日连续多次认证不通过被限制校验,次日恢复 |
|
| 221306 | 参数错误 参数错误:姓名格式不正确 参数错误:手机号格式不正确 参数错误:身份证格式不正确 参数错误:银行卡号格式不正确 同一银行卡请求过于频繁 |
系统级错误码参照:
| 错误码 | 说明 | |
|---|---|---|
| 10001 | 错误的请求KEY | |
| 10002 | 该KEY无请求权限 | |
| 10003 | KEY过期 | |
| 10004 | 错误的OPENID | |
| 10005 | 应用未审核超时,请提交认证 | |
| 10007 | 未知的请求源 | |
| 10008 | 被禁止的IP | |
| 10009 | 被禁止的KEY | |
| 10011 | 当前IP请求超过限制 | |
| 10012 | 请求超过次数限制 | |
| 10013 | 测试KEY超过请求限制 | |
| 10014 | 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) | |
| 10020 | 接口维护 | |
| 10021 | 接口停用 |
错误码格式说明(示例:200201):
| 2 | 002 | 01 | |
|---|---|---|---|
| 服务级错误(1为系统级错误) | 服务模块代码(即数据ID) | 具体错误代码 |
使用文档下载
常见问题:
| 标题 | 更新时间 | |
|---|---|---|
| Token 是什么?中文、英文与上下文窗口如何计算 | 2026-09-21 00:31:09 | |
| LLM API 费用如何计算?如何选择合适的模型 | 2026-09-21 00:31:33 | |
| Word-to-Token 转换与用量估算指南 | 2026-09-21 00:31:09 |
gemini-3.8-flash-thinking-medium
gemini-3.8-flash-thinking-high