Updated Bing Image Creator (markdown)

BobMaster 2023-05-20 09:51:40 +08:00
parent f87f9a76f7
commit 6e8e0d4337

@ -9,6 +9,7 @@ ROOM_ID="!FYCmBSkCRUXXXXXXXXX:matrix.XXX.XXX" # Optional, if not set, bot will w
OPENAI_API_KEY="xxxxxxxxxxxxxxxxx" # Optional, for !chat and !gpt command OPENAI_API_KEY="xxxxxxxxxxxxxxxxx" # Optional, for !chat and !gpt command
ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxx" # Optional, use user_id and password is recommended ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxx" # Optional, use user_id and password is recommended
BING_AUTH_COOKIE="xxxxxxxxxxxxxxxxxxx" # _U cookie, Optional, for Bing Image Creator BING_AUTH_COOKIE="xxxxxxxxxxxxxxxxxxx" # _U cookie, Optional, for Bing Image Creator
OUTPUT_FOUR_IMAGES="true" # Optional
``` ```
sample `config.json` sample `config.json`
@ -21,6 +22,7 @@ sample `config.json`
"room_id": "!FYCmBSkCRUNvZDBaDQ:matrix.qqs.tw", "room_id": "!FYCmBSkCRUNvZDBaDQ:matrix.qqs.tw",
"api_key": "xxxxxxxxxxxxxxxxxxxxxxxx", "api_key": "xxxxxxxxxxxxxxxxxxxxxxxx",
"access_token": "xxxxxxx", "access_token": "xxxxxxx",
"bing_auth_cookie": "xxxxxxxxxxx" "bing_auth_cookie": "xxxxxxxxxxx",
"output_four_images": true
} }
``` ```