• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
anibalpw

anibalpw

comfy-frontend

Public
Like
comfy-frontend
Home
Code
4
backend
2
frontend
5
shared
2
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
backend
/
README.md
Code
/
backend
/
README.md
Search
8/14/2025
README.md

Backend API

Hono-based backend server that proxies requests to ComfyUI instances and manages job status.

API Endpoints

POST /api/execute

Execute a workflow on a ComfyUI server.

Request Body:

{ "serverIp": "192.168.1.100", "workflow": { /* ComfyUI workflow JSON */ }, "clientId": "optional-client-id" }

Response:

{ "prompt_id": "uuid", "number": 123, "client_id": "client-id", "server_ip": "192.168.1.100" }

GET /api/status/:promptId?serverIp=ip

Get the status of a specific job.

Response:

{ "prompt_id": "uuid", "status": "completed", "images": ["filename1.png", "filename2.png"], "created_at": "2023-...", "completed_at": "2023-..." }

GET /api/history

Get execution history.

GET /api/images/:filename?serverIp=ip

Proxy images from ComfyUI server.

GET /api/server-info?serverIp=ip

Check if a ComfyUI server is online and get queue status.

Features

  • Job Tracking: Monitors job status across queue, running, and history states
  • Image Proxying: Serves generated images through the backend
  • Error Handling: Comprehensive error handling with detailed messages
  • History Management: Keeps track of recent executions
  • Server Health: Checks ComfyUI server availability
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.