Request
Provide your bearer token in the Authorization header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Example:Bearer {{YOUR_API_KEY}}
Body Params application/json
Callback url, use global notifyHook when empty
{
"customId": "MJ::JOB::PromptAnalyzer::1",
"taskId": "1719252589390291"
}
Request samples
curl --location -g --request POST '{{BASE_URL}}/mj/submit/action' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"customId": "MJ::JOB::PromptAnalyzer::1",
"taskId": "1719252589390291"
}'
Responses
application/json status: 1(success), 21(exist), 22(queue up), other(error)
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
Modified at 2025-03-30 04:11:25