Eliminate xAIGen and LTX; AIGen is the only studio.

Drop the studio split, backup-to-xAIGen link, and LTX engine option. Show all LoRAs on AIGen and remove the Photos show/hide inputs toggle so slots stay visible.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-27 17:55:59 -05:00
co-authored by Cursor
parent 2b603b1d58
commit 08caeb51de
38 changed files with 174 additions and 635 deletions
+1 -5
View File
@@ -1,6 +1,5 @@
import { createHash, timingSafeEqual } from 'node:crypto'
import type { H3Event } from 'h3'
import { isXaigenStudio } from '~/utils/videoModels'
import { passwordAuthEnabled, privateInstanceId } from '~/server/utils/localAuth'
function configuredApiKey() {
@@ -30,7 +29,6 @@ export function aigenApiKeyConfigured() {
}
export function aigenBearerAuthorized(event: H3Event) {
if (isXaigenStudio()) return false
const expected = configuredApiKey()
if (!expected) return false
const header = String(getHeader(event, 'authorization') || '')
@@ -46,7 +44,5 @@ export function aigenApiPathAllowed(path: string, method: string) {
}
export function assertAigenFeature() {
if (isXaigenStudio()) {
throw createError({ statusCode: 404, statusMessage: 'Not found' })
}
/* AIGen API is always available on the single studio deployment. */
}