Luma: Text to Video

This ComfyUI workflow turns plain text prompts into short, high-quality videos using Luma's text-to-video model. The core of the graph is the LumaVideoNode, which sends your prompt and settings to Luma's API and polls for the rendered result. The LumaConceptsNode feeds structured "concepts" into LumaVideoNode, giving you fine control over camera behavior like pans, tilts, or zooms without overloading the prompt text. A SaveVideo node writes the returned video to disk, while a MarkdownNote provides in-graph guidance and tips.

Technically, the workflow is an API-driven pipeline: LumaVideoNode packages your prompt and the optional concept object from LumaConceptsNode, submits a generation request, and waits for completion. The seed parameter in this workflow is used only to determine whether LumaVideoNode should re-run (i.e., to bypass caching) and does not control the visual randomness of the final video. This design lets you iterate quickly on camera motion, timing, and composition by changing LumaConceptsNode settings while keeping your textual description short and precise.

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_luma_t2v.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 "Luma: 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_luma_t2v_api.json");

const job = await client.run(wf);
await job.getOutputs("8")[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