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.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
feat(create): follow the web catalogue of 24.10.2026
purpleb16d0c2132ab
diff --git a/src/components/create/experimental/__tests__/model-chip-tiers.test.tsx b/src/components/create/experimental/__tests__/model-chip-tiers.test.tsxindex def8987a..b2aa89dc 100644--- a/src/components/create/experimental/__tests__/model-chip-tiers.test.tsx+++ b/src/components/create/experimental/__tests__/model-chip-tiers.test.tsx@@ -112,7 +112,9 @@ describe('der Bildwaehler (neuer Server)', () => {}const aelter = erwartet.filter((e) => tierOf(e.model) === 'older').map((e) => e.model.label)- expect(aelter).toEqual(expect.arrayContaining(['Flux Schnell (fast)', 'Flux Dev (quality)', 'Qwen Image', 'HiDream', 'HunyuanImage 2.1']))+ // HiDream und HunyuanImage 2.1 stehen seit dem 24.10.2026 in keinem+ // Waehler mehr (retired-models.ts).+ expect(aelter).toEqual(expect.arrayContaining(['Flux Schnell (fast)', 'Flux Dev (quality)', 'Qwen Image', 'Wan 2.2 Realism']))expect(zeilen.slice(-aelter.length).map((z) => z.name)).toEqual(aelter)expect(kopf).toBeTruthy()const ersteAlte = zeilen[zeilen.length - aelter.length].name@@ -176,9 +178,12 @@ describe('die anderen Waehler (neuer Server)', () => {const { zeilen } = lies('video')expect(zeilen.map((z) => z.name)).toEqual(reihenfolge(videoPickerModels()))expect(zeilen[0].best).toBe(true)- expect(zeilen.filter((z) => z.best).map((z) => z.name)).toEqual(['LTX 2.5', 'MiniMax H3'])+ // Wan 3.0 mit Text zu Video seit dem 24.10.2026; LTX 2.3 und+ // HunyuanVideo 1.5 stehen seither in keinem Waehler mehr.+ expect(zeilen.filter((z) => z.best).map((z) => z.name)).toEqual(['Wan 3.0', 'LTX 2.5', 'MiniMax H3'])const unten = zeilen.slice(-5).map((z) => z.name)- expect(unten).toEqual(expect.arrayContaining(['Wan 2.2 720p', 'Wan 2.2 Fast', 'LTX 2.3']))+ expect(unten).toEqual(expect.arrayContaining(['Wan 2.2 720p', 'Wan 2.2 Fast']))+ expect(zeilen.map((z) => z.name)).not.toContain('LTX 2.3')})it('Animate: Referenzmodelle und die neuen Bild-zu-Video-Modelle sind waehlbar', () => {diff --git a/src/hooks/__tests__/useCloudCreate-studio.test.ts b/src/hooks/__tests__/useCloudCreate-studio.test.tsindex 54f523e9..9eb76787 100644--- a/src/hooks/__tests__/useCloudCreate-studio.test.ts+++ b/src/hooks/__tests__/useCloudCreate-studio.test.ts@@ -210,9 +210,11 @@ describe('Studio-Modelle in den Create-Unterkategorien', () => {it('laesst eine klassische Wahl unveraendert ihren alten Weg gehen', async () => {const s = useCreateStore.getState()s.setIntent('music')- s.setCloudOpModel('ace-step')+ // ACE-Step (fast) hat das Web am 24.10.2026 zurueckgezogen+ // (retired-models.ts); ACE-Step 1.5 ist die klassische Musikwahl seither.+ s.setCloudOpModel('ace-step-1.5')await useCloudCreate().generate()- expect(submitted[0].model).toBe('ace-step')+ expect(submitted[0].model).toBe('ace-step-1.5')expect(submitted[0].params.op).toBe('music')expect(submitted[0].params.duration).toBeDefined()expect(submitted[0].params.studio_options).toBeUndefined()diff --git a/src/lib/create/__tests__/a13-every-intent-from-call-to-result.test.ts b/src/lib/create/__tests__/a13-every-intent-from-call-to-result.test.tsindex d2e87cc4..3d5efe50 100644--- a/src/lib/create/__tests__/a13-every-intent-from-call-to-result.test.ts+++ b/src/lib/create/__tests__/a13-every-intent-from-call-to-result.test.ts@@ -17,6 +17,8 @@ import { useCreateOrderStore } from '../../../stores/createOrderStore'import { useCreateStore } from '../../../stores/createStore'import { useChatStore } from '../../../stores/chatStore'import { useCloudAuthStore } from '../../../stores/cloudAuthStore'+import { useCloudCatalogStore } from '../../../stores/cloudCatalogStore'+import { neuerServer } from '../../render/__tests__/fixtures/test-catalogs'import { defaultCreateToolEnv } from '../chat-context'import { runCreateOptions, runCreateOrder } from '../chat-tools'import { LOST_TRACK_ERROR, ORDER_RESULT_PREFIX, executeOrder, interruptedRuns, markInterrupted } from '../order'@@ -42,6 +44,10 @@ beforeEach(() => {useCreateStore.setState({ gallery: [] })useCloudAuthStore.setState({ quota: { costs: { image: 400, video: 9000 } } } as never)useChatStore.setState({ conversations: [], activeConversationId: CONV })+ // Signed in, so the live catalogue is there. Since 24.10.2026 the only+ // extend models without the filter off are studio models, and a studio+ // model is offered only when the live catalogue lists it.+ useCloudCatalogStore.setState({ models: neuerServer() })vi.stubGlobal('fetch', vi.fn(async (input: RequestInfo | URL, init?: RequestInit) => {const url = new URL(String(input))const method = init?.method ?? 'GET'@@ -97,10 +103,10 @@ const WALKS: [string, unknown[]][] = [['edit', [IMAGE, { intent: 'edit', prompt: 'make the scarf blue', inputs: { image: 'item:1' } }]],['removebg', [IMAGE, { intent: 'removebg', inputs: { image: 'item:1' } }]],['upscale', [IMAGE, { intent: 'upscale', inputs: { image: 'item:1' } }]],- ['extend', [CLIP, { intent: 'extend', prompt: 'she keeps walking', model: 'ltx-2-extend', inputs: { video: 'item:1' } }]],+ ['extend', [CLIP, { intent: 'extend', prompt: 'she keeps walking', model: 'wan-3.0-extend', inputs: { video: 'item:1' } }]],['video_upscale', [CLIP, { intent: 'video_upscale', inputs: { video: 'item:1' } }]],['lipsync', [IMAGE, VOICE, { intent: 'lipsync', model: 'infinitetalk-fast', inputs: { image: 'item:1', audio: 'item:2' } }]],- ['motion', [IMAGE, CLIP, { intent: 'motion', model: 'wan-2.2-animate', prompt: 'dance', inputs: { image: 'item:1', video: 'item:2' } }]],+ ['motion', [IMAGE, CLIP, { intent: 'motion', model: 'steady-dancer', prompt: 'dance', inputs: { image: 'item:1', video: 'item:2' } }]],['music', [{ intent: 'music', prompt: 'calm piano, rain', options: { duration: 30 } }]],['speech', [VOICE]],]diff --git a/src/lib/render/__tests__/alter-server.test.ts b/src/lib/render/__tests__/alter-server.test.tsindex 8f21aced..7c83eb6a 100644--- a/src/lib/render/__tests__/alter-server.test.ts+++ b/src/lib/render/__tests__/alter-server.test.ts@@ -26,13 +26,23 @@ import {describe('der alte Katalog ist wirklich der alte', () => {it('kein Eintrag traegt tier oder weights, und die neuen Modelle fehlen', () => {const alt = alterServer()- expect(alt.length).toBe(104)+ // 104 bis zum 24.10.2026. Seither fehlen die neun Modelle, die das Web aus+ // den Waehlern genommen hat (retired-models.ts), auch im Notvorrat und in+ // der Registrierung, aus der dieser alte Katalog gebaut wird.+ expect(alt.length).toBe(95)for (const m of alt) {expect(m.tier, m.id).toBeUndefined()expect(m.weights, m.id).toBeUndefined()}const ids = new Set(alt.map((m) => m.id))- expect(neueIds()).toHaveLength(8)+ // Acht vom 02.10.2026, dazu die 23 des Web-Katalogs vom 24.10.2026+ // (FLUX 3 Klein, die Spitzenmodelle, Wan 3.0, ElevenLabs v4 und mehr).+ const katalog2410 = new Set(['flux-3-klein', 'flux-3-klein-base', 'flux-3-klein-edit', 'krea-2-turbo', 'moss-image',+ 'eleven-v4', 'eleven-v4-turbo', 'wan-3.0-t2v', 'wan-3.0-prime-t2v', 'minimax-h3-singularity', 'minimax-h3-singularity-ref',+ 'gpt-image-2', 'gpt-image-2-edit', 'nano-banana-pro', 'nano-banana-pro-edit', 'flux-2-max', 'flux-2-max-edit',+ 'midjourney', 'grok-imagine-quality', 'grok-imagine-quality-edit', 'recraft-v4.1-pro', 'kling-image-o3', 'kling-image-o3-edit'])+ expect(neueIds().filter((id) => !katalog2410.has(id))).toHaveLength(8)+ expect(neueIds().filter((id) => katalog2410.has(id))).toHaveLength(23)for (const id of neueIds()) expect(ids.has(id), id).toBe(false)// Der neue Katalog hat dagegen alles.expect(neuerServer().length).toBeGreaterThanOrEqual(alt.length + 8)diff --git a/src/lib/render/__tests__/catalog-tier.test.ts b/src/lib/render/__tests__/catalog-tier.test.tsindex 1a203665..420dc103 100644--- a/src/lib/render/__tests__/catalog-tier.test.ts+++ b/src/lib/render/__tests__/catalog-tier.test.ts@@ -12,7 +12,8 @@ import { beforeEach, describe, expect, it } from 'vitest'import { readFileSync } from 'node:fs'import { join } from 'node:path'import { CLOUD_MODEL_SEED } from '../cloud-models'-import { STUDIO_MODELS } from '../studio-contract'+import { STUDIO_MODELS, STUDIO_MODELS_WITH_RETIRED } from '../studio-contract'+import { isRetiredMediaModel } from '../retired-models'import { intentPickerModels } from '../create-studio'import { presetModels } from '../preset-models'import { sortByTier } from '../model-tier'@@ -40,7 +41,7 @@ describe('jedes Cloud-Modell traegt Stufe und Herkunft', () => {expect(TIERS, `${id}.tier`).toContain(m.tier)expect(WEIGHTS, `${id}.weights`).toContain(m.weights)}- expect(Object.keys(roh)).toEqual(Object.keys(STUDIO_MODELS))+ expect(Object.keys(roh)).toEqual(Object.keys(STUDIO_MODELS_WITH_RETIRED))})it('der Katalog des neuen Servers traegt beide Felder an jedem Eintrag', () => {@@ -65,20 +66,26 @@ describe('jedes Cloud-Modell traegt Stufe und Herkunft', () => {it('stuft die benannten Modelle so ein, wie der Inhaber es vorgegeben hat', () => {const t = (id: string) => neuerServer().find((m) => m.id === id)!for (const id of ['minimax-h3', 'wan-3.0', 'z-image', 'z-image-turbo', 'seedance-2.5']) expect(t(id).tier, id).toBe('best')- for (const id of ['flux-schnell', 'flux-dev', 'qwen-image', 'hidream', 'hunyuan-image', 'wan-2.2-720p', 'wan-2.2-fast', 'ltx-2', 'ltx-2.3', 'hunyuan-video']) {+ // hidream, hunyuan-image, ltx-2.3, hunyuan-video, eleven-v3 und+ // pixverse-extend standen hier auch. Seit dem 24.10.2026 stehen sie in+ // keinem Waehler mehr (retired-models.ts).+ for (const id of ['flux-schnell', 'flux-dev', 'qwen-image', 'wan-2.2-720p', 'wan-2.2-fast', 'ltx-2']) {expect(t(id).tier, id).toBe('older')}for (const id of ['wan-3.0', 'wan-3.0-ref', 'qwen-image-3-edit', 'flux-3-upscale']) expect(t(id).weights, id).toBe('open-family')- for (const id of ['seedance-2.5', 'seedance-2.5-spicy', 'seedream-5-edit', 'vidu-q3-spicy', 'heygen-twin', 'eleven-v3', 'mureka-song', 'minimax-music', 'minimax-speech-hd', 'lipsync-3-avatar', 'lipsync-2', 'pixverse-extend']) {+ for (const id of ['seedance-2.5', 'seedance-2.5-spicy', 'seedream-5-edit', 'vidu-q3-spicy', 'heygen-twin', 'mureka-song', 'minimax-music', 'minimax-speech-hd', 'lipsync-3-avatar', 'lipsync-2']) {expect(t(id).weights, id).toBe('closed')}for (const id of ['minimax-h3', 'z-image', 'ltx-2.5-t2v', 'qwen-image-2.1', 'qwen-image-2.1-edit']) expect(t(id).weights, id).toBe('open')})- it('der Katalog behaelt alles, was er hatte: nichts wurde entfernt', () => {+ it('der Katalog behaelt alles, was er hatte: entfernt ist nur, was das Web zurueckgezogen hat', () => {const jetzt = new Set(neuerServer().map((m) => m.id))expect(katalogVor.length).toBeGreaterThan(100)- for (const id of katalogVor) expect(jetzt.has(id), id).toBe(true)+ // Am 24.10.2026 hat das Web neun Modelle aus den Waehlern genommen+ // (retired-models.ts). Nur die duerfen fehlen, und sie muessen fehlen.+ for (const id of katalogVor) expect(jetzt.has(id), id).toBe(!isRetiredMediaModel(id))+ expect(katalogVor.filter((id) => isRetiredMediaModel(id))).toHaveLength(9)})})diff --git a/src/lib/render/__tests__/katalog-paritaet-web.test.ts b/src/lib/render/__tests__/katalog-paritaet-web.test.tsindex 0e3a4717..6a7ecdeb 100644--- a/src/lib/render/__tests__/katalog-paritaet-web.test.ts+++ b/src/lib/render/__tests__/katalog-paritaet-web.test.ts@@ -34,7 +34,7 @@ import { DESKTOP_WORT, WEB_PLATZHALTER, alsDesktop, gezeigt, webNamen, webWort }// Nur LU_WEB_REPO sagt, wo das Web liegt. Frueher wurden Nachbarordner// probiert, und ein stehen gebliebener (lu-300-web auf release/3.0.1) hielt// den Waechter am Mac dauerhaft rot. Siehe web-checkout.ts.-const WEB = webCheckout('katalog-paritaet', ['apps/web/lib/render/cloud-models.ts', 'apps/web/lib/billing/credits.ts'])+const WEB = webCheckout('katalog-paritaet', ['apps/web/lib/render/cloud-models.ts', 'apps/web/lib/render/retired-models.ts', 'apps/web/lib/billing/credits.ts'])/** Rechnet eine Zeile der Preistabelle in Credits um. */const CREDIT_USD = 1e-5@@ -60,10 +60,26 @@ interface WebZeile {weights?: string}-/** Die Eintraege aus CLOUD_MODELS des Webs, ohne TypeScript zu laden. */+/** Die Modelle, die das Web aus seinen Waehlern genommen hat (24.10.2026).+ * Das Web fuehrt sie in CLOUD_MODELS_WITH_RETIRED weiter, aber nicht in+ * CLOUD_MODELS, und der Server listet sie nicht mehr. Gelesen aus der Datei+ * des Webs; der Desktop traegt dieselbe Datei (studio-snapshot.mjs). */+function webRetired(): Set<string> {+ const datei = readFileSync(resolve(WEB!, 'apps/web/lib/render/retired-models.ts'), 'utf8')+ const start = datei.indexOf('export const RETIRED_MEDIA_MODELS')+ const rumpf = ohneKommentare(datei.slice(start, datei.indexOf('\n}', start)))+ const ids = [...rumpf.matchAll(/(?:'([^']+)'|([\w.-]+)): \{ since:/g)].map((m) => m[1] ?? m[2])+ if (ids.length === 0) throw new Error('No retired models read from the web')+ return new Set(ids)+}++/** Die Eintraege aus CLOUD_MODELS des Webs, ohne TypeScript zu laden. Die+ * Liste steht im Web als CLOUD_MODELS_WITH_RETIRED; CLOUD_MODELS ist sie ohne+ * die zurueckgezogenen Modelle. */function webKatalog(): WebZeile[] {const datei = readFileSync(resolve(WEB!, 'apps/web/lib/render/cloud-models.ts'), 'utf8')const start = datei.indexOf('export const CLOUD_MODELS')+ const retired = webRetired()const ende = datei.indexOf('\n]', start)// Das Web baut die Namen der offenen Modelle aus seiner einen Konstante.// Der Platzhalter wird mit dem Wort des Webs gefuellt; jeder andere@@ -76,7 +92,7 @@ function webKatalog(): WebZeile[] {const id = /id: '([^']+)'/.exec(roh)?.[1]const label = /label: (['`])([^'`]+)\1/.exec(roh)?.[2]const kind = /kind: '([^']+)'/.exec(roh)?.[1]- if (!id || !label || !kind) continue+ if (!id || !label || !kind || retired.has(id)) continueout.push({id,label,@@ -323,7 +339,10 @@ describe.skipIf(!WEB)('Katalogparitaet Desktop gegen Web', () => {it('rechnet den LoRA-Satz mit denselben Zahlen wie das Web, und nur dort', () => {const preise = webPreise()- const webMitLora = Object.entries(preise).filter(([, p]) => p.lora !== undefined)+ // Ein zurueckgezogenes Modell behaelt im Web seinen Preis (alte Laeufe),+ // steht aber in keinem Waehler und darum auch nicht im Notvorrat.+ const retired = webRetired()+ const webMitLora = Object.entries(preise).filter(([id, p]) => p.lora !== undefined && !retired.has(id))expect(webMitLora.length).toBeGreaterThan(0)for (const [id, p] of webMitLora) {const s = CLOUD_MODEL_SEED.find((m) => m.id === id)diff --git a/src/lib/render/__tests__/offene-videomodelle.test.ts b/src/lib/render/__tests__/offene-videomodelle.test.tsindex 64081b95..26645a62 100644--- a/src/lib/render/__tests__/offene-videomodelle.test.ts+++ b/src/lib/render/__tests__/offene-videomodelle.test.ts@@ -95,10 +95,13 @@ describe('offene Videomodelle im Seed', () => {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')+ it('fuehrt seedance-2.0-mini-spicy seit das Web es fuehrt, zum Preis des Webs', () => {+ // Bis zum 24.10.2026 blieb diese Route draussen: Beschreibung und+ // Grundpreis des Anbieters widersprachen sich. Das Web hat sie an dem Tag+ // an der Preisroute gemessen (halber Satz von Seedance 2.0) und+ // aufgenommen, der Desktop folgt mit 3.1.0.+ const mini = CLOUD_MODEL_SEED.find((m) => m.id === 'seedance-2.0-mini-spicy')+ expect(mini?.credits?.base).toBe(30000)+ expect(mini?.credits?.base).toBe(CLOUD_MODEL_SEED.find((m) => m.id === 'seedance-2.0-spicy')!.credits!.base / 2)})})diff --git a/src/lib/render/__tests__/sota-models.test.ts b/src/lib/render/__tests__/sota-models.test.tsindex 2430f8b7..39d7a514 100644--- a/src/lib/render/__tests__/sota-models.test.ts+++ b/src/lib/render/__tests__/sota-models.test.ts@@ -94,7 +94,13 @@ describe('die neuen Modelle aus offenen Familien', () => {const field = m.price.resolutionField ?? 'resolution'const values = studioSchema(id).properties?.[field]?.enumif (!values || m.price.rates.default !== undefined) continue- for (const v of values) expect(m.price.rates[String(v)], `${id}: ${field}=${String(v)}`).toBeGreaterThan(0)+ // Mit `qualityField` (GPT Image 2) steht der Satz unter+ // "<Aufloesung>/<Qualitaet>": jedes Paar braucht einen.+ const quality = m.price.qualityField ? studioSchema(id).properties?.[m.price.qualityField]?.enum ?? [] : [undefined]+ for (const v of values) for (const q of quality) {+ const key = q === undefined ? String(v) : `${String(v)}/${String(q)}`+ expect(m.price.rates[key], `${id}: ${key}`).toBeGreaterThan(0)+ }}})diff --git a/src/lib/render/__tests__/studio-contract.test.ts b/src/lib/render/__tests__/studio-contract.test.tsindex 6386263f..0fb1cc3d 100644--- a/src/lib/render/__tests__/studio-contract.test.ts+++ b/src/lib/render/__tests__/studio-contract.test.ts@@ -33,7 +33,7 @@import { describe, it, expect } from 'vitest'import { readFileSync } from 'node:fs'import { resolve } from 'node:path'-import { STUDIO_MODELS, studioSchema, studioFields, studioOptions, studioCredits, studioBaseCredits, supportsProviderField } from '../studio-contract'+import { STUDIO_MODELS, STUDIO_MODELS_WITH_RETIRED, studioSchema, studioFields, studioOptions, studioCredits, studioBaseCredits, supportsProviderField } from '../studio-contract'import { webCheckout, webModule } from '../../__tests__/web-checkout'import { DESKTOP_WORT, alsDesktop, gezeigt, webNamen, webWort } from './web-freigabe-wort'import { HOUSE, SNAPSHOT_FILES, checkSnapshot, neutralText, snapshotFromWeb } from '../../../../scripts/studio-snapshot.mjs'@@ -150,14 +150,17 @@ describe('Cloud studio contracts', () => {const namen = await webNamen(WEB!)expect(namen.DESKTOP_MARK_LABEL).toBe(DESKTOP_WORT)const web = JSON.parse(readFileSync(resolve(WEB!, 'apps/web/lib/render/studio-models.json'), 'utf8')) as Record<string, { label: string }>- expect(Object.keys(web)).toEqual(Object.keys(STUDIO_MODELS))+ // Die Datei fuehrt auch die zurueckgezogenen Modelle (retired-models.ts).+ expect(Object.keys(web)).toEqual(Object.keys(STUDIO_MODELS_WITH_RETIRED))let mitFeld = 0for (const [id, w] of Object.entries(web)) {- expect(STUDIO_MODELS[id].label, id).toBe(gezeigt(namen, w.label))- expect(w.label, id).toBe(namen.webName(STUDIO_MODELS[id].label))+ expect(STUDIO_MODELS_WITH_RETIRED[id].label, id).toBe(gezeigt(namen, w.label))+ expect(w.label, id).toBe(namen.webName(STUDIO_MODELS_WITH_RETIRED[id].label))if (namen.desktopName(w.label) !== null) mitFeld++}- expect(mitFeld).toBe(5)+ // Fuenf seit dem 08.10.2026, dazu die zwei MiniMax H3 Singularity+ // (Web 3b5d5980, 3.1.0).+ expect(mitFeld).toBe(7)})})diff --git a/src/lib/render/__tests__/studio-options-media.test.ts b/src/lib/render/__tests__/studio-options-media.test.tsindex 4aa9b5c5..f713f449 100644--- a/src/lib/render/__tests__/studio-options-media.test.ts+++ b/src/lib/render/__tests__/studio-options-media.test.ts@@ -91,7 +91,9 @@ describe('freie Groesse als Text', () => {it.each(['z-image', 'jib-mix-qwen'])('%s: Breite und Hoehe zwischen 256 und 4096', (id) => {expect(studioOptions(id, 'x', { size: '1024*1024' }, false).size).toBe('1024*1024')- expect(studioOptions(id, 'x', { size: '4096*4096' }, false).size).toBe('4096*4096')+ // z-image rendert hoechstens 1536 je Seite (maxSide, Web 08.11.2026): eine+ // groessere Angabe wird verkleinert, nicht abgewiesen.+ expect(studioOptions(id, 'x', { size: '4096*4096' }, false).size).toBe(id === 'z-image' ? '1536*1536' : '4096*4096')expect(studioOptions(id, 'x', { size: '256*256' }, false).size).toBe('256*256')for (const zu of ['4097*1024', '1024*4097', '99999*99999', '255*1024', '1024*100', '0*0', '1*1', '1024x1024', '1024*', '*1024', '-5*1024', '1e3*1024']) {expect(() => studioOptions(id, 'x', { size: zu }, false), `${id} ${zu}`).toThrow(/Size must be/)diff --git a/src/lib/render/__tests__/web-freigabe-wort.ts b/src/lib/render/__tests__/web-freigabe-wort.tsindex 6893c82d..d2e26fb9 100644--- a/src/lib/render/__tests__/web-freigabe-wort.ts+++ b/src/lib/render/__tests__/web-freigabe-wort.ts@@ -27,7 +27,10 @@ import { webModule } from '../../__tests__/web-checkout'const REL_PATH = 'apps/web/lib/unfiltered-mark.ts'/** So schreibt das Web das Wort in seine Katalognamen. */-export const WEB_PLATZHALTER = '${STATEMENT_MARK_LABEL}'+// Seit dem 12.10.2026 hat das Web zwei Woerter: die Marke der Zeile+// (STATEMENT_MARK_LABEL) und den Baustein der Namen (STATEMENT_NAME_WORD).+// Die Namen bauen auf dem zweiten.+export const WEB_PLATZHALTER = '${STATEMENT_NAME_WORD}'/** Das Wort des Desktops. */export const DESKTOP_WORT = STATEMENT_MARK_LABEL@@ -36,9 +39,13 @@ export const DESKTOP_WORT = STATEMENT_MARK_LABEL* Vergleich ohne das Wort waere ein Vergleich gegen eine Annahme. */export function webWort(webRepo: string): string {const quelle = readFileSync(resolve(webRepo, REL_PATH), 'utf8')- const m = quelle.match(/export const STATEMENT_MARK_LABEL =\s*\n?\s*(['"])(.*)\1/)- if (!m || !m[2]) throw new Error(`STATEMENT_MARK_LABEL not found in ${REL_PATH}`)- return m[2]+ // Der Baustein der Namen. Ein Web von vor dem 12.10.2026 hat nur das eine+ // Wort der Marke.+ for (const name of ['STATEMENT_NAME_WORD', 'STATEMENT_MARK_LABEL']) {+ const m = quelle.match(new RegExp(`export const ${name} =\\s*\\n?\\s*(['"])(.*)\\1`))+ if (m && m[2]) return m[2]+ }+ throw new Error(`STATEMENT_NAME_WORD not found in ${REL_PATH}`)}/** Ein Name des Webs, wie der Desktop ihn fuehrt: das eine Wort getauscht,diff --git a/src/lib/render/cloud-models.ts b/src/lib/render/cloud-models.tsindex b9d7d476..b11ca832 100644--- a/src/lib/render/cloud-models.ts+++ b/src/lib/render/cloud-models.ts@@ -163,13 +163,14 @@ export const DEFAULT_MODEL_IDS = {const CLIP = { short: 5, long: 8 }+// A model the web took out of its pickers (retired-models.ts) is not in this+// list either: the server no longer lists it, so the offline list must not+// offer it. Its name stays known for old runs (preset-models.ts, modelLabel).export const CLOUD_MODEL_SEED: CloudModel[] = [{ id: 'flux-schnell', label: 'Flux Schnell (fast)', kind: 'image', cfg: true, tier: 'older', weights: 'open' },{ id: 'flux-dev', label: 'Flux Dev (quality)', kind: 'image', edit: true, cfg: true, tier: 'older', weights: 'open' },{ id: 'flux-2-dev', label: 'Flux 2 Dev', kind: 'image', tier: 'standard', weights: 'open' },{ id: 'qwen-image', label: 'Qwen Image', kind: 'image', tier: 'older', weights: 'open' },- { id: 'hidream', label: 'HiDream', kind: 'image', tier: 'older', weights: 'open' },- { id: 'hunyuan-image', label: 'HunyuanImage 2.1', kind: 'image', tier: 'older', weights: 'open' },{ id: 'z-image-turbo', label: 'Z-Image Turbo (fast)', kind: 'image', tier: 'best', weights: 'open' },{ id: 'chroma', label: 'Chroma Uncensored', kind: 'image', adult: true, tier: 'standard', weights: 'open' },{ id: 'prefect-pony', label: 'Prefect Pony XL (illustration) Uncensored', kind: 'image', adult: true, tier: 'standard', weights: 'open' },@@ -182,8 +183,6 @@ export const CLOUD_MODEL_SEED: CloudModel[] = [// One clip length: its endpoints take no duration field (video-durations.json).{ id: 'wan-2.2-fast', label: 'Wan 2.2 Fast', kind: 'video', t2v: true, i2v: true, negative_prompt: true, clip: { short: 5 }, tier: 'older', weights: 'open' },{ id: 'ltx-2', label: 'LTX-2 (with audio)', kind: 'video', t2v: true, i2v: true, clip: CLIP, credits: { base: 8000, lora: 10000 }, tier: 'older', weights: 'open' },- { id: 'hunyuan-video', label: 'HunyuanVideo 1.5', kind: 'video', t2v: true, i2v: true, negative_prompt: true, clip: CLIP, tier: 'older', weights: 'open' },- { id: 'ltx-2.3', label: 'LTX 2.3', kind: 'video', t2v: true, i2v: true, clip: CLIP, tier: 'older', weights: 'open' },// Image-to-video endpoints the provider ships with its own filter off// (mirroring the web app). None of them has a@@ -201,6 +200,8 @@ export const CLOUD_MODEL_SEED: CloudModel[] = [{ id: 'seedance-2.5-spicy', label: 'Seedance 2.5 Uncensored', kind: 'video', t2v: false, i2v: true, adult: true, clip: { short: 5 }, credits: { base: 90000 }, tier: 'best', weights: 'closed' },{ id: 'seedance-2.0-spicy', label: 'Seedance 2.0 Uncensored', kind: 'video', t2v: false, i2v: true, adult: true, clip: { short: 5 }, credits: { base: 60000 }, tier: 'older', weights: 'closed' },{ id: 'seedance-2.0-fast-spicy', label: 'Seedance 2.0 Fast Uncensored', kind: 'video', t2v: false, i2v: true, adult: true, clip: { short: 5 }, credits: { base: 50000 }, tier: 'older', weights: 'closed' },+ // 3.1.0 (web catalogue 3b5d5980):+ { id: 'seedance-2.0-mini-spicy', label: 'Seedance 2.0 Mini Uncensored', kind: 'video', t2v: false, i2v: true, adult: true, clip: { short: 5 }, credits: { base: 30000 }, tier: 'older', weights: 'closed' },{ id: 'vidu-q3-spicy', label: 'Vidu Q3 Uncensored', kind: 'video', t2v: false, i2v: true, adult: true, clip: { short: 5 }, credits: { base: 35000 }, tier: 'standard', weights: 'closed' },// ── 2.5.8 op-specialized fleet (Character-Studio / lipsync / voice / music /@@ -229,13 +230,9 @@ export const CLOUD_MODEL_SEED: CloudModel[] = [{ id: 'qwen3-tts', label: 'Qwen3 TTS (voices)', kind: 'audio', ops: ['tts'], tier: 'standard', weights: 'open' },{ id: 'qwen3-tts-clone', label: 'Qwen3 TTS Voice Clone', kind: 'audio', ops: ['tts'], tier: 'standard', weights: 'open' },{ id: 'qwen3-tts-design', label: 'Qwen3 TTS Voice Design', kind: 'audio', ops: ['tts'], tier: 'standard', weights: 'open' },- { id: 'ace-step', label: 'ACE-Step (fast)', kind: 'audio', ops: ['music'], credits: { base: 1200, per_s: 20 }, tier: 'older', weights: 'open' },{ id: 'ace-step-1.5', label: 'ACE-Step 1.5', kind: 'audio', ops: ['music'], lyrics: true, credits: { base: 1800, per_s: 30 }, tier: 'standard', weights: 'open' },{ id: 'sonilo-music', label: 'Sonilo Music', kind: 'audio', ops: ['music'], credits: { base: 15000, per_s: 250 }, tier: 'standard', weights: 'closed' },- { id: 'wan-2.2-spicy-extend', label: 'Wan 2.2 Uncensored Extend', kind: 'video', ops: ['extend'], t2v: false, i2v: false, adult: true, credits: { base: 15000, lora: 20000 }, tier: 'older', weights: 'open' },- { id: 'ltx-2-extend', label: 'LTX-2 Extend', kind: 'video', ops: ['extend'], t2v: false, i2v: false, tier: 'older', weights: 'open' },- { id: 'pixverse-extend', label: 'Pixverse Extend (fast)', kind: 'video', ops: ['extend'], t2v: false, i2v: false, tier: 'standard', weights: 'closed' },- { id: 'wan-2.2-animate', label: 'Wan 2.2 Animate', kind: 'video', ops: ['motion'], t2v: false, i2v: false, tier: 'standard', weights: 'open' },+ { id: 'wan-2.2-spicy-extend', label: 'Wan 2.2 Uncensored Extend', kind: 'video', ops: ['extend'], t2v: false, i2v: false, adult: true, credits: { base: 15000, lora: 20000 }, tier: 'standard', weights: 'open' },{ id: 'steady-dancer', label: 'SteadyDancer', kind: 'video', ops: ['motion'], t2v: false, i2v: false, tier: 'standard', weights: 'open' },{ id: 'p-video-animate', label: 'P-Video Animate (fast)', kind: 'video', ops: ['motion'], t2v: false, i2v: false, tier: 'standard', weights: 'closed' },{ id: 'dreamactor-v2', label: 'DreamActor v2', kind: 'video', ops: ['motion'], t2v: false, i2v: false, tier: 'standard', weights: 'closed' },diff --git a/src/lib/render/preset-models.ts b/src/lib/render/preset-models.tsindex b22ce1eb..c29600ad 100644--- a/src/lib/render/preset-models.ts+++ b/src/lib/render/preset-models.ts@@ -9,7 +9,7 @@// member really runs: same inputs, same output kind, a price on both sides.// The contract test walks each one and refuses a member that cannot.-import { STUDIO_MODELS, studioSchema, type ModelTier, type ModelWeights } from './studio-contract'+import { STUDIO_MODELS, STUDIO_MODELS_WITH_RETIRED, studioSchema, type ModelTier, type ModelWeights } from './studio-contract'import { cloudModelById, cloudModelsFor, i2vModels, runCredits, studioEntries, t2vModels } from '../../stores/cloudCatalogStore'import {STUDIO_EDIT_MODELS, studioImageToVideo, studioReferenceVideo, studioTextToVideo,@@ -87,11 +87,11 @@ const ROLE_MEMBERS: Record<StepRole, () => string[]> = {speech: () => ['preset-qwen3-tts', 'qwen3-tts', 'qwen3-tts-clone', 'qwen3-tts-design','seed-speech-tts', 'minimax-speech-turbo', 'minimax-speech-hd', 'inworld-tts',- 'eleven-v3', 'chatterbox-tts',+ 'eleven-v4', 'eleven-v4-turbo', 'chatterbox-tts',],// Words in, a finished track out. ACE-Step is ours and cheap, the three new// ones are what a released song sounds like.- music: () => ['ace-step', 'ace-step-1.5', 'sonilo-music', 'minimax-music', 'mureka-song', 'eleven-music'],+ music: () => ['ace-step-1.5', 'sonilo-music', 'minimax-music', 'mureka-song', 'eleven-music'],// A portrait plus one voice track becomes a speaking clip. The re-sync// models (latentsync, lipsync-2) need an existing clip and are a different// job, so they are not interchangeable here.@@ -104,11 +104,11 @@ const ROLE_MEMBERS: Record<StepRole, () => string[]> = {// Two voice tracks on one image. Only one endpoint does this.duo: () => ['infinitetalk-multi', 'longcat-avatar-multi'],extend: () => [- 'preset-wan-2.2-spicy-extend', 'wan-2.2-spicy-extend', 'ltx-2-extend', 'pixverse-extend',+ 'preset-wan-2.2-spicy-extend', 'wan-2.2-spicy-extend','wan-3.0-extend', 'seedance-2.5-extend',],// Movement from a driving clip onto a character image.- motion: () => ['scail-2', 'wan-2.2-animate-2', 'wan-2.2-animate', 'steady-dancer', 'p-video-animate', 'dreamactor-v2'],+ motion: () => ['scail-2', 'wan-2.2-animate-2', 'steady-dancer', 'p-video-animate', 'dreamactor-v2'],// A clip goes in, the same clip comes back changed. Wan DITTO picks a style// from a list, MiniMax H3 follows a sentence.restyle: () => ['wan-ditto', 'minimax-h3-video-edit'],@@ -243,7 +243,8 @@ const HINTS: Record<string, string> = {'seed-speech-tts': 'Forty voices across ten languages. Natural, and cheap.','minimax-speech-turbo': 'Fast and emotional. Voices: Wise_Woman, Friendly_Person, Deep_Voice_Man, Calm_Woman.','minimax-speech-hd': 'The Turbo voices at higher fidelity, for twice the price.',- 'eleven-v3': 'The most expressive English voice. Costs the most per word.',+ 'eleven-v4': 'The most expressive voice, many languages. Costs the most per word.',+ 'eleven-v4-turbo': 'The v4 voices, faster, at half the price per word.','inworld-tts': 'Sixty named voices, many languages, pick one from the list.','chatterbox-tts': 'Add a short recording and it speaks in that voice.',@@ -272,6 +273,17 @@ const HINTS: Record<string, string> = {'minimax-h3-video-edit': 'Say what to change. The clip keeps its movement and timing.','minimax-h3-ref': 'Your picture sets who is in the clip. Describe what they do.','wan-3.0-ref': 'Your picture sets who is in the clip. Describe what they do.',+ // 24.10.2026: die neuen Modelle. Jeder Satz sagt nur, was der Anbieter+ // selbst zum Endpunkt schreibt.+ 'flux-3-klein': 'Fast and cheap. Higher resolutions cost more.',+ 'flux-3-klein-base': 'The undistilled Klein, slower and more faithful to the prompt. Higher resolutions cost more.',+ 'flux-3-klein-edit': 'Say what to change in plain words. Up to three pictures, no mask needed.',+ 'krea-2-turbo': 'Aesthetic first, in a few seconds. 2K costs double.',+ 'moss-image': 'Reads long prompts and writes clean text into the picture.',+ 'wan-3.0-t2v': 'Describe the movement, not the mood. Say what moves and how.',+ 'wan-3.0-prime-t2v': 'Describe the movement, not the mood. Say what moves and how.',+ 'minimax-h3-singularity': 'Makes a clip with sound from your picture. Describe the movement.',+ 'minimax-h3-singularity-ref': 'Your picture sets who is in the clip. Describe what they do.',}export function modelHint(id: string): string | undefined {@@ -360,6 +372,7 @@ export function classicCredits(/** The customer-facing name of a model id, whichever registry carries it.* A studio twin answers under the catalog name the customer already knows. */export function modelLabel(id: string): string {- const studio = STUDIO_MODELS[id]+ // Retired models included (retired-models.ts): old runs keep their name.+ const studio = STUDIO_MODELS_WITH_RETIRED[id]return cloudModelById(studio?.sourceModel ?? id)?.label ?? studio?.label ?? id}diff --git a/src/lib/render/studio-contract.ts b/src/lib/render/studio-contract.tsindex 31ebf0b6..5dc85a53 100644--- a/src/lib/render/studio-contract.ts+++ b/src/lib/render/studio-contract.ts@@ -2,6 +2,7 @@import definitions from './studio-models.json'import schemas from './provider-schemas.json'import endpoints from './provider-endpoints.json'+import { isRetiredMediaModel } from './retired-models'export type Schema = { type?: string; properties?: Record<string, Schema>; required?: string[]; enum?: unknown[]; default?: unknown; minimum?: number; maximum?: number; minItems?: number; maxItems?: number; items?: Schema; description?: string; disabled?: boolean; format?: string }// Stufe und Herkunft jedes Cloud-Modells (02.10.2026, Entscheid des Inhabers).// `tier` ordnet die Waehler: 'best' steht oben, 'older' gesammelt unten.@@ -22,18 +23,33 @@ export interface StudioModel {// gemessenen Eingabe. Alle vier sind an POST /model/price gemessen.price: { mode: string; rates: Record<string, number>; maxSeconds?: number; extraImage?: numberresolutionField?: string; durationField?: string; unitDivisor?: number; blockSeconds?: number; minSeconds?: number- perUnitField?: string }+ perUnitField?: string+ // `qualityField` (29.10.2026, GPT Image 2, web catalogue): the price hangs+ // on two fields, resolution and quality. The rate then stands under+ // "<resolution>/<quality>".+ qualityField?: string }+ // `maxSide` (08.11.2026, web catalogue): the longest side in pixels the+ // upstream renders where its schema does not say so. A larger size is scaled+ // down to fit with its aspect kept (fitSize), it is never refused.+ maxSide?: number}-export const STUDIO_MODELS = definitions as Record<string, StudioModel>+/** Every studio model, the retired ones included (retired-models.ts, from the+ * web): their schema, price and name stay resolvable for old runs and saved+ * picks. */+export const STUDIO_MODELS_WITH_RETIRED = definitions as Record<string, StudioModel>+/** The studio models on offer. Every picker, role and list reads this. */+export const STUDIO_MODELS: Record<string, StudioModel> = Object.fromEntries(+ Object.entries(STUDIO_MODELS_WITH_RETIRED).filter(([id]) => !isRetiredMediaModel(id)),+)export function studioSchema(id: string): Schema {- const model = STUDIO_MODELS[id]+ const model = STUDIO_MODELS_WITH_RETIRED[id]if (!model) throw new Error('Unknown studio model')return (schemas as Record<string, Schema>)[model.endpoint]}export function supportsProviderField(id: string, field: string, op = 'generate', lora = false): boolean {const m = (endpoints as Record<string, Record<string, string>>)[id]const key = op === 'animate' || op === 'edit' ? 'i2' : 't2'- const path = STUDIO_MODELS[id]?.endpoint ?? (lora ? m?.[key + 'Lora'] : undefined) ?? m?.[key] ?? m?.i2+ const path = STUDIO_MODELS_WITH_RETIRED[id]?.endpoint ?? (lora ? m?.[key + 'Lora'] : undefined) ?? m?.[key] ?? m?.i2return !!path && !!(schemas as Record<string, Schema>)[path]?.properties?.[field]}const HIDDEN = new Set(['enable_base64_output', 'enable_sync_mode'])@@ -52,7 +68,7 @@ export function isMediaField(key: string, s: Schema): boolean {return free && (s.format === 'uri' || MEDIA_NAME.test(key))}export function studioFields(id: string): Record<string, Schema> {- const m = STUDIO_MODELS[id]+ const m = STUDIO_MODELS_WITH_RETIRED[id]return Object.fromEntries(Object.entries(studioSchema(id).properties ?? {}).filter(([key,s]) =>!m.inputs[key] && key !== (m.promptField ?? 'prompt') && !HIDDEN.has(key) && !s.disabled && !isMediaField(key, s)))}@@ -65,6 +81,45 @@ function validSize(value: unknown, schema: Schema): boolean {const lo = Math.max(schema.minimum ?? SIZE_MIN, SIZE_MIN), hi = Math.min(schema.maximum ?? SIZE_MAX, SIZE_MAX)return value.split('*').every(v => Number(v) >= lo && Number(v) <= hi)}+/** A "w*h" size scaled down so its longer side is at most `maxSide`, the+ * aspect kept. Both sides land on a multiple of 16 and stay between 256 and+ * `maxSide`. A size that fits stays exactly as it was asked for. Same rule as+ * the web catalogue (08.11.2026). */+export function fitSize(value: string, maxSide: number): string {+ const m = /^(\d+)\*(\d+)$/.exec(value)+ if (!m) return value+ const w = Number(m[1]), h = Number(m[2])+ if (Math.max(w, h) <= maxSide) return value+ const scale = maxSide / Math.max(w, h)+ const side = (v: number) => Math.min(maxSide, Math.max(SIZE_MIN, Math.floor(v * scale / 16) * 16))+ return `${side(w)}*${side(h)}`+}+// The strongest a LoRA may be applied (08.11.2026, web). A scale outside is+// brought to the nearest end, never refused.+export const LORA_SCALE_MAX = 4+function fitLoras(value: unknown, schema: Schema): unknown {+ if (!Array.isArray(value)) return value+ const s = schema.items?.properties?.scale+ if (!s) return value+ const lo = s.minimum ?? 0, hi = Math.min(s.maximum ?? LORA_SCALE_MAX, LORA_SCALE_MAX)+ return value.map((row) => {+ if (!row || typeof row !== 'object' || Array.isArray(row)) return row+ const scale = (row as Record<string, unknown>).scale+ if (typeof scale !== 'number' || !Number.isFinite(scale)) return row+ return { ...row, scale: Math.min(hi, Math.max(lo, scale)) }+ })+}+/** The longest side a free "w*h" size may have on this model: the measured+ * `maxSide`, the schema maximum and our own ceiling, whichever is smallest. */+export function sizeLimit(model: Pick<StudioModel, 'maxSide'>, schema: Schema): number {+ return Math.min(model.maxSide ?? SIZE_MAX, schema.maximum ?? SIZE_MAX, SIZE_MAX)+}+/** A value of a model option brought inside the limits the upstream keeps. */+function fitOption(key: string, value: unknown, schema: Schema, model: StudioModel): unknown {+ if (key === 'size' && !schema.enum && validSize(value, {})) return fitSize(value as string, sizeLimit(model, schema))+ if (key === 'loras') return fitLoras(value, schema)+ return value+}function validate(value: unknown, schema: Schema, name: string): void {if(name==='size'&&!schema.enum&&!validSize(value,schema))throw new Error('Size must be width*height in pixels, each side 256 to 4096')if (schema.enum && !schema.enum.includes(value)) throw new Error(`Choose a supported ${name}`)@@ -90,11 +145,12 @@ function validate(value: unknown, schema: Schema, name: string): void {}export function studioOptions(id: string, prompt: string, raw: unknown, checkPrompt = true): Record<string, unknown> {if (raw !== undefined && (!raw || typeof raw !== 'object' || Array.isArray(raw))) throw new Error('Invalid model options')- const schema = studioSchema(id), m = STUDIO_MODELS[id], fields = studioFields(id)+ const schema = studioSchema(id), m = STUDIO_MODELS_WITH_RETIRED[id], fields = studioFields(id)const options: Record<string, unknown> = { ...m.defaults }for (const [k,s] of Object.entries(fields)) if (s.default !== undefined && !(k in options)) options[k] = s.default- for (const [k,v] of Object.entries((raw ?? {}) as Record<string,unknown>)) {+ for (const [k,asked] of Object.entries((raw ?? {}) as Record<string,unknown>)) {if (!fields[k]) throw new Error(`Unsupported model option: ${k}`)+ const v = fitOption(k, asked, fields[k], m)validate(v, fields[k],k); options[k] = v}for (const [key,value] of Object.entries(options)) {@@ -108,8 +164,9 @@ export function studioOptions(id: string, prompt: string, raw: unknown, checkProreturn options}export function studioCredits(id: string, options: Record<string,unknown>, measuredSeconds?: number, imageCount = 1, promptLength = 100): number {- const m = STUDIO_MODELS[id]; if (!m) throw new Error('Unknown studio model')- const resolution = String(options[m.price.resolutionField ?? 'resolution'] ?? 'default'), rate = m.price.rates[resolution]+ const m = STUDIO_MODELS_WITH_RETIRED[id]; if (!m) throw new Error('Unknown studio model')+ const resolution = String(options[m.price.resolutionField ?? 'resolution'] ?? 'default')+ const rate = m.price.rates[m.price.qualityField ? `${resolution}/${String(options[m.price.qualityField])}` : resolution]if (rate === undefined) throw new Error('Unpriced resolution')let seconds = m.price.mode === 'characters' ? Math.max(1,promptLength/100) : 1if (m.price.mode === 'output') {@@ -140,7 +197,7 @@ export function studioCredits(id: string, options: Record<string,unknown>, measureturn Math.ceil((rate * seconds * units + (m.price.extraImage ?? 0) * Math.max(0,imageCount-1)) * 100000 - 1e-8)}export function studioBaseCredits(id: string): number {- const schema = studioSchema(id), m = STUDIO_MODELS[id]+ const schema = studioSchema(id), m = STUDIO_MODELS_WITH_RETIRED[id]const options: Record<string, unknown> = { ...m.defaults }for (const [key, s] of Object.entries(schema.properties ?? {})) if (!(key in options) && s.default !== undefined) options[key] = s.defaultreturn studioCredits(id,options,5)diff --git a/src/mobile/screens/settings/__tests__/cloud-counts.test.ts b/src/mobile/screens/settings/__tests__/cloud-counts.test.tsindex cf89d06e..94a0cd56 100644--- a/src/mobile/screens/settings/__tests__/cloud-counts.test.ts+++ b/src/mobile/screens/settings/__tests__/cloud-counts.test.ts@@ -40,7 +40,7 @@ function measuredRows(): string[] {describe('the counts of the LU Cloud page', () => {it('are written out here a second time', () => {- expect(CATALOGUE_COUNTS).toEqual({ chat: 40, image: 15, video: 24 })+ expect(CATALOGUE_COUNTS).toEqual({ chat: 40, image: 24, video: 24 })expect(CLOUD_COUNTED_ON).toBe('2026-10-24')})@@ -79,7 +79,8 @@ describe('the counts of the LU Cloud page', () => {it('the total is the sum of the parts, computed', () => {const counts = cloudCountsFor(STORE_PRESETS.open)!expect(counts.total).toBe(counts.chat + counts.image + counts.video)- expect(counts.total).toBe(79)+ // 79 until the web catalogue of 24.10.2026 came over (3.1.0), nine more image models since.+ expect(counts.total).toBe(88)})it('the open build names the numbers, the two store builds none before sign in (Play since r56, 18.10.2026)', () => {@@ -103,7 +104,7 @@ describe('the counts of the LU Cloud page', () => {]setStorePresetForTests('open')const open = cloudCountsSeen(chat, offeredCreateModels(CATALOGUE), STORE_PRESETS.open)!- expect(open).toMatchObject({ chat: 3, image: 15, video: 24, total: 42 })+ expect(open).toMatchObject({ chat: 3, image: 24, video: 24, total: 51 })setStorePresetForTests('appstore')const apple = cloudCountsSeen(chat, offeredCreateModels(CATALOGUE), STORE_PRESETS.appstore)!expect(apple.chat).toBe(1)diff --git a/src/mobile/screens/settings/parts/cloud-counts.ts b/src/mobile/screens/settings/parts/cloud-counts.tsindex a334fb5d..8e915d8a 100644--- a/src/mobile/screens/settings/parts/cloud-counts.ts+++ b/src/mobile/screens/settings/parts/cloud-counts.ts@@ -15,15 +15,23 @@* 08.11.) plus four that joined after that run: DeepSeek V4.1 Flash, Kimi* K3.1 Pro, MiMo V2.6 Pro and Nemotron 3.5 Super VL (the same 40 as* lib/cloud-pitch.ts chatModels).- * - image 15: the 10 classic image models of lib/render/cloud-models.ts and- * 5 studio models that make a picture from words (Z-Image Base, Nucleus,- * JibMix Qwen, Wan 2.2 Realism, Qwen Image 2.1). Not the 3 studio twins.- * - video 24: the 15 classic video models, and 9 studio models: OpenVideo+ * Image and video counted again for the web catalogue of 24.10.2026 (3.1.0,+ * lib/render/web-catalog-source.json):+ * - image 24: the 8 classic image models of lib/render/cloud-models.ts+ * (HiDream and HunyuanImage 2.1 left the pickers on 24.10.) and 16 studio+ * models that make a picture from words: Z-Image Base, Nucleus, JibMix+ * Qwen, Wan 2.2 Realism, Qwen Image 2.1, and since 24.10. FLUX 3 Klein,+ * FLUX 3 Klein Base, Krea 2 Turbo, MOSS Image, GPT Image 2, Nano Banana+ * Pro, FLUX.2 Max, Midjourney, Grok Imagine Quality, Recraft V4.1 Pro and+ * Kling Image O3. Not the 3 studio twins.+ * - video 24: the 14 classic video models (HunyuanVideo 1.5 and LTX 2.3 left+ * on 24.10., Seedance 2.0 Mini joined), and 10 studio models: OpenVideo* (with its Style LoRA endpoint, one model), Seedance 2.5, Seedance 2.5- * Turbo, MiniMax H3 (text, image and reference, one model), Wan 3.0 (image- * and reference, one model), Wan 3.0 Spicy, Wan 3.0 Prime, Wan 3.0 Prime- * Spicy, LTX 2.5 (text and image, one model). Not the twins, not extend,- * upscale, lip sync, motion, restyle or sound.+ * Turbo, MiniMax H3 (text, image and reference, one model), Wan 3.0 (text,+ * image and reference, one model), Wan 3.0 Spicy, Wan 3.0 Prime (text and+ * image, one model), Wan 3.0 Prime Spicy, LTX 2.5 (text and image, one+ * model), MiniMax H3 Singularity (image and reference, one model). Not the+ * twins, not extend, upscale, lip sync, motion, restyle or sound.** open and play list the whole catalogue (play the marked models under the* mark "Direct"), so they name the same numbers. appstore leaves models out@@ -50,7 +58,7 @@ export interface CloudCounts {export const CLOUD_COUNTED_ON = '2026-10-24'/** The counts of the whole catalogue, as the app carries it. */-export const CATALOGUE_COUNTS = { chat: 40, image: 15, video: 24 } as const+export const CATALOGUE_COUNTS = { chat: 40, image: 24, video: 24 } as constconst withTotal = (c: { chat: number; image: number; video: number }): CloudCounts => ({ ...c, total: c.chat + c.image + c.video })diff --git a/src/stores/__tests__/cloudCatalogStore.test.ts b/src/stores/__tests__/cloudCatalogStore.test.tsindex 51fb8320..b0e6133a 100644--- a/src/stores/__tests__/cloudCatalogStore.test.ts+++ b/src/stores/__tests__/cloudCatalogStore.test.ts@@ -75,7 +75,8 @@ describe('cloudCatalogStore', () => {const editCapable = CLOUD_MODEL_SEED.filter((m) => m.edit).map((m) => m.id)expect(editCapable).toEqual(['flux-dev'])const negPrompt = CLOUD_MODEL_SEED.filter((m) => m.negative_prompt).map((m) => m.id)- expect(negPrompt).toEqual(['wan-2.2-720p', 'wan-2.2-fast', 'hunyuan-video'])+ // hunyuan-video stand hier bis zum 24.10.2026 (retired-models.ts).+ expect(negPrompt).toEqual(['wan-2.2-720p', 'wan-2.2-fast'])})it('defaultCloudModel never explodes on an all-specialized kind (audio)', () => {