Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
COMFYUI_URLNoOverride ComfyUI URL (skips auto-discovery).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
logging
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_statusB

Get the current status of ComfyUI connection and installation

get_install_guideB

Get installation instructions for ComfyUI (recommends desktop app for most users)

get_model_guideA

Get guidance on downloading and installing models for ComfyUI

list_examplesA

List official ComfyUI example workflows from the documentation. RECOMMENDED: Always check examples first before building custom workflows - they provide tested, working templates for common use cases like txt2img, img2img, ControlNet, LoRA, regional prompting, and more.

get_example_workflowA

Fetch an example workflow (extracts embedded JSON from documentation images). Returns ready-to-use workflow JSON that can be passed directly to run_workflow. Use this as a starting point and modify prompts, models, or parameters as needed.

extract_workflowA

Extract the workflow JSON from a ComfyUI-generated PNG image. Works with local file paths or URLs. Returns the workflow in API format that can be passed directly to run_workflow.

recommend_workflowA

IMPORTANT: Call this BEFORE generating images to get the correct workflow and settings for a model. Given a model filename, returns the recommended workflow, optimal settings (steps, CFG, resolution), and prompting guide. Essential for matching checkpoint vs UNET models to the right workflow.

get_prompting_guideA

Get prompting best practices for AI image generation models (SD1.5, SDXL, SD3, Flux)

get_capabilitiesB

Get the detected capabilities of the connected ComfyUI instance

run_workflowA

Run a custom ComfyUI workflow (API format JSON). Returns immediately with a task ID (async by default). Use get_task to check progress, get_task_result to retrieve results when complete. Set sync:true to wait for completion (blocking). IMPORTANT: Use the 'name' parameter with descriptive names like 'sunset_portrait_v2' or 'logo_design_red' to make generations easy to find later. BEST PRACTICE: Always start from example workflows (list_examples/get_example_workflow) or templates (search_templates/get_template) rather than building workflows from scratch.

get_imageA

Retrieve a generated image as base64. Use this to fetch images from ComfyUI's output directory.

list_modelsB

List available models (checkpoints, LoRAs, VAEs, etc.) in ComfyUI

list_nodesA

List available ComfyUI nodes, optionally filtered by category or search term

get_node_infoA

Get detailed information about a specific ComfyUI node, including its inputs (with types, defaults, and valid options) and outputs. Essential for understanding how to wire nodes together in workflows.

find_nodes_by_typeA

Find ComfyUI nodes by their input or output types. Use this to discover which nodes can produce a specific type (e.g., MODEL, LATENT, IMAGE) or which nodes can consume a type. Essential for workflow composition.

build_nodeA

Generate valid node JSON with proper inputs/outputs that can be assembled into a workflow. Provide inputs to override defaults, or leave empty to get a node with default values and placeholders for connections.

validate_workflowA

Validate a workflow before running it. Checks that all node types exist, connections are valid, required inputs are provided, and types match. Returns errors and warnings.

search_templatesA

Search for workflow templates by model type, task type, category, or text. Returns templates from built-in workflows, ComfyUI examples, and custom saved templates. Use get_template to generate workflow JSON from a template.

get_templateA

Generate workflow JSON from a template with provided parameters. Returns a complete workflow that can be passed to run_workflow. Works with built-in and custom saved templates.

save_templateA

Save a workflow as a reusable template. Use descriptive names that indicate the purpose (e.g., 'portrait_lighting_studio', 'product_photo_white_bg'). Templates are stored persistently and can be searched and retrieved later.

delete_templateA

Delete a custom saved template. Built-in templates cannot be deleted.

get_download_urlA

Get the download URL for a model by name. Searches common model names and returns download URLs, destinations, and wget commands. Useful for helping users download missing models.

get_queueA

Get the current ComfyUI queue status

cancel_jobA

Cancel a queued job by prompt ID. NOTE: This only works for jobs that are queued (pending), NOT for jobs that are already running. To stop a running job, use the 'interrupt' tool instead.

interruptA

Interrupt the currently running job. Use this to stop a job that is actively generating. For queued jobs that haven't started yet, use 'cancel_job' instead.

get_historyC

Get generation history

get_taskA

Get the current status of an async generation task. Returns progress info including current step, total steps, average step time, estimated remaining time, and a suggested poll interval based on generation speed.

get_task_resultB

Get the result of a completed generation task (images)

list_tasksA

List all generation tasks, optionally filtered by status

cancel_taskA

Cancel an async generation task. For queued tasks, this cancels the ComfyUI job. For tasks that are already running, this only removes the task from tracking - use 'interrupt' to actually stop the running generation.

get_generation_by_nameA

Retrieve a generation by its user-assigned name. Returns the same format as get_task_result.

name_generationA

Assign a descriptive name to an existing generation for easy retrieval. Use clear, searchable names that describe the content (e.g., 'landscape_sunset_warm', 'logo_draft_2', 'character_portrait_final').

save_noteA

Save a note about something learned during image generation. Useful for remembering model behaviors, prompting techniques, workflow patterns, etc.

get_notesB

Retrieve saved notes, optionally filtered by topic.

search_notesB

Search notes using full-text search.

delete_noteC

Delete a note by its ID.

list_topicsA

List all unique topics that have notes.

get_user_preferencesA

Get user preferences extracted from analyzing their ComfyUI output history. Returns commonly used workflows (as reusable templates), frequently used models, and preferred settings.

render_svgA

Render SVG content to PNG and save to ComfyUI's input folder. Returns filename for use in LoadImage nodes. Useful for creating precise base images for img2img workflows.

download_fontA

Download a font from Google Fonts or a direct URL for use in SVG rendering. Fonts are cached locally and can be embedded in SVGs via render_svg. Popular fantasy/map fonts: Cinzel, Pirata One, MedievalSharp, UnifrakturMaguntia, Almendra.

list_fontsA

List all downloaded fonts available for use in SVG rendering.

Prompts

Interactive templates invoked by user choice

NameDescription
generate-imageGenerate an image with ComfyUI using appropriate settings for your model type
setup-comfyuiGet step-by-step instructions for setting up ComfyUI with models
run-exampleGet an example workflow ready to run with guidance on required models
learn-promptingGet comprehensive prompting guidance for your model type

Resources

Contextual data attached and managed by the client

NameDescription
prompting-guide-allComprehensive prompting guide for all AI image models (SD1.5, SDXL, SD3, Flux)
prompting-guide-sd15The original Stable Diffusion model. Works best with keyword-style prompts separated by commas.
prompting-guide-sdxlEnhanced model with better prompt understanding. Supports both keyword and natural language styles.
prompting-guide-sd3Latest generation with excellent prompt adherence and text rendering. Uses natural language prompting.
prompting-guide-fluxState-of-the-art model with best-in-class prompt adherence and text rendering. Uses pure natural language.
prompting-guide-qwenAlibaba's 20B MMDiT model with excellent text rendering and image editing. Uses an LLM as CLIP encoder, making it highly flexible with natural language.
prompting-guide-hunyuanTencent's powerful diffusion transformer with fine-grained understanding of both English and Chinese. Excels at cinematic, detailed imagery.
prompting-guide-auraflowThe largest (6.8B) open-source text-to-image model with Apache 2.0 license. Exceptional prompt following and flexibility.
prompting-guide-kolorsKwai's bilingual (Chinese/English) text-to-image model trained on billions of pairs. Excels at photorealistic images.
prompting-guide-pixartEfficient DiT model (0.6B params) capable of generating up to 4K images. Good prompt adherence with detailed descriptions.
prompting-guide-playgroundState-of-the-art open-source model for aesthetic quality. Outperforms SDXL and competes with DALL-E 3 and Midjourney in user studies.
prompting-guide-cascadeThree-stage model with 42x compression factor. Fast inference, good prompt adherence, and text rendering capabilities.
example-basic-txt2imgSimple text-to-image generation with a checkpoint model (Category: basics)
example-hires-fix-latent-upscaleCreate an image at lower resolution, upscale it using latent space, then run through img2img for higher quality details (Category: basics)
example-image-to-image-img2imgTransform an existing image using a prompt. Denoise parameter controls modification intensity (lower = preserve more of original) (Category: basics)
example-inpainting-basicBasic inpainting workflow using SetLatentNoiseMask. Works with any model by applying noise mask to latent. (Category: inpainting)
example-inpainting-yosemite-exampleInpainting landscape example using the basic noise mask approach. Demonstrates replacing regions in nature photos. (Category: inpainting)
example-inpainting-dedicated-modelInpainting using dedicated SD 2.0 inpainting model. Better quality than basic approach for complex edits. (Category: inpainting)
example-inpainting-regular-modelInpainting using a regular (non-inpainting) model like AnythingV3. Shows that any model can be used for inpainting. (Category: inpainting)
example-outpaintingExtend images beyond their original borders. Uses 'Pad Image for Outpainting' node to expand canvas. (Category: inpainting)
example-loraApply LoRA (Low-Rank Adaptation) patches to modify style or concepts. Supports all LoRA variants: Lycoris, loha, lokr, locon. (Category: lora)
example-hypernetworksApply hypernetwork patches on top of the main model (Category: hypernetworks)
example-textual-inversion-/-embeddingsUse trained embeddings as custom words in prompts. Placement in prompt matters for effect. (Category: embeddings)
example-upscaling-with-esrganIncrease image resolution using upscale models like ESRGAN, RealESRGAN, etc. (Category: upscale)
example-area-compositionGenerate different content in specific image regions using ConditioningSetArea node. Great for wide aspect ratios. (Category: advanced)
example-noisy-latent-compositionComposite multiple latents together while still noisy, before full denoising. Enables precise subject positioning. (Category: advanced)
example-model-mergingMerge multiple checkpoints, integrate LoRAs into weights, create inpainting models, convert between architectures (Category: advanced)
example-lcm-latent-consistency-modelsAccelerated image generation in very few steps. Use lcm sampler with low CFG and sgm_uniform/simple scheduler. (Category: lcm)
example-controlnet-scribble/lineartGenerate images guided by scribbles or line drawings. Great for sketches or doodles as input. (Category: controlnet)
example-controlnet-depthGenerate images guided by depth maps. Maintains 3D spatial structure of the input image. (Category: controlnet)
example-t2i-adapter-depthDepth-guided generation using T2I-Adapter. More efficient than ControlNet with minimal quality loss. (Category: controlnet)
example-controlnet-pose/openposeGenerate images guided by pose skeletons. Control body positioning and gestures of characters. (Category: controlnet)
example-controlnet-multiple/combinedCombine multiple ControlNets for complex guidance. E.g., pose + scribble for character with specific appearance. (Category: controlnet)
example-gligen-text-box-positioningSpatial control for image generation - specify location and size of multiple objects using text boxes (Category: controlnet)
example-unclip-single-imageUse a single image as a prompt by encoding through CLIPVision. Generate variations of the input image. (Category: unclip)
example-unclip-multiple-imagesBlend concepts from multiple reference images. Combine styles, subjects, or themes from different sources. (Category: unclip)
example-unclip-two-passTwo-stage unCLIP generation. First pass creates initial image, second pass refines with higher detail. (Category: unclip)
example-sdxlBasic SDXL text-to-image generation. Standard workflow using base checkpoint at 1024x1024 resolution. (Category: sdxl)
example-sdxl-with-refinerTwo-stage SDXL with base model and refiner. Refiner adds detail and improves quality in second pass. (Category: sdxl)
example-sdxl-revision-image-guidedUse images to guide SDXL generation. Zero positive prompt or combine with text for style transfer. (Category: sdxl)
example-sdxl-turboGenerate consistent images in a single step. Use SDTurboScheduler for best results. (Category: turbo)
example-z-image-turboFast distilled diffusion model using Qwen 3 4B text encoder (Category: turbo)
example-sd3.5-separate-encodersSD3.5 with separately loaded text encoders (CLIP L, CLIP G, T5). More control over precision and VRAM usage. (Category: sd3)
example-sd3.5-checkpointSD3.5 using all-in-one checkpoint. Simplest setup - just load checkpoint like SD1.5/SDXL models. (Category: sd3)
example-sd3.5-mediumSmaller SD3.5 variant for faster generation or lower VRAM. Good balance of speed and quality. (Category: sd3)
example-sd3.5-large-turboFast distilled SD3.5 requiring fewer steps. Use 4-8 steps with low CFG for quick generation. (Category: sd3)
example-sd3.5-controlnet-cannySD3.5 with official canny ControlNet for edge-guided generation. Structural control for precise compositions. (Category: sd3)
example-stable-cascadeBasic text-to-image with Stable Cascade. Two-stage architecture: Stage C generates, Stage B decodes. (Category: stable_cascade)
example-stable-cascade-image-to-imageTransform existing images with Stable Cascade. Modify style while preserving structure. (Category: stable_cascade)
example-stable-cascade-image-remixCreate variations using reference images as inspiration. Uses CLIP Vision for style/concept transfer. (Category: stable_cascade)
example-stable-cascade-controlnet-cannyEdge-guided generation with Stable Cascade. Use canny edges to control structure. (Category: stable_cascade)
example-stable-cascade-inpaintingInpaint regions of images with Stable Cascade. Uses dedicated inpainting ControlNet. (Category: stable_cascade)
example-flux-devHigh-quality Flux Dev generation using separate UNET, CLIP, and VAE files. Requires UNETLoader and DualCLIPLoader nodes. (Category: flux)
example-flux-schnellFast 4-step Flux Schnell generation using separate UNET, CLIP, and VAE files. Only needs 4 steps for good results. (Category: flux)
example-flux-dev-checkpointFlux Dev using all-in-one FP8 checkpoint file. Uses CheckpointLoaderSimple instead of separate loaders. Easier setup. (Category: flux)
example-flux-schnell-checkpointFast 4-step Flux Schnell using all-in-one FP8 checkpoint. Uses CheckpointLoaderSimple. Only needs 4 steps. (Category: flux)
example-flux-kontextEdit existing images with Flux Kontext. Describe changes in natural language to modify images while preserving identity. (Category: flux)
example-flux-fill-inpaint/outpaintInpainting and outpainting with Flux Fill. Mask regions to regenerate or extend images beyond their borders. (Category: flux)
example-flux-reduxImage-guided generation with Flux Redux. Use reference images to guide style and composition of new generations. (Category: flux)
example-flux-cannyEdge-guided generation with Flux Canny. Use canny edge detection to control structure of generated images. (Category: flux)
example-flux-depthDepth-guided generation with Flux Depth LoRA. Use depth maps to control spatial structure of generated images. (Category: flux)
example-flux-controlnet-communityCommunity ControlNet support for Flux. Apply structural guidance using various control types. (Category: flux)
example-flux-2State of the art image diffusion with Mistral 3 text encoder. Supports multiple reference images as optional inputs. (Category: flux)
example-auraflowTrue open source model with FOSS license for both code and weights (Category: aura_flow)
example-chromaModified Flux model with architectural changes (Category: chroma)
example-lumina-image-2.0Diffusion model using Gemma 2 2B for text encoding (Category: lumina)
example-hidream-devHiDream I1 Dev variant. Fast development model for quick iterations. Good balance of speed and quality. (Category: hidream)
example-hidream-fullHiDream I1 Full variant. Highest quality generation with full model weights. Use for final production images. (Category: hidream)
example-hidream-edit-e1.1HiDream image editing model. Modify existing images with text instructions. Latest E1.1 version. (Category: hidream)
example-hidream-edit-e1HiDream image editing model. Original E1 version. Use E1.1 for better results. (Category: hidream)
example-qwen-imageQwen 20B diffusion model for text-to-image generation. High quality with excellent prompt following. (Category: qwen)
example-qwen-image-edit-v2509Qwen image editing with v2509 model. Supports up to 3 reference images for complex multi-image editing. (Category: qwen)
example-qwen-image-edit-originalOriginal Qwen image editing model. Use v2509 for better multi-image support. (Category: qwen)
example-sdxl-edit-cosxl-editImage editing using text prompts, InstructPix2Pix-style (Category: edit)
example-omnigen-2Edit images with text prompts, accepts character reference images. Chain ReferenceLatent nodes for multiple references. (Category: omnigen)
example-hunyuan-dit-1.2Diffusion model capable of processing both English and Chinese text prompts (Category: hunyuan)
example-hunyuan-image-2.1Powerful diffusion model for image generation with optional refiner (Category: hunyuan)
example-nvidia-cosmos-predict2Text-to-image and image-to-video using Cosmos Predict2 models (2B and 14B variants) (Category: video)
example-stable-zero123-3dGenerate images of objects from different camera angles. Input image should have simple background. (Category: 3d)

TDQS

B3.4/5.0

Scored across 41 tools

Disambiguation4/5

Most tools target clearly distinct resources (tasks, templates, notes, nodes, queue), and descriptions go out of their way to explain the differences between look-alikes such as cancel_task vs cancel_job vs interrupt, and get_example_workflow vs search_templates/get_template. The remaining overlap (list_tasks vs get_queue vs get_history, get_task vs get_task_result vs get_generation_by_name) is real but navigable thanks to explicit cross-references.

Naming Consistency4/5

Almost all names follow a snake_case verb_noun pattern (get_status, list_models, run_workflow, validate_workflow, save_template, delete_note). Minor deviations exist, e.g. the bare verb 'interrupt' and noun-ish retrieval names like get_history and get_user_preferences, but the style never fractures into mixed camelCase or arbitrary verbs.

Tool Count2/5

41 tools far exceeds the comfortable 3-15 band and is heavy even for a broad domain; the surface spans generation, node graph authoring, templates, model downloads, notes, fonts, and queue control. Several tools plausibly could be consolidated (e.g. the notes group, the template group, and the cancel/interrupt trio), so the count is well past what the core purpose requires.

Completeness4/5

Coverage is genuinely broad: generation lifecycle (run/get_task/get_task_result/naming/history), workflow authoring (nodes, build, validate), templates, model discovery and download URLs, queue control, and even peripheral helpers like notes and SVG/font rendering. Gaps are minor, such as no tool to delete or prune generations/history or clean up output images.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues