{
"contentType": "application/json",
"properties": {
"base64Array": {
"description": "待融合的图片 base64 数组,元素为带前缀的 base64:data:image/png;base64,...。张数限制 2~5:此为上游 Midjourney /blend 的官方限制(后端 new-yunwu-api 不校验张数;本项目前端 UI 允许加到 6 张,但超过 5 张上游可能失败)",
"examples": [
[
"data:image/png;base64,AAA...",
"data:image/png;base64,BBB..."
]
],
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 2,
"type": "array",
"x-i18n": {
"en-US": {
"description": "Images to blend as a base64 array with data URL prefix. Official Midjourney /blend limit is 2–5 images."
}
}
},
"botType": {
"description": "bot 类型,mj(默认)或 niji",
"enum": [
"MID_JOURNEY",
"NIJI_JOURNEY"
],
"examples": [
"MID_JOURNEY"
],
"type": "string",
"x-apifox-enum": [
{
"description": "",
"name": "",
"value": "MID_JOURNEY"
},
{
"description": "",
"name": "",
"value": "NIJI_JOURNEY"
}
],
"x-i18n": {
"en-US": {
"description": "bot type: mj (default) or niji"
}
}
},
"dimensions": {
"description": "出图比例(透传给上游)。SQUARE 正方形(默认)/PORTRAIT 竖/LANDSCAPE 横",
"enum": [
"SQUARE",
"PORTRAIT",
"LANDSCAPE"
],
"examples": [
"SQUARE"
],
"type": "string",
"x-apifox-enum": [
{
"description": "正方形(默认)",
"name": "",
"value": "SQUARE"
},
{
"description": "竖图",
"name": "",
"value": "PORTRAIT"
},
{
"description": "横图",
"name": "",
"value": "LANDSCAPE"
}
],
"x-i18n": {
"en-US": {
"description": "Aspect ratio (passed through). SQUARE (default) / PORTRAIT / LANDSCAPE."
}
}
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Callback URL; falls back to the global notifyHook when empty"
}
}
},
"state": {
"description": "自定义参数",
"type": "string",
"x-i18n": {
"en-US": {
"description": "The quality of the image that will be generated. `hd` creates images with finer detail and greater consistency. This parameter only supports `dall-e-3`."
}
}
}
},
"required": [
"base64Array"
]
}{
"contentType": "application/json",
"properties": {
"base64Array": {
"description": "待融合的图片 base64 数组,元素为带前缀的 base64:data:image/png;base64,...。张数限制 2~5:此为上游 Midjourney /blend 的官方限制(后端 new-yunwu-api 不校验张数;本项目前端 UI 允许加到 6 张,但超过 5 张上游可能失败)",
"examples": [
[
"data:image/png;base64,AAA...",
"data:image/png;base64,BBB..."
]
],
"items": {
"type": "string"
},
"maxItems": 5,
"minItems": 2,
"type": "array",
"x-i18n": {
"en-US": {
"description": "Images to blend as a base64 array with data URL prefix. Official Midjourney /blend limit is 2–5 images."
}
}
},
"botType": {
"description": "bot 类型,mj(默认)或 niji",
"enum": [
"MID_JOURNEY",
"NIJI_JOURNEY"
],
"examples": [
"MID_JOURNEY"
],
"type": "string",
"x-apifox-enum": [
{
"description": "",
"name": "",
"value": "MID_JOURNEY"
},
{
"description": "",
"name": "",
"value": "NIJI_JOURNEY"
}
],
"x-i18n": {
"en-US": {
"description": "bot type: mj (default) or niji"
}
}
},
"dimensions": {
"description": "出图比例(透传给上游)。SQUARE 正方形(默认)/PORTRAIT 竖/LANDSCAPE 横",
"enum": [
"SQUARE",
"PORTRAIT",
"LANDSCAPE"
],
"examples": [
"SQUARE"
],
"type": "string",
"x-apifox-enum": [
{
"description": "正方形(默认)",
"name": "",
"value": "SQUARE"
},
{
"description": "竖图",
"name": "",
"value": "PORTRAIT"
},
{
"description": "横图",
"name": "",
"value": "LANDSCAPE"
}
],
"x-i18n": {
"en-US": {
"description": "Aspect ratio (passed through). SQUARE (default) / PORTRAIT / LANDSCAPE."
}
}
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Callback URL; falls back to the global notifyHook when empty"
}
}
},
"state": {
"description": "自定义参数",
"type": "string",
"x-i18n": {
"en-US": {
"description": "The quality of the image that will be generated. `hd` creates images with finer detail and greater consistency. This parameter only supports `dall-e-3`."
}
}
}
},
"required": [
"base64Array"
]
}{
"base64Array": [
"data:image/png;base64,AAA...",
"data:image/png;base64,BBB..."
],
"botType": "MID_JOURNEY",
"dimensions": "SQUARE",
"notifyHook": "cillum adipisicing laborum nostrud",
"state": "青海省"
}{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}