Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Comfy-Org/comfy-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/comfy-org/comfy-skills/generate-video)<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/generate-video"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-video/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/generate-video"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.02261 |
| Opus 5 | $0.00006 | $0.01130 |
| Sonnet 5 | $0.00002 | $0.00452 |
| Haiku 4.5 | $0.00001 | $0.00226 |
Grade A, and why
generate-video scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate, edit, or extend a video using Comfy Cloud based on the user's description: $ARGUMENTS
Follow these steps exactly:
Step 0 — Route the named model family. If the user named a provider, model, or capability (e.g. "Kling", "Veo", "Sora", "Runway", "MiniMax"), check both routes before doing anything else: one search_nodes lookup with the named term (for the partner/API node), and one search_templates lookup with the family name (for an OSS template). Some families — MiniMax H3 is a current example — ship as BOTH OSS weights and a paid partner node under the same display title; others exist only as a partner node. Tell them apart by internal name (an OSS template/node uses a plain prefix like video_*; a partner/API node uses api_* and lives under a partner/ category) and, where the search results expose it, row tags.
- Family exists only as partner/API (no matching OSS template, node category starts with
partner/): route directly. Trypartner_generatefirst — see its tool description for the currently-wired model ids. Passtype: "video"plus the partner's model slug,prompt, and any optional fields (aspect_ratio/seed/duration/medias[]). On success, return the artifact URL(s) and stop — do NOT continue with the workflow steps below. Ifpartner_generatereturns "unknown model" or "not yet implemented", continue to Step 1. - Family exists as both OSS and partner/API: do NOT auto-route to the paid path. Tell the user both options exist — OSS (no partner/API fee, but running it still spends ordinary Comfy Cloud compute credits, and it's typically slower; it's only actually free of charge when the user runs it themselves on their own local ComfyUI install) vs. paid partner/API (fast, no local hardware concern, costs the partner's per-run price on top of compute) — and ask which they want, unless they already said which one (e.g. "the free version", "local", "OSS", or named a paid partner product explicitly) or one route is genuinely infeasible right now. Once the route is chosen: partner/API continues as in the bullet above; OSS continues to Step 1 using the matching template.
Never tell a user the OSS route doesn't exist for a family that has one — that's a wrong answer, not a cautious one.
-
Use
search_templateswith relevant queries like "text to video", "image to video", or "video generation" to find a pre-built video workflow template. Filter by tag "video" if the text search returns too many image results. If a good template exists, use it as the base workflow instead of building from scratch. -
If no suitable template was found, use
search_modelsto find an appropriate video model. Common video models include: LTX-Video, Wan Video, HunyuanVideo, AnimateDiff, CogVideoX. Pick the best match based on the user's description. -
If the user provides an input image (for image-to-video), use
upload_fileto upload it first. Use the returned filename in a LoadImage node. -
Build a ComfyUI API-format workflow JSON with the appropriate video nodes. Video workflows typically use specialized loader nodes (e.g. LTXVLoader, WanVideoModelLoader), video-specific samplers, and video output nodes (e.g. VHS_VideoCombine). If using a template, modify the prompt and settings as needed.
-
Validate the workflow has inputs and outputs before submitting. Confirm the JSON contains:
- At least one input node the user's intent flows through (CLIPTextEncode for the prompt, LoadImage for image-to-video, etc.).
- At least one output/save node wired to the final video tensor (e.g.
VHS_VideoCombine,SaveAnimatedWEBP,SaveVideo, or the partner node's own save output).
API-backed partner nodes (Kling, Nano Banana, Gemini, Veo, etc.) often produce a video tensor but do not include a save node by default — you must add one and wire it to their output. Without it the job runs successfully but produces nothing retrievable, wasting compute. Do not skip this check.
-
Call
submit_workflowwith the workflow JSON. Note: video generation typically takes longer than image generation (30s-2min+).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 62 lines · 12 tokens per session scan A b1e776db0af5
generate-video is a command published in the GitHub repository Comfy-Org/comfy-skills (190 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 2,261 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
compare
Diff two ComfyUI workflows to see what changed.
install
Install a ComfyUI custom node pack.
assemble-montage
You are the EDITOR expert in the Video Recreation Agent Team.
ref
Upload a local image as reference for generation. Returns a public URL.
design
A command for choosing or defining the visual style of a PowerPoint presentation, including its colors, fonts, and page layouts. It offers preset styles, custom brand settings, and recommendations based on the presentation topic.
text-to-3d
Generate a static textured GLB from one subject description, locally.