Keep last-frame continuity when character stills are attached.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"lora_name": "klein_snofs_v1_4.safetensors",
|
||||
"lora_name": "xaigen-klein_snofs_v1_4.safetensors",
|
||||
"strength_model": 0.65,
|
||||
"strength_clip": 0.35,
|
||||
"model": ["4", 0],
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"lora_name": "klein_snofs_v1_4.safetensors",
|
||||
"lora_name": "xaigen-klein_snofs_v1_4.safetensors",
|
||||
"strength_model": 0.65,
|
||||
"strength_clip": 0.35,
|
||||
"model": ["4", 0],
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"lora_name": "klein_snofs_v1_4.safetensors",
|
||||
"lora_name": "xaigen-klein_snofs_v1_4.safetensors",
|
||||
"strength_model": 0.65,
|
||||
"strength_clip": 0.35,
|
||||
"model": ["4", 0],
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"lora_name": "klein_snofs_v1_4.safetensors",
|
||||
"lora_name": "xaigen-klein_snofs_v1_4.safetensors",
|
||||
"strength_model": 0.65,
|
||||
"strength_clip": 0.3,
|
||||
"model": ["4", 0],
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
},
|
||||
"155": {
|
||||
"inputs": {
|
||||
"prompt": "<Picture 1> is the exact facial identity, hairstyle, body proportions and clothing of the main character. Preserve this identity with high fidelity even when the subject temporarily leaves the frame and returns.\n\n[describe the action, camera and audio here]",
|
||||
"prompt": "<Picture 1> is the current frame: keep this pose, clothes, place, and who is in shot. Extra stills are face, hair, and body only — not a wardrobe change.\n\n[describe the action, camera and audio here]",
|
||||
"width": [
|
||||
"127",
|
||||
0
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user