
This ComfyUI workflow, titled 'Vidu Q1: Text to Video,' is designed to transform text prompts into high-quality 1080p videos. Leveraging the advanced capabilities of the Vidu Q1 model, this workflow allows users to generate videos with customizable movement amplitude and duration, providing a dynamic and tailored video output. The core of the workflow is the ViduTextToVideoNode, which interprets textual input and translates it into visual sequences. This node is complemented by the SaveVideo node, ensuring that the generated video is efficiently saved for further use. The MarkdownNote node is included to provide users with important documentation and usage notes within the workflow interface.
Technically, this workflow is built to operate within a secure network environment, ensuring that API interactions are safe and reliable. It requires access from local network addresses such as `127.0.0.1` or `localhost`, and is optimized for use in secure web services starting with `https`. This setup ensures that users can connect to the API seamlessly, making the workflow both powerful and secure. The ability to adjust movement amplitude and duration offers users fine control over the video output, making it particularly useful for creating engaging and visually appealing content.
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/ccf567b604be.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 "Vidu Q1: Text to Video" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("api_vidu_text_to_video_api.json")
job = client.run(wf)
for output in job.get_outputs("14"): # SaveVideo
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














