{
  "openapi": "3.1.0",
  "info": {
    "title": "Xinfeng Images API",
    "version": "2026-10-13.4",
    "description": "部分OpenAI Images原生协议兼容＋本站统一扩展，不是全部OpenAI功能镜像。JSON原生images对象、multipart、Files、完成事件SSE均有独立边界。默认同步，Prefer可选异步；账号权限、能力和价格各自以当前接口为准。本站Key不得发送至第三方CDN/签名直链。"
  },
  "servers": [
    {
      "url": "https://xinfeng.best"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      },
      "geminiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-goog-api-key",
        "description": "本站Key，不是Google上游Key"
      }
    },
    "schemas": {
      "ImageGenerationRequest": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "x-model-examples": [
              "NanoBananaPro",
              "Image-2.5-Sunburst-01",
              "Seedream 5.0 Pro",
              "Image-2.5-Flare-01",
              "Midjourney v7",
              "Midjourney v6",
              "NanoBanana2",
              "Image-2.5-Sunburst",
              "Midjourney v8.1",
              "Midjourney v6.1",
              "grok-imagine-image",
              "Image-2.5-Flare",
              "Midjourney v8.2",
              "image2.0-medium",
              "Image-2.5-Flare-02",
              "grok-imagine-image-quality",
              "Nanobanana2.1",
              "image2.0-low",
              "Image-2.5-Sunburst-02",
              "seedream-5.0",
              "image-2.6-Flare-01",
              "image-2.6-Sunburst-01",
              "image-2.6-01"
            ]
          },
          "prompt": {
            "type": "string",
            "minLength": 1
          },
          "size": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "quality": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "n": {
            "type": "integer",
            "minimum": 1,
            "default": 1,
            "description": "默认1。目录max_n是已知参考值，具体支持由上游判断；本站仅保留1–128正整数的计费资源预算。按原报价及单账单结算；MJ一次作业多张候选不重复计费。 Midjourney新请求仅支持n/count=1；多份请求HTTP400，不创建新任务或扣费。",
            "maximum": 128
          },
          "response_format": {
            "type": "string",
            "enum": [
              "url",
              "b64_json"
            ],
            "description": "建议显式填写；本示例不假定所有渠道默认值一致"
          },
          "images": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ImageInputReference"
                },
                {
                  "type": "string",
                  "description": "本站兼容URL/data URI写法；新代码优先使用原生对象"
                }
              ]
            }
          },
          "image": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/components/schemas/ImageInputReference"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ],
            "description": "兼容别名；原生JSON优先images"
          },
          "mask": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ImageInputReference"
              },
              {
                "type": "string"
              }
            ],
            "description": "只在支持的型号使用；独立PNG遮罩对应首图，尺寸一致，不保证遮罩外逐像素不变"
          },
          "background": {
            "type": "string",
            "x-known-enum": [
              "auto",
              "opaque",
              "transparent"
            ],
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "output_format": {
            "type": "string",
            "x-known-enum": [
              "png",
              "jpeg",
              "webp"
            ],
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。 image-2.6-01 has verified GIF output at 832x832 via output_format=gif; one result is billed once. Arbitrary frame controls and SVG supply are not verified. Other models keep their original provider parameter semantics."
          },
          "output_compression": {
            "type": "integer",
            "x-known-minimum": 0,
            "x-known-maximum": 100,
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "input_fidelity": {
            "type": "string",
            "description": "可选供应商参数，完整保留交上游判断，不表示每条供应商都支持。"
          },
          "stream": {
            "type": "boolean",
            "default": false
          },
          "partial_images": {
            "type": "integer",
            "const": 0,
            "description": "仅完成事件，不支持渐进预览；需stream=true"
          },
          "aspect_ratio": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "resolution": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "params": {
            "type": "object",
            "description": "模型专属扩展；不是OpenAI通用字段，不能随意传给其他型号"
          },
          "hd": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。HD/2K 开关，仅 v8.1/v8.2。",
            "enum": [
              false,
              true
            ]
          },
          "style": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。渲染模式，空字符串为默认。",
            "x-known-values": [
              "",
              "raw"
            ]
          },
          "stylize": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。风格化强度；列表为上游推荐档位，兼容范围内整数。",
            "x-known-values": [
              "0",
              "50",
              "100",
              "250",
              "500",
              "750",
              "1000"
            ]
          },
          "chaos": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。画面变化程度；兼容范围内整数。",
            "x-known-values": [
              "0",
              "25",
              "50",
              "75",
              "100"
            ]
          },
          "seed": {
            "type": "integer",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。固定随机种子，0 有效。"
          },
          "sref": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。公网风格参考图 URL。"
          },
          "sw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。风格参考强度，与 sref 配合。",
            "x-known-values": [
              "0",
              "100",
              "500",
              "1000"
            ]
          },
          "iw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。普通参考图权重，与 image/images 配合。",
            "x-known-values": [
              "0.5",
              "1",
              "2",
              "3"
            ]
          },
          "tile": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。无缝平铺。",
            "enum": [
              false,
              true
            ]
          },
          "weird": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。怪异度；兼容范围内整数。",
            "x-known-values": [
              "0",
              "250",
              "1000",
              "3000"
            ]
          },
          "negative_prompt": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。排除内容，填写纯文本。"
          },
          "mode": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。当前渠道支持文本加最多 1 张参考图。",
            "x-known-values": [
              "text-to-image"
            ]
          },
          "bot_type": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。引擎；Niji 仅限 v6/v7。",
            "x-known-values": [
              "MID_JOURNEY"
            ]
          },
          "version": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。由 model 固定版本；省略即可。",
            "x-known-values": [
              "8.2"
            ]
          },
          "count": {
            "type": "integer",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。生成次数，须与 n 一致；一次可能返回多张候选图。 Midjourney新请求仅支持n/count=1；多份请求HTTP400，不创建新任务或扣费。"
          },
          "extra": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
          },
          "cref": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。角色参考图 URL；v6/v6.1。"
          },
          "cw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。角色参考强度；v6/v6.1。",
            "x-known-values": [
              "0",
              "50",
              "100"
            ]
          },
          "stop": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。提前结束；v6/v6.1，推荐 50/80/100。",
            "x-known-values": [
              "50",
              "80",
              "100"
            ]
          },
          "draft": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。草稿模式；v7/v8.1。",
            "enum": [
              false,
              true
            ]
          }
        },
        "required": [
          "model",
          "prompt"
        ],
        "allOf": [
          {
            "if": {
              "properties": {
                "model": {
                  "const": "NanoBananaPro"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 14
                },
                "n": {
                  "type": "integer",
                  "x-known-maximum": 1,
                  "x-known-minimum": 1
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Sunburst-01"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "low",
                    "medium",
                    "high"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Seedream 5.0 Pro"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 10
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Flare-01"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "low",
                    "medium",
                    "high"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Midjourney v7"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 4
                },
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1,
                  "default": 1,
                  "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Midjourney v6"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 4
                },
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1,
                  "default": 1,
                  "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "NanoBanana2"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 14
                },
                "n": {
                  "type": "integer",
                  "x-known-maximum": 1,
                  "x-known-minimum": 1
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Sunburst"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "low",
                    "medium",
                    "high",
                    "xhigh",
                    "max"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Midjourney v8.1"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 4
                },
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1,
                  "default": 1,
                  "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Midjourney v6.1"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 4
                },
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1,
                  "default": 1,
                  "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "grok-imagine-image"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 5
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Flare"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "low",
                    "medium",
                    "high",
                    "xhigh",
                    "max"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "grok-imagine-image-2.0"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 5
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Midjourney v8.2"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 4
                },
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1,
                  "default": 1,
                  "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 1024
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "image2.0-medium"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Flare-02"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "auto",
                    "low",
                    "medium",
                    "high",
                    "xhigh",
                    "max"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "n": {
                  "type": "integer",
                  "x-known-maximum": 4,
                  "x-known-minimum": 1
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32000
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "grok-imagine-image-quality"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 5
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Nanobanana2.1"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 14
                },
                "n": {
                  "type": "integer",
                  "x-known-maximum": 1,
                  "x-known-minimum": 1
                },
                "mask": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque"
                  ]
                },
                "output_format": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "output_compression": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "image2.0-low"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "standard"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "const": "Image-2.5-Sunburst-02"
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "quality": {
                  "x-known-values": [
                    "auto",
                    "low",
                    "medium",
                    "high",
                    "xhigh",
                    "max"
                  ]
                },
                "images": {
                  "x-known-reference-count": 16
                },
                "n": {
                  "type": "integer",
                  "x-known-maximum": 4,
                  "x-known-minimum": 1
                },
                "prompt": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32000
                },
                "background": {
                  "x-known-values": [
                    "auto",
                    "opaque",
                    "transparent"
                  ]
                },
                "output_format": {
                  "x-known-values": [
                    "png",
                    "jpeg",
                    "webp"
                  ]
                },
                "output_compression": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100
                },
                "input_fidelity": {
                  "x-known-model-support": false,
                  "description": "供应商既有参考信息；不在本站按此声明提前拒绝，协议无法完整表达时明确返回。"
                },
                "stream": {
                  "type": "boolean",
                  "enum": [
                    false,
                    true
                  ]
                },
                "partial_images": {
                  "enum": [
                    0
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "stream": {
                  "const": true
                }
              },
              "required": [
                "stream"
              ]
            },
            "then": {
              "properties": {
                "n": {
                  "const": 1
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "background": {
                  "const": "transparent"
                }
              },
              "required": [
                "background"
              ]
            },
            "then": {
              "not": {
                "properties": {
                  "output_format": {
                    "const": "jpeg"
                  }
                },
                "required": [
                  "output_format"
                ]
              }
            }
          },
          {
            "if": {
              "properties": {
                "model": {
                  "enum": [
                    "Midjourney v6",
                    "Midjourney v6.1",
                    "Midjourney v7",
                    "Midjourney v8.1",
                    "Midjourney v8.2",
                    "Midjourney niji7"
                  ]
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1
                },
                "count": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1
                }
              }
            }
          }
        ],
        "additionalProperties": true,
        "description": "当前模型约束按条件区分；未列出的原生字段不等于已支持，input_fidelity当前明确拒绝。",
        "x-parameter-notes": "MJ 数字参数同时接受 JSON 数字和字符串；quality=standard/auto 作为默认质量兼容别名。",
        "x-model-max-n": {
          "NanoBananaPro": 1,
          "Image-2.5-Sunburst-01": 1,
          "Seedream 5.0 Pro": 10,
          "Image-2.5-Flare-01": 1,
          "Midjourney v7": 50,
          "Midjourney v6": 50,
          "NanoBanana2": 1,
          "Image-2.5-Sunburst": 1,
          "Midjourney v8.1": 50,
          "Midjourney v6.1": 50,
          "grok-imagine-image": 1,
          "Image-2.5-Flare": 1,
          "Midjourney v8.2": 50,
          "image2.0-medium": 1,
          "Image-2.5-Flare-02": 1,
          "grok-imagine-image-quality": 1,
          "Nanobanana2.1": 1,
          "image2.0-low": 1,
          "Image-2.5-Sunburst-02": 1
        },
        "x-model-quality-conditions": {
          "Image-2.5-Flare-01": {
            "xhigh": [
              {
                "operation": "image_to_image",
                "min_references": 1,
                "max_references": 1,
                "mask": false,
                "size": {
                  "min_side": 16,
                  "max_side": 3840,
                  "multiple_of": 16,
                  "min_pixels": 655360,
                  "max_pixels": 8294400,
                  "max_aspect_ratio": 3
                },
                "notes": "已登记无mask单参考自定义size编辑；附加resolution/aspect_ratio按完整组合选路，不外推到其他输入。"
              }
            ]
          }
        },
        "x-compatibility-boundary": "2026-10-23：全部图片型号的尺寸、画幅、分辨率档位、质量、张数及供应商参数由上游判断；目录值为已知参考，不作为本站白名单。协议一致时完整透传，协议不同由已适配线路转换；保留旧接口、默认值、真实参数冲突、素材权限与字节、资源保护、原报价及单账单。流式等传输能力仍按已公布契约。",
        "x-parameter-policy": {
          "validation": "upstream",
          "catalog_values": "advisory",
          "preserve_original_parameters": true,
          "transport_max_n": 128,
          "legacy_calls_preserved": true
        }
      },
      "ImageEditRequest": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ImageGenerationRequest"
          },
          {
            "anyOf": [
              {
                "required": [
                  "images"
                ]
              },
              {
                "required": [
                  "image"
                ]
              },
              {
                "required": [
                  "image_url"
                ]
              },
              {
                "required": [
                  "image_urls"
                ]
              },
              {
                "required": [
                  "input_reference"
                ]
              },
              {
                "required": [
                  "references"
                ]
              }
            ]
          }
        ],
        "x-compatibility-boundary": "本站采用OpenAI Images兼容请求/响应，供应商协议由内部适配器处理。参数格式合法与型号实际能力分开：每型号n、质量、尺寸、参考、mask及流式范围以能力目录为准；不是全部OpenAI功能完全等同。resolution/aspect_ratio、Prefer异步及本站图片任务查询为扩展。服务无可用渠道/半开等待、上游限流/审核及未知提交，不归为用户JSON格式错误。"
      },
      "ImageEditMultipart": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "x-model-examples": [
              "NanoBananaPro",
              "Image-2.5-Sunburst-01",
              "Seedream 5.0 Pro",
              "Image-2.5-Flare-01",
              "Midjourney v7",
              "Midjourney v6",
              "NanoBanana2",
              "Image-2.5-Sunburst",
              "Midjourney v8.1",
              "Midjourney v6.1",
              "grok-imagine-image",
              "Image-2.5-Flare",
              "Midjourney v8.2",
              "image2.0-medium",
              "Image-2.5-Flare-02",
              "grok-imagine-image-quality",
              "Nanobanana2.1",
              "image2.0-low",
              "Image-2.5-Sunburst-02",
              "seedream-5.0"
            ]
          },
          "prompt": {
            "type": "string",
            "minLength": 1
          },
          "size": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "quality": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "n": {
            "type": "integer",
            "minimum": 1,
            "default": 1,
            "description": "默认1。目录max_n是已知参考值，具体支持由上游判断；本站仅保留1–128正整数的计费资源预算。按原报价及单账单结算；MJ一次作业多张候选不重复计费。 Midjourney新请求仅支持n/count=1；多份请求HTTP400，不创建新任务或扣费。",
            "maximum": 128
          },
          "response_format": {
            "type": "string",
            "enum": [
              "url",
              "b64_json"
            ],
            "description": "建议显式填写；本示例不假定所有渠道默认值一致"
          },
          "images": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ImageInputReference"
                },
                {
                  "type": "string",
                  "description": "本站兼容URL/data URI写法；新代码优先使用原生对象"
                }
              ]
            }
          },
          "image": {
            "type": "string",
            "format": "binary"
          },
          "mask": {
            "type": "string",
            "format": "binary",
            "description": "PNG; only supported models"
          },
          "background": {
            "type": "string",
            "x-known-enum": [
              "auto",
              "opaque",
              "transparent"
            ],
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "output_format": {
            "type": "string",
            "x-known-enum": [
              "png",
              "jpeg",
              "webp"
            ],
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。 image-2.6-01 has verified GIF output at 832x832 via output_format=gif; one result is billed once. Arbitrary frame controls and SVG supply are not verified. Other models keep their original provider parameter semantics."
          },
          "output_compression": {
            "type": "integer",
            "x-known-minimum": 0,
            "x-known-maximum": 100,
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。"
          },
          "input_fidelity": {
            "type": "string",
            "description": "可选供应商参数，完整保留交上游判断，不表示每条供应商都支持。"
          },
          "stream": {
            "type": "boolean",
            "default": false
          },
          "partial_images": {
            "type": "integer",
            "const": 0,
            "description": "仅完成事件，不支持渐进预览；需stream=true"
          },
          "aspect_ratio": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "resolution": {
            "type": "string",
            "description": "已知值参见能力目录；未知值保持原样交上游判断，既有明确协议转换保持。size与显式aspect_ratio的真实矛盾仍拒绝；比例/档位协议不承诺任意精确成品像素。"
          },
          "params": {
            "type": "object",
            "description": "模型专属扩展；不是OpenAI通用字段，不能随意传给其他型号"
          },
          "image[]": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "format": "binary"
            }
          },
          "hd": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。HD/2K 开关，仅 v8.1/v8.2。",
            "enum": [
              false,
              true
            ]
          },
          "style": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。渲染模式，空字符串为默认。",
            "x-known-values": [
              "",
              "raw"
            ]
          },
          "stylize": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。风格化强度；列表为上游推荐档位，兼容范围内整数。",
            "x-known-values": [
              "0",
              "50",
              "100",
              "250",
              "500",
              "750",
              "1000"
            ]
          },
          "chaos": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。画面变化程度；兼容范围内整数。",
            "x-known-values": [
              "0",
              "25",
              "50",
              "75",
              "100"
            ]
          },
          "seed": {
            "type": "integer",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。固定随机种子，0 有效。"
          },
          "sref": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。公网风格参考图 URL。"
          },
          "sw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。风格参考强度，与 sref 配合。",
            "x-known-values": [
              "0",
              "100",
              "500",
              "1000"
            ]
          },
          "iw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。普通参考图权重，与 image/images 配合。",
            "x-known-values": [
              "0.5",
              "1",
              "2",
              "3"
            ]
          },
          "tile": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。无缝平铺。",
            "enum": [
              false,
              true
            ]
          },
          "weird": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。怪异度；兼容范围内整数。",
            "x-known-values": [
              "0",
              "250",
              "1000",
              "3000"
            ]
          },
          "negative_prompt": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。排除内容，填写纯文本。"
          },
          "mode": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。当前渠道支持文本加最多 1 张参考图。",
            "x-known-values": [
              "text-to-image"
            ]
          },
          "bot_type": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。引擎；Niji 仅限 v6/v7。",
            "x-known-values": [
              "MID_JOURNEY"
            ]
          },
          "version": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。由 model 固定版本；省略即可。",
            "x-known-values": [
              "8.2"
            ]
          },
          "count": {
            "type": "integer",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。生成次数，须与 n 一致；一次可能返回多张候选图。 Midjourney新请求仅支持n/count=1；多份请求HTTP400，不创建新任务或扣费。"
          },
          "extra": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
          },
          "cref": {
            "type": "string",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。角色参考图 URL；v6/v6.1。"
          },
          "cw": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。角色参考强度；v6/v6.1。",
            "x-known-values": [
              "0",
              "50",
              "100"
            ]
          },
          "stop": {
            "type": [
              "string",
              "number"
            ],
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。提前结束；v6/v6.1，推荐 50/80/100。",
            "x-known-values": [
              "50",
              "80",
              "100"
            ]
          },
          "draft": {
            "type": "boolean",
            "description": "Midjourney 参数；版本可用范围见 x-model-native-options。草稿模式；v7/v8.1。",
            "enum": [
              false,
              true
            ]
          }
        },
        "required": [
          "model",
          "prompt"
        ],
        "anyOf": [
          {
            "required": [
              "image"
            ]
          },
          {
            "required": [
              "image[]"
            ]
          }
        ],
        "description": "本地文件的真实字节、扩展名和MIME一致；PNG=image/png、JPEG=image/jpeg。多图重复image[]，不要手写Content-Type boundary。",
        "x-parameter-notes": "MJ 数字参数同时接受 JSON 数字和字符串；quality=standard/auto 作为默认质量兼容别名。",
        "x-model-max-n": {
          "NanoBananaPro": 1,
          "Image-2.5-Sunburst-01": 1,
          "Seedream 5.0 Pro": 10,
          "Image-2.5-Flare-01": 1,
          "Midjourney v7": 50,
          "Midjourney v6": 50,
          "NanoBanana2": 1,
          "Image-2.5-Sunburst": 1,
          "Midjourney v8.1": 50,
          "Midjourney v6.1": 50,
          "grok-imagine-image": 1,
          "Image-2.5-Flare": 1,
          "Midjourney v8.2": 50,
          "image2.0-medium": 1,
          "Image-2.5-Flare-02": 1,
          "grok-imagine-image-quality": 1,
          "Nanobanana2.1": 1,
          "image2.0-low": 1,
          "Image-2.5-Sunburst-02": 1
        },
        "x-model-quality-conditions": {
          "Image-2.5-Flare-01": {
            "xhigh": [
              {
                "operation": "image_to_image",
                "min_references": 1,
                "max_references": 1,
                "mask": false,
                "size": {
                  "min_side": 16,
                  "max_side": 3840,
                  "multiple_of": 16,
                  "min_pixels": 655360,
                  "max_pixels": 8294400,
                  "max_aspect_ratio": 3
                },
                "notes": "已登记无mask单参考自定义size编辑；附加resolution/aspect_ratio按完整组合选路，不外推到其他输入。"
              }
            ]
          }
        },
        "x-compatibility-boundary": "2026-10-23：全部图片型号的尺寸、画幅、分辨率档位、质量、张数及供应商参数由上游判断；目录值为已知参考，不作为本站白名单。协议一致时完整透传，协议不同由已适配线路转换；保留旧接口、默认值、真实参数冲突、素材权限与字节、资源保护、原报价及单账单。流式等传输能力仍按已公布契约。",
        "x-parameter-policy": {
          "validation": "upstream",
          "catalog_values": "advisory",
          "preserve_original_parameters": true,
          "transport_max_n": 128,
          "legacy_calls_preserved": true
        },
        "additionalProperties": true,
        "allOf": [
          {
            "if": {
              "properties": {
                "model": {
                  "enum": [
                    "Midjourney v6",
                    "Midjourney v6.1",
                    "Midjourney v7",
                    "Midjourney v8.1",
                    "Midjourney v8.2",
                    "Midjourney niji7"
                  ]
                }
              },
              "required": [
                "model"
              ]
            },
            "then": {
              "properties": {
                "n": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1
                },
                "count": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 1
                }
              }
            }
          }
        ]
      },
      "ImagesResponse": {
        "type": "object",
        "properties": {
          "created": {
            "type": "integer"
          },
          "data": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string"
                },
                "b64_json": {
                  "type": "string"
                },
                "revised_prompt": {
                  "type": "string"
                },
                "fallback_url": {
                  "type": "string",
                  "format": "uri",
                  "description": "可选的本站扩展。同一成品有签发直链时可同时返回站内备用地址。签发直链有效期 24 小时。"
                }
              },
              "anyOf": [
                {
                  "required": [
                    "url"
                  ]
                },
                {
                  "required": [
                    "b64_json"
                  ]
                }
              ]
            }
          },
          "usage": {
            "type": "object"
          },
          "task_id": {
            "type": "string"
          },
          "poll_url": {
            "type": "string"
          }
        },
        "required": [
          "data"
        ]
      },
      "ImageTask": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "task_id": {
            "type": "string"
          },
          "object": {
            "const": "image.task"
          },
          "status": {
            "type": "string"
          },
          "terminal": {
            "type": "boolean"
          },
          "created_at": {
            "type": "integer"
          },
          "expires_at": {
            "type": "integer"
          },
          "request_id": {
            "type": "string"
          },
          "idempotency_key": {
            "type": "string"
          },
          "poll_url": {
            "type": "string"
          },
          "result_url": {
            "type": "string"
          },
          "error": {
            "type": [
              "object",
              "null"
            ]
          },
          "submission_unresolved": {
            "type": "boolean"
          },
          "retryable": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "object",
          "status",
          "terminal"
        ],
        "description": "本站扩展任务；结果未知不得再POST。仅同Key可查询。"
      },
      "ImageCompletedEvent": {
        "type": "object",
        "properties": {
          "type": {
            "enum": [
              "image_generation.completed",
              "image_edit.completed"
            ]
          },
          "b64_json": {
            "type": "string"
          },
          "usage": {
            "type": "object"
          }
        },
        "required": [
          "type",
          "b64_json"
        ]
      },
      "ImageInputReference": {
        "type": "object",
        "properties": {
          "image_url": {
            "type": "string",
            "description": "Public HTTP(S) image URL or data:image/...;base64,..."
          },
          "file_id": {
            "type": "string",
            "description": "File uploaded using the SAME API key"
          }
        },
        "oneOf": [
          {
            "required": [
              "image_url"
            ],
            "not": {
              "required": [
                "file_id"
              ]
            }
          },
          {
            "required": [
              "file_id"
            ],
            "not": {
              "required": [
                "image_url"
              ]
            }
          }
        ],
        "additionalProperties": false
      },
      "OpenAIFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "object": {
            "const": "file"
          },
          "bytes": {
            "type": "integer"
          },
          "created_at": {
            "type": "integer"
          },
          "expires_at": {
            "type": "integer"
          },
          "filename": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "status": {
            "const": "processed"
          },
          "status_details": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "id",
          "object",
          "bytes",
          "created_at",
          "filename",
          "purpose"
        ]
      },
      "OpenAIFileList": {
        "type": "object",
        "properties": {
          "object": {
            "const": "list"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpenAIFile"
            }
          },
          "first_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_more": {
            "type": "boolean"
          }
        },
        "required": [
          "object",
          "data",
          "has_more"
        ]
      },
      "OpenAIFileDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "object": {
            "const": "file.deleted"
          },
          "deleted": {
            "const": true
          }
        },
        "required": [
          "id",
          "object",
          "deleted"
        ]
      },
      "MediaCapabilities": {
        "type": "object",
        "properties": {
          "object": {
            "const": "media_capabilities"
          },
          "version": {
            "type": "string"
          },
          "image": {
            "type": "object",
            "properties": {
              "object": {
                "const": "list"
              },
              "data": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "required": [
              "object",
              "data"
            ]
          },
          "video": {
            "type": "object",
            "properties": {
              "object": {
                "const": "list"
              },
              "data": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            },
            "required": [
              "object",
              "data"
            ]
          }
        },
        "required": [
          "object",
          "version",
          "image",
          "video"
        ]
      },
      "MidjourneyFullRequest": {
        "type": "object",
        "required": [
          "model",
          "prompt"
        ],
        "properties": {
          "model": {
            "type": "string",
            "const": "Midjourney-全系列",
            "description": "全系列用 Midjourney-全系列；固定型号直接填写完整公开名称。"
          },
          "prompt": {
            "type": "string",
            "minLength": 1,
            "description": "描述希望得到的画面。操作类也传入非空说明，modal 可传修订后的提示词。"
          },
          "version": {
            "type": "string",
            "enum": [
              "5",
              "5.1",
              "5.2",
              "6",
              "6.1",
              "7",
              "8",
              "8.1",
              "8.2"
            ],
            "default": "8.2",
            "description": "全系列的 MJ 版本，默认 8.2。与 niji_version 二选一；固定型号自带版本。"
          },
          "niji_version": {
            "type": "string",
            "enum": [
              "5",
              "6",
              "7"
            ],
            "description": "在全系列选择 Niji 5、6 或 7，与 version 二选一。"
          },
          "operation": {
            "type": "string",
            "enum": [
              "imagine",
              "blend",
              "describe",
              "upscale",
              "variation",
              "reroll",
              "high_variation",
              "low_variation",
              "zoom",
              "custom_zoom",
              "pan",
              "inpaint",
              "remix",
              "modal",
              "action",
              "change",
              "simple_change"
            ],
            "default": "imagine",
            "description": "选择任务动作，默认 imagine。操作示例展示各自所需字段。"
          },
          "action": {
            "type": "string",
            "enum": [
              "UPSCALE",
              "VARIATION",
              "REROLL"
            ],
            "description": "在 change 中选择基础动作，UPSCALE、VARIATION 另需 index。"
          },
          "aspect_ratio": {
            "type": "string",
            "description": "画幅比例，建议与 size 二选一。"
          },
          "size": {
            "type": "string",
            "default": "auto",
            "anyOf": [
              {
                "enum": [
                  "auto",
                  "1:1",
                  "3:2",
                  "2:3",
                  "4:3",
                  "3:4",
                  "5:4",
                  "4:5",
                  "16:9",
                  "9:16",
                  "21:9"
                ]
              },
              {
                "pattern": "^[1-9][0-9]*(?:x|:)[1-9][0-9]*$"
              }
            ],
            "description": "公开画幅或 auto。固定旧型号继续兼容像素尺寸，实际成品尺寸由生成结果确定。"
          },
          "quality": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "auto",
                  "standard",
                  "medium",
                  "low",
                  "high",
                  "hd",
                  "0.25",
                  "0.5",
                  "1",
                  "2",
                  "4"
                ],
                "default": "auto"
              },
              {
                "type": "number",
                "enum": [
                  0.25,
                  0.5,
                  1,
                  2,
                  4
                ]
              }
            ],
            "description": "V8.1 和 V8.2 使用 1K、2K 或 hd 选择清晰度。quality 和 --q 只在支持品质设置的版本生效。 旧客户端在 V8.1 和 V8.2 传入默认值时，会兼容省略该字段。",
            "x-not-applicable-to": [
              "v8.1",
              "v8.2"
            ],
            "x-compatibility-aliases-on-v8": [
              "auto",
              "standard",
              "medium",
              "1"
            ]
          },
          "response_format": {
            "type": "string",
            "enum": [
              "url",
              "b64_json"
            ],
            "default": "url",
            "description": "url 读取成品链接；b64_json 逐项读取内联数据。"
          },
          "image": {
            "type": "string",
            "description": "单张普通参考，可用公网图片地址或 data URI；describe 需要一张。"
          },
          "images": {
            "type": "array",
            "minItems": 1,
            "maxItems": 5,
            "items": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "object",
                  "required": [
                    "file_id"
                  ],
                  "properties": {
                    "file_id": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "object",
                  "required": [
                    "image_url"
                  ],
                  "properties": {
                    "image_url": {
                      "oneOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "object",
                          "required": [
                            "url"
                          ],
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "description": "普通参考图 1 至 5 张。首选有序的 images 对象数组，每项填写 image_url 或 file_id。兼容旧 URL 数组。blend 需 2 至 5 张。"
          },
          "raw": {
            "type": "boolean",
            "description": "启用 Raw 风格。"
          },
          "hd": {
            "type": "boolean",
            "description": "v8.1、v8.2 的高清开关。普通分辨率使用 1K 并移除提示词中的 --hd。高清可单独使用 hd=true 或兼容字段 resolution=2k。"
          },
          "tile": {
            "type": "boolean",
            "description": "生成可平铺的重复纹样。"
          },
          "stylize": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000,
            "description": "调整风格化强度。"
          },
          "chaos": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100,
            "description": "调整候选构图的变化程度。"
          },
          "seed": {
            "type": "integer",
            "description": "固定随机种子，合法取值为 0 至 4294967295。",
            "minimum": 0,
            "maximum": 4294967295
          },
          "weird": {
            "type": "integer",
            "minimum": 0,
            "maximum": 3000,
            "description": "调整非常规视觉风格的强度。"
          },
          "stop": {
            "type": "integer",
            "minimum": 10,
            "maximum": 100,
            "description": "设定生成停止百分比。"
          },
          "no": {
            "type": "string",
            "description": "以字符串列出想排除的画面元素。"
          },
          "iw": {
            "type": "number",
            "minimum": 0,
            "maximum": 3,
            "description": "控制普通参考图的权重。"
          },
          "sref": {
            "type": "string",
            "description": "风格参考图片 URL 或风格代码。"
          },
          "sw": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000,
            "description": "风格参考权重，与 sref 搭配。"
          },
          "cref": {
            "type": "string",
            "description": "旧版角色参考图，适用于 v6、v6.1、Niji 6。v8.1/v8.2 的普通参考图通过 Images edits 的 image 或 images 提交。",
            "x-applies-to": [
              "v6",
              "v6.1",
              "niji6"
            ]
          },
          "cw": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100,
            "description": "旧版角色参考权重，与兼容版本的 cref 搭配。",
            "x-applies-to": [
              "v6",
              "v6.1",
              "niji6"
            ]
          },
          "oref": {
            "type": "string",
            "description": "Midjourney v7 的对象参考图。",
            "x-applies-to": [
              "v7"
            ]
          },
          "ow": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000,
            "description": "对象参考权重，与 oref 搭配。",
            "x-applies-to": [
              "v7"
            ]
          },
          "dref": {
            "description": "仅 imagine 使用，接受一个公网图片 URL 或有序 URL 数组。",
            "oneOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              }
            ]
          },
          "dw": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000,
            "description": "深度参考权重，与 dref 搭配。"
          },
          "personalize": {
            "description": "使用自己的配置，例如包含 profiles 字符串数组的对象。",
            "oneOf": [
              {
                "type": "boolean"
              },
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "array",
                "minItems": 1,
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "profiles": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "code": {
                    "type": "string"
                  }
                }
              }
            ]
          },
          "task_id": {
            "type": "string",
            "description": "取同一 API Key 的原结果 mj.task_id；modal 使用当前等待确认的交互任务。"
          },
          "custom_id": {
            "type": "string",
            "description": "从该任务 mj.buttons[].customId 选取与动作匹配的按钮。"
          },
          "index": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4,
            "description": "选择四宫格的第 1 至 4 张。"
          },
          "zoom_ratio": {
            "type": "number",
            "description": "在 modal 确认自定义缩放时填写正数。",
            "exclusiveMinimum": 0
          },
          "enable_remix": {
            "type": "boolean",
            "description": "允许在原按钮动作中修改提示词。"
          },
          "content": {
            "type": "string",
            "description": "simple_change 的命令内容，由原 mj.task_id、空格及 U1–U4、V1–V4 或 R 组成。"
          },
          "mask": {
            "type": "string",
            "description": "仅用于 modal，传与源图尺寸相同的 PNG Base64 或 data URI。"
          },
          "n": {
            "type": "integer",
            "const": 1,
            "description": "单次提交次数固定为 1。普通生成成功交付四张，放大交付一张。"
          }
        },
        "allOf": [
          {
            "not": {
              "required": [
                "version",
                "niji_version"
              ]
            }
          },
          {
            "if": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "enum": [
                    "change"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "task_id",
                "action"
              ]
            }
          },
          {
            "if": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "enum": [
                    "upscale",
                    "variation"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "task_id",
                "index"
              ]
            }
          },
          {
            "if": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "enum": [
                    "reroll",
                    "modal"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "task_id"
              ]
            }
          },
          {
            "if": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "enum": [
                    "simple_change"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "content"
              ]
            }
          },
          {
            "if": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "enum": [
                    "high_variation",
                    "low_variation",
                    "zoom",
                    "custom_zoom",
                    "pan",
                    "inpaint",
                    "remix",
                    "action"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "task_id",
                "custom_id"
              ]
            }
          },
          {
            "if": {
              "required": [
                "mask"
              ]
            },
            "then": {
              "required": [
                "operation"
              ],
              "properties": {
                "operation": {
                  "const": "modal"
                }
              }
            }
          },
          {
            "if": {
              "required": [
                "dref",
                "operation"
              ]
            },
            "then": {
              "properties": {
                "operation": {
                  "const": "imagine"
                }
              }
            }
          }
        ],
        "examples": [
          {
            "model": "Midjourney-全系列",
            "prompt": "一盏青瓷台灯，暖光照在亚麻桌布上。",
            "operation": "imagine",
            "version": "8.2",
            "size": "3:4",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "俯视木质工作台，光线柔和，画面整洁。",
            "operation": "imagine",
            "version": "8.2",
            "aspect_ratio": "16:9",
            "hd": true,
            "raw": true,
            "stylize": 150,
            "chaos": 8,
            "seed": 421,
            "no": "文字、水印",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "靛蓝色印花布料，细密的重复几何图案。",
            "operation": "imagine",
            "tile": true,
            "weird": 30,
            "stop": 90,
            "size": "1:1",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "动画背景，海边小站，雨后的蓝色夜空。",
            "operation": "imagine",
            "niji_version": "7",
            "size": "16:9",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "保留参考图里的球体轮廓，改成磨砂玻璃材质。",
            "operation": "imagine",
            "image": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
            "iw": 1.5,
            "size": "1:1",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "使用第一张的主体和第二张的配色，生成棚拍静物。",
            "operation": "imagine",
            "images": [
              {
                "image_url": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png"
              },
              {
                "image_url": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
              }
            ],
            "size": "4:3",
            "n": 1,
            "response_format": "url",
            "version": "8.2"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "保留素材主体，调整背景颜色。",
            "operation": "imagine",
            "images": [
              {
                "file_id": "${MJ_FILE_ID}"
              }
            ],
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "保持桌灯构图，使用参考图的色彩风格。",
            "operation": "imagine",
            "sref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
            "sw": 180,
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "同一角色的半身插画，背景简洁。",
            "operation": "imagine",
            "version": "6.1",
            "cref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
            "cw": 75,
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "保留参考物体的外形，换为工业设计展示背景。",
            "operation": "imagine",
            "version": "7",
            "oref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
            "ow": 200,
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "沿用参考图的前后景层次，改成柔和自然光。",
            "operation": "imagine",
            "version": "8.2",
            "dref": [
              "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
              "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
            ],
            "dw": 120,
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "日光下的一间小型陶艺工作室。",
            "operation": "imagine",
            "personalize": {
              "profiles": [
                "${MJ_PROFILE}"
              ]
            },
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "蓝色玻璃花瓶，背景干净。",
            "operation": "imagine",
            "size": "1:1",
            "response_format": "b64_json",
            "n": 1
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "以极简海报呈现玻璃茶具。",
            "operation": "imagine",
            "params": {
              "style": "raw",
              "negative_prompt": "字幕、水印",
              "seed": 0
            },
            "output_format": "png",
            "resolution": "2k",
            "size": "2048x2048",
            "n": 1,
            "response_format": "url"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "融合两张素材的颜色与构图。",
            "operation": "blend",
            "images": [
              "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
              "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
            ],
            "size": "1:1"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "描述这张图的主体、材质和光线。",
            "operation": "describe",
            "image": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "放大第二张。",
            "operation": "upscale",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "index": 2
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "为第三张生成变体。",
            "operation": "variation",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "index": 3
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "按原任务重新生成候选。",
            "operation": "reroll",
            "task_id": "${MJ_PARENT_TASK_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "生成差异较大的变体。",
            "operation": "high_variation",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "微调原来的画面。",
            "operation": "low_variation",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "扩大原画面的视野。",
            "operation": "zoom",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "准备自定义缩放。",
            "operation": "custom_zoom",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "向右扩展原来的画面。",
            "operation": "pan",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "准备修改画面中的局部。",
            "operation": "inpaint",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "将画面的光线改为清晨。",
            "operation": "remix",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}",
            "enable_remix": true
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "执行原任务返回的所选按钮。",
            "operation": "action",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "custom_id": "${MJ_CUSTOM_ID}"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "选择第一张生成变体。",
            "operation": "change",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "action": "VARIATION",
            "index": 1
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "放大第一张。",
            "operation": "simple_change",
            "content": "${MJ_PARENT_TASK_ID} U1"
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "保持中心主体，扩展为更宽的空间。",
            "operation": "modal",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "zoom_ratio": 1.5
          },
          {
            "model": "Midjourney-全系列",
            "prompt": "把蒙版区域改为绿色陶釉。",
            "operation": "modal",
            "task_id": "${MJ_PARENT_TASK_ID}",
            "mask": "${MJ_MASK_BASE64}"
          }
        ],
        "description": "页面显示 Midjourney。新调用的 model 填 Midjourney-全系列，省略版本默认 v8.2。可用 version 切换 MJ，或用 niji_version 选择 Niji 5、6、7，两者二选一。原固定型号和已有请求写法继续兼容。 普通参考图用 POST /v1/images/edits，JSON 使用有序的 images 对象数组，每项填写 image_url 或同一 API Key 上传所得的 file_id。本地文件用 multipart 重复提交 image[]。普通参考 1 至 5 张，blend 为 2 至 5 张，describe 为 1 张。旧 URL 字符串数组继续兼容。 新请求建议只指定一处画幅。旧固定型号的 imagine 请求仅在收到默认 size=1024x1024、提示词中有唯一合法的 --ar 或 --aspect、且没有其他显式尺寸或画幅字段时，沿用提示词画幅。"
      }
    }
  },
  "paths": {
    "/v1/images/generations": {
      "post": {
        "operationId": "generateImage",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9._:-]{8,128}$"
            },
            "description": "本站扩展；同一次逻辑请求重试复用，改请求体或新任务用新号"
          },
          {
            "name": "Prefer",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "本站扩展：respond-async 或 wait=0..120，不能同时使用，也不能与stream=true混用"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ImageGenerationRequest"
                  },
                  {
                    "$ref": "#/components/schemas/MidjourneyFullRequest"
                  }
                ]
              },
              "example": {
                "model": "NanoBanana2",
                "prompt": "A red ceramic teapot on a pale wooden table, soft natural light, no text.",
                "size": "1024x1024",
                "quality": "standard",
                "n": 1,
                "response_format": "b64_json"
              },
              "examples": {
                "mj_full": {
                  "summary": "文生图 · 返回四张 URL",
                  "description": "普通生成一次提交，成功后遍历 data 中的四个结果。保存本次 Idempotency-Key 便于查询原单。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "一盏青瓷台灯，暖光照在亚麻桌布上。",
                    "operation": "imagine",
                    "version": "8.2",
                    "size": "3:4",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_advanced": {
                  "summary": "高清、画幅与随机种子",
                  "description": "v8.1 和 v8.2 使用 hd 选择高清。1K 时移除提示词中的 --hd，2K 可写 hd=true。官网 V8 不支持 --q，示例省略 quality。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "俯视木质工作台，光线柔和，画面整洁。",
                    "operation": "imagine",
                    "version": "8.2",
                    "aspect_ratio": "16:9",
                    "hd": true,
                    "raw": true,
                    "stylize": 150,
                    "chaos": 8,
                    "seed": 421,
                    "no": "文字、水印",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_tile": {
                  "summary": "无缝纹样与生成进度",
                  "description": "",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "靛蓝色印花布料，细密的重复几何图案。",
                    "operation": "imagine",
                    "tile": true,
                    "weird": 30,
                    "stop": 90,
                    "size": "1:1",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_niji": {
                  "summary": "选择 Niji 版本",
                  "description": "使用 niji_version 选择 Niji 5、6 或 7，同一请求只选择一个版本系列。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "动画背景，海边小站，雨后的蓝色夜空。",
                    "operation": "imagine",
                    "niji_version": "7",
                    "size": "16:9",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_style_reference": {
                  "summary": "风格参考 · sref / sw",
                  "description": "",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "保持桌灯构图，使用参考图的色彩风格。",
                    "operation": "imagine",
                    "sref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                    "sw": 180,
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_character": {
                  "summary": "角色参考 · cref / cw",
                  "description": "角色参考适用于 v6、v6.1 和 Niji 6。请将示例参考图换成自己的角色图片。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "同一角色的半身插画，背景简洁。",
                    "operation": "imagine",
                    "version": "6.1",
                    "cref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                    "cw": 75,
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_omni": {
                  "summary": "对象参考 · oref / ow",
                  "description": "对象参考使用 Midjourney v7。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "保留参考物体的外形，换为工业设计展示背景。",
                    "operation": "imagine",
                    "version": "7",
                    "oref": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                    "ow": 200,
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_depth": {
                  "summary": "深度参考 · dref / dw",
                  "description": "dref 接受单个公网图片 URL 或有序数组，适用于 imagine。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "沿用参考图的前后景层次，改成柔和自然光。",
                    "operation": "imagine",
                    "version": "8.2",
                    "dref": [
                      "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                      "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
                    ],
                    "dw": 120,
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_personalize": {
                  "summary": "使用个性化配置",
                  "description": "将自己可用的个性化配置代码设为 MJ_PROFILE。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "日光下的一间小型陶艺工作室。",
                    "operation": "imagine",
                    "personalize": {
                      "profiles": [
                        "${MJ_PROFILE}"
                      ]
                    },
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_inline": {
                  "summary": "返回内联 Base64",
                  "description": "逐项读取 data[].b64_json 并按文件格式解码。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "蓝色玻璃花瓶，背景干净。",
                    "operation": "imagine",
                    "size": "1:1",
                    "response_format": "b64_json",
                    "n": 1
                  }
                },
                "mj_legacy_options": {
                  "summary": "旧客户端兼容字段",
                  "description": "params 可容纳兼容字段。output_format 选择文件编码，response_format 选择链接或内联数据；实际像素见成品。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "以极简海报呈现玻璃茶具。",
                    "operation": "imagine",
                    "params": {
                      "style": "raw",
                      "negative_prompt": "字幕、水印",
                      "seed": 0
                    },
                    "output_format": "png",
                    "resolution": "2k",
                    "size": "2048x2048",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_upscale": {
                  "summary": "放大选中的一张",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "放大第二张。",
                    "operation": "upscale",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "index": 2
                  }
                },
                "mj_variation": {
                  "summary": "变体 · 指定序号",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "为第三张生成变体。",
                    "operation": "variation",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "index": 3
                  }
                },
                "mj_reroll": {
                  "summary": "重新抽取",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "按原任务重新生成候选。",
                    "operation": "reroll",
                    "task_id": "${MJ_PARENT_TASK_ID}"
                  }
                },
                "mj_high_variation": {
                  "summary": "高幅度变体",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "生成差异较大的变体。",
                    "operation": "high_variation",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_low_variation": {
                  "summary": "低幅度变体",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "微调原来的画面。",
                    "operation": "low_variation",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_zoom": {
                  "summary": "扩展视野",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "扩大原画面的视野。",
                    "operation": "zoom",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_custom_zoom": {
                  "summary": "自定义缩放",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。 需要确认时先读取 interaction，状态为 REQUIRES_ACTION 后再提交 modal。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "准备自定义缩放。",
                    "operation": "custom_zoom",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_pan": {
                  "summary": "平移扩图",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "向右扩展原来的画面。",
                    "operation": "pan",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_inpaint": {
                  "summary": "选择局部重绘",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。 需要确认时先读取 interaction，状态为 REQUIRES_ACTION 后再提交 modal。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "准备修改画面中的局部。",
                    "operation": "inpaint",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_remix": {
                  "summary": "Remix · 修改提示词",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。 需要确认时先读取 interaction，状态为 REQUIRES_ACTION 后再提交 modal。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "将画面的光线改为清晨。",
                    "operation": "remix",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}",
                    "enable_remix": true
                  }
                },
                "mj_action": {
                  "summary": "执行原任务按钮",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。 MJ_CUSTOM_ID 取该父任务 mj.buttons 中与所选动作对应的真实 customId。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "执行原任务返回的所选按钮。",
                    "operation": "action",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "custom_id": "${MJ_CUSTOM_ID}"
                  }
                },
                "mj_change": {
                  "summary": "基础动作 · VARIATION",
                  "description": "MJ_PARENT_TASK_ID 取同一 API Key 的原结果 mj.task_id。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "选择第一张生成变体。",
                    "operation": "change",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "action": "VARIATION",
                    "index": 1
                  }
                },
                "mj_simple_change": {
                  "summary": "简写动作 · U1 / V1 / R",
                  "description": "content 为原 mj.task_id、一个空格和所选命令。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "放大第一张。",
                    "operation": "simple_change",
                    "content": "${MJ_PARENT_TASK_ID} U1"
                  }
                },
                "mj_modal_zoom": {
                  "summary": "确认自定义缩放",
                  "description": "使用当前等待确认的交互任务 mj.task_id，在原任务期限内确认，沿用原预扣。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "保持中心主体，扩展为更宽的空间。",
                    "operation": "modal",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "zoom_ratio": 1.5
                  }
                },
                "mj_modal_mask": {
                  "summary": "确认局部重绘 · 同尺寸 PNG",
                  "description": "将当前等待确认的交互任务 ID 设为 MJ_PARENT_TASK_ID。将与源图像素尺寸完全一致的 PNG 蒙版路径设为 MJ_MASK_FILE。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "把蒙版区域改为绿色陶釉。",
                    "operation": "modal",
                    "task_id": "${MJ_PARENT_TASK_ID}",
                    "mask": "${MJ_MASK_BASE64}"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "同步图片结果；stream=true时为完成事件SSE",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "example": "event: image_edit.completed\ndata: {\"type\":\"image_edit.completed\",\"b64_json\":\"...\"}\n\n"
              }
            }
          },
          "202": {
            "description": "异步受理/等待期限内未完成；保存id并查询原任务",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageTask"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Task-ID": {
                "schema": {
                  "type": "string"
                }
              },
              "Idempotency-Key": {
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "参数/素材格式/角色/不支持的原生功能"
          },
          "401": {
            "description": "本站Key无效或缺失"
          },
          "403": {
            "description": "模型权限或审核拒绝"
          },
          "409": {
            "description": "相同幂等号被用于不同请求"
          },
          "413": {
            "description": "单文件/请求/解码预算超限"
          },
          "503": {
            "description": "过载、素材准备或上游暂不可用；先确认提交阶段"
          }
        }
      }
    },
    "/v1/images/edits": {
      "post": {
        "operationId": "editImage",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9._:-]{8,128}$"
            },
            "description": "本站扩展；同一次逻辑请求重试复用，改请求体或新任务用新号"
          },
          {
            "name": "Prefer",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "本站扩展：respond-async 或 wait=0..120，不能同时使用，也不能与stream=true混用"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/ImageEditRequest"
                  },
                  {
                    "$ref": "#/components/schemas/MidjourneyFullRequest"
                  }
                ]
              },
              "example": {
                "model": "NanoBanana2",
                "prompt": "Keep the red ball; change the background.",
                "size": "1024x1024",
                "quality": "standard",
                "n": 1,
                "response_format": "b64_json",
                "images": [
                  {
                    "image_url": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png"
                  }
                ]
              },
              "examples": {
                "mj_json_reference": {
                  "summary": "单张参考图与权重",
                  "description": "",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "保留参考图里的球体轮廓，改成磨砂玻璃材质。",
                    "operation": "imagine",
                    "image": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                    "iw": 1.5,
                    "size": "1:1",
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_multi_reference": {
                  "summary": "多张普通参考图 · OpenAI JSON",
                  "description": "使用有序的 images 对象数组。每项填写 image_url 或同一 API Key 上传所得的 file_id。普通参考图支持 1 至 5 张。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "使用第一张的主体和第二张的配色，生成棚拍静物。",
                    "operation": "imagine",
                    "images": [
                      {
                        "image_url": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png"
                      },
                      {
                        "image_url": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
                      }
                    ],
                    "size": "4:3",
                    "n": 1,
                    "response_format": "url",
                    "version": "8.2"
                  }
                },
                "mj_file_id": {
                  "summary": "复用已上传的 file_id",
                  "description": "先用同一 API Key 向 POST /v1/files 上传文件，字段为 file 和 purpose=vision，再把返回的 id 设为 MJ_FILE_ID。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "保留素材主体，调整背景颜色。",
                    "operation": "imagine",
                    "images": [
                      {
                        "file_id": "${MJ_FILE_ID}"
                      }
                    ],
                    "n": 1,
                    "response_format": "url"
                  }
                },
                "mj_blend": {
                  "summary": "混图 · 2 至 5 张",
                  "description": "混图需要二至五张普通参考图。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "融合两张素材的颜色与构图。",
                    "operation": "blend",
                    "images": [
                      "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png",
                      "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-ref-20260907.png"
                    ],
                    "size": "1:1"
                  }
                },
                "mj_describe": {
                  "summary": "反推提示词 · 返回文字",
                  "description": "反推需要一张图，终态结果读取 mj.description。",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "描述这张图的主体、材质和光线。",
                    "operation": "describe",
                    "image": "https://xinfeng.best/video-api-docs/test-assets/acceptance-ball-20260907.png"
                  }
                }
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/ImageEditMultipart"
              },
              "encoding": {
                "image": {
                  "contentType": "image/png, image/jpeg, image/webp"
                },
                "image[]": {
                  "contentType": "image/png, image/jpeg, image/webp"
                },
                "mask": {
                  "contentType": "image/png"
                }
              },
              "examples": {
                "mj_multipart": {
                  "summary": "上传本地图片 · multipart",
                  "value": {
                    "model": "Midjourney-全系列",
                    "prompt": "以两张本地图片为参考设计一张海报。",
                    "operation": "imagine",
                    "size": "3:4",
                    "n": 1,
                    "response_format": "url",
                    "image[]": [
                      "(binary reference-1.png)",
                      "(binary reference-2.png)"
                    ]
                  },
                  "description": "本地参考文件使用 multipart/form-data，重复提交 image[] 字段并保留文件顺序。"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "同步图片结果；stream=true时为完成事件SSE",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImagesResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "example": "event: image_edit.completed\ndata: {\"type\":\"image_edit.completed\",\"b64_json\":\"...\"}\n\n"
              }
            }
          },
          "202": {
            "description": "异步受理/等待期限内未完成；保存id并查询原任务",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageTask"
                }
              }
            },
            "headers": {
              "Location": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Task-ID": {
                "schema": {
                  "type": "string"
                }
              },
              "Idempotency-Key": {
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "参数/素材格式/角色/不支持的原生功能"
          },
          "401": {
            "description": "本站Key无效或缺失"
          },
          "403": {
            "description": "模型权限或审核拒绝"
          },
          "409": {
            "description": "相同幂等号被用于不同请求"
          },
          "413": {
            "description": "单文件/请求/解码预算超限"
          },
          "503": {
            "description": "过载、素材准备或上游暂不可用；先确认提交阶段"
          }
        }
      }
    },
    "/v1/images/tasks": {
      "get": {
        "operationId": "findImageTask",
        "summary": "本站图片任务扩展：列表或按幂等号恢复",
        "parameters": [
          {
            "name": "idempotency_key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "有idempotency_key时返回单任务，否则object:list/data列表",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ImageTask"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "object": {
                          "const": "list"
                        },
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/ImageTask"
                          }
                        }
                      },
                      "required": [
                        "object",
                        "data"
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/v1/images/tasks/{task_id}": {
      "parameters": [
        {
          "name": "task_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "get": {
        "operationId": "getImageTask",
        "responses": {
          "200": {
            "description": "原任务状态；不再次生成",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageTask"
                }
              }
            }
          },
          "404": {
            "description": "不存在、过期或其他Key的任务"
          }
        }
      }
    },
    "/v1/images/tasks/{task_id}/result": {
      "parameters": [
        {
          "name": "task_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ],
      "get": {
        "operationId": "getImageTaskResult",
        "responses": {
          "200": {
            "description": "原任务已完成结果",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImagesResponse"
                }
              }
            }
          },
          "202": {
            "description": "尚未完成",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageTask"
                }
              }
            }
          },
          "400": {
            "description": "原任务失败；保留原错误"
          },
          "404": {
            "description": "不存在、过期或其他Key的任务"
          }
        }
      }
    },
    "/v1beta/models/{model}:generateContent": {
      "post": {
        "operationId": "geminiImage",
        "summary": "Gemini独立图片兼容协议，不属于OpenAI Images",
        "security": [
          {
            "geminiKey": []
          },
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "required": true,
            "schema": {
              "enum": [
                "NanoBanana2",
                "NanoBananaPro",
                "Nanobanana2.1"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contents": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "generationConfig": {
                    "type": "object"
                  }
                },
                "required": [
                  "contents"
                ]
              },
              "example": {
                "contents": [
                  {
                    "role": "user",
                    "parts": [
                      {
                        "text": "A red ceramic teapot on a pale wooden table, soft natural light, no text."
                      }
                    ]
                  }
                ],
                "generationConfig": {
                  "responseModalities": [
                    "TEXT",
                    "IMAGE"
                  ],
                  "imageConfig": {
                    "aspectRatio": "1:1",
                    "imageSize": "1K"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "读取candidates[].content.parts[].inlineData.{mimeType,data}，不是只读取text",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/files": {
      "post": {
        "operationId": "uploadMediaFile",
        "summary": "上传参考素材；不生成图片或视频",
        "description": "同一API Key隔离，默认7天；单文件128MiB和总字节预算不代表模型允许128MiB。purpose=vision用于图片参考，供应商/模型素材检查仍独立执行。",
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  },
                  "purpose": {
                    "type": "string",
                    "enum": [
                      "vision",
                      "user_data",
                      "assistants",
                      "batch",
                      "fine-tune",
                      "evals"
                    ]
                  }
                },
                "required": [
                  "file",
                  "purpose"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "已保存文件；保留返回id和expires_at",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenAIFile"
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "listMediaFiles",
        "summary": "只列出同Key文件",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000
            }
          },
          {
            "name": "after",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "purpose",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "分页文件列表",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenAIFileList"
                }
              }
            }
          }
        }
      }
    },
    "/v1/files/{file_id}": {
      "parameters": [
        {
          "name": "file_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "pattern": "^file_[A-Za-z0-9_-]{20,96}$"
          }
        }
      ],
      "get": {
        "operationId": "retrieveMediaFile",
        "responses": {
          "200": {
            "description": "同Key文件元数据",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenAIFile"
                }
              }
            }
          },
          "404": {
            "description": "不存在、过期或不属于此Key"
          }
        }
      },
      "delete": {
        "operationId": "deleteMediaFile",
        "responses": {
          "200": {
            "description": "删除同Key文件",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenAIFileDeleted"
                }
              }
            }
          },
          "404": {
            "description": "不存在、过期或不属于此Key"
          }
        }
      }
    },
    "/v1/files/{file_id}/content": {
      "parameters": [
        {
          "name": "file_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "pattern": "^file_[A-Za-z0-9_-]{20,96}$"
          }
        }
      ],
      "get": {
        "operationId": "readMediaFile",
        "responses": {
          "200": {
            "description": "原始文件字节，不是生成结果",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "不存在、过期或不属于此Key"
          }
        }
      }
    },
    "/draw/api/v1/media-capabilities": {
      "get": {
        "operationId": "publicMediaCapabilities",
        "summary": "只读公开媒体能力，用于模型广场示例/参数",
        "description": "不需要Key，不授予生成权限；与按Key目录不同。仅公开可售型号与能力，不含内部渠道、供应商、Key或路由模型。加载失败不能回退猜测的型号/规格。",
        "security": [],
        "responses": {
          "200": {
            "description": "当前公开能力；outputs/durations/references/request为参数依据",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MediaCapabilities"
                }
              }
            }
          },
          "503": {
            "description": "能力暂不可读；停止生成示例并稍后重试"
          }
        }
      }
    },
    "/draw/api/v1/image-models": {
      "get": {
        "operationId": "getKeyImagemodels",
        "description": "同一Bearer API Key的实际可见能力；不是匿名公开目录",
        "responses": {
          "200": {
            "description": "object:list/data[]当前可用型号及能力",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/draw/api/v1/video-models": {
      "get": {
        "operationId": "getKeyVideomodels",
        "description": "同一Bearer API Key的实际可见能力；不是匿名公开目录",
        "responses": {
          "200": {
            "description": "object:list/data[]当前可用型号及能力",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/chat/completions": {
      "post": {
        "operationId": "seedreamBChatImage",
        "tags": [
          "Images"
        ],
        "summary": "seedream-5.0 图片 Chat Completions",
        "description": "本操作说明B型号的图片用法；其余Chat型号不在本说明的能力范围。图片从choices[].message.content读取，按有效图片数结算。",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "model",
                  "messages"
                ],
                "properties": {
                  "model": {
                    "type": "string",
                    "example": "seedream-5.0"
                  },
                  "messages": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "size": {
                    "type": "string",
                    "example": "2560x1440"
                  },
                  "n": {
                    "type": "integer",
                    "minimum": 1,
                    "default": 1
                  },
                  "stream": {
                    "type": "boolean",
                    "default": false
                  }
                }
              },
              "example": {
                "model": "seedream-5.0",
                "messages": [
                  {
                    "role": "user",
                    "content": "A red ceramic teapot on a white table, soft daylight, no text."
                  }
                ],
                "size": "2560x1440",
                "n": 1,
                "stream": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Chat响应；读取choices[].message.content中的Markdown图片链接或image_url内容项，不按Images data[]解析。",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://xinfeng.best/video-api-docs/seedream-5-0.html"
        },
        "x-model-scope": [
          "seedream-5.0"
        ]
      }
    },
    "/v1beta/models/seedream-5.0:generateContent": {
      "post": {
        "operationId": "seedreamBNativeImage",
        "tags": [
          "Images"
        ],
        "summary": "seedream-5.0 Gemini原生图片接口",
        "description": "B型号使用固定本站model路径，正文保留contents与generationConfig。参数目录是已知参考，不构成本站额外能力白名单。",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "contents"
                ],
                "properties": {
                  "contents": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  },
                  "generationConfig": {
                    "type": "object"
                  }
                }
              },
              "example": {
                "contents": [
                  {
                    "role": "user",
                    "parts": [
                      {
                        "text": "A red ceramic teapot on a white table, soft daylight, no text."
                      }
                    ]
                  }
                ],
                "generationConfig": {
                  "candidateCount": 1,
                  "imageConfig": {
                    "imageSize": "2k",
                    "aspectRatio": "16:9",
                    "delivery": "uri"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "遍历candidates[].content.parts[]；读取fileData.fileUri或inlineData.{mimeType,data}。delivery=uri/inline位于generationConfig.imageConfig内。",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "externalDocs": {
          "url": "https://xinfeng.best/video-api-docs/seedream-5-0.html"
        },
        "x-model-scope": [
          "seedream-5.0"
        ]
      }
    },
    "/v1/images/tasks/{task_id}/interaction": {
      "get": {
        "summary": "读取同属主 MJ 任务的按钮和窗口状态",
        "parameters": [
          {
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "同一调用凭据的原任务状态"
          },
          "404": {
            "description": "原任务不可用"
          },
          "401": {
            "description": "使用同一 API Key 查询。"
          }
        }
      }
    }
  },
  "x-model-native-options": {
    "Midjourney v6": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "1K": "1k"
        }
      },
      "quality": {
        "supported": true,
        "type": "string",
        "required": false,
        "default": "auto",
        "values": [
          "auto",
          "standard",
          "medium",
          "low",
          "high",
          "hd",
          "0.25",
          "0.5",
          "1",
          "2",
          "4"
        ]
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY",
          "NIJI_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "6"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": true,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": true,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": false,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "Midjourney v6.1": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "1K": "1k"
        }
      },
      "quality": {
        "supported": true,
        "type": "string",
        "required": false,
        "default": "auto",
        "values": [
          "auto",
          "standard",
          "medium",
          "low",
          "high",
          "hd",
          "0.25",
          "0.5",
          "1",
          "2",
          "4"
        ]
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "6.1"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": true,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": true,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": false,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "Midjourney v7": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "1K": "1k"
        }
      },
      "quality": {
        "supported": true,
        "type": "string",
        "required": false,
        "default": "auto",
        "values": [
          "auto",
          "standard",
          "medium",
          "low",
          "high",
          "hd",
          "0.25",
          "0.5",
          "1",
          "2",
          "4"
        ]
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY",
          "NIJI_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "7"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": false,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": true,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": true,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "Midjourney v8.1": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "2K": "2k",
          "hd": "2k"
        }
      },
      "quality": {
        "supported": false,
        "type": "string",
        "compatibility_aliases": [
          "auto",
          "standard",
          "medium",
          "1"
        ],
        "not_applicable_to": [
          "v8.1",
          "v8.2"
        ],
        "description": "该版本没有独立 quality 或 --q 选项。用 1K、2K 或 hd 选择清晰度。旧客户端默认值会兼容省略。"
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "8.1"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": false,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": false,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "Midjourney v8.2": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "2K": "2k",
          "hd": "2k"
        }
      },
      "quality": {
        "supported": false,
        "type": "string",
        "compatibility_aliases": [
          "auto",
          "standard",
          "medium",
          "1"
        ],
        "not_applicable_to": [
          "v8.1",
          "v8.2"
        ],
        "description": "该版本没有独立 quality 或 --q 选项。用 1K、2K 或 hd 选择清晰度。旧客户端默认值会兼容省略。"
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "8.2"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": false,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": false,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": false,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "Image-2.5-Flare": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Image-2.5-Flare-01": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Image-2.5-Flare-02": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Image-2.5-Sunburst": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Image-2.5-Sunburst-01": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Image-2.5-Sunburst-02": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "NanoBanana2": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Nanobanana2.1": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "NanoBananaPro": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Seedream 5.0 Pro": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "image-2.0-01": {
      "mask": {
        "supported": true
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque",
          "transparent"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png",
          "jpeg",
          "webp"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": true,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k",
          "4k"
        ],
        "omitted_behavior": "preserve_existing_default",
        "description": "本站分辨率档位扩展；与 size、aspect_ratio 同时传入时须匹配同一输出规格，最终按兼容渠道能力选择。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "aspect_ratio": {
        "supported": true,
        "type": "string",
        "omitted_behavior": "preserve_existing_default",
        "description": "本站画幅扩展；须与 size 和 resolution 一致。自定义像素尺寸保留原值，不静默缩放。"
      }
    },
    "Midjourney-全系列": {
      "mask": {
        "supported": true,
        "type": "string",
        "requires": {
          "operation": "modal"
        }
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "type": "string",
        "values": [
          "png",
          "jpeg"
        ],
        "description": "上游输出编码；最终格式以成品 MIME 为准。",
        "default": "jpeg"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": true,
        "type": "boolean"
      },
      "resolution": {
        "supported": true,
        "type": "string",
        "values": [
          "1k",
          "2k"
        ],
        "description": "目标清晰度；v8.1/v8.2 的 2k 自动转换为 hd=true。",
        "default": "1k",
        "aliases": {
          "2K": "2k",
          "hd": "2k"
        }
      },
      "quality": {
        "supported": true,
        "type": "string",
        "required": false,
        "default": "auto",
        "values": [
          "auto",
          "standard",
          "medium",
          "low",
          "high",
          "hd",
          "0.25",
          "0.5",
          "1",
          "2",
          "4"
        ],
        "not_applicable_to": [
          "v8.1",
          "v8.2"
        ],
        "compatibility_aliases_on_v8": [
          "auto",
          "standard",
          "medium",
          "1"
        ],
        "description": "quality 和 --q 依所选版本生效。v8.1 和 v8.2 使用 1K、2K 或 hd；旧客户端默认值会兼容省略。"
      },
      "style": {
        "supported": true,
        "type": "string",
        "values": [
          "",
          "raw"
        ],
        "description": "渲染模式，空字符串为默认。"
      },
      "stylize": {
        "supported": true,
        "type": "integer"
      },
      "chaos": {
        "supported": true,
        "type": "integer"
      },
      "seed": {
        "supported": true,
        "type": "integer"
      },
      "sref": {
        "supported": true,
        "type": "string"
      },
      "sw": {
        "supported": true,
        "type": "integer"
      },
      "iw": {
        "supported": true,
        "type": "number"
      },
      "tile": {
        "supported": true,
        "type": "boolean"
      },
      "weird": {
        "supported": true,
        "type": "integer"
      },
      "negative_prompt": {
        "supported": true,
        "type": "string",
        "description": "排除内容，填写纯文本。"
      },
      "mode": {
        "supported": true,
        "type": "string",
        "values": [
          "text-to-image"
        ],
        "description": "当前渠道支持文本加最多 1 张参考图。",
        "default": "text-to-image",
        "unavailable_values": [
          "multi-reference"
        ],
        "unavailable_reason": "当前上游账号锁定渠道最多支持 1 张参考图；多图融合已实测不可用。",
        "compatibility_values": [
          "image-edit"
        ]
      },
      "bot_type": {
        "supported": true,
        "type": "string",
        "values": [
          "MID_JOURNEY"
        ],
        "description": "引擎；Niji 仅限 v6/v7。",
        "default": "MID_JOURNEY",
        "aliases": [
          "botType"
        ]
      },
      "version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "5.1",
          "5.2",
          "6",
          "6.1",
          "7",
          "8",
          "8.1",
          "8.2"
        ]
      },
      "aspect_ratio": {
        "supported": true,
        "type": "string"
      },
      "count": {
        "supported": true,
        "type": "integer",
        "minimum": 1,
        "maximum": 1,
        "default": 1,
        "aliases": [
          "n"
        ],
        "description": "当前仅开放单次生成，n/count须为1；一次可能返回多张候选图。"
      },
      "extra": {
        "supported": true,
        "type": "string",
        "description": "使用双横线的 MJ 高级参数；已知参数自动归一化，速度开关按上游规则移除，禁止 repeat/video 改变计费次数或任务类型。"
      },
      "cref": {
        "supported": true,
        "type": "string",
        "required": false,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "cw": {
        "supported": true,
        "type": "integer",
        "required": false,
        "minimum": 0,
        "maximum": 100,
        "applies_to": [
          "v6",
          "v6.1",
          "niji6"
        ],
        "description": "适用版本为 v6、v6.1、niji6。"
      },
      "stop": {
        "supported": true,
        "type": "integer"
      },
      "draft": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "description": "草稿模式；v7/v8.1。"
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ],
      "model": {
        "supported": true,
        "type": "string"
      },
      "prompt": {
        "supported": true,
        "type": "string"
      },
      "niji_version": {
        "supported": true,
        "type": "string",
        "values": [
          "5",
          "6",
          "7"
        ]
      },
      "operation": {
        "supported": true,
        "type": "string",
        "values": [
          "imagine",
          "blend",
          "describe",
          "upscale",
          "variation",
          "reroll",
          "high_variation",
          "low_variation",
          "zoom",
          "custom_zoom",
          "pan",
          "inpaint",
          "remix",
          "modal",
          "action",
          "change",
          "simple_change"
        ]
      },
      "action": {
        "supported": true,
        "type": "string",
        "values": [
          "UPSCALE",
          "VARIATION",
          "REROLL"
        ]
      },
      "size": {
        "supported": true,
        "type": "string",
        "values": [
          "auto",
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "5:4",
          "4:5",
          "16:9",
          "9:16",
          "21:9"
        ]
      },
      "response_format": {
        "supported": true,
        "type": "string",
        "values": [
          "url",
          "b64_json"
        ]
      },
      "image": {
        "supported": true,
        "type": "string"
      },
      "images": {
        "supported": true,
        "type": "array"
      },
      "raw": {
        "supported": true,
        "type": "boolean"
      },
      "no": {
        "supported": true,
        "type": "string"
      },
      "oref": {
        "supported": true,
        "type": "string",
        "required": false,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "ow": {
        "supported": true,
        "type": "number",
        "required": false,
        "minimum": 0,
        "maximum": 1000,
        "applies_to": [
          "v7"
        ],
        "description": "适用版本为 v7。"
      },
      "dref": {
        "supported": true,
        "type": "string",
        "accepted_types": [
          "string",
          "array"
        ],
        "operation": "imagine",
        "ordered": true
      },
      "dw": {
        "supported": true,
        "type": "number"
      },
      "personalize": {
        "supported": true,
        "type": "json",
        "accepted_types": [
          "boolean",
          "string",
          "array",
          "object"
        ]
      },
      "task_id": {
        "supported": true,
        "type": "string"
      },
      "custom_id": {
        "supported": true,
        "type": "string"
      },
      "index": {
        "supported": true,
        "type": "integer"
      },
      "zoom_ratio": {
        "supported": true,
        "type": "number"
      },
      "enable_remix": {
        "supported": true,
        "type": "boolean"
      },
      "content": {
        "supported": true,
        "type": "string"
      },
      "n": {
        "supported": true,
        "type": "integer"
      }
    },
    "image-2.6-Flare-02": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": false,
        "type": "string",
        "values": [
          "1k"
        ],
        "default": "1k",
        "aliases": {},
        "description": "Only the default 1k target is available for this MJ version."
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ]
    },
    "image-2.6-Sunburst-02": {
      "mask": {
        "supported": false
      },
      "background": {
        "supported": true,
        "values": [
          "auto",
          "opaque"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_format": {
        "supported": true,
        "values": [
          "png"
        ],
        "omitted_behavior": "preserve_existing_default"
      },
      "output_compression": {
        "supported": false,
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "omitted_behavior": "preserve_existing_default"
      },
      "hd": {
        "supported": false,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "available_when": [],
        "description": "This MJ version has no provider HD/2K option."
      },
      "resolution": {
        "supported": false,
        "type": "string",
        "values": [
          "1k"
        ],
        "default": "1k",
        "aliases": {},
        "description": "Only the default 1k target is available for this MJ version."
      },
      "input_fidelity": {
        "supported": false,
        "reason": "No faithful implementation for current models; omit this field"
      },
      "stream": {
        "supported": true,
        "type": "boolean",
        "values": [
          false,
          true
        ],
        "default": false,
        "n": 1,
        "partial_images": 0,
        "events": [
          "image_generation.completed",
          "image_edit.completed"
        ]
      },
      "partial_images": {
        "supported": true,
        "values": [
          0
        ],
        "requires": {
          "stream": true
        }
      },
      "constraints": [
        {
          "when": {
            "background": "transparent"
          },
          "not": {
            "output_format": "jpeg"
          },
          "error_code": "invalid_parameter"
        }
      ]
    }
  },
  "x-model-quality-aliases": {
    "Seedream 5.0 Pro": {
      "accepted_values": [
        "auto",
        "standard",
        "low",
        "medium",
        "high",
        "hd"
      ],
      "actual_qualities": [
        "standard"
      ],
      "semantics": "fixed_native_quality",
      "applies_to": [
        "/v1/images/generations",
        "/v1/images/edits"
      ],
      "content_types": [
        "application/json",
        "multipart/form-data"
      ],
      "description": "所有兼容别名使用该型号同一固定原生质量；尺寸由size/resolution控制，按既有每张价格计费。"
    }
  },
  "x-image-contract-version": "2026-10-23.1",
  "x-platform-image-contract": {
    "protocol": "openai-images-compatible",
    "full_openai_feature_parity": false,
    "primary_endpoints": [
      "/v1/images/generations",
      "/v1/images/edits"
    ],
    "extensions": [
      "resolution",
      "aspect_ratio",
      "Prefer",
      "/v1/images/tasks"
    ],
    "capabilities": "per-model and per-channel, preserve explicit public semantics",
    "reviewed_at": "2026-10-23",
    "official_reference": "https://developers.openai.com/api/reference/resources/images/methods/generate",
    "parameter_policy": {
      "validation": "upstream",
      "catalog_values": "advisory",
      "preserve_original_parameters": true,
      "transport_max_n": 128,
      "legacy_calls_preserved": true
    },
    "parameter_support_authority": "upstream",
    "reference_support_authority": "upstream",
    "catalog_values_are_advisory": true
  },
  "x-midjourney-single-generation": {
    "version": "mj-single-0.20-four-v4",
    "models": [
      "Midjourney-全系列",
      "Midjourney v6",
      "Midjourney v6.1",
      "Midjourney v7",
      "Midjourney v8.1",
      "Midjourney v8.2"
    ],
    "n": 1,
    "count": 1,
    "default": 1,
    "unit": "generation",
    "base_price_credits": 0.2,
    "error_http": 400,
    "error_code": "mj_single_generation_only",
    "existing_tasks_preserved": true,
    "multiple_candidate_images_are_one_generation": true,
    "candidate_images_per_generation": 4,
    "native_grid_delivery": "four_lossless_crops",
    "candidate_order": [
      "top_left",
      "top_right",
      "bottom_left",
      "bottom_right"
    ],
    "upstream_generation_posts": 1,
    "pricing_policy": "mj-full-0.20-v5",
    "operation_specific_outputs": {
      "imagine": 4,
      "blend": 4,
      "upscale": 1,
      "describe": 0
    }
  },
  "x-documentation-revision": "2026-11-04-platform-parameter-authority",
  "x-model-guides": {
    "seedream-5.0": {
      "documentation": "https://xinfeng.best/video-api-docs/seedream-5-0.html",
      "model": "seedream-5.0",
      "size_semantics": "provider_aspect_ratio_2k",
      "exact_pixel_output": false,
      "provider_documented": {
        "aspect_ratios": [
          "1:1",
          "3:2",
          "2:3",
          "4:3",
          "3:4",
          "9:16",
          "16:9",
          "21:9"
        ],
        "max_references": 1,
        "prompt_max_chars": 100000,
        "n": {
          "minimum": 1,
          "maximum": 10,
          "default": 1
        },
        "quality": "provider_default"
      },
      "parameter_policy": {
        "validation": "upstream",
        "catalog_values": "advisory"
      },
      "billing": {
        "mode": "per_image",
        "base_credits": 0.05,
        "quantity": "actual_valid_returned_images",
        "account_and_group_multipliers": "unchanged"
      },
      "examples": {
        "images": {
          "model": "seedream-5.0",
          "prompt": "A red ceramic teapot on a white table, soft daylight, no text.",
          "size": "2560x1440",
          "n": 1,
          "response_format": "url"
        },
        "edits_json": {
          "model": "seedream-5.0",
          "prompt": "Keep the subject and replace the background with a sunny garden.",
          "size": "2560x1440",
          "n": 1,
          "response_format": "url",
          "images": [
            {
              "image_url": "https://example.com/reference.png"
            }
          ]
        },
        "chat": {
          "model": "seedream-5.0",
          "messages": [
            {
              "role": "user",
              "content": "A red ceramic teapot on a white table, soft daylight, no text."
            }
          ],
          "size": "2560x1440",
          "n": 1,
          "stream": false
        },
        "gemini": {
          "contents": [
            {
              "role": "user",
              "parts": [
                {
                  "text": "A red ceramic teapot on a white table, soft daylight, no text."
                }
              ]
            }
          ],
          "generationConfig": {
            "candidateCount": 1,
            "imageConfig": {
              "imageSize": "2k",
              "aspectRatio": "16:9",
              "delivery": "uri"
            }
          }
        }
      },
      "verification_note": "接口示例与上游原件一致；不表示所有尺寸、参考、批量与流式组合均已真实通过。",
      "x-validation-note": "2026-11-06 实测边界：Images 单张 JPEG 参考编辑与 Chat 单张文生已通过。Gemini 原生参考的这一个组合（inlineData JPEG、candidateCount=1、imageSize=2k、aspectRatio=1:1、delivery=uri）收到供应商 HTTP400 / unsupported_parameter，未通过真实验收，具体被拒字段未指明。另一个独立的默认参数单张文生请求已真实成功。保留供应商原文档的合法参数与下方示例，不将这次组合结果推断为所有 Gemini 参考图均不支持；本站不据此新增参数或素材白名单。",
      "output_presets": [
        {
          "id": "auto",
          "size": "auto",
          "aspect_ratio": "模型默认构图",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "square",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "landscape-3-2",
          "size": "2496x1664",
          "aspect_ratio": "3:2",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "portrait-2-3",
          "size": "1664x2496",
          "aspect_ratio": "2:3",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "landscape-4-3",
          "size": "2304x1728",
          "aspect_ratio": "4:3",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "portrait-3-4",
          "size": "1728x2304",
          "aspect_ratio": "3:4",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "portrait",
          "size": "1440x2560",
          "aspect_ratio": "9:16",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "landscape",
          "size": "2560x1440",
          "aspect_ratio": "16:9",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "landscape-21-9",
          "size": "3024x1296",
          "aspect_ratio": "21:9",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "landscape-5-4",
          "aspect_ratio": "5:4",
          "size": "2240x1792",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "portrait-4-5",
          "aspect_ratio": "4:5",
          "size": "1792x2240",
          "resolution": "2k",
          "supported": true
        }
      ]
    },
    "Seedream 5.5": {
      "documentation": "https://xinfeng.best/video-api-docs/seedream-5-5.html",
      "model": "Seedream 5.5",
      "billing": {
        "mode": "per_call",
        "unit": "request",
        "base_credits": 0.075,
        "quantity": "one_request",
        "account_and_group_multipliers": "unchanged"
      },
      "parameter_policy": {
        "validation": "upstream",
        "catalog_values": "advisory"
      },
      "verified_reference_count": 2,
      "mask_semantics": "unverified",
      "output_presets": [
        {
          "id": "square",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-landscape-4-3",
          "aspect_ratio": "4:3",
          "size": "2368x1776",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-portrait-3-4",
          "aspect_ratio": "3:4",
          "size": "1776x2368",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-landscape",
          "aspect_ratio": "16:9",
          "size": "2816x1584",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-portrait",
          "aspect_ratio": "9:16",
          "size": "1584x2816",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-landscape-3-2",
          "aspect_ratio": "3:2",
          "size": "2496x1664",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-portrait-2-3",
          "aspect_ratio": "2:3",
          "size": "1664x2496",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-landscape-21-9",
          "aspect_ratio": "21:9",
          "size": "3136x1344",
          "resolution": "2k",
          "supported": true
        },
        {
          "id": "2k-portrait-9-21",
          "aspect_ratio": "9:21",
          "size": "1344x3136",
          "resolution": "2k",
          "supported": true
        }
      ]
    },
    "Seedream 5.0 Pro": {
      "documentation": "https://xinfeng.best/video-api-docs/seedream-5-0-pro.html",
      "model": "Seedream 5.0 Pro",
      "billing": {
        "mode": "per_image",
        "base_credits": 0.075
      },
      "verified_reference_count": 2,
      "parameter_policy": {
        "validation": "upstream",
        "catalog_values": "advisory"
      },
      "output_presets": [
        {
          "id": "1k-square",
          "size": "1024x1024",
          "aspect_ratio": "1:1",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-landscape-4-3",
          "size": "1280x960",
          "aspect_ratio": "4:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-portrait-3-4",
          "size": "960x1280",
          "aspect_ratio": "3:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-landscape",
          "size": "1536x864",
          "aspect_ratio": "16:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-portrait",
          "size": "864x1536",
          "aspect_ratio": "9:16",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-landscape-3-2",
          "size": "1536x1024",
          "aspect_ratio": "3:2",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-square",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-landscape-4-3",
          "size": "2048x1536",
          "aspect_ratio": "4:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-portrait-3-4",
          "size": "1536x2048",
          "aspect_ratio": "3:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-landscape",
          "size": "2048x1152",
          "aspect_ratio": "16:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-portrait",
          "size": "1152x2048",
          "aspect_ratio": "9:16",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-landscape-3-2",
          "size": "2016x1344",
          "aspect_ratio": "3:2",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-portrait-2-3",
          "size": "1344x2016",
          "aspect_ratio": "2:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "1k-portrait-2-3",
          "aspect_ratio": "2:3",
          "size": "1024x1536",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-landscape-21-9",
          "aspect_ratio": "21:9",
          "size": "1568x672",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-landscape-21-9",
          "aspect_ratio": "21:9",
          "size": "3136x1344",
          "resolution": "2K",
          "supported": true
        }
      ]
    },
    "Image-2.5-Flare-02": {
      "model": "Image-2.5-Flare-02",
      "documentation": "https://xinfeng.best/video-api-docs/images.html#colorflowai-image02",
      "description": "原生AD渠道，非超分。本站按上游原图交付。文生图和参考图编辑均按请求计费。生图分组倍率为1时，固定 ✦0.12/次。",
      "output_presets": [
        {
          "id": "1k-1x1",
          "size": "1024x1024",
          "aspect_ratio": "1:1",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-2x3",
          "size": "832x1248",
          "aspect_ratio": "2:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x2",
          "size": "1248x832",
          "aspect_ratio": "3:2",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x4",
          "size": "864x1152",
          "aspect_ratio": "3:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x3",
          "size": "1152x864",
          "aspect_ratio": "4:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x5",
          "size": "1024x1280",
          "aspect_ratio": "4:5",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-5x4",
          "size": "1280x1024",
          "aspect_ratio": "5:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x16",
          "size": "720x1280",
          "aspect_ratio": "9:16",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-16x9",
          "size": "1280x720",
          "aspect_ratio": "16:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-21x9",
          "size": "1344x576",
          "aspect_ratio": "21:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x21",
          "size": "576x1344",
          "aspect_ratio": "9:21",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-1x1",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-2x3",
          "size": "1344x2016",
          "aspect_ratio": "2:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x2",
          "size": "2016x1344",
          "aspect_ratio": "3:2",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x4",
          "size": "1536x2048",
          "aspect_ratio": "3:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x3",
          "size": "2048x1536",
          "aspect_ratio": "4:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x5",
          "size": "1600x2048",
          "aspect_ratio": "4:5",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-5x4",
          "size": "2048x1600",
          "aspect_ratio": "5:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x16",
          "size": "1152x2048",
          "aspect_ratio": "9:16",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-16x9",
          "size": "2048x1152",
          "aspect_ratio": "16:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-21x9",
          "size": "2016x864",
          "aspect_ratio": "21:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x21",
          "size": "864x2016",
          "aspect_ratio": "9:21",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "4k-1x1",
          "size": "2880x2880",
          "aspect_ratio": "1:1",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-2x3",
          "size": "2304x3456",
          "aspect_ratio": "2:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x2",
          "size": "3456x2304",
          "aspect_ratio": "3:2",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x4",
          "size": "2448x3264",
          "aspect_ratio": "3:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x3",
          "size": "3264x2448",
          "aspect_ratio": "4:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x5",
          "size": "2304x2880",
          "aspect_ratio": "4:5",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-5x4",
          "size": "2880x2304",
          "aspect_ratio": "5:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x16",
          "size": "2160x3840",
          "aspect_ratio": "9:16",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-16x9",
          "size": "3840x2160",
          "aspect_ratio": "16:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-21x9",
          "size": "3808x1632",
          "aspect_ratio": "21:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x21",
          "size": "1632x3808",
          "aspect_ratio": "9:21",
          "resolution": "4K",
          "supported": true
        }
      ],
      "billing": {
        "mode": "per_call",
        "unit": "request",
        "price": 0.12
      }
    },
    "Image-2.5-Sunburst-02": {
      "model": "Image-2.5-Sunburst-02",
      "documentation": "https://xinfeng.best/video-api-docs/images.html#colorflowai-image02",
      "description": "原生AD渠道，非超分。本站按上游原图交付。文生图和参考图编辑均按请求计费。生图分组倍率为1时，固定 ✦0.12/次。",
      "output_presets": [
        {
          "id": "1k-1x1",
          "size": "1024x1024",
          "aspect_ratio": "1:1",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-2x3",
          "size": "832x1248",
          "aspect_ratio": "2:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x2",
          "size": "1248x832",
          "aspect_ratio": "3:2",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x4",
          "size": "864x1152",
          "aspect_ratio": "3:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x3",
          "size": "1152x864",
          "aspect_ratio": "4:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x5",
          "size": "1024x1280",
          "aspect_ratio": "4:5",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-5x4",
          "size": "1280x1024",
          "aspect_ratio": "5:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x16",
          "size": "720x1280",
          "aspect_ratio": "9:16",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-16x9",
          "size": "1280x720",
          "aspect_ratio": "16:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-21x9",
          "size": "1344x576",
          "aspect_ratio": "21:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x21",
          "size": "576x1344",
          "aspect_ratio": "9:21",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-1x1",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-2x3",
          "size": "1344x2016",
          "aspect_ratio": "2:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x2",
          "size": "2016x1344",
          "aspect_ratio": "3:2",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x4",
          "size": "1536x2048",
          "aspect_ratio": "3:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x3",
          "size": "2048x1536",
          "aspect_ratio": "4:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x5",
          "size": "1600x2048",
          "aspect_ratio": "4:5",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-5x4",
          "size": "2048x1600",
          "aspect_ratio": "5:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x16",
          "size": "1152x2048",
          "aspect_ratio": "9:16",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-16x9",
          "size": "2048x1152",
          "aspect_ratio": "16:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-21x9",
          "size": "2016x864",
          "aspect_ratio": "21:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x21",
          "size": "864x2016",
          "aspect_ratio": "9:21",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "4k-1x1",
          "size": "2880x2880",
          "aspect_ratio": "1:1",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-2x3",
          "size": "2304x3456",
          "aspect_ratio": "2:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x2",
          "size": "3456x2304",
          "aspect_ratio": "3:2",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x4",
          "size": "2448x3264",
          "aspect_ratio": "3:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x3",
          "size": "3264x2448",
          "aspect_ratio": "4:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x5",
          "size": "2304x2880",
          "aspect_ratio": "4:5",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-5x4",
          "size": "2880x2304",
          "aspect_ratio": "5:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x16",
          "size": "2160x3840",
          "aspect_ratio": "9:16",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-16x9",
          "size": "3840x2160",
          "aspect_ratio": "16:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-21x9",
          "size": "3808x1632",
          "aspect_ratio": "21:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x21",
          "size": "1632x3808",
          "aspect_ratio": "9:21",
          "resolution": "4K",
          "supported": true
        }
      ],
      "billing": {
        "mode": "per_call",
        "unit": "request",
        "price": 0.12
      }
    },
    "image-2.6-Flare-02": {
      "model": "image-2.6-Flare-02",
      "documentation": "https://xinfeng.best/video-api-docs/images.html#colorflowai-image02",
      "description": "原生AD渠道，非超分。本站按上游原图交付。文生图和参考图编辑均按请求计费。生图分组倍率为1时，固定 ✦0.12/次。",
      "output_presets": [
        {
          "id": "1k-1x1",
          "size": "1024x1024",
          "aspect_ratio": "1:1",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-2x3",
          "size": "832x1248",
          "aspect_ratio": "2:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x2",
          "size": "1248x832",
          "aspect_ratio": "3:2",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x4",
          "size": "864x1152",
          "aspect_ratio": "3:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x3",
          "size": "1152x864",
          "aspect_ratio": "4:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x5",
          "size": "1024x1280",
          "aspect_ratio": "4:5",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-5x4",
          "size": "1280x1024",
          "aspect_ratio": "5:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x16",
          "size": "720x1280",
          "aspect_ratio": "9:16",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-16x9",
          "size": "1280x720",
          "aspect_ratio": "16:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-21x9",
          "size": "1344x576",
          "aspect_ratio": "21:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x21",
          "size": "576x1344",
          "aspect_ratio": "9:21",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-1x1",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-2x3",
          "size": "1344x2016",
          "aspect_ratio": "2:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x2",
          "size": "2016x1344",
          "aspect_ratio": "3:2",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x4",
          "size": "1536x2048",
          "aspect_ratio": "3:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x3",
          "size": "2048x1536",
          "aspect_ratio": "4:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x5",
          "size": "1600x2048",
          "aspect_ratio": "4:5",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-5x4",
          "size": "2048x1600",
          "aspect_ratio": "5:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x16",
          "size": "1152x2048",
          "aspect_ratio": "9:16",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-16x9",
          "size": "2048x1152",
          "aspect_ratio": "16:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-21x9",
          "size": "2016x864",
          "aspect_ratio": "21:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x21",
          "size": "864x2016",
          "aspect_ratio": "9:21",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "4k-1x1",
          "size": "2880x2880",
          "aspect_ratio": "1:1",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-2x3",
          "size": "2304x3456",
          "aspect_ratio": "2:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x2",
          "size": "3456x2304",
          "aspect_ratio": "3:2",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x4",
          "size": "2448x3264",
          "aspect_ratio": "3:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x3",
          "size": "3264x2448",
          "aspect_ratio": "4:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x5",
          "size": "2304x2880",
          "aspect_ratio": "4:5",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-5x4",
          "size": "2880x2304",
          "aspect_ratio": "5:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x16",
          "size": "2160x3840",
          "aspect_ratio": "9:16",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-16x9",
          "size": "3840x2160",
          "aspect_ratio": "16:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-21x9",
          "size": "3808x1632",
          "aspect_ratio": "21:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x21",
          "size": "1632x3808",
          "aspect_ratio": "9:21",
          "resolution": "4K",
          "supported": true
        }
      ],
      "billing": {
        "mode": "per_call",
        "unit": "request",
        "price": 0.12
      }
    },
    "image-2.6-Sunburst-02": {
      "model": "image-2.6-Sunburst-02",
      "documentation": "https://xinfeng.best/video-api-docs/images.html#colorflowai-image02",
      "description": "原生AD渠道，非超分。本站按上游原图交付。文生图和参考图编辑均按请求计费。生图分组倍率为1时，固定 ✦0.12/次。",
      "output_presets": [
        {
          "id": "1k-1x1",
          "size": "1024x1024",
          "aspect_ratio": "1:1",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-2x3",
          "size": "832x1248",
          "aspect_ratio": "2:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x2",
          "size": "1248x832",
          "aspect_ratio": "3:2",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-3x4",
          "size": "864x1152",
          "aspect_ratio": "3:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x3",
          "size": "1152x864",
          "aspect_ratio": "4:3",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-4x5",
          "size": "1024x1280",
          "aspect_ratio": "4:5",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-5x4",
          "size": "1280x1024",
          "aspect_ratio": "5:4",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x16",
          "size": "720x1280",
          "aspect_ratio": "9:16",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-16x9",
          "size": "1280x720",
          "aspect_ratio": "16:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-21x9",
          "size": "1344x576",
          "aspect_ratio": "21:9",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "1k-9x21",
          "size": "576x1344",
          "aspect_ratio": "9:21",
          "resolution": "1K",
          "supported": true
        },
        {
          "id": "2k-1x1",
          "size": "2048x2048",
          "aspect_ratio": "1:1",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-2x3",
          "size": "1344x2016",
          "aspect_ratio": "2:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x2",
          "size": "2016x1344",
          "aspect_ratio": "3:2",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-3x4",
          "size": "1536x2048",
          "aspect_ratio": "3:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x3",
          "size": "2048x1536",
          "aspect_ratio": "4:3",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-4x5",
          "size": "1600x2048",
          "aspect_ratio": "4:5",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-5x4",
          "size": "2048x1600",
          "aspect_ratio": "5:4",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x16",
          "size": "1152x2048",
          "aspect_ratio": "9:16",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-16x9",
          "size": "2048x1152",
          "aspect_ratio": "16:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-21x9",
          "size": "2016x864",
          "aspect_ratio": "21:9",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "2k-9x21",
          "size": "864x2016",
          "aspect_ratio": "9:21",
          "resolution": "2K",
          "supported": true
        },
        {
          "id": "4k-1x1",
          "size": "2880x2880",
          "aspect_ratio": "1:1",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-2x3",
          "size": "2304x3456",
          "aspect_ratio": "2:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x2",
          "size": "3456x2304",
          "aspect_ratio": "3:2",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-3x4",
          "size": "2448x3264",
          "aspect_ratio": "3:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x3",
          "size": "3264x2448",
          "aspect_ratio": "4:3",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-4x5",
          "size": "2304x2880",
          "aspect_ratio": "4:5",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-5x4",
          "size": "2880x2304",
          "aspect_ratio": "5:4",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x16",
          "size": "2160x3840",
          "aspect_ratio": "9:16",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-16x9",
          "size": "3840x2160",
          "aspect_ratio": "16:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-21x9",
          "size": "3808x1632",
          "aspect_ratio": "21:9",
          "resolution": "4K",
          "supported": true
        },
        {
          "id": "4k-9x21",
          "size": "1632x3808",
          "aspect_ratio": "9:21",
          "resolution": "4K",
          "supported": true
        }
      ],
      "billing": {
        "mode": "per_call",
        "unit": "request",
        "price": 0.12
      }
    },
    "image-2.0-02": {
      "model": "image-2.0-02",
      "documentation": "https://xinfeng.best/video-api-docs/images.html#image-2-0-02",
      "example": {
        "model": "image-2.0-02",
        "prompt": "A red ceramic teapot on a pale wooden table, soft natural light, no text.",
        "size": "1024x1024",
        "quality": "medium",
        "n": 1,
        "response_format": "url"
      },
      "billing": {
        "mode": "per_image",
        "model_price": 0.1
      },
      "description": "已验证 1024×1024 PNG 文生图；基础售价 0.10 额度/张。未开放 4K 和参考图编辑。"
    }
  },
  "x-image26-gif-verified": {
    "version": "2026-11-07",
    "model": "image-2.6-01",
    "output_format": "gif",
    "measured_size": "832x832",
    "frame_controls": "provider-determined; explicit frame_count was ignored",
    "svg": "not-verified; supplier400",
    "billing": "existing0.04base-per-result; existing group ratio",
    "ui_selector_verified": false
  },
  "x-image20-compatibility": {
    "canonical_model": "image-2.0-01",
    "aliases": [
      "image2.0-low",
      "image2.0-medium"
    ],
    "new_request_price_per_image": 0.03,
    "old_call_defaults": "Legacy tier quality defaults and original explicit fields remain; historical tasks and quotes retain original settlement."
  },
  "x-midjourney-full-series": {
    "version": "mj-full-0.20-v5",
    "model": "Midjourney-全系列",
    "aliases": [
      "Midjourney v6",
      "Midjourney v6.1",
      "Midjourney v7",
      "Midjourney v8.1",
      "Midjourney v8.2"
    ],
    "parameters": [
      "model",
      "prompt",
      "version",
      "niji_version",
      "operation",
      "action",
      "aspect_ratio",
      "size",
      "quality",
      "response_format",
      "image",
      "images",
      "raw",
      "hd",
      "tile",
      "stylize",
      "chaos",
      "seed",
      "weird",
      "stop",
      "no",
      "iw",
      "sref",
      "sw",
      "cref",
      "cw",
      "oref",
      "ow",
      "dref",
      "dw",
      "personalize",
      "task_id",
      "custom_id",
      "index",
      "zoom_ratio",
      "enable_remix",
      "content",
      "mask",
      "n"
    ],
    "operations": [
      "imagine",
      "blend",
      "describe",
      "upscale",
      "variation",
      "reroll",
      "high_variation",
      "low_variation",
      "zoom",
      "custom_zoom",
      "pan",
      "inpaint",
      "remix",
      "modal",
      "action",
      "change",
      "simple_change"
    ],
    "base_price_credits": 0.2,
    "n": 1,
    "max_image_prompts": 5,
    "output_count": {
      "imagine": 4,
      "blend": 4,
      "upscale": 1,
      "describe": 0
    },
    "describe_output": "mj.description",
    "original_task": "mj.task_id",
    "original_buttons": "mj.buttons[].customId",
    "modal_continuation": "POST /v1/images/generations with operation=modal and the original same-key task_id",
    "interaction_lookup": "GET /v1/images/tasks/{task_id}/interaction",
    "modal_new_generation_charge": false,
    "depth_reference": {
      "field": "dref",
      "operation": "imagine",
      "accepted_types": [
        "string",
        "array"
      ],
      "ordered": true
    },
    "example_documents": {
      "Midjourney-全系列": "mj-examples/full.json",
      "Midjourney v6": "mj-examples/v6.json",
      "Midjourney v6.1": "mj-examples/v6.1.json",
      "Midjourney v7": "mj-examples/v7.json",
      "Midjourney v8.1": "mj-examples/v8.1.json",
      "Midjourney v8.2": "mj-examples/v8.2.json"
    },
    "public_images_api": {
      "protocol": "OpenAI Images",
      "generation_path": "/v1/images/generations",
      "reference_path": "/v1/images/edits",
      "default_version": "8.2",
      "version_fields": [
        "version",
        "niji_version"
      ],
      "reference_json": [
        "images[].image_url",
        "images[].file_id"
      ],
      "reference_multipart": "image[]",
      "blend_reference_count": [
        2,
        5
      ],
      "describe_reference_count": 1,
      "legacy_aspect": "新请求建议只指定一处画幅。旧固定型号的 imagine 请求仅在收到默认 size=1024x1024、提示词中有唯一合法的 --ar 或 --aspect、且没有其他显式尺寸或画幅字段时，沿用提示词画幅。",
      "optional_result_fallback": "data[].fallback_url"
    }
  }
}
