FastAPI service that accepts image generation requests, queues them to ComfyUI API, and posts results to a Discord webhook. Designed to run on the same machine as ComfyUI and be called from an OpenClaw bot over LAN.
ComfyUI Bridge has 9 tools with mostly complete schemas and descriptions. Naming is action-oriented (generate, img2img, faceswap, etc.), which is good. Descriptions are present and moderately detailed (avg ~120 chars), meeting baseline minimums. However, several parameters lack descriptions or have vague ones. Output schemas are not documented, LLMs cannot predict what fields to expect from responses. Error handling is minimal; no recovery guidance or actionable error messages visible. Security concerns: multipart file uploads lack validation hints; no mention of permission checks or audit logging. Composition is reasonable, tools are single-purpose, but some combine related operations (faceswap_pipeline chains two steps, which could be split).
Get detailed diagnostics including queue status, node availability, and system info
Swap a face from a source image onto a target image using ReActor
Faceswap followed by img2img cleanup in one call. Swap face then refine with Juggernaut.
Generate an image using ComfyUI with specified prompt, model, aspect ratio, seed, and enhancement options
Check server and ComfyUI health status
Edit an image using img2img with a prompt and strength parameter
LivePortrait expression editor: animate faces in any photo with expression parameters
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination). Tools return JSON but no schema is visible in definitions.
File upload parameters (image, source_face, target_image, style_ref) lack validation hints. No mention of accepted formats, size limits, or error handling for invalid files.
Error handling not visible. No recovery guidance, actionable error messages, or categorization (retryable vs fatal). Agents cannot self-correct on failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 62 | 2026-07-28+ | v2 |
Apply reference style to existing photo
Generate new image in the style of a reference image
faceswap_pipeline combines two operations (faceswap + img2img cleanup). Should be split into separate tools so agents can compose them independently.
health and diagnostics have minimal descriptions (60 chars). Unclear when to call each vs the other, or what data each returns.