Este fluxo de trabalho ComfyUI foi projetado para substituição de céus em vídeos de forma fluida, utilizando modelos avançados de IA da Wan. Utilizando nós como WanVideoVAELoader e WanVideoModelLoader, o fluxo carrega e processa vídeos de forma eficiente. O núcleo da técnica envolve o uso dos nós WanVideoSampler e WanVideoDecode para sintetizar e integrar novos céus ao vídeo original. O diferencial deste fluxo é manter alta qualidade de produção, garantindo que os novos céus se misturem naturalmente ao conteúdo original. O fluxo também incorpora os nós CLIPVisionLoader e WanVideoClipVisionEncode para aprimorar a compreensão semântica do vídeo, garantindo que a substituição do céu seja contextualizada. Isso torna o fluxo especialmente útil para cineastas e criadores de conteúdo que desejam aprimorar seus vídeos com mudanças dinâmicas de céu sem perder qualidade.
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.
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 this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");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














