- 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
Submit Modal
POST
/mj/submit/modal
任务提交
Request
Body Params application/json
maskBase64
string
optional
prompt
string
optional
taskId
string
required
Example:
14001934816969359
Example
{
"maskBase64": "string",
"prompt": "string",
"taskId": "14001934816969359"
}
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/modal' \
--header 'Content-Type: application/json' \
--data-raw '{
"maskBase64": "string",
"prompt": "string",
"taskId": "14001934816969359"
}'
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