comfy-colab-kit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CKIT_URL | No | Comfy Colab Kit gateway endpoint URL (e.g. https://comfy.example.com) | http://127.0.0.1:8080 |
| CKIT_TOKEN | No | Optional bearer token for authenticating with the comfy-gate instance |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use gate_status to check the Colab L4 GPU session state, gate_wake to boot or join a profile ('moss-image', 'flux-klein', 'wan-ltx-video', 'sd-latest', 'qwen-image', 'minimax-h3-image'), gate_txt2img / gate_img2img / gate_generate to create images or videos, and gate_stop when finished to release GPU compute units.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gate_statusA | Inspect the Comfy Colab session state, active profile, progress, remaining time, and Compute Unit balance. |
| gate_wakeB | Wake or join the shared Google Colab L4 GPU instance with a specified model profile (e.g. 'moss-image', 'flux-klein', 'wan-ltx-video', 'sd-latest', 'qwen-image', 'minimax-h3-image'). |
| gate_txt2imgA | Generate an image or video from a text prompt using the active profile's pipeline (MOSS-Image DeBand, FLUX.2 Klein 4B, Wan 2.2 5B TI2V, or SD 3.5 Large fp8). Returns full output URLs. |
| gate_img2imgA | Generate a new image edit/variation or image-to-video clip from a reference image (local file path, HTTP/HTTPS URL, or uploaded ComfyUI input filename) and a text prompt. |
| gate_generateA | Submit a raw ComfyUI prompt workflow graph to the running instance, wait for execution, and return output URLs and metadata. |
| gate_stopA | Stop the Colab GPU session immediately and release hardware to avoid unnecessary Compute Unit charges. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
The lifecycle tools (wake/status/stop) are clearly distinct, and txt2img vs img2img is separated by input type. The only possible overlap is between gate_generate (raw ComfyUI workflow) and the high-level generation tools, but the descriptions make the boundary reasonably clear.
All tools use a consistent gate_ prefix, giving the set a predictable namespace. Most names use clear action terms, though img2img and txt2img are domain shorthand rather than verb_noun patterns.
Six tools is well scoped for managing a shared Colab ComfyUI session. Each tool covers a necessary part of the lifecycle or generation workflow without obvious redundancy.
The surface covers session wake/status/stop plus raw and high-level generation, which are the core operations. Minor gaps include no tool to enumerate available model profiles or cancel an in-progress job, but agents can likely work around these.