Add same-mode extra passes to Image v2, and hide Shot script from image Recommend.

Library tiles show a check when selected, and xAIGen can hide a preview from the details pane.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-30 18:17:17 -05:00
co-authored by Cursor
parent fd9831dfcf
commit e89b47b5f9
8 changed files with 500 additions and 206 deletions
+4 -1
View File
@@ -780,7 +780,9 @@ async function startStudioEditJob(item: StudioJob) {
familyId: item.familyId,
chainIndex: 0,
chainStep: 1,
chainTotal: 1,
chainTotal: 1 + ((mode === 'edit' || mode === 'compose') ? (payload.passes?.length || 0) : 0),
chainLabel: (mode === 'edit' || mode === 'compose') && payload.passes?.length ? 'Pass 1' : undefined,
passes: payload.passes,
...persistLoraFields(payload.loraStack || payload.loraName)
}
})
@@ -793,6 +795,7 @@ async function startStudioEditJob(item: StudioJob) {
reference: mode === 'refine' || mode === 'generate' ? null : reference,
mask,
prompt: payload.prompt,
passes: payload.passes || [],
negative: payload.negative || '',
steps: payload.steps,
seed: live.library?.seed || payload.seed,