-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.json.template
46 lines (46 loc) · 1.12 KB
/
config.json.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"api_url": "Midjourney API URL",
"call_back_url": "Webhook的回调URL",
"no_get_response": "call_back_url没有查到结果,返回的自定义如:0 结果",
"oss_conf": {
"akid": "AccessKey ID",
"akst": "AccessKey Secret",
"aked": "https://oss-cn-hangzhou.aliyuncs.com",
"image_url": "oss的连接{}",
"image_addre": "oss的图片文件夹,可以设置有效期",
"bucket_name": "bucket_name"
},
"headers": {
"Authorization": "Bearer <你的API 密钥>",
"Content-Type": "application/json"
},
"defaults": {
"ref": "目前支持[
"relax",
"fast",
"private",
"stealth"]",
"webhookOverride": "你的webhook URL,用来接收Midjourney API实际响应数据"
},
"slash_commands_data": {
"cmd": "imagine",
"msg": "你的prompt"
},
"button_data": {
"button": "目前支持[
"U1",
"U2",
"U3",
"U4",
"🔄",
"V1",
"V2",
"V3",
"V4"
]",
"buttonMessageId": "buttonMessageId在Midjourney API实际响应数据里"
},
"rule": {
"image": "[修图],触发图生图"
}
}