4Z API

提交 Shorten 任务

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

分析提示词并返回精简版本,帮助优化冗长的 prompt。

请求体 (application/json)

  • prompt (string, 必填): 需要精简的提示词
  • botType (string): 机器人 / Bot 类型 ["MID_JOURNEY", "NIJI_JOURNEY"]
  • notifyHook (string): 回调地址
  • state (string): 自定义透传状态

请求示例

{
  "botType": "MID_JOURNEY",
  "prompt": "a very beautiful and majestic white horse with flowing mane running through an enchanted mystical forest with golden rays of sunlight filtering through the ancient tall trees"
}