- Send Request
- Model List and Price
- Model APIs
- Chat API
- Chat Completions API
- Image API
- Midjourney
- InsightFace task submission
- Task Submission
- Task Inquiry
- DALL·E 3POST
- Stable DiffusionPOST
- MJ ChatPOST
- gpt-4-all(generate images)POST
- Embedding Vector Generation Interface (Embeddings)
- Audio
- Help Center
Perform Action
POST
/mj/submit/action
任务提交
Request
Body Params application/json
customId
string
required
Example:
MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011
taskId
string
required
Example:
14001934816969359
notifyHook
string
optional
state
string
optional
Example
{
"customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
"taskId": "14001934816969359",
"notifyHook": "string",
"state": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.modelless.co/mj/submit/action' \
--header 'Content-Type: application/json' \
--data-raw '{
"customId": "MJ::JOB::upsample::2::3dbbd469-36af-4a0f-8f02-df6c579e7011",
"taskId": "14001934816969359",
"notifyHook": "string",
"state": "string"
}'
Responses
🟢200OK
application/json
Body
code
integer <int32>
required
Example:
1
description
string
required
Example:
提交成功
properties
object
optional
result
string
optional
Example:
1320098173412546
Example
{
"code": 1,
"description": "提交成功",
"properties": {},
"result": 1320098173412546
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found