runcomfy-cli

Operate RunComfy AI media models via CLI with job submission and output retrieval.

31|9|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/prime-skills/runcomfy-agent-skills --skill runcomfy-cli-prime-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: runcomfy-cli
Source: https://github.com/prime-skills/runcomfy-agent-skills/tree/main/runcomfy-cli
Command: npx skills add https://github.com/prime-skills/runcomfy-agent-skills --skill runcomfy-cli-prime-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the complexity of connecting to and operating RunComfy AI media models by providing one authenticated command-line workflow for submitting jobs, monitoring progress, and downloading results.

Core Features & Use Cases

  • Model Execution: Run image generation, image editing, video creation, lip-sync, face swap, inpainting, upscaling, relighting, and other RunComfy endpoints.
  • Workflow Control: Discover model schemas, submit synchronous or asynchronous jobs, poll request status, stream machine-readable JSON, and download generated files.
  • Automation and Reliability: Support batch processing, shell scripting, retry handling, exit-code interpretation, timeouts, and secure token-based authentication.
  • Use Case: Generate a batch of product images from a prompt file, save each result to a separate output directory, and process the returned URLs in an automated pipeline.

Quick Start

Ask the AI to use the RunComfy CLI to run the requested model with the provided JSON inputs and save the generated outputs to a specified directory.

Frequently Asked Questions about runcomfy-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AI image and video generation from the command line?

You can automate AI image and video generation by using a command-line interface to submit jobs to AI media models, poll execution status asynchronously, and retrieve generated outputs automatically.

What is the best way to run batch processing for AI media generation workflows?

The best way to run batch processing for AI media generation is using shell scripting to submit multiple jobs, manage retry handling, and save each generated result to a separate output directory via machine-readable JSON.

Can I use asynchronous polling to track AI model execution status in an automated pipeline?

Yes, you can use asynchronous polling to track AI model execution status, stream machine-readable JSON responses, and process returned URLs within an automated pipeline without blocking terminal operations.

Do I need a local login token to execute AI media models via terminal commands?

Yes, you need a valid authentication token or local login to securely execute AI media models from the terminal, ensuring proper access control for submitting jobs and downloading generated files.

How do I discover model-specific JSON schemas before submitting an image editing job?

You can discover model-specific JSON schemas by using the CLI to query available AI media endpoints, allowing you to construct valid inputs for image editing, upscaling, or lip-sync workflows.

Why does my asynchronous AI video generation job timeout before retrieving the output?

Asynchronous AI video generation jobs may timeout if execution exceeds limits; you must implement retry-aware error management and configure appropriate timeouts to successfully retrieve generated files.