Fix Extras SD generation

This commit is contained in:
Cohee 2023-09-03 14:04:53 +03:00
parent 802149380d
commit 8b13e29702

View File

@ -943,6 +943,9 @@ async function generateExtrasImage(prompt) {
url.pathname = '/api/image';
const result = await doExtrasFetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
prompt: prompt,
sampler: extension_settings.sd.sampler,