Keep library deletes when a still file is locked, and match LoRAs by engine folder.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-24 11:13:00 -05:00
co-authored by Cursor
parent 8602d6ed2e
commit 39aa4b65d0
19 changed files with 501 additions and 116 deletions
+9
View File
@@ -0,0 +1,9 @@
# AIGen
AIGen is a Nuxt 3 studio that sends image, video, and music jobs to ComfyUI and keeps the results in a library. The home page is Studio 2. Studio 1, the queue, prompt builder, director, music, library, and settings pages are still in the app.
Two deployments share this repo. AIGen is the default. xAIGen is the same build with `NUXT_PUBLIC_STUDIO=xaigen`, which is what unlocks LTX and xAIGen-only LoRAs.
The library catalog on disk is the source of truth for stills, clips, and tracks. In production that disk is the Coolify volume (`LIBRARY_DIR`). Deleting a still removes the catalog row even when the file itself cannot be removed.
LoRA files are picked from Comfy's list. The preferred layout is `models/loras/xaigen/<engine>/` or `models/loras/aigen/<engine>/`. Flat files that still use filename prefixes keep working.