创建账号
POST
https://api.mjdjourney.cn/mj/account/create
账号管理
请求参数
Body 参数application/json
channelId
string
频道ID
coreSize
integer <int32>
并发数
示例值:
3
guildId
string
服务器ID
mjBotChannelId
string
MJ私信ID
nijiBotChannelId
string
niji私信ID
queueSize
integer <int32>
等待队列长度
示例值:
10
remark
string
备注 说明
remixAutoSubmit
boolean
remix自动提交
示例值:
false
timeoutMinutes
integer <int32>
可选
示例值:
5
userAgent
string
可选
userToken
string
用户Token
示例
{
"channelId": "string",
"coreSize": 3,
"guildId": "string",
"mjBotChannelId": "string",
"nijiBotChannelId": "string",
"queueSize": 10,
"remark": "string",
"remixAutoSubmit": false,
"timeoutMinutes": 5,
"userAgent": "string",
"userToken": "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/account/create' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200OK
application/json
Body
code
integer <int32>
可选
description
string
可选
result
string
可选
示例
{
"code": 0,
"description": "string",
"result": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-03-25 16:16:49