Aller au contenu
Node packVérifiéExterne
Ouvrir la source

maxomarai-pack

A ComfyUI pack by Maxomarai: The Last Model Switcher + Wayfinder. One-click model switching with AI prompt enhancement, and visual graph navigation aids.

Mainteneur@maxomaraiD · adoptionClasse

Profil du package

Statut
Vérifié
Éditeur
@maxomarai
Source
GitHub

LIREMOI

Maxomarai Pack for ComfyUI

A small suite of ComfyUI tools by Maxomarai, designed to work together.

One repo, one install — two tools:

ToolWhat it does
The Last Model SwitcherOne-click model switching with auto-configured CLIP/VAE/resolution/sampler, plus AI-powered model identification and prompt enhancement.
WayfinderFrontend-only visual aid: type-colored drag links, connected-node highlighting, breathing glow on palette-colored nodes.

Install

Option 1 — Git clone (recommended for now)

cd ComfyUI/custom_nodes
git clone https://github.com/maxomarai/maxomarai-pack.git

Restart ComfyUI. Both tools activate on next browser load.

Option 2 — ComfyUI Manager

Open Manager → Install Custom Nodes → search for maxomarai-pack → Install. Restart ComfyUI.

Option 3 — ComfyUI Registry

comfy node registry-install maxomarai-pack

The Last Model Switcher

The Last Model Switcher node

One node replaces the usual Load Checkpoint → CLIPTextEncode × 2 → EmptyLatentImage → KSampler plumbing. Pick a model; CLIP, VAE, resolution, and sampler settings auto-populate. Outputs are ready to wire directly into a KSampler and EmptyLatentImage.

Supports SDXL, SD 1.5, Flux 1 (Dev / Schnell), Flux 2, SD 3.5, Chroma, HunyuanVideo, and more — auto-detected from the safetensors tensor-key fingerprint.

Outputs

OutputWire to
modelKSampler
vaeVAE Decode
positiveKSampler (positive) — FluxGuidance is baked in for Flux models
negativeKSampler (negative) — empty for Flux, safe to keep connected
width / heightEmptyLatentImage
steps / cfgKSampler
seedKSampler

AI features

TLMS ships with two AI-assisted flows. Configure the provider once in Settings (see below); the node calls it on demand.

  • 🔎 Identify Model (Model toolbar): sends the model's filename + tensor-key fingerprint to the AI and receives suggested sampler / scheduler / steps / CFG / guidance / negative-prompt support. Shown as a diff preview in the info panel — Apply commits to presets.json, Discard throws it away. Nothing is saved without your confirmation. A warning appears when using local/custom providers or when AI confidence is low/medium, since smaller models can hallucinate settings.

  • ✨ Enhance Prompt (Prompt toolbar): rewrites the positive prompt in your chosen style (enhance / detailed / concise / creative / fix) or per a custom instruction. Shown as a preview; ✓ Apply replaces the prompt, re-clicking Enhance overwrites the preview.

Supported providers:

ProviderNeeds API keyNotes
Anthropic (Claude)✓Get one at console.anthropic.com
OpenAI (GPT)✓Get one at platform.openai.com/api-keys
Ollama (local)—Default URL http://localhost:11434/v1/chat/completions. Run ollama serve and ollama pull <model>
Custom OpenAI-compatibledependsLM Studio, vLLM, anything with /v1/chat/completions

Toolbars on the node

Four compact pill-shaped segmented toolbars replace stacked full-width buttons:

  • Model — 🔎 Identify · 📡 Scan
  • Prompt — ✨ Enhance · ✓ Apply · ⌄ Options · ⛶ Editor (Apply only appears when an enhanced prompt is pending; Options expands enhance_style + enhance_instruction)
  • Seed — 🔀 Random · ↺ Reuse last
  • Admin — ⚙ Settings · 🔌 Test · 📄 Presets · ↻ Reload

Editor

⛶ Editor opens a modal with big textareas for the positive and negative prompts, plus a read-only view of the info panel. Esc to cancel, Ctrl+Enter to save.

Settings

Exposed in ComfyUI Settings → Maxomarai → The Last Model Switcher:

SettingTypeDefaultPurpose
AI Providercomboanthropicanthropic / openai / ollama / `cus

Nœuds dans ce pack

Nœud 1
  • TheLastModelSwitcher

Sources

3 sources
GitHubSource
github.com/maxomarai/maxomarai-pack

Vérifié 5 nov.

GitHubSourceVersion f86905b5bdad5bdac3d67e1005c725b3c095b4b8
github.com/maxomarai/maxomarai-pack

Vérifié 15 oct.

Extraits de sources

1 extrait

Source context: Repo maxomarai/maxomarai-pack