- YunApi中转系统使用教程
- 系统介绍
- 系统优势
- 补充说明
- 辅助功能
- 功能介绍
- 账户余额查询
- 文件上传
- 文件解析(无特定接口)
- 按量计费
- 按次计费
- 视频生成
- 图片生成
- Flux
- MJ Chat
- MJ Proxy
- gpt4oimage
- 即梦AI3.0生图
- Recraft Proxy
- 音乐生成
- urlanalysis
Change
POST
https://api.zyai.online/mj/submit/change
请求参数
Body 参数application/json
action
string
必需
index
integer
<int32>
序号(1~4), action为UPSCALE,VARIATION时必传 >= 1 <= 4 示例值: 1
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 --request POST 'https://api.zyai.online/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
<int32>
description
string
描述
properties
object
{0} 扩展字段
result
integer
任务ID
示例
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}