This ComfyUI tutorial workflow takes a single reference image and generates five alternate camera angles to use as starting frames for Kling 3.0 image-to-video. A set of utility nodes (including Reroute and PrimitiveNode) fans out your input from LoadImage into five branches, where a preconfigured "Nano Banana 2" angle-synthesis group produces varied viewpoints of the same subject. Each start frame is saved via SaveImage so you can verify framing and subject integrity before video generation.
Each of the five frames is then sent to KlingVideoNode to create short motion clips guided by your prompt (e.g., orbit, pan, dolly). Finally, the clips are tiled into a single portrait output using CreateVideo and saved with SaveVideo. The stacker uses a horizontal strip layout inside a 9:16 canvas, so you can compare all five angles in one shareable video. Optional GeminiImage2Node can auto-caption the input image to augment your motion prompt; if not used, the workflow falls back to manual text from a PrimitiveNode. This setup is practical when you need consistent, multi-angle starters for Kling 3.0 without hand-authoring separate variations.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ














