diff --git a/pages/index.vue b/pages/index.vue index efacb0f..360e87b 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6686,7 +6686,7 @@ async function editImage() { if (inputStillId.value) body.append('stillId', inputStillId.value) if (extraPasses.length) body.append('passes', JSON.stringify(extraPasses)) body.append('passMode', imagePassMode.value) - if (imageLoraStack.value.length) body.append('loraStack', JSON.stringify(imageLoraStack.value)) + body.append('loraStack', JSON.stringify(imageLoraStack.value)) const downloadName = clipFileName(clipName.value.trim() || autoOutputName.value) const started = await $fetch<{ jobId: string @@ -6942,7 +6942,7 @@ async function editImageV2() { return } } - if (v2Stack.length) body.append('loraStack', JSON.stringify(v2Stack)) + body.append('loraStack', JSON.stringify(v2Stack)) const downloadName = clipFileName(clipName.value.trim() || autoOutputName.value) const started = await $fetch<{ jobId: string @@ -7154,7 +7154,7 @@ async function generate() { const shotLoraStacksList = shots ? shots.map(shot => shotLoraStacks.value[shot.n] || []) : [shotLoraStacks.value[1] || [], ...queued.map(item => item.loraStack || [])] - if (videoLoraStack.value.length) body.append('loraStack', JSON.stringify(videoLoraStack.value)) + body.append('loraStack', JSON.stringify(videoLoraStack.value)) body.append('shotLoraStacks', JSON.stringify(shotLoraStacksList)) if (activeDraftId) body.append('draftId', activeDraftId) if (queued.length) { diff --git a/pages/library.vue b/pages/library.vue index 7ee1554..2493f94 100644 --- a/pages/library.vue +++ b/pages/library.vue @@ -200,8 +200,23 @@ -