- 平台接口
- OpenAI接口
- 音乐模型
- 图像模型
- MidJourney
- ideogram
- 视频模型
绘图变化(UPSCALE; VARIATION; REROLL)
POST
{{BASE_URL}}/mj/submit/change
请求参数
Authorization
Body 参数application/json
action
string
必需
index
integer
必需
notifyHook
string
必需
state
string
自定义参数
taskId
string
任务ID
示例
{
"action": "UPSCALE",
"index": 1,
"notifyHook": "string",
"state": "string",
"taskId": "1320098173412546"
}
示例代码
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 '{{BASE_URL}}/mj/submit/change' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "UPSCALE",
"index": 1,
"notifyHook": "string",
"state": "string",
"taskId": "1320098173412546"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
description
string
描述
properties
object
扩展字段
result
integer
任务ID
示例
{
"code": 0,
"description": "string",
"properties": {},
"result": 0
}
修改于 2025-04-02 12:01:56