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.
GET https://comfy.org/workflows/download/8d3a504fd30d.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ















