- 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
Cancel task
POST
/mj/task/{id}/cancel
任务查询
Request
Path Params
id
string
required
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/task//cancel'
Responses
🟢200OK
application/json
Body
code
integer <int32>
optional
description
string
optional
Example
{
"code": 0,
"description": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found