app.nzapp
AppsProjectsReposPullsChatIntegrationsGatewayModelsEvalsToolsDatasetsMCPDeploysPricingBlogDocsAssistantsCharactersArtMusic
Sign inStart building
Agent stack
Cloud coding agentAgents SDKIntegrationsBrowser agentMonitors & auto-agentsSchedulersAgent skillsMCP serversDeep research
Models & API
AI GatewayModel catalogModel evalsModel spacesPlaygroundText to imageImage to 3DText to 3DMusic & SFXAudio editorMedia optimizerAI art & libraryChatAPI referenceSchemaBecome a provider
Compute & hosting
DeploysAddonsPostgres hostinggobed vector searchSite hostingAnalyticsCog GPU hostingRL trainingBuilds & CIWorkersTask queuesDomainsGit hosting
Tools
AI toolsDrawDiffusion canvasLive DrawWriteSheetsArtifactsVideo studioNotebooksDatasets
Learn
DocsBlogEval guidesPrompt libraryCLIAlternativesPapersAI charactersArt gallerySecurityConsulting
Company
PricingEnterpriseSettingsBillingStatusInvestorsCreate accountTerms of ServicePrivacy Policy
app.nzapp.nz

AI agent cloud for coding, deploys, model routing, and research. Built for teams shipping software.

Built in New Zealand by App AI NZ.

Social
X / TwitterGitHubYouTube
The app.nz network
GpuBrainPapersReading TimemojojojoNetwrckText-Generator.ioCodex InfinityOpenPathsCuteDSLAI Art GeneratorAIArt-Generator.artSiteSimSimplexGenDictatorFlowWebFiddleRing.nzChatGibidyBitBankExperimentFlowEvangelerHires.nzHow.nzV5 GamesAddicting Word GamesBig Multiplayer ChessWord SmashingreWord GameMultiplication Master
© 2026 App AI NZ Ltd. All rights reserved.All systems normalTermsPrivacy
Blog
July 22, 2026·9 min read·app.nz

ComfyUI lesson 10: Debug any broken ComfyUI workflow

Start at the first red node and resolve models, nodes, VRAM, shapes, and blank outputs systematically.

Listen to this article

On-device voice

Uses the voice built into your browser; no article text leaves this page.

Audio narration is not supported by this browser.

Most ComfyUI errors are literal once you read the first failing node. Do not debug the final blank preview first; find the earliest red node and inspect the terminal trace around its id and class type.

The quick-fix table

SymptomCause → fastest useful check
Model not foundWrong folder or filename → match the workflow string exactly, then refresh models.
Red unknown nodeMissing or incompatible custom node → use Manager’s “install missing,” inspect the repository, then restart.
CUDA out of memoryWeights and activations exceed VRAM → use batch 1, a smaller canvas, tiled VAE, quantized weights, or offload.
Tensor size mismatchWrong model family or image dimensions → match LoRA, ControlNet, and base architectures; use multiples of 64.
CLIP input/type errorWrong loader or disconnected conditioning → trace CLIP → text encode → sampler.
Black or green outputVAE mismatch, precision issue, or NaNs → use the checkpoint VAE or a known fp16-fix VAE; lower CFG.
Output ignores sourceImg2img denoise is too high or ControlNet is weak → lower denoise or raise control strength.
Output barely changesDenoise is too low → sweep 0.30, 0.50, and 0.70.
Queue runs foreverWorker is downloading weights or a node is hung → read worker logs and verify model mirror/cache state.
Works locally, fails by APIUI-format JSON or an unmapped file input → export Save (API Format), then map or upload every media input.
Different result on another machineRuntime, node, or precision drift → record versions and compare with tolerance, not only pixel identity.
Disk fills unexpectedlyOutputs, temp inputs, or model duplicates → inspect output, temp, and model folders before deleting anything.

A repair sequence worth memorizing

  1. Reproduce once with queue size one.
  2. Note the first failing node id and class type.
  3. Verify its required model filenames and node version.
  4. Reduce batch and resolution if memory is implicated.
  5. Bypass the suspicious branch with a Preview/Save node.
  6. Compare against the downloadable known-good workflow.
  7. Save the repaired API graph with runtime and model provenance.

The lesson points to the small Real-ESRGAN upscale graph because it is a good diagnostic: no diffusion, one compact model, and few nodes. If that graph fails, fix the worker, file inputs, or model path before blaming sampler settings.

Bookmark this table. Better still, copy it beside your workflow manifest so the fix travels with the graph.

Run the lesson, do not just read it

  • Open the tested workflow in Comfy Studio
  • Download the exact API-format JSON
  • CLI: app comfy download image-upscale

The gallery records model sources, minimum VRAM, custom-node requirements, and verification state beside the graph. That is the portable unit for this series.


Series progress: lesson 10 of 10. Previous: Automate batches, prompt lists, REST, CLI, and MCP You finished the series. Keep the quick-fix table bookmarked and start adapting the workflows.

Build what you just read

Ship agents, models, and apps on one cloud.

Start with free credits, then use the same platform from the web app, CLI, desktop app, or MCP.

Start building freeRead the docs

Keep reading

ComfyUI lesson 8: Run modern models on modest VRAM

Choose quantization, offload, tiling, or an accelerated custom node deliberately.

ComfyUI lesson 9: Automate batches, prompt lists, REST, CLI, and MCP

Treat workflow inputs as an API contract and keep a manifest for every batch.

ComfyUI lesson 1: Install ComfyUI cleanly and make your first image

Pick a portable install, verify the GPU, place one checkpoint correctly, and run a known-good graph.