Let MOSS use the same LoRA picker and chain those adapters onto its graph.

The picker was hidden and the API cleared every stack, so a selected MOSS job could not carry a LoRA.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-22 20:28:25 -05:00
co-authored by Cursor
parent 354f475866
commit 8602d6ed2e
11 changed files with 38 additions and 28 deletions
+2
View File
@@ -662,6 +662,7 @@ function buildMossGenerateWorkflow(params: ImageV2BuildParams) {
setInput(graph, SAVE, 'filename_prefix', params.filenamePrefix || 'v2-moss')
assertImageV2Graph(graph, 'generate', undefined, 'moss')
const userLoras = applyImageV2UserLoras(graph, imageV2UserStack(params, 'moss'), 'moss')
const loaders = loadImageNames(graph)
console.log(JSON.stringify({
src: 'image-v2',
@@ -678,6 +679,7 @@ function buildMossGenerateWorkflow(params: ImageV2BuildParams) {
},
shift: IMAGE_V2_MOSS_SHIFT,
slg: IMAGE_V2_MOSS_SLG_LAYER,
loras: { user: userLoras },
upsampler: false,
steps,
cfg,