Showing the first 18000 characters. Load the complete file to read the remainder.
# ComfyUI
- [Get Started (290 pages)](https://docs.comfy.org/_llms/en/get-started.txt): Documentation for Get Started.
- [Built-in Nodes (1091 pages)](https://docs.comfy.org/_llms/en/built-in-nodes.txt): Documentation for Built-in Nodes.
- [Developers (337 pages)](https://docs.comfy.org/_llms/en/developers.txt): Documentation for Developers.
## Custom Nodes
- [Custom Nodes](https://docs.comfy.org/custom-nodes/intro.md): Choose the right path for building, extending, and publishing ComfyUI custom nodes.
### Build Custom Nodes
- [ComfyUI Custom Node Types and Architecture](https://docs.comfy.org/custom-nodes/overview.md): Learn how ComfyUI custom nodes work, the client-server model, and the four node categories: server side only, client side only, independent, and connected.
- [Creating Custom Nodes in ComfyUI](https://docs.comfy.org/custom-nodes/walkthrough.md): Step-by-step guide to creating a custom node in ComfyUI: define CATEGORY, INPUT_TYPES, and FUNCTION, register the node, and build a client-side JS extension.
- [ComfyUI Custom Nodes i18n Support](https://docs.comfy.org/custom-nodes/i18n.md): Learn how to add multi-language support for ComfyUI custom nodes
#### Python (Backend)
- [Custom Node Properties](https://docs.comfy.org/custom-nodes/backend/server_overview.md): Define a ComfyUI custom node with the V1 schema: INPUT_TYPES, RETURN_TYPES, CATEGORY, FUNCTION, execution control, and input validation.
- [ComfyUI Custom Node Lifecycle](https://docs.comfy.org/custom-nodes/backend/lifecycle.md): Understand how ComfyUI loads custom nodes: __init__.py imports, NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS, and WEB_DIRECTORY for client-side JavaScript.
- [ComfyUI Custom Node Datatypes](https://docs.comfy.org/custom-nodes/backend/datatypes.md): Reference for ComfyUI custom node data types: Python types, tensor formats (IMAGE, LATENT, MASK), custom types, and wildcards in INPUT_TYPES.
- [Images, Latents, and Masks](https://docs.comfy.org/custom-nodes/backend/images_and_masks.md): Master backend data handling for Comfy custom nodes images and masks. Learn PyTorch tensor shapes, PIL conversions, and latents. Read the developer docs today.
- [Hidden and Flexible inputs](https://docs.comfy.org/custom-nodes/backend/more_on_inputs.md): ComfyUI hidden inputs (UNIQUE_ID, PROMPT, EXTRA_PNGINFO, DYNPROMPT) and flexible inputs, including custom datatypes and wildcard inputs for custom nodes.
- [Lazy Evaluation](https://docs.comfy.org/custom-nodes/backend/lazy_evaluation.md): Learn how lazy evaluation works in ComfyUI (v0.2.0+). Discover how to defer input evaluation, optimize VRAM usage, and implement lazy: True in custom nodes.
- [Node Expansion](https://docs.comfy.org/custom-nodes/backend/expansion.md): Master Comfy node expansion to return new subgraphs in your backend custom nodes. Learn GraphBuilder requirements and caching techniques. Read the docs today!
- [ComfyUI Data Lists and List Processing](https://docs.comfy.org/custom-nodes/backend/lists.md): How ComfyUI passes data between custom nodes as Python lists: length-one wrapping, list processing for batches, and INPUT_IS_LIST and OUTPUT_IS_LIST.
- [Working with torch.Tensor](https://docs.comfy.org/custom-nodes/backend/tensors.md): Learn the torch.Tensor basics needed for ComfyUI custom nodes: tensor shapes, squeeze/unsqueeze, notation, elementwise operations, and tensor truthiness.
- [Annotated Examples](https://docs.comfy.org/custom-nodes/backend/snippets.md): Annotated code examples for ComfyUI custom nodes: load and save images, invert masks, convert mask shapes, use masks as transparency layers, and create noise.
- [Execution Model Inversion Guide](https://docs.comfy.org/development/comfyui-server/execution_model_inversion_guide.md): ComfyUI execution model inversion guide: breaking changes to monkey patching and optional input validation, plus lazy evaluation and node expansion.
#### JavaScript (UI)
- [Javascript Extensions](https://docs.comfy.org/custom-nodes/js/javascript_overview.md): Learn how to extend ComfyUI with JavaScript extensions by exporting WEB_DIRECTORY, adding .js files, and registering an extension with app.registerExtension.
- [ComfyUI JavaScript Hooks](https://docs.comfy.org/custom-nodes/js/javascript_hooks.md): Reference for ComfyUI frontend JavaScript hooks: app.registerExtension, nodeCreated, beforeRegisterNodeDef, and the callbacks that customize UI behavior.
- [Comfy Objects](https://docs.comfy.org/custom-nodes/js/javascript_objects_and_hijacking.md): Reference guide to ComfyUI's core frontend objects - LiteGraph, ComfyApp, LGraph, LLink, and ComfyNode - with their properties, functions, and widget types.
- [Settings API](https://docs.comfy.org/custom-nodes/js/javascript_settings.md): Add, read, write, and react to ComfyUI extension settings with app.registerExtension, covering boolean, text, number, slider, combo, color, and image types.
- [ComfyUI Dialog API](https://docs.comfy.org/custom-nodes/js/javascript_dialog.md): Use ComfyUI's Dialog API for standardized prompt and confirm dialogs across desktop and web, with usage examples and full API reference.
- [ComfyUI Toast API](https://docs.comfy.org/custom-nodes/js/javascript_toast.md): Use ComfyUI's Toast API to show non-blocking notifications. Covers toast types (success, warning, error), the alert helper, and the full API reference.
- [About Panel Badges](https://docs.comfy.org/custom-nodes/js/javascript_about_panel_badges.md): Add custom badges with labels, URLs, and icons to the ComfyUI About Panel using the About Panel Badges API, linking to docs, GitHub, or extension resources.
- [Bottom Panel Tabs](https://docs.comfy.org/custom-nodes/js/javascript_bottom_panel_tabs.md): Add custom tabs to ComfyUI's bottom panel using the Bottom Panel Tabs API, including interactive elements, React components, and standalone registration.
- [Sidebar Tabs](https://docs.comfy.org/custom-nodes/js/javascript_sidebar_tabs.md): Master the Comfy Extension API to build custom JavaScript sidebar tabs. Explore code examples for React components and dynamic content updates. Read the docs.
- [Selection Toolbox](https://docs.comfy.org/custom-nodes/js/javascript_selection_toolbox.md): Add custom action commands to ComfyUI's Selection Toolbox for selected nodes, groups, and canvas items using getSelectionToolboxCommands.
- [Commands and Keybindings](https://docs.comfy.org/custom-nodes/js/javascript_commands_keybindings.md): Master Comfy commands and keybindings to register custom actions and shortcuts for your extensions. Read the guide and start optimizing today.
- [ComfyUI Topbar Menu API](https://docs.comfy.org/custom-nodes/js/javascript_topbar_menu.md): Add custom commands to ComfyUI's topbar menu, including adding to existing menus, creating submenus, and placing one command in multiple locations.
- [ComfyUI Subgraphs](https://docs.comfy.org/custom-nodes/js/subgraphs.md): Working with subgraphs in ComfyUI extensions: node IDs, graph traversal, events, widget promotion, and cleanup.
- [Annotated Examples](https://docs.comfy.org/custom-nodes/js/javascript_examples.md): Explore Comfy JavaScript examples to build custom nodes and UI extensions. Access practical code snippets and start creating robust web interfaces today.
#### Migration Guides
- [V3 Migration](https://docs.comfy.org/custom-nodes/v3_migration.md): How to migrate your existing V1 nodes to the new V3 schema.
- [Context Menu Migration Guide](https://docs.comfy.org/custom-nodes/js/context-menu-migration.md): Migrate ComfyUI extensions from deprecated monkey-patching to the context menu API: canvas and node menus, conditional items, submenus, and debugging tips.
- [Node replacement](https://docs.comfy.org/custom-nodes/backend/node-replacement.md): Register node replacements to help users migrate from deprecated nodes
### Package & Publish
- [Add node docs for your ComfyUI custom node](https://docs.comfy.org/custom-nodes/help_page.md): How to create rich documentation for your custom nodes
- [Workflow templates](https://docs.comfy.org/custom-nodes/workflow_templates.md): Learn how to include example workflow JSON files and thumbnails in your ComfyUI custom nodes using the example_workflows directory for the Template Browser.
- [Subgraph blueprints](https://docs.comfy.org/custom-nodes/subgraph_blueprints.md): Package reusable node groups as subgraph blueprints for your ComfyUI custom nodes, so users can add them from the subgraph menu.
- [Comfy Registry: publish and version custom nodes](https://docs.comfy.org/registry/overview.md): Learn what the Comfy Registry is, why it's used for node versioning and security, and how to start publishing custom nodes to ComfyUI-Manager.
- [Publishing Nodes](https://docs.comfy.org/registry/publishing.md): Learn how to set up a Comfy Registry account, create a publisher, generate an API key, add metadata, and publish custom nodes via Comfy CLI or GitHub Actions.
- [Claim My Node](https://docs.comfy.org/registry/claim-my-node.md): Learn how to claim ownership of unclaimed custom nodes migrated to the Comfy Registry, including publisher setup and GitHub verification steps.
- [Comfy Registry Node Quality and Security Standards](https://docs.comfy.org/registry/standards.md): Security and other standards for publishing to the Registry
- [Custom Node CI/CD](https://docs.comfy.org/registry/cicd.md): Test ComfyUI custom nodes before publishing using Comfy-Action to run workflows on GitHub Actions and view results in the CI/CD Dashboard.
- [pyproject.toml](https://docs.comfy.org/registry/specifications.md): Full spec for pyproject.toml in ComfyUI custom nodes: [project] and [tool.comfy] sections, required fields, versioning, and a complete example.
- [API Overview](https://docs.comfy.org/registry/api-reference/overview.md): Explore the ComfyUI Custom Node Registry API: the publisher, user, node, and version data model plus endpoints for listing and installing nodes.
#### Registry API Reference
- [Get information about the calling user.](https://docs.comfy.org/registry/api-reference/registry/get-information-about-the-calling-user.md)
- [Retrieve all publishers for a given user](https://docs.comfy.org/registry/api-reference/registry/retrieve-all-publishers-for-a-given-user.md)
- [Validate if a publisher username is available](https://docs.comfy.org/registry/api-reference/registry/validate-if-a-publisher-username-is-available.md): Checks if the publisher username is already taken.
- [Create a new publisher](https://docs.comfy.org/registry/api-reference/registry/create-a-new-publisher.md)
- [Retrieve all publishers](https://docs.comfy.org/registry/api-reference/registry/retrieve-all-publishers.md)
- [Retrieve a publisher by ID](https://docs.comfy.org/registry/api-reference/registry/retrieve-a-publisher-by-id.md)
- [Update a publisher](https://docs.comfy.org/registry/api-reference/registry/update-a-publisher.md)
- [Delete a publisher](https://docs.comfy.org/registry/api-reference/registry/delete-a-publisher.md)
- [Retrieve permissions the user has for a given publisher](https://docs.comfy.org/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher.md)
- [Create a new personal access token](https://docs.comfy.org/registry/api-reference/registry/create-a-new-personal-access-token.md)
- [Delete a specific personal access token](https://docs.comfy.org/registry/api-reference/registry/delete-a-specific-personal-access-token.md)
- [Retrieve all nodes](https://docs.comfy.org/registry/api-reference/registry/retrieve-all-nodes.md)
- [Retrieve all nodes](https://docs.comfy.org/registry/api-reference/registry/retrieve-all-nodes.md)
- [Create a new custom node](https://docs.comfy.org/registry/api-reference/registry/create-a-new-custom-node.md)
- [Update a specific node](https://docs.comfy.org/registry/api-reference/registry/update-a-specific-node.md)
- [Delete a specific node](https://docs.comfy.org/registry/api-reference/registry/delete-a-specific-node.md)
- [Retrieve permissions the user has for a given publisher](https://docs.comfy.org/registry/api-reference/registry/retrieve-permissions-the-user-has-for-a-given-publisher.md)
- [Claim nodeId into publisherId for the authenticated publisher](https://docs.comfy.org/registry/api-reference/registry/claim-nodeid-into-publisherid-for-the-authenticated-publisher.md): This endpoint allows a publisher to claim an unclaimed node that they own the repo, which is identified by the nodeId. The unclaimed node's repository must be owned by the authenticated user.
- [Publish a new version of a node](https://docs.comfy.org/registry/api-reference/registry/publish-a-new-version-of-a-node.md)
- [Update changelog and deprecation status of a node version](https://docs.comfy.org/registry/api-reference/registry/update-changelog-and-deprecation-status-of-a-node-version.md): Update only the changelog and deprecated status of a specific version of a node.
- [Unpublish (delete) a specific version of a node](https://docs.comfy.org/registry/api-reference/registry/unpublish-delete-a-specific-version-of-a-node.md)
- [Retrieves a list of nodes](https://docs.comfy.org/registry/api-reference/registry/retrieves-a-list-of-nodes.md): Returns a paginated list of nodes across all publishers.
- [Retrieves a list of nodes](https://docs.comfy.org/registry/api-reference/registry/retrieves-a-list-of-nodes.md): Returns a paginated list of nodes across all publishers.
- [Retrieve a specific node by ID](https://docs.comfy.org/registry/api-reference/registry/retrieve-a-specific-node-by-id.md): Returns the details of a specific node.
- [Returns a node version to be installed.](https://docs.comfy.org/registry/api-reference/registry/returns-a-node-version-to-be-installed.md): Retrieves the node data for installation, either the latest or a specific version.
- [Add review to a specific version of a node](https://docs.comfy.org/registry/api-reference/registry/add-review-to-a-specific-version-of-a-node.md)
- [Create Node Translations](https://docs.comfy.org/registry/api-reference/registry/create-node-translations.md)
- [List all versions of a node](https://docs.comfy.org/registry/api-reference/registry/list-all-versions-of-a-node.md)
- [Retrieve a specific version of a node](https://docs.comfy.org/registry/api-reference/registry/retrieve-a-specific-version-of-a-node.md)
- [Retrieve multiple node versions in a single request](https://docs.comfy.org/registry/api-reference/registry/retrieve-multiple-node-versions-in-a-single-request.md): Retrieves up to 1000 node versions in one request. Requests carrying more than 1000 identifiers are rejected in full with a 400 — there is no partial result — so clients with more than 1000 installed packs must split the list into batches of at most 1000 and merge the responses. Each node_id and ver…
- [List all node versions given some filters.](https://docs.comfy.org/registry/api-reference/registry/list-all-node-versions-given-some-filters.md)
- [list all comfy-nodes](https://docs.comfy.org/registry/api-reference/registry/list-all-comfy-nodes.md)
- [Retrieve a node by ComfyUI node name](https://docs.comfy.org/registry/api-reference/registry/retrieve-a-node-by-comfyui-node-name.md): Returns the node that contains a ComfyUI node with the specified name
- [create comfy-nodes for certain node](https://docs.comfy.org/registry/api-reference/registry/create-comfy-nodes-for-certain-node.md)
- [list comfy-nodes for node version](https://docs.comfy.org/registry/api-reference/registry/list-comfy-nodes-for-node-version.md)
- [get specify comfy-node based on its id](https://docs.comfy.org/registry/api-reference/registry/get-specify-comfy-node-based-on-its-id.md)
- [Update a specific comfy-node](https://docs.comfy.org/registry/api-reference/registry/update-a-specific-comfy-node.md)
- [Get server feature flags](https://docs.comfy.org/registry/api-reference/registry/get-server-feature-flags.md): Returns the server's feature capabilities
- [Get release notes](https://docs.comfy.org/registry/api-reference/releases/get-release-notes.md): Fetch release notes from Strapi with caching
## Support
- [Contact ComfyUI support](https://docs.comfy.org/support/contact-support.md): Get help with ComfyUI, Comfy Cloud, and Comfy Desktop. Use support.comfy.org, or report bugs in the matching GitHub repository.
- [Comfy data retention: what Comfy stores and for how long](https://docs.comfy.org/support/data-retention.md): How long Comfy keeps account data, customer content, and usage data, and how to request deletion of your account and associated data.
### Account Management
- [Create a Comfy account](https://docs.comfy.org/account/create-account.md): Learn how to create a new Comfy account for ComfyUI to access all features and services.
- [Log in to your Comfy account](https://docs.comfy.org/account/login.md): Access your Comfy account for ComfyUI to use all platform features and services.
- [Delete your Comfy account](https://docs.comfy.org/account/delete-account.md): Learn how to permanently delete your Comfy account for ComfyUI and associated data.
### Billing Support
#### Subscription
- [Subscribe to Comfy Cloud](https://docs.comfy.org/support/subscription/subscribing.md): Subscribe to Comfy Cloud from Plans & pricing. Choose For Personal or For Teams, pick monthly or yearly billing, then confirm payment to run workflows.
- [Manage Comfy Cloud billing and invoices](https://docs.comfy.org/support/subscription/managing.md): Manage your Comfy Cloud plan, payment methods, and invoices. Change plans in Comfy Cloud; payment methods and invoices are in the Stripe billing portal.
- [Change your Comfy Cloud plan](https://docs.comfy.org/support/subscription/changing-plan.md): Upgrade or downgrade a Comfy Cloud plan. Switch Personal or Teams, choose monthly or yearly billing, and see when the change takes effect.
- [Cancel your Comfy Cloud subscription](https://docs.comfy.org/support/subscription/canceling.md): Cancel a Comfy Cloud pl
Measured from the saved file
Linked document
UTF-8 text size
42.1 KB43060 bytes
Token count
12428o200k_base encoding
Markdown links
395389 distinct URLs
Fenced code blocks
0448 lines in the file
Size measures the captured UTF-8 text, not compressed transfer size. Tokens are counted with a named tokenizer; other models can count differently. Neither measure establishes context compatibility or answer quality.
Project H1
ComfyUI
Context architecture
How the content is divided
4 H2 sections organize 395 parsed Markdown links. 101 links point to .md or .markdown paths; 2 link occurrences use another hostname. Linked destinations have not been recursively validated.
H2 section
Links
UTF-8 bytes
Tokens
Custom NodesLine 7
81
15769
3574
SupportLine 109
20
4578
989
OpenAPI SpecsLine 149
263
18079
6555
IndexesLine 417
28
4233
1202
Link counts exclude parsed fenced and inline code and resolve relative destinations against the final endpoint. Section sizes cover the text below each H2 until the next H2.
Embedded material
Code, installation and API examples
Fenced blocks
0 closed
Declared languages
No fenced blocks detected
Package-install commands
0 detected in fenced or inline code
Authentication examples
0 fenced lines match API-key, Authorization, Bearer, OAuth or access-token patterns
HTTP request examples
0 fenced lines match request-method patterns
Authentication links
2 links have authentication-related labels
Embedded example text and links to further documentation are counted separately. A code block does not establish that a sample runs or that an authentication flow succeeds.
Publisher prioritization
The Optional section
No H2 section named “Optional” was detected in this file.
The community proposal uses Optional by convention for secondary links that can be skipped for a shorter context. This label does not establish that everything outside it is critical, or that the material inside it is deprecated.
Machine-readable routes
MCP references and configuration text
No MCP or Model Context Protocol term was detected in the captured file. 0 links have MCP-related labels or paths. 0 fenced lines match mcpServers, mcp_servers or an mcp add command.
These are text and link observations. No MCP server connection, authentication or tool call was tested.
Whole-file size not established by the bounded response
Token count
Not measured for the whole file
Retrieval scope
Bounded prefix inspected; the whole body was not downloaded
A verified text response establishes a companion at the checked URL. It does not prove the bundle contains all product documentation, that generation is automated, or that it fits an assistant’s context window.
Change evidence
What can be said about freshness
This capture establishes a baseline. Update frequency cannot be determined from one observation.
Linked release and migration material
4 links have release, changelog, deprecation or migration terms in their labels or paths. These provide places to investigate product changes separately.
File changes can reveal documentation edits or navigation changes. They do not by themselves measure product release velocity, accuracy, agent adoption or AI visibility.
Counts use a deterministic parser, not a spec-compliance grade. Unusual Markdown and indented code can fall outside its recognized patterns. See the llms.txt proposal and tokenizer implementation.