From 33d45171551ae04c00d403f95a31142190f3bc4c Mon Sep 17 00:00:00 2001 From: Atridad Lahiji <88056492+atridadl@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:29:15 -0600 Subject: [PATCH] welp it works --- src/commands/pic.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/pic.ts b/src/commands/pic.ts index 24270f6..bdaae37 100644 --- a/src/commands/pic.ts +++ b/src/commands/pic.ts @@ -39,7 +39,7 @@ export class UserCommand extends Command { ? await interactionOrMessage.channel.send({ content: '🤔 Thinking... 🤔' }) : await interactionOrMessage.reply({ content: '🤔 Thinking... 🤔', fetchReply: true }); - const response = await fetch(`https://api.stability.ai/v1/generation/stable-diffusion-xl-beta-v2-2-2/text-to-image`, { + const response = await fetch(`https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v0-9/text-to-image`, { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -52,12 +52,12 @@ export class UserCommand extends Command { text: prompt } ], - cfg_scale: 7, + cfg_scale: 6, clip_guidance_preset: 'FAST_BLUE', - height: 512, - width: 512, + height: 1024, + width: 1024, samples: 1, - steps: 50 + steps: 45 }) });