diff --git a/public/scripts/extensions/stable-diffusion/index.js b/public/scripts/extensions/stable-diffusion/index.js index 1c734ef7d..ceb592494 100644 --- a/public/scripts/extensions/stable-diffusion/index.js +++ b/public/scripts/extensions/stable-diffusion/index.js @@ -283,7 +283,6 @@ const defaultSettings = { // Pollinations settings pollinations_enhance: false, - pollinations_refine: false, // Visibility toggles wand_visible: false, @@ -425,7 +424,6 @@ async function loadSettings() { $('#sd_novel_sm_dyn').prop('disabled', !extension_settings.sd.novel_sm); $('#sd_novel_decrisper').prop('checked', extension_settings.sd.novel_decrisper); $('#sd_pollinations_enhance').prop('checked', extension_settings.sd.pollinations_enhance); - $('#sd_pollinations_refine').prop('checked', extension_settings.sd.pollinations_refine); $('#sd_horde').prop('checked', extension_settings.sd.horde); $('#sd_horde_nsfw').prop('checked', extension_settings.sd.horde_nsfw); $('#sd_horde_karras').prop('checked', extension_settings.sd.horde_karras); @@ -1009,11 +1007,6 @@ function onPollinationsEnhanceInput() { saveSettingsDebounced(); } -function onPollinationsRefineInput() { - extension_settings.sd.pollinations_refine = !!$('#sd_pollinations_refine').prop('checked'); - saveSettingsDebounced(); -} - function onHordeNsfwInput() { extension_settings.sd.horde_nsfw = !!$(this).prop('checked'); saveSettingsDebounced(); @@ -2740,7 +2733,6 @@ async function generatePollinationsImage(prompt, negativePrompt, signal) { width: extension_settings.sd.width, height: extension_settings.sd.height, enhance: extension_settings.sd.pollinations_enhance, - refine: extension_settings.sd.pollinations_refine, seed: extension_settings.sd.seed >= 0 ? extension_settings.sd.seed : undefined, }), }); @@ -3887,7 +3879,6 @@ jQuery(async () => { $('#sd_novel_sm_dyn').on('input', onNovelSmDynInput); $('#sd_novel_decrisper').on('input', onNovelDecrisperInput); $('#sd_pollinations_enhance').on('input', onPollinationsEnhanceInput); - $('#sd_pollinations_refine').on('input', onPollinationsRefineInput); $('#sd_comfy_validate').on('click', validateComfyUrl); $('#sd_comfy_url').on('input', onComfyUrlInput); $('#sd_comfy_workflow').on('change', onComfyWorkflowChange); diff --git a/public/scripts/extensions/stable-diffusion/settings.html b/public/scripts/extensions/stable-diffusion/settings.html index 46c1fd2d7..1514debce 100644 --- a/public/scripts/extensions/stable-diffusion/settings.html +++ b/public/scripts/extensions/stable-diffusion/settings.html @@ -184,18 +184,12 @@ Pollinations.ai

-
diff --git a/src/endpoints/stable-diffusion.js b/src/endpoints/stable-diffusion.js index 195310cb8..9eff948f1 100644 --- a/src/endpoints/stable-diffusion.js +++ b/src/endpoints/stable-diffusion.js @@ -844,7 +844,6 @@ pollinations.post('/generate', jsonParser, async (request, response) => { negative_prompt: String(request.body.negative_prompt), seed: String(request.body.seed >= 0 ? request.body.seed : Math.floor(Math.random() * 10_000_000)), enhance: String(request.body.enhance ?? false), - refine: String(request.body.refine ?? false), width: String(request.body.width ?? 1024), height: String(request.body.height ?? 1024), nologo: String(true),