Canvas Basics
Overview of the CodefyUI sidebar, canvas, type-safe connections, notes, toolbar, configuration, and results panels.
Your First Graph
Build and run a minimal pipeline, and learn why every graph needs a Start node to drive execution.
Running Graphs
How execution works — WebSocket streaming, the results panel, live loss charts, and partial re-execution.
Run Queue
Queue graphs per device and walk away — lanes, FIFO order, concurrency limits, cancelling a waiting run, and the cdui run CLI.
Saving and Loading Models
What ModelSaver writes and what ModelLoader will read back — state_dict versus full_model, and why loading a model file is a trust decision.
Data & Augmentation
Build a preprocessing pipeline out of nodes, augment your training data, load your own images, and send the metrics to TensorBoard.
Reproducing Baselines
A research-grade walkthrough — reproduce the standard ResNet-18 / CIFAR-10 result end to end from GUI nodes, with a fixed seed, on the run queue.
Teaching Inspector
Record per-node outputs, inspect input→output tensor diffs, compare a subgraph segment, capture gradients, and view step traces.
Tabs & Persistence
Multi-tab workspaces, automatic in-browser saving, and importing/exporting graphs as JSON.
Key Bindings
Keyboard and mouse shortcuts for the CodefyUI editor.
CLI Graph Runner
Execute a saved graph.json directly from the command line with run_graph.py — no server required.
Graph as a Function
Call any saved graph headlessly over HTTP as a named function — declared inputs in, declared outputs out.
Publish (Graphs as Apps)
Freeze a saved graph as a versioned app behind a stable, API-key-protected invoke endpoint, with every run recorded to SQLite.
Deployment Behind a Reverse Proxy
Give CodefyUI its own hostname, bind it to loopback, and put nginx in front for TLS and single sign-on -- with a tested systemd unit and nginx config.
Shared Instances
What one CodefyUI instance shares between everyone who can reach it -- ambient credentials, who gets billed, and what is stored per graph.
Version Control Your Graphs
Keep your graph JSON in a git service repo, validate every graph in CI with run_graph.py, and publish from a versioned source.
Source Control
Commit, branch, stash, push and review a CodefyUI project from the editor's Source Control tab, with a diff view that says what changed in the graph.
Project Directories
Turn a service into a self-contained git repo (cdui project) with a logic/layout split, per-project assets and secrets, CI validation, and publish provenance.
Example Projects
Official ready-to-clone example services -- each one a standalone CodefyUI project repository you can run, publish, and fork.
Node Reference
Every built-in node — 152 nodes across 16 categories, from CNN and Transformer layers to RL, LLM, Diffusion, and classical ML.
Optional Packs
Install the optional packages and model files required by selected LLM nodes and GPU backends.
Plugin Center
Install teaching node packs and GitHub plugins from inside the editor, and read what each one asks for before it goes in.
Examples Gallery
Pre-built example workflows — model architectures, end-to-end training, and LLM demos you can load and run.