- 系统介绍
- 系统优势
- 补充说明
- 辅助功能
- 按量计费
- 按次计费
- OpenMeta
- Flux
- GPT 4o Image Generation
- Midjourney Proxy
- 即梦AI2.0生图
- Midjourney Chat
- Recraft Proxy
- SD Proxy
- SD Chat
- 可灵AI
- 谷歌Veo3 视频生成
- Runway-视频生成
- CogVideoX Proxy
- Runway Chat
- Luma Proxy
- Luma Chat
- Pika1.5 Proxy
- Pika1.5 Chat
- Domo Proxy
- 海绵音乐(音乐生成)
- Suno Proxy
- Suno Chat
- Udio Proxy
- Udio Chat
Change
开发环境
开发环境
POST
请求参数
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 '/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
}
修改于 2024-12-04 07:42:30