mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-06 04:38:21 +01:00
Fix Extras SD generation
This commit is contained in:
parent
802149380d
commit
8b13e29702
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user