This workflow, Cinematic Product Advertisement — Seedance 2.0, builds multi-shot, cinematic product ads from a single, time-coded prompt. You provide a hero/environment image and product detail references via LoadImage nodes, set the total length and number of cuts using PrimitiveInt nodes, and optionally add a creative brief. GeminiNodeV2 then synthesizes a structured, time-cued shot plan that Seedance 2.0 consumes as one prompt. The ByteDance2ReferenceNode conditions the generator with your hero and detail images, helping maintain brand consistency and product fidelity across every shot.
Technically, the pipeline is organized into four groups: Inputs; LLM Prompt Generation; Edit Prompt?; and Generate and Save Video. After GeminiNodeV2 outputs the time-coded script, you can lock it into a PrimitiveStringMultiline node and bypass the LLM for reproducibility. The custom utility node (id: 0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4) handles prompt routing/formatting, while the Seedance 2.0 generator node (id: 2b10af74-c412-4c88-b235-6b170aed965c) renders the full sequence in one pass. PreviewAny lets you quickly inspect intermediate outputs, and SaveVideo exports the final clip. This single-prompt, time-cued design makes it easy to iterate on pacing, camera direction, and product emphasis without juggling multiple, per-shot prompts.
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

















