Modellss Docs
  1. Task Inquiry
  • Send Request
  • Model List and Price
  • Model APIs
    • Chat API
      • Chat
      • GPTs
      • gemini-pro
      • gpt-4-all(Image)
      • gpt-4-vision-preview
    • Chat Completions API
      • Chat Completions API
    • Image API
      • Midjourney
        • InsightFace task submission
          • Submit swap_face task
        • Task Submission
          • Perform Action
          • Submit Blend Task
          • Submit a Describe task
          • Submit a Imagine task
          • Submit Modal
          • Submit Shorten Task
        • Task Inquiry
          • Inquire about all tasks
            GET
          • Inquire about tasks based on a list of IDs
            POST
          • Paged query for tasks
            POST
          • Inquire about the task queue
            GET
          • Cancel task
            POST
          • Retrieve task with specified ID
            GET
          • Get the seed for the task image
            GET
      • DALL·E 3
        POST
      • Stable Diffusion
        POST
      • MJ Chat
        POST
      • gpt-4-all(generate images)
        POST
    • Embedding Vector Generation Interface (Embeddings)
      • Create Embeddings
    • Audio
      • Create transcription
      • Create translation
      • Text to speech
  • Help Center
    • FAQ
  1. Task Inquiry

Cancel task

POST
/mj/task/{id}/cancel
任务查询

Request

Path Params
id
string 
required
Task ID

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
Previous
Inquire about the task queue
Next
Retrieve task with specified ID
Built with