Add Image v2 as a sibling of Image edit, with separate Klein graphs.

Keep the v1 Image tab on its dual-branch template. The host agent follows Desktop's live port so Coolify stays on :8198.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-28 21:22:37 -05:00
co-authored by Cursor
parent 55f8cb1def
commit 21fe2412f9
18 changed files with 1678 additions and 67 deletions
+6 -3
View File
@@ -1,7 +1,8 @@
import type { LoraStackItem } from '~/utils/loras'
import type { VideoWorkflowId } from '~/utils/videoModels'
import type { ImageV2PresetSettings } from '~/utils/imageV2'
export type GenerationPresetKind = 'video' | 'image'
export type GenerationPresetKind = 'video' | 'image' | 'imagev2'
export type VideoPresetSettings = {
workflow?: VideoWorkflowId
@@ -75,11 +76,13 @@ export type GenerationPreset = {
createdAt: number
updatedAt: number
loraStack: LoraStackItem[]
settings: VideoPresetSettings | ImagePresetSettings
settings: VideoPresetSettings | ImagePresetSettings | ImageV2PresetSettings
}
export function parseGenerationPresetKind(raw: unknown): GenerationPresetKind {
return raw === 'image' ? 'image' : 'video'
if (raw === 'image') return 'image'
if (raw === 'imagev2') return 'imagev2'
return 'video'
}
export function normalizePresetName(raw: unknown) {