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