{
"properties": {
"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": "MID_JOURNEY"
}
]
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string"
},
"prompt": {
"description": "待分析/精简的提示词",
"examples": [
"a highly detailed portrait of an old fisherman, dramatic lighting, 8k, masterpiece"
],
"type": "string"
},
"state": {
"description": "自定义参数",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object",
"x-apifox-orders": [
"prompt",
"botType",
"notifyHook",
"state"
]
}curl --location 'http://prod-cn.your-api-server.com/mj/submit/shorten' \
--header 'Content-Type: application/json' \
--data '{
"properties": {
"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": "MID_JOURNEY"
}
]
},
"notifyHook": {
"description": "回调地址, 为空时使用全局notifyHook",
"type": "string"
},
"prompt": {
"description": "待分析/精简的提示词",
"examples": [
"a highly detailed portrait of an old fisherman, dramatic lighting, 8k, masterpiece"
],
"type": "string"
},
"state": {
"description": "自定义参数",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object",
"x-apifox-orders": [
"prompt",
"botType",
"notifyHook",
"state"
]
}'{}