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
+2 -6
View File
@@ -7,11 +7,10 @@ import { buildIdentityPrompt } from '~/utils/identityPrompt'
import { applyUserLoraToGraph, resolveGraphLoraNames } from '~/server/utils/loras'
import type { LoraStackItem } from '~/utils/loras'
import {
coerceVideoWorkflow,
isLtxWorkflow,
isTextToVideo,
LTX_DISABLED_MESSAGE,
LTX_NEGATIVE,
ltxWorkflowEnabled,
parseVideoWorkflow,
type VideoWorkflowId
} from '~/utils/videoModels'
@@ -81,10 +80,7 @@ function templateFor(id: VideoWorkflowId) {
}
export function buildWorkflow(params: GenerateParams) {
const version = parseVideoWorkflow(params.workflow)
if (isLtxWorkflow(version) && !ltxWorkflowEnabled()) {
throw new Error(LTX_DISABLED_MESSAGE)
}
const version = coerceVideoWorkflow(params.workflow)
if (isLtxWorkflow(version)) return buildLtxWorkflow(params, version)
const graph = structuredClone(templateFor(version === 't2v' ? 'v1' : version === 'v2' ? 'v2' : 'v1'))