上传文件到discord
POST
https://api.mjdjourney.cn/mj/submit/upload-discord-images
任务提交
请求参数
Body 参数application/json
base64Array
array[string]
base64数组
filter
object (CustomAccountFilter)
可选
channelId
string
频道ID
instanceId
string
账号实例ID
remark
string
备注包含
示例
{
"base64Array": [
"string"
],
"filter": {
"channelId": "string",
"instanceId": "string",
"remark": "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.mjdjourney.cn/mj/submit/upload-discord-images' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
code
integer <int32>
可选
description
string
可选
result
array[string]
可选
示例
{
"code": 0,
"description": "string",
"result": [
"string"
]
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-03-25 16:16:49