1. 任务提交
慧言API
  • chatgpt对话
    • gpt-3.5-turbo
      POST
    • gpt-4o-mini
      POST
    • gpt-4o
      POST
    • chatgpt-4o-latest
      POST
    • o1-mini
      POST
    • o3
      POST
    • deepseek-r1
      POST
    • 函数
      POST
    • embedding
      POST
    • o1
      POST
    • gpt-5-chat
      POST
  • 绘图识图
    • 绘图gpt-4o-image
      POST
    • 识图gpt-4o-image
      POST
    • gpt-4-turbo
      POST
    • gpt-4o
      POST
    • gpt-4o-mini
      POST
    • 绘图dalle3
      POST
    • 绘图gemini-2.5-flash-image-preview
      POST
  • claude-gemini
    • claude-sonnet-4-20250514
    • claude-sonnet-4-5-20250929
    • claude-3-5-sonnet-20241022
    • claude-3-opus-20240229
    • claude-sonnet-4-20250514-thinking
    • gemini-2.5-pro
  • 逆向模型
    • 识图gpt-4-all
    • 绘图gpt-4-all
    • 逆向流式o1-mini-all
  • 绘图midjourney-proxy-plus
    • 任务提交
      • 文生图
        POST
      • 提交Describe任务
        POST
      • 提交Modal
        POST
      • 执行动作
        POST
      • 上传文件到discord
        POST
      • 提交Shorten任务
        POST
      • 提交Blend任务
        POST
    • 任务查询
      • 根据ID列表查询任务
      • 分页查询任务
      • 取消任务
      • 指定ID获取任务
      • 查询任务队列
      • 根据ID列表查询任务-字段displays
      • 获取任务图片的seed(需设置mj或niji的私信ID)
      • 查询所有任务
    • InsightFace任务提交
      • 提交swap_face任务
  • 音乐
    • suno音乐
    • 查询音乐
    • 上传音乐
  1. 任务提交

提交Shorten任务

开发中
POST
https://api.huiyan-ai.cn/mj/submit/shorten

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Header 参数

Body 参数application/json

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

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.huiyan-ai.cn/mj/submit/shorten' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{"botType":"MID_JOURNEY","prompt":"Cat","accountFilter":{"channelId":"","instanceId":"","modes":[""],"remark":"","remix":"","remixAutoConsidered":""},"notifyHook":"","state":""}'

返回响应

🟢200成功
application/json
Body

示例
{"code":1,"description":"提交成功","properties":{},"result":1320098173412546}
🟠404失败
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2024-05-30 08:37:41
上一页
上传文件到discord
下一页
提交Blend任务
Built with