diff --git a/public/scripts/extensions/stable-diffusion/index.js b/public/scripts/extensions/stable-diffusion/index.js index 91587e9a5..54a167c36 100644 --- a/public/scripts/extensions/stable-diffusion/index.js +++ b/public/scripts/extensions/stable-diffusion/index.js @@ -34,11 +34,11 @@ const generationMode = { } const triggerWords = { - [generationMode.CHARACTER]: ['yourself', 'you', 'bot', 'AI', 'character'], - [generationMode.USER]: ['me', 'user', 'myself'], - [generationMode.SCENARIO]: ['scenario', 'world', 'surroundings', 'scenery'], - [generationMode.NOW]: ['now', 'last'], - [generationMode.FACE]: ['selfie', 'face'], + [generationMode.CHARACTER]: ['you'], + [generationMode.USER]: ['me'], + [generationMode.SCENARIO]: ['scene'], + [generationMode.NOW]: ['last'], + [generationMode.FACE]: ['face'], } @@ -58,15 +58,16 @@ const quietPrompts = { } const helpString = [ - `${m('what')} – requests an SD generation. Supported "what" arguments:`, + `${m('(argument)')} – requests SD to make an image. Supported arguments:`, '', - `Anything else would trigger a "free mode" with AI describing whatever you prompted.`, + `Anything else would trigger a "free mode" to make SD generate whatever you prompted.
+ example: '/sd apple tree' would generate a picture of an apple tree.`, ].join('
'); const defaultSettings = { @@ -422,7 +423,7 @@ $("#sd_dropdown [id]").on("click", function () { }); jQuery(async () => { - getContext().registerSlashCommand('sd', generatePicture, ['picture', 'image'], helpString, true, true); + getContext().registerSlashCommand('sd', generatePicture, [], helpString, true, true); const settingsHtml = `