This ComfyUI workflow turns a single text prompt into a short video using the Flux3ImageToVideoNode, then encodes the result to a standard video file with SaveVideo. By default, the template is set up to render at 720p and 24 fps, but you can change width/height and fps to match vertical (9:16), square (1:1), or cinematic (21:9) formats. The workflow can run prompt-only for pure text-to-video, or optionally take in a starting frame through LoadImage to guide composition, subject placement, or style from the first frame.
Technically, Flux3ImageToVideoNode expands your prompt into a sequence of frames with temporally consistent motion. Core controls you’ll use include the prompt text, seed (for repeatability), width/height (aspect and resolution), number of frames (duration), and fps. If you provide a reference image via LoadImage, the node can use it as an initialization frame to better lock framing and identity; the influence of this can be tuned inside the Flux3ImageToVideoNode. Once the frames are generated, SaveVideo assembles them into a single clip. Note that this workflow outputs silent video; if you need audio, add it later in a video editor.
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/182021fcf3dc.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















