Modellss Docs
  1. Task Submission
  • 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
            POST
          • Submit Blend Task
            POST
          • Submit a Describe task
            POST
          • Submit a Imagine task
            POST
          • Submit Modal
            POST
          • Submit Shorten Task
            POST
        • Task Inquiry
          • Inquire about all tasks
          • Inquire about tasks based on a list of IDs
          • Paged query for tasks
          • Inquire about the task queue
          • Cancel task
          • Retrieve task with specified ID
          • Get the seed for the task image
      • 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
  • Schemas
    • Schemas
      • Blend提交参数
      • CheckActivationDTO
      • Describe提交参数
      • Discord账号
      • Filter
      • Imagine提交参数
      • Map«string,object»
      • Message«Discord账号»
      • Message«Map«string,object»»
      • Message«Void»
      • Message«string»
      • Modal提交参数
      • Option
      • Pageable
      • Page«Map«string,object»»
      • Page«任务»
      • Shorten提交参数
      • Sort
      • SwapFace提交参数
      • TaskQueryDTO
      • 任务
      • 任务查询参数
      • 变化任务提交参数
      • 变化任务提交参数-simple
      • 可执行按钮
      • 可执行按钮_1
      • 执行动作参数
      • 提交结果
      • 激活服务参数
      • 账号修改参数
      • 账号创建参数
      • 账号查询参数
      • 账号筛选条件
  1. Task Submission

Submit Shorten Task

POST
/mj/submit/shorten

Request

Body Params application/json

Example
{
    "botType": "MID_JOURNEY",
    "prompt": "Cat",
    "accountFilter": {
        "instanceId": "string",
        "modes": [
            "RELAX"
        ],
        "remix": true,
        "remixAutoConsidered": true
    },
    "notifyHook": "string",
    "state": "string"
}

Request Code 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/shorten' \
--header 'Content-Type: application/json' \
--data-raw '{
    "botType": "MID_JOURNEY",
    "prompt": "Cat",
    "accountFilter": {
        "instanceId": "string",
        "modes": [
            "RELAX"
        ],
        "remix": true,
        "remixAutoConsidered": true
    },
    "notifyHook": "string",
    "state": "string"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "code": 1,
    "description": "提交成功",
    "properties": {},
    "result": 1320098173412546
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2024-03-19 12:06:06
Previous
Submit Modal
Next
Inquire about all tasks
Built with