This workflow turns text prompts into coherent 720p videos using the Hunyuan Video 1.5 model, with optional 1080p upscaling and super-resolution. It’s organized into clear groups: Step 1 - Load models, Step 3 - Prompt, Step 4 - Video Size, Custom Sampler, and an optional Video Upscale 1080P (Ctrl-B to enable). The pipeline loads Hunyuan’s text encoders with DualCLIPLoader and encodes your prompt via CLIPTextEncode. EmptyHunyuanVideo15Latent defines the temporal canvas (resolution, frame count, FPS), while RandomNoise sets the seed. UNETLoader brings in the Hunyuan Video 1.5 UNet, and SamplerCustomAdvanced (driven by KSamplerSelect, BasicScheduler, and CFGGuider) performs diffusion steps to synthesize video latents at 720p. VAELoader plus VAEDecode (or VAEDecodeTiled for memory efficiency) converts latents to frames, which CreateVideo stitches into a final clip, saved with SaveVideo.

For higher fidelity, the workflow includes a latent-space upscaling path. LatentUpscaleModelLoader and HunyuanVideo15LatentUpscaleWithModel can boost resolution before decoding, and HunyuanVideo15SuperResolution refines details after generation. EasyCache is available to accelerate repeated runs by caching encodings, at the cost of some visual quality. The default step count is set to 20 for reasonable render times; increasing steps (e.g., toward the Hunyuan team’s original settings) improves detail but extends inference time. If you encounter VRAM limits, set weight_dtype to fp8_e4n3fn and switch to VAEDecodeTiled.

API

Usa este flujo de trabajo desde código

Cada flujo de trabajo de Comfy es un grafo JSON. El siguiente payload es este flujo de trabajo, exactamente como lo ejecuta ComfyUI: descárgalo desde la URL, guárdalo en control de versiones o cárgalo en ComfyUI y ejecútalo nodo por nodo.

video_hunyuan_video_1.5_720p_t2v.json
Obteniendo JSON del flujo de trabajo…

Ejecuta desde TypeScript o Python con el Comfy SDK. El mismo código funciona en Comfy Cloud o en un ComfyUI propio: solo cambia la URL base.

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

// Run "Hunyuan Video 1.5 texto a vídeo" (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("video_hunyuan_video_1.5_720p_t2v_api.json");

wf.setInput("44", "text", "your prompt here"); // CLIPTextEncode

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

El SDK utiliza un flujo de trabajo en formato API: abre este flujo de trabajo en ComfyUI y usa Archivo → Exportar flujo de trabajo (API).

El acceso a la API de Comfy Cloud requiere un plan con clave API.

Preguntas frecuentes

Preguntas Frecuentes

Ver todos los workflows
Showing 30 of 30 templates