mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Extras SD generation
This commit is contained in:
@ -943,6 +943,9 @@ async function generateExtrasImage(prompt) {
|
|||||||
url.pathname = '/api/image';
|
url.pathname = '/api/image';
|
||||||
const result = await doExtrasFetch(url, {
|
const result = await doExtrasFetch(url, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
prompt: prompt,
|
prompt: prompt,
|
||||||
sampler: extension_settings.sd.sampler,
|
sampler: extension_settings.sd.sampler,
|
||||||
|
Reference in New Issue
Block a user