提交Blend任务
接口: POST https://4zapi.com/mj/submit/blend
官方文档:https://docs.midjourney.com/hc/en-us/articles/32635189884557-Blend-Images-on-Discord
参数
Authorization(header, string): Bearer API Key
请求体 (application/json)
base64Array(array<string>, 必填): 待融合的图片 base64 数组,元素为带前缀的 base64:data:image/png;base64,...。张数限制 2~5:此为上游 Midjourney /blend 的官方限制botType(string): bot 类型,mj(默认)或 niji ["MID_JOURNEY", "NIJI_JOURNEY"]dimensions(string): 出图比例(透传给上游)。SQUARE 正方形(默认)/PORTRAIT 竖/LANDSCAPE 横 ["SQUARE", "PORTRAIT", "LANDSCAPE"]notifyHook(string): 回调地址, 为空时使用全局notifyHookstate(string): 自定义参数
请求示例
{
"base64Array": [
"data:image/png;base64,AAA...",
"data:image/png;base64,BBB..."
],
"botType": "MID_JOURNEY",
"dimensions": "SQUARE",
"notifyHook": "cillum adipisicing laborum nostrud",
"state": "青海省"
}