Fix image generation prompt and add warning

message for NovelAI users

Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
hashcoko
2023-11-28 00:50:06 +09:00
parent 7f65a130d8
commit 0b52c04ee7
5 changed files with 11 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ export async function generateAIImage(genPrompt:string, currentChar:character, n
base64img = Buffer.from(await readImage(db.NAIImgConfig.image)).toString('base64');
}
let seed = Math.floor(Math.random() * 100000000000)
let seed = Math.floor(Math.random() * 10000000000)
reqlist = {
body: {
"action": "img2img",