此工作流“电影级产品广告 — Seedance 2.0”可用单一时间码提示生成多镜头电影感产品广告。你需通过 LoadImage 节点提供主环境图和产品细节参考,PrimitiveInt 节点设置总时长和镜头数,可选添加创意说明。GeminiNodeV2 生成结构化、带时间码的分镜脚本,供 Seedance 2.0 一次性调用。ByteDance2ReferenceNode 用主图和细节图为生成器定调,确保每个镜头品牌一致、产品准确。
流程分四组:输入、LLM 提示生成、编辑提示(可选)、生成并保存视频。GeminiNodeV2 输出时间码脚本后,可复制到 PrimitiveStringMultiline 节点锁定,跳过 LLM,保证可复现。自定义工具节点(id: 0e2c3eaa-706c-41fd-b300-b6bd9e84a0a4)负责提示路由和格式化,Seedance 2.0 节点(id: 2b10af74-c412-4c88-b235-6b170aed965c)一次性渲染全片。PreviewAny 可快速查看中间结果,SaveVideo 导出最终视频。单一提示、时间码分镜设计,便于快速迭代节奏、机位和产品重点,无需多次分镜提示。
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.
常见问题

















