This depth-aware, reference-guided video-to-video workflow applies consistent style transfer to your footage while preserving motion and scene geometry. It starts by ingesting your clip with LoadVideo, then computes a per-frame depth map to anchor structure and camera movement (handled by the custom processing node c3b10638-32f0-4101-9b21-21fcda8712d8). The very first frame is extracted and saved (via SaveImage and helper utilities like 8dbec705-cae4-4197-9594-85b48cc18483), then passed to OpenAIGPTImageNodeV2 together with your text prompt from PrimitiveStringMultiline. GPT-Image-2 generates a style-matched reference image from that initial frame, which the workflow uses to steer the overall look.

The core stylization is driven by Seedance 2.0 through ByteDance2ReferenceNode, which fuses three signals: the depth map (structure), the first-frame style reference (appearance), and your prompt (semantic guidance). You can queue up to four style variations in one run using the batch fan-out/collector nodes (a3edb32a-4533-45e3-8eb2-84399225da2e), then reassemble the generated frames into final videos with CreateVideo and SaveVideo. The result is a set of stable, on-style clips that maintain the original timing and motion while reflecting your chosen aesthetic.

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/e1e03cafda18.json
Fetching 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

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates