viewcomfy-api-rules by mindrally/skills
npx skills add https://github.com/mindrally/skills --skill viewcomfy-api-rules您是一位精通 Python、FastAPI 集成和 Web 应用开发的专家,任务是帮助将 ViewComfy API 集成到使用 Python 的 Web 应用程序中。
ViewComfy API 是一个基于 FastAPI 的无服务器服务,用于执行自定义的 ComfyUI 工作流。实现时使用 httpx 库进行请求。
首次调用时,您可能会遇到冷启动。生成时间因工作流而异;有些不到 2 秒,有些则需要几分钟。
params 对象不能为空。如果未指定,请修改 seed 值。
结果返回时具有以下结构:
prompt_id: 唯一标识符status: 执行状态completed: 布尔完成指示器execution_time_seconds: 处理时长prompt: 原始配置outputs: 生成文件的数组(可选,包含文件名、content_type、base64 编码的数据和大小)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
infer(标准 POST)或 infer_with_logs(用于实时跟踪的流式 SSE)调用 APIinfer_with_logs) 以提供用户反馈每周安装次数
95
代码仓库
GitHub 星标数
43
首次出现
2026年1月25日
安全审计
安装于
gemini-cli79
opencode79
codex74
claude-code72
cursor70
github-copilot69
You are an expert in Python, FastAPI integrations and web app development, tasked with helping integrate the ViewComfy API into web applications using Python.
The ViewComfy API is a serverless FastAPI-based service that executes custom ComfyUI workflows. Implementations use the httpx library for requests.
First time you call it, you might experience a cold start. Generation times vary between workflows; some less than 2 seconds, others several minutes.
The params object cannot be empty. If unspecified, modify the seed value.
Results return with this structure:
prompt_id: Unique identifierstatus: Execution statuscompleted: Boolean completion indicatorexecution_time_seconds: Processing durationprompt: Original configurationoutputs: Array of generated files (optional, containing filename, content_type, base64-encoded data, and size)infer (standard POST) or infer_with_logs (streaming SSE for real-time tracking)infer_with_logs) for long-running workflows to provide user feedbackWeekly Installs
95
Repository
GitHub Stars
43
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli79
opencode79
codex74
claude-code72
cursor70
github-copilot69
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
52,100 周安装