{
"contentType": "application/json",
"properties": {
"base64Array": {
"description": "垫图(图生图)base64 数组,元素为带前缀的 base64:data:image/png;base64,...",
"items": {
"type": "string"
},
"type": "array",
"x-i18n": {
"en-US": {
"description": "Reference images (image-to-image) as a base64 array with data URL prefix, e.g. data:image/png;base64,..."
}
}
},
"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"
}
}
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Callback URL; falls back to the global notifyHook when empty"
}
}
},
"prompt": {
"description": "提示词,可携带 MJ 参数(如 `--ar 16:9 --v 6`)",
"examples": [
"a cute orange cat sitting on a windowsill --ar 4:3 --v 6"
],
"type": "string",
"x-i18n": {
"en-US": {
"description": "Prompt. May include Midjourney parameters (e.g. `--ar 16:9 --v 6`)."
}
}
},
"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": [
"prompt"
]
}{
"base64Array": [],
"botType": "MID_JOURNEY",
"notifyHook": "",
"prompt": "a cute orange cat sitting on a windowsill --ar 4:3 --v 6",
"state": ""
}{
"contentType": "application/json",
"properties": {
"base64Array": {
"description": "垫图(图生图)base64 数组,元素为带前缀的 base64:data:image/png;base64,...",
"items": {
"type": "string"
},
"type": "array",
"x-i18n": {
"en-US": {
"description": "Reference images (image-to-image) as a base64 array with data URL prefix, e.g. data:image/png;base64,..."
}
}
},
"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"
}
}
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Callback URL; falls back to the global notifyHook when empty"
}
}
},
"prompt": {
"description": "提示词,可携带 MJ 参数(如 `--ar 16:9 --v 6`)",
"examples": [
"a cute orange cat sitting on a windowsill --ar 4:3 --v 6"
],
"type": "string",
"x-i18n": {
"en-US": {
"description": "Prompt. May include Midjourney parameters (e.g. `--ar 16:9 --v 6`)."
}
}
},
"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": [
"prompt"
]
}{
"base64Array": [],
"botType": "MID_JOURNEY",
"notifyHook": "",
"prompt": "cat",
"state": ""
}"{\r\n \"code\": 1,\r\n \"description\": \"Submit success\",\r\n \"result\": \"1730621718151844\",//任务id\r\n \"properties\": {\r\n \"discordChannelId\": \"1300842676874379336\",\r\n \"discordInstanceId\": \"1572398367386955776\"\r\n }\r\n}"