1. MJ
菜菜API
  • MJ
    • MJ接口文档
    • 执行动作
      POST
    • 提交Imagine任务
      POST
    • 提交Modal
      POST
    • 提交Blend任务
      POST
    • 提交Describe任务
      POST
    • 提交Shorten任务
      POST
    • 查询所有任务
      GET
    • 根据ID列表查询任务
      POST
    • 根据任务id获取任务状态
      GET
    • 上传文件链接
      POST
    • 编辑任务
      POST
  • openai
    • 文档
      • OPENAI图像格式
      • OPENAI实时对话接口
      • OPENAI嵌入式(Embeddings)
      • OpenAI 响应格式(Responses)
      • OPENAI格式(ChatCompletions)文档,
    • 接口
      • chat接口
        • OpenAI格式(chatCompletions)
        • Openai格式(Response)
      • 图像接口
        • OpenAI 图像格式
      • 实时语音
        • openai实时语音接口
      • Audio(语音转文字 || 文字转语音
        • 文本转语音
        • 语音转文本
      • 视频接口
        • 生成视频
        • 获取视频进度
        • 获取视频
        • 创建视频
  • gemini
    • 图像生成
      POST
  1. MJ

提交Shorten任务

POST
/mj/submit/shorten

请求参数

Body 参数application/json

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

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/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"
}'

返回响应

🟢200成功
application/json
Body

示例
{}
修改于 2024-08-28 02:11:09
上一页
提交Describe任务
下一页
查询所有任务
Built with