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
+7 -29
View File
@@ -21,27 +21,7 @@
</svg>
<span class="mt-3 block font-display text-lg font-bold text-zinc-100">Video</span>
</button>
<div v-if="ltxEnabled" class="grid grid-cols-2 border-t border-white/10">
<button
type="button"
class="border-r border-white/10 px-3 py-2.5 text-left text-sm transition"
:class="engineBtnClass(current === 'video' && videoEngine === 'minimax')"
@click="pickVideo('minimax')"
>
<span class="block font-semibold">MiniMax</span>
<span class="text-xs opacity-80">H3</span>
</button>
<button
type="button"
class="px-3 py-2.5 text-left text-sm transition"
:class="engineBtnClass(current === 'video' && videoEngine === 'ltx')"
@click="pickVideo('ltx')"
>
<span class="block font-semibold">LTX</span>
<span class="text-xs opacity-80">2.3</span>
</button>
</div>
<p v-else class="border-t border-white/10 px-4 py-2 text-xs text-zinc-500">MiniMax H3</p>
<p class="border-t border-white/10 px-4 py-2 text-xs text-zinc-500">MiniMax H3</p>
<p class="border-t border-white/10 px-4 py-2 text-xs text-zinc-400">{{ videoStart === 'still' ? 'Image to video' : 'Text to video' }} · automatic</p>
</div>
@@ -117,13 +97,11 @@
const props = withDefaults(defineProps<{
current: 'video' | 'image' | 'music'
advanced?: boolean
ltxEnabled?: boolean
videoEngine?: 'minimax' | 'ltx'
videoEngine?: 'minimax'
videoStart?: 'still' | 'text'
imageEngine?: 'flux' | 'krea' | 'moss'
musicEngine?: 'yue2'
}>(), {
ltxEnabled: false,
videoEngine: 'minimax',
videoStart: 'still',
imageEngine: 'flux',
@@ -132,22 +110,22 @@ const props = withDefaults(defineProps<{
const emit = defineEmits<{
select: [kind: 'video' | 'image']
'video-engine': [engine: 'minimax' | 'ltx']
'video-engine': [engine: 'minimax']
'image-engine': [engine: 'flux' | 'krea' | 'moss']
}>()
function engineBtnClass(active: boolean) {
if (active) return 'bg-amber-400/15 text-amber-100'
return 'text-zinc-400 hover:bg-white/5 hover:text-zinc-200'
return 'hover:bg-white/5'
}
function pickVideo(engine: 'minimax' | 'ltx') {
function pickVideo(engine: 'minimax') {
emit('video-engine', engine)
if (props.current !== 'video') emit('select', 'video')
emit('select', 'video')
}
function pickImage(engine: 'flux' | 'krea' | 'moss') {
emit('image-engine', engine)
if (props.current !== 'image') emit('select', 'image')
emit('select', 'image')
}
</script>