Seedance2.5: Video Editing is a text-driven video-to-video editor built in ComfyUI. It loads your source clip with LoadVideo, optionally trims it with Video Slice, and sends the frames to ByteDance2ReferenceNode running Seedance 2.5 in video_editing mode. You describe the change in plain language—such as “replace the background with a minimalist white studio” or “remove the product label and keep everything else the same”—and the model returns a single, temporally consistent edited clip.
Technically, ByteDance2ReferenceNode handles the model/API call and enforces frame-to-frame coherence so objects, lighting, and motion remain stable as the edit carries across time. The workflow inherits the aspect ratio and duration from your input (per the video_editing mode behavior and author notes), preserving original composition and timing while applying local object removal, background swaps, scene replacements, or style transfers. MarkdownNote provides in-graph guidance, and SaveVideo assembles the processed frames into your final output video.
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














