Action
POST
/mj/submit/actionPrice: 0.05 PTC / call
请求参数
Header Params
mj-api-secret
string
required
API Key for 302.AI backend
Example:
{{YOUR_API_KEY}}
Body Params application/json
customId
string
required
Action identifier
Example:
MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011
notifyHook
string
optional
Callback URL; use global notifyHook if empty
state
string
optional
Custom parameters
taskId
string
required
Task ID
Example:
14001934816969359
Example
{
"customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
"taskId": "14001934816969359",
"notifyHook": "",
"state": ""
}
示例代码
Responses
OK(200)
Created(201)
Unauthorized(401)
Forbidden(403)
Not Found(404)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 2 个月前