This ComfyUI tutorial workflow demonstrates Wan3.0’s reference-to-video generation: starting from two images, it produces a lifelike, up-to-30-second video that preserves character identity and visual style. Two LoadImage nodes bring in your references (for example, a clean subject image and a context/pose or style image). These feed directly into the Wan3ReferenceToVideoApi node, which sends the request to the Wan3.0 service and returns a ready-to-save video. A SaveVideo node then writes the final clip to disk as an MP4.
Technically, the pipeline is lean and reliable: the heavy lifting happens remotely via the Wan3ReferenceToVideoApi node, so your local GPU is not a bottleneck. The MarkdownNote node in the graph includes inline tips and reminders about inputs and expected outputs. Because the generator is reference-driven, the quality and composition of your two images strongly influence identity lock, motion coherence, and background fidelity. Use this when you want consistent character animation from stills, quick scene mocks from storyboards, or product visuals derived from brand imagery.
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/abafa1d4f1f1.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