Skip to content
Back to skills

Comfyui Api V2

ASecurity

Operate a user-selected Comfy API v2 endpoint such as comfy-api-proxy using durable jobs, poll-first state, UUID assets, API-format workflow submission, targeted cancellation, safe asset retrieval, optional bearer auth, and idempotent submission practices.

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 9, 2026
ai-agentspythonapisecurity

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add badgids/Story-Film-Skills --skill comfyui-api-v2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Comfyui Api V2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Comfyui Api V2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/badgids-comfyui-api-v2/badge)](https://www.skillsdirectory.com/skills/badgids-comfyui-api-v2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: comfyui-api-v2
description: Operate a user-selected Comfy API v2 endpoint such as comfy-api-proxy using durable jobs, poll-first state, UUID assets, API-format workflow submission, targeted cancellation, safe asset retrieval, optional bearer auth, and idempotent submission practices.
disable-model-invocation: true
author: Alan Guice (Badgids)
license: Apache-2.0
---

# Comfy API v2

## Read

- `../../references/COMFY_API_V2.md`
- `../../references/COMFYUI_SECURITY.md`

## Procedure

1. Confirm the user selected a v2 endpoint or proxy surface.
2. Probe `/api/v2/health` when supported.
3. Submit API-format workflow JSON to `/api/v2/jobs`.
4. Keep the returned job ID.
5. Poll `/api/v2/jobs/{id}` as the source of truth.
6. Use the job's returned output and asset links rather than inventing URL shapes where links are provided.
7. Cancel only the selected job.
8. Keep bearer tokens and partner API keys out of project files and logs.

Bundled command:

```text
python scripts/comfy_api_v2.py health
python scripts/comfy_api_v2.py submit --workflow WORKFLOW.json
python scripts/comfy_api_v2.py wait JOB_ID
python scripts/comfy_api_v2.py cancel JOB_ID
```

## Assets

Use v2 multipart asset upload when v2 asset identity or proxy placement is required. Do not use model upload to place executable content or arbitrary configuration files.

## Done

The job is represented by its durable v2 ID and outputs are followed through server-provided asset records or links.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…