1 image input Split Stack - Nano Banana 2 + Kling 3.0
Téléchargez 1 image d'entrée et générez 5 angles alternatifs à utiliser comme images de départ avec Kling 3.0. Chaque vidéo est empilée horizontalement dans une vidéo finale au format 9x16.
À propos
Ce tutoriel workflow ComfyUI prend une seule image de référence et génère cinq angles de caméra alternatifs à utiliser comme images de départ pour Kling 3.0 image-vers-vidéo. Un ensemble de nœuds utilitaires (dont Reroute et PrimitiveNode) répartit votre entrée depuis LoadImage en cinq branches, où un groupe préconfiguré « Nano Banana 2 » synthétise des points de vue variés du même sujet. Chaque image de départ est enregistrée via SaveImage pour vérifier le cadrage et l'intégrité du sujet avant la génération vidéo.
Chacune des cinq images est ensuite envoyée au KlingVideoNode pour créer de courts clips animés guidés par votre prompt (ex : orbite, panoramique, travelling). Enfin, les clips sont assemblés dans une seule sortie portrait à l'aide de CreateVideo et sauvegardés avec SaveVideo. L'empileur utilise une disposition en bande horizontale sur une toile 9:16, ce qui permet de comparer les cinq angles dans une seule vidéo partageable. GeminiImage2Node (optionnel) peut générer automatiquement une légende pour l'image d'entrée afin d'enrichir votre prompt de mouvement ; sinon, le workflow utilise le texte manuel d'un PrimitiveNode. Cette configuration est idéale pour obtenir rapidement des starters multi-angles cohérents pour Kling 3.0 sans créer manuellement des variantes séparées.
Ce que vous fournissez
- Lecture du workflow
S’exécute dans ComfyUI. Ce workflow ne peut pas s’exécuter sur cette page. Ouvrez-le dans Comfy Cloud, avec tout déjà chargé, ou téléchargez-le pour votre propre ComfyUI.
Essayer dans CloudDans le workflow
Un aperçu en lecture seule du graphe de nœuds. Ouvrez-le dans Comfy Cloud ou téléchargez-le pour modifier les nœuds.
Loading the graph
Open full-size workflow preview- Auteur
- Rob
Nécessite des nœuds personnalisés
- Lecture du workflow
Utiliser ce workflow depuis du code
Généré à partir du graphe et des entrées du workflow lorsque cela est possible ; sinon, les exemples enregistrés sont affichés. Vérifiez les identifiants et les points de terminaison avant d’exécuter le code, ce qui peut entraîner des frais.
What you need
- Runs on
- Comfy Cloud
- Clé
- COMFY_API_KEY
- Vos fichiers
- Importés par le code depuis leurs URL
Nécessite un forfait Cloud payant et des crédits.
# 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({
"41": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"758": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 24,
"images": [
"1222:1219",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"759": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/splitstack_final",
"format": "auto",
"format.codec": "auto",
"video": [
"758",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1189": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"41",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "Wide shot, the subject is in view",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 0,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"1192": {
"class_type": "KlingVideoNode",
"inputs": {
"generate_audio": False,
"model": "kling-v3",
"model.aspect_ratio": "16:9",
"model.resolution": "720p",
"multi_shot": "disabled",
"multi_shot.duration": 8,
"multi_shot.negative_prompt": "",
"multi_shot.prompt": "Static camera, the subject moves across the shot",
"seed": 484688321,
"start_frame": [
"1189",
0
]
},
"_meta": {
"title": "Kling 3.0 Video"
}
},
"1196": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/stack1_kling",
"format": "auto",
"format.codec": "auto",
"video": [
"1192",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1200": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"41",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "Extreme close up on the subjects eye",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 995219765575705,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"1201": {
"class_type": "KlingVideoNode",
"inputs": {
"generate_audio": False,
"model": "kling-v3",
"model.aspect_ratio": "16:9",
"model.resolution": "720p",
"multi_shot": "disabled",
"multi_shot.duration": 8,
"multi_shot.negative_prompt": "",
"multi_shot.prompt": "Dolly in on the subjects eye, extreme detail",
"seed": 947661511,
"start_frame": [
"1200",
0
]
},
"_meta": {
"title": "Kling 3.0 Video"
}
},
"1202": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/stack2_kling",
"format": "auto",
"format.codec": "auto",
"video": [
"1201",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1208": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"41",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "Side profile of the subject",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 451280254241378,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"1209": {
"class_type": "KlingVideoNode",
"inputs": {
"generate_audio": False,
"model": "kling-v3",
"model.aspect_ratio": "16:9",
"model.resolution": "720p",
"multi_shot": "disabled",
"multi_shot.duration": 8,
"multi_shot.negative_prompt": "",
"multi_shot.prompt": "The camera pans right",
"seed": 1237402778,
"start_frame": [
"1208",
0
]
},
"_meta": {
"title": "Kling 3.0 Video"
}
},
"1210": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/stack3_kling",
"format": "auto",
"format.codec": "auto",
"video": [
"1209",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1216": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"41",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "Medium shot of the subject",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 1064378156241404,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"1217": {
"class_type": "KlingVideoNode",
"inputs": {
"generate_audio": False,
"model": "kling-v3",
"model.aspect_ratio": "16:9",
"model.resolution": "720p",
"multi_shot": "disabled",
"multi_shot.duration": 8,
"multi_shot.negative_prompt": "",
"multi_shot.prompt": "The camera dollies out ",
"seed": 1618448800,
"start_frame": [
"1216",
0
]
},
"_meta": {
"title": "Kling 3.0 Video"
}
},
"1218": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/stack4_kling",
"format": "auto",
"format.codec": "auto",
"video": [
"1217",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1224": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "auto",
"images": [
"41",
0
],
"model": "Nano Banana 2 (Gemini 3.1 Flash Image)",
"prompt": "Overhead aerial drone shot, looking down from a top perspective of the subject",
"resolution": "2K",
"response_modalities": "IMAGE+TEXT",
"seed": 540450878401556,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"1225": {
"class_type": "KlingVideoNode",
"inputs": {
"generate_audio": False,
"model": "kling-v3",
"model.aspect_ratio": "16:9",
"model.resolution": "720p",
"multi_shot": "disabled",
"multi_shot.duration": 8,
"multi_shot.negative_prompt": "",
"multi_shot.prompt": "Dolly out and orbit as the subject remains static.",
"seed": 1154249775,
"start_frame": [
"1224",
0
]
},
"_meta": {
"title": "Kling 3.0 Video"
}
},
"1226": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/stack5_kling",
"format": "auto",
"format.codec": "auto",
"video": [
"1225",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"1228": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "stack1_nb",
"images": [
"1189",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"1229": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "stack2_nb",
"images": [
"1200",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"1231": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "stack3_nb",
"images": [
"1208",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"1233": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "stack4_nb",
"images": [
"1216",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"1235": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "stack5_nb",
"images": [
"1224",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"1206:1203": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"927:912",
0
],
"image2": [
"1206:1205",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"1206:1204": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1209",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"1206:1205": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": 384,
"image": [
"1206:1204",
0
],
"keep_proportion": "crop",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": 1080
},
"_meta": {
"title": "Resize Image v2"
}
},
"1214:1211": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"1206:1203",
0
],
"image2": [
"1214:1213",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"1214:1212": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1217",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"1214:1213": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": 384,
"image": [
"1214:1212",
0
],
"keep_proportion": "crop",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": 1080
},
"_meta": {
"title": "Resize Image v2"
}
},
"1222:1219": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"1214:1211",
0
],
"image2": [
"1222:1221",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
},
"1222:1220": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1225",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"1222:1221": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": 384,
"image": [
"1222:1220",
0
],
"keep_proportion": "crop",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": 1080
},
"_meta": {
"title": "Resize Image v2"
}
},
"925:1197": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": 384,
"image": [
"925:903",
0
],
"keep_proportion": "crop",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": 1080
},
"_meta": {
"title": "Resize Image v2"
}
},
"925:903": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1192",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"927:1198": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": 384,
"image": [
"927:904",
0
],
"keep_proportion": "crop",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": 1080
},
"_meta": {
"title": "Resize Image v2"
}
},
"927:904": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1201",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"927:912": {
"class_type": "ImageStitch",
"inputs": {
"direction": "down",
"image1": [
"925:1197",
0
],
"image2": [
"927:1198",
0
],
"match_image_size": True,
"spacing_color": "white",
"spacing_width": 0
},
"_meta": {
"title": "Stitch Images"
}
}
})
# Replace each example.com URL with a public URL of your file.
workflow.set_input("41", "image", client.assets.from_url("https://example.com/replace-with-a-url/image"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)Questions-réponses
Oui. Le KlingVideoNode nécessite des identifiants valides. Saisissez votre clé API ou token de session dans les paramètres du nœud (ou dans l'environnement, si votre installation le permet) avant d'exécuter l'étape vidéo.
C'est un groupe de synthèse d'angles préconfiguré qui prend votre image d'entrée unique et produit cinq points de vue alternatifs à utiliser comme images de départ pour Kling 3.0. Cela permet de prévisualiser différents angles sans créer manuellement des entrées séparées.
Oui. Le workflow est configuré par défaut pour cinq branches. Vous pouvez dupliquer ou supprimer une branche après la répartition Reroute, puis mettre à jour les entrées d'assemblage dans CreateVideo pour que le composite corresponde au nouveau nombre. Les contrôles d'espacement des angles (si exposés) se trouvent dans le groupe Nano Banana 2.
Le compositeur assemble les cinq sorties Kling sur une toile portrait pour un affichage mobile/réseaux sociaux. Si vous préférez le paysage, modifiez l'aspect/la taille dans le nœud CreateVideo (les préréglages incluent 720p/2K/16:9). Assurez-vous que toutes les branches alimentent le compositeur à la même résolution.
Workflows associés
- Nano Banana Pro, Gemini3 Pro Image Preview, Google
Create a character turnaround
- Qwen-Image-Edit
See your subject from a new angle
- Qwen-Image-Edit, Wan2.2
1 entrée d'image Pile divisée - Qwen Multiangle + Wan 2.2
- Kling 3.0, Nano Banana 2
3.1 Avancé : Vidéo Multi-Plans
- Seedance 2.0
4K Seedance 2.0 - Référence vers Vidéo
- NNœud partenaire
Comfy pour la publicité - Création de storyboard
- Nano Banana Pro
D'une seule image à plusieurs prises cohérentes
- Qwen-Image-Edit
Générer plusieurs angles avec le nœud Caméra 3D
- Nœud partenaire
Idéation rapide vers storyboard puis vidéo animée (GPT Image 2 + Seedance 2.0)
- Kling 3.0
Kling 3.0 : Multishot en 1 clic
- Nœud partenaire
Storyboard vers vidéo - Seedance 2.0
- Wan2.2
Vidéo reliée début-fin en continu