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.

fix(create): the cloud end image line names three models and counts the rest

purple4d01c84a3977
diff --git a/src/components/create/experimental/FrameRefs.tsx b/src/components/create/experimental/FrameRefs.tsx
index 1a4af316..c06b923d 100644
--- a/src/components/create/experimental/FrameRefs.tsx
+++ b/src/components/create/experimental/FrameRefs.tsx
@@ -32,7 +32,9 @@ export const CLOUD_END_FRAME_MODELS = 'The LU Cloud video models here start from
export function cloudEndFrameHint(models: readonly { label: string; end_image?: boolean }[]): string {
const names = [...new Set(models.filter((m) => m.end_image === true).map((m) => m.label))]
if (names.length === 0) return CLOUD_END_FRAME_MODELS
- return `This model starts from one image. These also end on your image: ${names.join(', ')}.`
+ // Three names read as a hint; seven read as a wall (Mac run, 30.10.2026).
+ const shown = names.length > 3 ? `${names.slice(0, 3).join(', ')} and ${names.length - 3} more` : names.join(', ')
+ return `This model starts from one image. These also end on your image: ${shown}.`
}
/** Does the Animate model on screen take an end image? */
diff --git a/src/components/create/experimental/__tests__/end-image-and-image-references-show-where-they-work.test.tsx b/src/components/create/experimental/__tests__/end-image-and-image-references-show-where-they-work.test.tsx
index 7811fbec..974c0539 100644
--- a/src/components/create/experimental/__tests__/end-image-and-image-references-show-where-they-work.test.tsx
+++ b/src/components/create/experimental/__tests__/end-image-and-image-references-show-where-they-work.test.tsx
@@ -16,7 +16,7 @@ vi.mock('../../../../lib/render/create-studio', async (importOriginal) => {
const actual = await importOriginal<typeof import('../../../../lib/render/create-studio')>()
return { ...actual, createRunModel: (_: string, p: { video: string }) => p.video }
})
-import { EndImageSlot, ImageReferenceStrip } from '../FrameRefs'
+import { EndImageSlot, ImageReferenceStrip, cloudEndFrameHint } from '../FrameRefs'
import { ReferenceStrip } from '../ReferenceStrip'
import { useCreateStore } from '../../../../stores/createStore'
import { useCloudCatalogStore } from '../../../../stores/cloudCatalogStore'
@@ -74,6 +74,11 @@ describe('Animate: end image', () => {
expect(line).toContain('These also end on your image:')
expect(line).toContain('Seedance 2.5 Uncensored')
})
+ it('the line names three models and counts the rest', () => {
+ const m = (label: string) => ({ label, end_image: true })
+ expect(cloudEndFrameHint([m('A'), m('B')])).toBe('This model starts from one image. These also end on your image: A, B.')
+ expect(cloudEndFrameHint([m('A'), m('B'), m('C'), m('D'), m('E'), { label: 'F' }])).toBe('This model starts from one image. These also end on your image: A, B, C and 2 more.')
+ })
it('LU Cloud before W6: no model offers one, the line says where it works', () => {
useCloudCatalogStore.setState({ models: neuerServer() })
animateWith(A14B, 'wan')