From e03a4eef5aa50dcccabbc057510339bafaea23af Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Fri, 31 Oct 2025 12:41:35 -0700 Subject: [PATCH] feat: include negative prompt in image generation --- src/classes/ai.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classes/ai.ts b/src/classes/ai.ts index 61d636e..1ee4630 100644 --- a/src/classes/ai.ts +++ b/src/classes/ai.ts @@ -87,6 +87,7 @@ export class Ai { config: { aspectRatio: "3:4", imageSize: "2K", + negativePrompt: `(text, text on the image, text in the background, text in the foreground, text in the object, text in the person, text in the animal, missing fingers, malformed hands, malformed feet, malformed legs, malformed arms, malformed torso, malformed head, malformed face, malformed eyes, malformed ears, malformed nose, malformed mouth, malformed hair, malformed clothing, malformed accessories, malformed background, malformed object, malformed person, malformed animal, malformed plant)`, numberOfImages: 1, outputMimeType: "image/png", personGeneration: PersonGeneration.ALLOW_ADULT,