Add LoRA stacks with per-item strengths and named video/image generation presets so setups survive reload without mixing Klein onto MiniMax. Keep LTX Pink Cherry and xAIGen LoRAs on xAIGen, and run Recommend on Beast.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,8 +23,13 @@ export default defineEventHandler((event) => {
|
||||
]
|
||||
: undefined)
|
||||
: [
|
||||
{ prompt: job.payload.prompt, duration: job.payload.duration },
|
||||
...(job.payload.extensions || [])
|
||||
{ prompt: job.payload.prompt, duration: job.payload.duration, loraName: job.payload.shotLoras?.[0] || job.payload.loraName, loraStack: job.payload.shotLoraStacks?.[0] || job.payload.loraStack },
|
||||
...(job.payload.extensions || []).map((item, index) => ({
|
||||
prompt: item.prompt,
|
||||
duration: item.duration,
|
||||
loraName: item.loraName || job.payload.shotLoras?.[index + 1],
|
||||
loraStack: item.loraStack || job.payload.shotLoraStacks?.[index + 1]
|
||||
}))
|
||||
]
|
||||
return {
|
||||
...summarizeStudioJob(job),
|
||||
|
||||
Reference in New Issue
Block a user