Vidu Q1: Text to Video

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.

api_vidu_text_to_video.json
Fetching workflow JSON…

Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.

// Install (beta)
npm i @comfyorg/sdk

// Run "Vidu Q1: Text to Video" (TypeScript)
import { Comfy } from "@comfyorg/sdk";

const client = new Comfy({ apiKey: "comfyui-..." });

// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("api_vidu_text_to_video_api.json");

const job = await client.run(wf);
await job.getOutputs("14")[0].toFile("output.png"); // SaveVideo

The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).

Comfy Cloud API access requires a plan with an API key.

FAQ

Frequently Asked Questions

View all workflows
Showing 30 of 30 templates