Use everything
This commit is contained in:
parent
1c3c9a6cca
commit
9e621a88e8
1 changed files with 9 additions and 3 deletions
|
@ -8,7 +8,7 @@ const { stableHordeApi, stableHordeID } = process.env;
|
||||||
export default {
|
export default {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('stablediffusion')
|
.setName('stablediffusion')
|
||||||
.setDescription('AI generated image with stable diffusion (This can take very long)')
|
.setDescription('AI generated image with stable diffusion (If credit are low it may be slow)')
|
||||||
.addStringOption(option =>
|
.addStringOption(option =>
|
||||||
option.setName('prompt')
|
option.setName('prompt')
|
||||||
.setDescription('What do you want the AI to generate?')
|
.setDescription('What do you want the AI to generate?')
|
||||||
|
@ -28,8 +28,14 @@ async function generate(i, prompt, client) {
|
||||||
width: 512,
|
width: 512,
|
||||||
height: 512,
|
height: 512,
|
||||||
},
|
},
|
||||||
nsfw: true,
|
cfg_scale: 5,
|
||||||
censor_nsfw: i.channel.nsfw ? false : true,
|
use_gfpgan: true,
|
||||||
|
use_real_esrgan: true,
|
||||||
|
use_ldsr: true,
|
||||||
|
use_upscaling: true,
|
||||||
|
steps: 50,
|
||||||
|
nsfw: i.channel.nsfw ? true : false,
|
||||||
|
censor_nsfw: i.channel.nsfw ? true : false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const fetchParameters = {
|
const fetchParameters = {
|
||||||
|
|
Loading…
Reference in a new issue