Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(katalog): vier offene Videomodelle im Notvorrat des Desktops

purple75123190913b
diff --git a/src/lib/render/__tests__/offene-videomodelle.test.ts b/src/lib/render/__tests__/offene-videomodelle.test.ts
new file mode 100644
index 00000000..46de6cf5
--- /dev/null
+++ b/src/lib/render/__tests__/offene-videomodelle.test.ts
@@ -0,0 +1,71 @@
+/**
+ * Die offenen Videomodelle im Notvorrat des Desktops.
+ *
+ * Zur Laufzeit kommt der Katalog von /api/jobs/catalog; CLOUD_MODEL_SEED ist
+ * die Liste, die ein Build ohne Netz zeigt. Sie hinkte dem Web hinterher
+ * (Bericht lu-300/e2e/6-nachlauf/bauer-w-katalog.md, 13.09.2026).
+ *
+ * Gezaehlt wird hier, nicht getippt: offen ist jeder Endpunkt, dessen Id
+ * `spicy` traegt. So kennzeichnet der Anbieter seine Routen, und genau so
+ * steht die Regel im Web. Eine abgeschriebene Liste von Ids muesste bei jedem
+ * neuen Endpunkt von Hand nachgezogen werden und faende deshalb nie etwas.
+ *
+ * Run: npx vitest run src/lib/render/__tests__/offene-videomodelle.test.ts
+ */
+import { describe, expect, it } from 'vitest'
+import { CLOUD_MODEL_SEED } from '../cloud-models'
+import { i2vModels, t2vModels, useCloudCatalogStore } from '../../../stores/cloudCatalogStore'
+
+const klassischeVideo = CLOUD_MODEL_SEED.filter((m) => m.kind === 'video' && !m.ops)
+const offeneVideo = klassischeVideo.filter((m) => m.id.includes('spicy'))
+
+describe('offene Videomodelle im Seed', () => {
+ it('fuehrt welche, und die Trennung ist echt', () => {
+ // Positivkontrolle: griffe der Filter ins Leere, pruefte jeder Fall unten
+ // eine leere Menge und waere still gruen.
+ expect(offeneVideo.length).toBeGreaterThan(0)
+ expect(offeneVideo.length).toBeLessThan(klassischeVideo.length)
+ })
+
+ it('bietet keines als Text-zu-Video an, der Anbieter hat dafuer keinen Endpunkt', () => {
+ for (const m of offeneVideo) {
+ expect(m.t2v, m.id).toBe(false)
+ expect(m.i2v, m.id).toBe(true)
+ }
+ })
+
+ it('nennt keines nach dem, was es kann', () => {
+ // Die Beschriftung steht im Waehler und damit auf einer Oberflaeche, die
+ // an der Zahlungsbeziehung haengt. Die Id darf heissen, wie der Anbieter
+ // sie nennt, die Beschriftung nicht.
+ for (const m of offeneVideo) {
+ expect(m.label, m.id).not.toMatch(/spicy|uncensored|nsfw|adult|nude|porn/i)
+ expect(m.label, m.id).toMatch(/ Open$/)
+ }
+ })
+
+ it('quotiert einen Preis und keinen 8-Sekunden-Knopf', () => {
+ // Der Anbieter nennt fuer diese Routen nur den 5-Sekunden-Grundpreis. Ein
+ // 8-Sekunden-Knopf haette eine Laenge versprochen, die der Worker nicht
+ // rendert und die Preistabelle nicht kennt.
+ for (const m of offeneVideo) {
+ expect(m.credits?.base, m.id).toBeGreaterThan(0)
+ expect(m.credits?.long, m.id).toBeUndefined()
+ expect(m.clip, m.id).toEqual({ short: 5 })
+ }
+ })
+
+ it('steht im Animate-Waehler und in keinem anderen', () => {
+ useCloudCatalogStore.setState({ models: CLOUD_MODEL_SEED })
+ const animate = i2vModels().map((m) => m.id)
+ for (const m of offeneVideo) expect(animate, m.id).toContain(m.id)
+ expect(t2vModels().filter((m) => m.id.includes('spicy'))).toEqual([])
+ })
+
+ it('nimmt seedance-2.0-mini-spicy nicht auf', () => {
+ // Beschreibung und Grundpreis des Anbieters widersprechen sich bei dieser
+ // einen Route. Der Fall haelt fest, dass sie draussen bleibt, damit sie
+ // beim naechsten Abgleich nicht versehentlich nachwaechst.
+ expect(CLOUD_MODEL_SEED.map((m) => m.id)).not.toContain('seedance-2.0-mini-spicy')
+ })
+})
diff --git a/src/lib/render/cloud-models.ts b/src/lib/render/cloud-models.ts
index 84192ee1..5a29185f 100644
--- a/src/lib/render/cloud-models.ts
+++ b/src/lib/render/cloud-models.ts
@@ -64,6 +64,16 @@ export const CLOUD_MODEL_SEED: CloudModel[] = [
{ id: 'hunyuan-video', label: 'HunyuanVideo 1.5', kind: 'video', t2v: true, i2v: true, negative_prompt: true, clip: CLIP },
{ id: 'ltx-2.3', label: 'LTX 2.3', kind: 'video', t2v: true, i2v: true, clip: CLIP },
+ // Image-to-video endpoints the provider ships with its own filter off
+ // (2026-09-13, mirroring uselu apps/web/lib/render/cloud-models.ts). None of
+ // them has a text-to-video twin at the provider, hence t2v: false — the path
+ // is an image first, then one of these. CLIP does not fit here: the provider
+ // quotes only a 5 s rate for them, so there is no 8s button to offer.
+ { id: 'seedance-2.5-spicy', label: 'Seedance 2.5 Open', kind: 'video', t2v: false, i2v: true, clip: { short: 5 }, credits: { base: 90000 } },
+ { id: 'seedance-2.0-spicy', label: 'Seedance 2.0 Open', kind: 'video', t2v: false, i2v: true, clip: { short: 5 }, credits: { base: 60000 } },
+ { id: 'seedance-2.0-fast-spicy', label: 'Seedance 2.0 Fast Open', kind: 'video', t2v: false, i2v: true, clip: { short: 5 }, credits: { base: 50000 } },
+ { id: 'vidu-q3-spicy', label: 'Vidu Q3 Open', kind: 'video', t2v: false, i2v: true, clip: { short: 5 }, credits: { base: 35000 } },
+
// ── 2.5.8 op-specialized fleet (Character-Studio / lipsync / voice / music /
// extend / motion). `ops` keeps them out of every classic picker; the live
// catalog (?v=2) is the pricing truth. Face-swap is banned from this list. ──
diff --git a/src/stores/__tests__/cloudCatalogStore.test.ts b/src/stores/__tests__/cloudCatalogStore.test.ts
index b1fb76ba..f0871f1d 100644
--- a/src/stores/__tests__/cloudCatalogStore.test.ts
+++ b/src/stores/__tests__/cloudCatalogStore.test.ts
@@ -161,12 +161,18 @@ describe('cloudCatalogStore', () => {
],
}
- it('every classic seed clip model does both t2v and i2v', () => {
+ it('every classic seed clip model animates an image; the open ones do only that', () => {
// Op-specialized 2.5.8 entries (lipsync/extend/motion/trainer) are not
// clip-generation models and are hard-false on both flags.
const vids = CLOUD_MODEL_SEED.filter((m) => m.kind === 'video' && !m.ops)
expect(vids.length).toBeGreaterThan(0)
- expect(vids.every((m) => m.t2v !== false && m.i2v !== false)).toBe(true)
+ expect(vids.every((m) => m.i2v !== false)).toBe(true)
+ // Text-to-video is what splits the list since 2026-09-13: the provider
+ // ships no text-to-video twin for the open endpoints, so exactly those
+ // carry t2v: false and every other clip model still does both.
+ expect(vids.filter((m) => m.t2v === false).map((m) => m.id))
+ .toEqual(vids.filter((m) => m.id.includes('spicy')).map((m) => m.id))
+ expect(vids.filter((m) => m.t2v !== false).length).toBeGreaterThan(0)
const specialized = CLOUD_MODEL_SEED.filter((m) => m.kind === 'video' && m.ops)
expect(specialized.length).toBeGreaterThan(0)
expect(specialized.every((m) => m.t2v === false && m.i2v === false)).toBe(true)