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:
@@ -0,0 +1,10 @@
|
||||
import { listGenerationPresets } from '~/server/utils/generationPresets'
|
||||
import { parseGenerationPresetKind } from '~/utils/generationPresets'
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
const { owner } = assertLibraryOwner(event)
|
||||
const kind = parseGenerationPresetKind(getQuery(event).kind)
|
||||
return {
|
||||
presets: listGenerationPresets(owner, kind)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user