The Capybara: Video Edit workflow is a powerful tool designed for users looking to perform video editing and generation tasks using AI. At its core, this workflow leverages the Capybara model, which is adept at interpreting text instructions to modify or create video content. The workflow begins with the LoadVideo node, which allows users to upload their desired video or image file. Once the media is loaded, users can input specific text instructions that dictate the editing or generation task they wish to perform. The Capybara model processes these instructions to produce the desired output, which can range from simple edits to entirely new video sequences.

Technically, the workflow is structured to facilitate seamless integration between user inputs and AI-driven video processing. The MarkdownNote node serves as a guide, providing users with essential information and tips for optimal usage. After processing, the SaveVideo node ensures that the output is stored efficiently, ready for review or further use. This workflow is particularly useful for content creators, marketers, and educators who need to quickly generate or edit video content based on specific requirements, without the need for extensive manual editing.

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.

video_capybara_v0_1_video_edit.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 "Capybara: Video Edit" (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_capybara_v0_1_video_edit_api.json");

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