Keep last-frame continuity when character stills are attached.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-08-30 08:21:57 -05:00
co-authored by Cursor
parent 5d828afbd7
commit 0fa64ea765
10 changed files with 29 additions and 51 deletions
+4 -6
View File
@@ -152,9 +152,9 @@ export async function queueMiniMax(
const hasImage = Boolean(params.image?.data?.length)
const uploading = !hasImage
? `Queueing ${engineName} text-to-video…`
: params.useIdentityRefs
? (chainIndex > 0 ? 'Uploading identity stills for next shot...' : 'Uploading image to ComfyUI...')
: (chainIndex > 0 ? 'Uploading last frame to ComfyUI...' : 'Uploading image to ComfyUI...')
: chainIndex > 0
? (params.useIdentityRefs ? 'Uploading last frame and character stills...' : 'Uploading last frame to ComfyUI...')
: 'Uploading image to ComfyUI...'
const queueing = chainIndex > 0
? `Queueing extension on ${engineName}...`
: `Queueing ${engineName} job...`
@@ -393,9 +393,7 @@ export async function continueQueuedExtensions(
await ensureComfyReady(ready)
await queueMiniMax(job, {
prompt: ext.prompt,
image: identity
? params.image
: { filename: 'last_frame.png', data: frame, type: 'image/png' },
image: { filename: 'last_frame.png', data: frame, type: 'image/png' },
width: params.width,
height: params.height,
steps: params.steps,