Let Image v2 pick a LoRA or LoRA chain.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -748,7 +748,8 @@ async function startStudioEditJob(item: StudioJob) {
|
||||
familyId: item.familyId,
|
||||
chainIndex: 0,
|
||||
chainStep: 1,
|
||||
chainTotal: 1
|
||||
chainTotal: 1,
|
||||
...persistLoraFields(payload.loraStack || payload.loraName)
|
||||
}
|
||||
})
|
||||
await markStudioLive(item.ownerKey, item.id, live.id)
|
||||
@@ -774,7 +775,8 @@ async function startStudioEditJob(item: StudioJob) {
|
||||
height: payload.height,
|
||||
turbo: payload.turbo === true,
|
||||
sourceStillId: payload.stillId,
|
||||
referenceStillId: payload.referenceStillId
|
||||
referenceStillId: payload.referenceStillId,
|
||||
loraStack: payload.loraStack
|
||||
}).catch((error) => {
|
||||
const message = error instanceof Error ? error.message : String(error)
|
||||
if (live && live.status !== 'error' && live.status !== 'cancelled' && live.status !== 'deferred') {
|
||||
|
||||
Reference in New Issue
Block a user