- 小白用户推荐结合CherryStudio使用
- 在线调试说明
- 发出请求
- 青云聚合API介绍及客服定制
- 各种插件软件调用API的通用配置
- 各种插件/软件使用教程
- Chat模型
- 文生图模型
- 文生视频模型
- GPTs 相关
- 文生音乐 Suno
- Python配置方式
- nodejs 配置方式
- 帮助中心
执行Action动作
POST
/mj/submit/action
请求参数
Authorization
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
chooseSameChannel
boolean
必需
customId
string
动作标识
示例值:
MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011
taskId
string
任务ID
示例值:
14001934816969359
notifyHook
string
可选
state
string
自定义参数
示例
{
"chooseSameChannel": true,
"customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
"taskId": "14001934816969359",
"notifyHook": "",
"state": ""
}
示例代码
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.qingyuntop.top/mj/submit/action' \
--header 'Content-Type: application/json' \
--data-raw '{
"chooseSameChannel": true,
"customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
"taskId": "14001934816969359",
"notifyHook": "",
"state": ""
}'
返回响应
🟢200Create image
application/json
Body
created
integer
必需
data
array [object {1}]
必需
url
string
必需
示例
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}
修改于 2025-03-30 14:24:45