الخطوة 3: سير عمل ورقة الاتصال
قم بتحميل 8 صور (بالترتيب) لاستخدامها كإطارات رئيسية لـ 7 فيديوهات Kling 3.0 FL2V.
حول
يرشدك هذا الدرس في ComfyUI عبر سير عمل لورقة اتصال يحوّل 8 صور مرتّبة إلى لوحة قصص منظمة و7 أزواج متجاورة من الإطارات المفتاحية لتوليد فيديو Kling 3.0 FFLF. يبدأ المسار بعقدتَي LoadImage وBatchImagesNode لاستيعاب ملفاتك ضمن خط زمني صارم من اليسار إلى اليمين. تتولى مجموعة من عقد الأدوات/العقد المخصصة (المعرّفات: f7abaa3a-5e87-4354-bab6-f43320cd490f, 02da9128-7c15-4c46-96bc-1dd68e5bc490, 3426003b-7b3a-4d37-8a2f-e0f8adb05712, c61d617f-c72d-4f4c-8659-bd6f884d1a1e, 4b301c11-bc16-4096-9441-e0648a04aa4d, 2ab1ef49-3518-4f71-b703-f8ef12f32214, b3fe4254-e196-429e-9f45-96c92113e406) معالجة التخطيط، والتقسيم على شكل أزواج (1-2، 2-3، …، 7-8)، وتجهيزها لإرسالها إلى عقد الفيديو اللاحقة. تكشف PrimitiveNode عناصر التحكم الأساسية—دقة 1080p، ومعدل الإطارات، ومدة كل لقطة، وحشو اختياري—بينما تحافظ Reroute على قابلية قراءة الرسم البياني. يقوم SaveVideo بتصدير معاينة 1080p لتتمكن من التحقق سريعًا من التسلسل والإطار قبل تشغيل عمليات التوليد الأثقل.
لتوليد FFLF (موجّه بالإطار الأول/الأخير)، يتم تمرير كل زوج صور متجاور إلى عقدة Kling 3.0 لتخليق حركة مقيّدة بإطاري البداية والنهاية—مناسب لانتقالات متسقة وقابلة للتحكم عبر تسلسل من 7 لقطات. عند التمكين، يمكن لعقدة مساعدة Gemini-3.1-flsih-lite تلخيص نوايا اللقطات تلقائيًا بين كل زوج للحفاظ على اتساق المطالبات (بيانات وصفية اختيارية فقط؛ ليست مطلوبة للتصيير). النتيجة هي طريقة سريعة وموثوقة للتحقق من الاستمرارية ثم توليد سبعة مقاطع متماسكة على دفعات بإخراج نظيف 1920×1080.
ما تقدّمه
- جارٍ قراءة سير العمل
يعمل في ComfyUI. لا يمكن تشغيل سير العمل هذا على هذه الصفحة. افتحه في Comfy Cloud مع تحميل كل شيء، أو نزّله لاستخدامه في ComfyUI الخاص بك.
جرّبه في Cloudلا توجد مخرجات نموذجية لسير العمل هذا بعد.
داخل سير العمل
معاينة للقراءة فقط لرسم العقد البياني. افتحه في Comfy Cloud أو نزّله لتعديل العقد.
Loading the graph
Open full-size workflow preview- المؤلف
- Rob
يتطلب عُقدًا مخصصة
- جارٍ قراءة سير العمل
استخدم سير العمل هذا من خلال التعليمات البرمجية
يتم إنشاؤه من مخطط سير العمل والمدخلات عندما يكون ذلك ممكنًا؛ وإلا فتُعرض الأمثلة المخزنة. راجع بيانات الاعتماد ونقاط النهاية قبل تشغيل التعليمات البرمجية، إذ قد تترتب عليها رسوم.
What you need
- Runs on
- Comfy Cloud
- المفتاح
- COMFY_API_KEY
يتطلب خطة Cloud مدفوعة ورصيدًا.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"224": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_1.png"
},
"_meta": {
"title": "Load Image 1"
}
},
"225": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"224",
0
],
"images.image1": [
"226",
0
],
"images.image2": [
"227",
0
],
"images.image3": [
"228",
0
],
"images.image4": [
"232",
0
],
"images.image5": [
"233",
0
],
"images.image6": [
"234",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"226": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_2.png"
},
"_meta": {
"title": "Load Image 2"
}
},
"227": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_3.png"
},
"_meta": {
"title": "Load Image 3"
}
},
"228": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_4.png"
},
"_meta": {
"title": "Load Image 4"
}
},
"232": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_5.png"
},
"_meta": {
"title": "Load Image 5"
}
},
"233": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_6.png"
},
"_meta": {
"title": "Load Image 6"
}
},
"234": {
"class_type": "LoadImage",
"inputs": {
"image": "contact_sheet_app_input_7.png"
},
"_meta": {
"title": "Load Image 7"
}
},
"308": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_1",
"format": "auto",
"format.codec": "auto",
"video": [
"309:310",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"344": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_2",
"format": "auto",
"format.codec": "auto",
"video": [
"345:343",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"352": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_3",
"format": "auto",
"format.codec": "auto",
"video": [
"353:351",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"360": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_4",
"format": "auto",
"format.codec": "auto",
"video": [
"361:359",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"368": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_5",
"format": "auto",
"format.codec": "auto",
"video": [
"369:367",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"376": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_6",
"format": "auto",
"format.codec": "auto",
"video": [
"377:375",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"384": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/ComfyUI-vid_7",
"format": "auto",
"format.codec": "auto",
"video": [
"385:383",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"309:302": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"309:306",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"309:304": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"309:305": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"309:306": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"309:386",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 1,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"309:310": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"309:305",
0
],
"first_frame": [
"309:304",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"309:306",
0
],
"seed": 1
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"309:386": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"309:304",
0
],
"images.image1": [
"309:305",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"345:338": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"345:342",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"345:340": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 1,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"345:341": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"345:342": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"345:387",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 2,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"345:343": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"345:341",
0
],
"first_frame": [
"345:340",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"345:342",
0
],
"seed": 2
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"345:387": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"345:340",
0
],
"images.image1": [
"345:341",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"353:346": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"353:350",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"353:348": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 2,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"353:349": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"353:350": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"353:388",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 3,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"353:351": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"353:349",
0
],
"first_frame": [
"353:348",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"353:350",
0
],
"seed": 3
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"353:388": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"353:348",
0
],
"images.image1": [
"353:349",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"361:354": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"361:358",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"361:356": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 3,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"361:357": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 4,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"361:358": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"361:389",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 4,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"361:359": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"361:357",
0
],
"first_frame": [
"361:356",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"361:358",
0
],
"seed": 4
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"361:389": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"361:356",
0
],
"images.image1": [
"361:357",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"369:362": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"369:366",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"369:364": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 4,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"369:365": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 5,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"369:366": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"369:390",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 5,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"369:367": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"369:365",
0
],
"first_frame": [
"369:364",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"369:366",
0
],
"seed": 5
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"369:390": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"369:364",
0
],
"images.image1": [
"369:365",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"377:370": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"377:374",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"377:372": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 5,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"377:373": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 6,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"377:374": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"377:391",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 6,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"377:375": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"377:373",
0
],
"first_frame": [
"377:372",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"377:374",
0
],
"seed": 6
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"377:391": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"377:372",
0
],
"images.image1": [
"377:373",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"385:378": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"385:382",
0
]
},
"_meta": {
"title": "Preview Prompt"
}
},
"385:380": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 6,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"385:381": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 0,
"image": [
"225",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"385:382": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"385:392",
0
],
"model": "gemini-3-1-flash-lite",
"prompt": "STEP 1: ANALYZE BOTH IMAGES\nBefore crafting the prompt, analyze both images to understand:\n\n\nCamera distance (wide shot, medium, close-up, extreme close-up, macro)\nCamera angle (low-angle, high-angle, eye-level, overhead, Dutch, worm's eye, bird's eye)\nCamera position relative to subject (front, side profile, 3/4 view, back, overhead)\nFraming (full body, torso, chest-up, face only, detail/macro)\nSubject position and pose\nLighting setup and direction\nBackground elements and depth\nFocal length characteristics (wide-angle distortion vs telephoto compression)\n\nSTEP 2: DETERMINE CAMERA MOVEMENT\nBased on the differences between images, identify the primary camera movement:\n\n\nDistance change: Dolly-in (closer) or Dolly-out (farther)\nVertical angle change: Tilt up/down or Crane up/down\nHorizontal angle change: Pan left/right or Orbit/Arc around subject\nHeight change: Crane/Pedestal up or down\nLateral movement: Truck/Track left or right\n\nSTEP 3: OUTPUT ONLY THE PROMPT\nDo not include explanations, commentary, or additional text.\nOutput ONLY the transition prompt in this format:\n\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nCore Principle\n\nFor transitions where the subject/scene remains consistent and only the camera position changes, use this structured approach to ensure smooth, cinematic results.\n\n\nPrompt Structure Template\n\n[CAMERA MOVEMENT] from [START POSITION] to [END POSITION]. Subject remains stationary and consistent throughout. Camera [MOVEMENT VERB] fluidly, maintaining [FOCUS BEHAVIOR] on [KEY ELEMENT]. Lighting stays constant, background [BACKGROUND BEHAVIOR]. [TECHNICAL SPECS].\n\nComponent Breakdown\n\n1. CAMERA MOVEMENT TYPES\nDolly-in/Push-in: Camera moves forward toward subject\nDolly-out/Pull-back: Camera moves backward away from subject\nOrbit/Arc: Camera circles around subject (specify left/right)\nTilt: Camera angles up or down on fixed position\nPan: Camera swivels left or right horizontally\nCrane/Pedestal: Camera moves vertically up or down\nTracking/Trucking: Camera moves parallel to subject\n\n2. POSITION DESCRIPTORS\nDistance: wide shot, medium shot, close-up, extreme close-up, macro\nAngle: low-angle, high-angle, eye-level, overhead, Dutch angle, worm's eye view, bird's eye view\nFraming: full body, three-quarter, torso, chest-up, face, detail\n\n3. MOVEMENT VERBS (choose intensity)\nSlowly, steadily, smoothly, gradually, fluidly\nRapidly, dynamically, swiftly\nElegantly, dramatically, confidently\n\n4. FOCUS BEHAVIOR\nSharp focus throughout\nRack focus from [A] to [B]\nMaintains focus on [element]\nShallow depth of field\nDeep focus\nProgressive focus shift\n\n5. BACKGROUND BEHAVIOR\nStays consistent\nBlurs to bokeh\nSharpens into view\nFades to [color]\nRemains sharp throughout\n\n6. TECHNICAL SPECS (standard cinematic quality)\nCinematic depth of field\nStable gimbal/dolly movement\nProfessional commercial grade\n24fps (or 30fps, 60fps for slow-motion feel)\nClean sensor, no grain (or \"film grain\" if desired)\n\n\nExample Prompts by Movement Type\n\nDOLLY-IN (Wide → Close-up)\nSmooth camera dolly-in from wide establishing shot to extreme close-up. Subject remains stationary. Camera pushes forward steadily, transitioning focus from [background element] to [detail]. Lighting stays constant, background softly blurs to bokeh. Cinematic depth of field, stable gimbal movement\n\nDOLLY-OUT (Close-up → Wide)\nSmooth camera pull-back from extreme close-up to wide establishing shot. Subject remains centered and stationary. Camera retreats steadily, revealing environment progressively. Focus maintains on subject while background sharpens into view. Even lighting, cinematic depth of field\n\nORBIT (Circular movement)\nSmooth camera orbit from front view to side profile. Subject remains stationary at center. Camera arcs left fluidly in 90-degree rotation, maintaining constant distance and eye-level angle. Lighting stays consistent, sharp focus throughout. Gimbal stabilized circular tracking\n\nTILT (Vertical angle change)\nSmooth camera tilt from low-angle to high-angle. Subject remains stationary. Camera tilts upward gradually, shifting perspective from worm's eye view to bird's eye view. Distance stays constant, lighting consistent. Stable tripod tilt, cinematic framing\n\nPAN (Horizontal swivel)\nSmooth camera pan from left profile to right profile. Subject remains stationary. Camera swivels horizontally across 180 degrees, maintaining constant distance and eye-level. Sharp focus throughout, even lighting. Fluid tripod pan\n\nCRANE UP/DOWN\nSmooth camera crane from ground-level to overhead view. Subject remains stationary at center. Camera elevates vertically, angle shifting from eye-level to bird's eye view. Distance adjusts proportionally, lighting consistent. Stabilized crane movement\n\nKey Rules for Camera-Only Transitions\n\nAlways specify subject remains stationary - This prevents unwanted morphing\nDescribe start AND end positions clearly - Gives model clear targets\nUse specific movement verbs - \"Dolly-in\" is clearer than \"moves closer\"\nLock down what DOESN'T change - Lighting, subject, clothing, expression\nInclude technical quality markers - Gimbal, cinematic, stable\nNegative prompts are critical - Prevents warping/morphing/distortion\nKeep prompts under 75 words - Model weights early words heavier\nOne primary movement per transition - Don't combine dolly + pan + tilt\n\nAdvanced Techniques\n\nSpeed Ramping:\n\"Camera begins slow dolly-in, accelerates midway, then decelerates smoothly into final close-up\"\n\nCombined Movements (use sparingly):\n\"Camera dollies in while simultaneously tilting down, maintaining subject center-frame\"\n\nFocus Pulls:\n\"Rack focus from foreground [element] to background [element] as camera remains locked\"\n\nLens Simulation:\n\"Wide-angle 24mm distortion gradually compresses to telephoto 85mm compression\"\n\n\nCritical Output Rule\n\nOUTPUT ONLY THE PROMPT. LIMIT THE OUTPUT TO 500 CHARACTERS. NO EXPLANATIONS. NO COMMENTARY. NO ADDITIONAL TEXT.",
"seed": 7,
"system_prompt": ""
},
"_meta": {
"title": "Google Gemini"
}
},
"385:383": {
"class_type": "KlingFirstLastFrameNode",
"inputs": {
"duration": 3,
"end_frame": [
"385:381",
0
],
"first_frame": [
"385:380",
0
],
"generate_audio": False,
"model": "kling-v3",
"model.resolution": "1080p",
"prompt": [
"385:382",
0
],
"seed": 7
},
"_meta": {
"title": "Kling 3.0 First-Last-Frame to Video"
}
},
"385:392": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"385:380",
0
],
"images.image1": [
"385:381",
0
]
},
"_meta": {
"title": "Batch Images"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)الأسئلة والأجوبة
تم تصميمه لإنشاء 7 فيديوهات FFLF من أزواج متجاورة. مع 8 إطارات مفتاحية مرتّبة، تكون الأزواج 1–2، 2–3، …، 7–8. إذا كنت تحتاج عدد لقطات أكثر أو أقل، انسخ/أزل مسار تقسيم الأزواج وفقًا لذلك.
استخدم BatchImagesNode مع أسماء ملفات تُفرَز طبيعيًا (مثل 01، 02، …، 08). إذا كنت تحمّل كل صورة على حدة، راجع مسار كل LoadImage. معاينة ورقة الاتصال عبر SaveVideo هي أسرع طريقة للتحقق.
اضبط مخرجات PrimitiveNode على 1920×1080 واختر أحجام صور متسقة. إذا اختلفت المصادر، أضف خطوة تغيير حجم/قص قبل التجميع لتجنب ظهور أشرطة أو تشوّه غير مرغوب فيه في المعاينة ومخرجات Kling.
تحقق من إعدادات عقدة/API الخاصة بـ Kling وحدود المعدل ومدة كل لقطة. جرّب خفض الدقة أو الطول، وإضافة عدد أقل من المقاطع إلى قائمة الانتظار في كل مرة، والتأكد من استقرار اتصال الشبكة قبل إعادة التشغيل.