Add MOSS-Image on the Image v2 path and stop the queue calling it Klein.

The bench queue labeled every engine except Krea, Qwen, MiniMax, and LTX as Klein, and the v2 starter treated any engine other than Krea as Flux.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-22 20:04:58 -05:00
co-authored by Cursor
parent 74edeabc39
commit 354f475866
30 changed files with 873 additions and 111 deletions
+14 -5
View File
@@ -62,7 +62,7 @@
</svg>
<span class="mt-3 block font-display text-lg font-bold text-zinc-100">Image</span>
</button>
<div class="grid grid-cols-2 border-t border-white/10">
<div class="grid grid-cols-3 border-t border-white/10">
<button
type="button"
class="border-r border-white/10 px-3 py-2.5 text-left text-sm transition"
@@ -74,13 +74,22 @@
</button>
<button
type="button"
class="px-3 py-2.5 text-left text-sm transition"
class="border-r border-white/10 px-3 py-2.5 text-left text-sm transition"
:class="engineBtnClass(current === 'image' && imageEngine === 'krea')"
@click="pickImage('krea')"
>
<span class="block font-semibold">Krea</span>
<span class="text-xs opacity-80">2 Turbo</span>
</button>
<button
type="button"
class="px-3 py-2.5 text-left text-sm transition"
:class="engineBtnClass(current === 'image' && imageEngine === 'moss')"
@click="pickImage('moss')"
>
<span class="block font-semibold">MOSS</span>
<span class="text-xs opacity-80">Image</span>
</button>
</div>
</div>
@@ -111,7 +120,7 @@ const props = withDefaults(defineProps<{
ltxEnabled?: boolean
videoEngine?: 'minimax' | 'ltx'
videoStart?: 'still' | 'text'
imageEngine?: 'flux' | 'krea'
imageEngine?: 'flux' | 'krea' | 'moss'
musicEngine?: 'yue2'
}>(), {
ltxEnabled: false,
@@ -124,7 +133,7 @@ const props = withDefaults(defineProps<{
const emit = defineEmits<{
select: [kind: 'video' | 'image']
'video-engine': [engine: 'minimax' | 'ltx']
'image-engine': [engine: 'flux' | 'krea']
'image-engine': [engine: 'flux' | 'krea' | 'moss']
}>()
function engineBtnClass(active: boolean) {
@@ -137,7 +146,7 @@ function pickVideo(engine: 'minimax' | 'ltx') {
if (props.current !== 'video') emit('select', 'video')
}
function pickImage(engine: 'flux' | 'krea') {
function pickImage(engine: 'flux' | 'krea' | 'moss') {
emit('image-engine', engine)
if (props.current !== 'image') emit('select', 'image')
}