4Z API

提交Describe任务

接口: POST https://4zapi.com/mj/submit/describe

官方文档:https://docs.midjourney.com/hc/en-us/articles/32497889043981-Describe

分析一张图片并生成四条文字描述(反向提示词),可用于后续 imagine。

参数

  • Authorization (header, string): Bearer API Key

请求体 (application/json)

  • botType (string, 必填): bot类型,mj(默认)或niji ["MID_JOURNEY", "NIJI_JOURNEY"]
  • base64 (string): 用于生成描述(Describe)的 Base64 图片数据,格式为 `data:image/png;base64,<data>`。
  • notifyHook (string): 回调地址, 为空时使用全局notifyHook
  • state (string): 自定义参数

请求示例

{
  "base64": "data:image/png;base64,iVBORw0KGgo...",
  "botType": "MID_JOURNEY",
  "notifyHook": "",
  "state": ""
}