← Back to Leaderboard
Pphil-haderer

phil-haderer/pxc

A local ComfyUI bridge for layer-based generative editing in PhotoCraft

View on GitHub ↗
Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 86/100
Maintenance Activity
● Updated 4d ago
Latest Release
v1.2.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption11/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AIGPU
Total Stars
★ 234
24h Growth
+5
7d Growth
+157
Forks
18

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

phil-haderer/pxc Star History (2026-11-16 - 2026-12-03) DAILY STAR HISTORY (18-DAY D1 TELEMETRY) +233 in 17d · avg +14/day 247 124 0 2026-11-16: ★ 12026-11-18: ★ 12026-11-20: ★ 12026-11-22: ★ 12026-11-24: ★ 22026-11-26: ★ 772026-11-28: ★ 1542026-11-30: ★ 2112026-12-02: ★ 2292026-12-03: ★ 234 ★ 234 11-16 11-24 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

PxC is a Python/Tk desktop companion that bridges PhotoCraft and a separately running ComfyUI backend. PhotoCraft owns the document and selection, PxC maps the chosen operation and settings to a workflow, and ComfyUI runs inference on the GPU. Results return to PhotoCraft as new layers in a group, with a soft mask where appropriate. The repository contains the pccomfy/ package and a workflows/ directory; the installed pccomfy command enters through pccomfy.__main__:main.

The package requires Python 3.10+, Pillow 12.3+, and NumPy 2.2+, with Tomli on Python 3.10 for TOML configuration. websocket-client and tkinterdnd2 are optional package extras for progress reporting and reference-image drag-and-drop; both are listed in the setup scripts' shared requirements.txt. config.toml can point PxC to another ComfyUI address or port. Backend extensions remain ComfyUI dependencies: GGUF needs ComfyUI-GGUF, and Flux 2, Flux 3 upscaling, and Fibo's tiled upscale path need ComfyUI-KJNodes.

Key Capabilities & Differentiators

PxC covers text-to-image, canvas expansion, selection fill and removal, prompt-driven and reference-guided edits, refinement, and upscaling. The seven model families are Flux 3 Klein, Flux 2 Klein, Qwen Image 2.1, Fibo 2.0 Edit Turbo, Krea 2 Turbo, MOSS Image, and MiniMax H3 Image. Coverage varies by model: MOSS and Krea are text-to-image only, while Flux 3 supports reference insertion into a rectangular selection. In v1.2.0, Text to Image exposes denoise for image-to-image across all supported models, but the same setting does not preserve the source equally across families.

Local prompt writers can rewrite prompts using the canvas and references, build prompts from sketches, and identify what to remove on supported models. v1.2.0 adds SAM 3 object selection and remembers custom LoRAs per model. Model packs place files in the expected ComfyUI directories; Model Links can reuse bf16, fp8, nvfp4, or GGUF weights, with the GGUF extension installed for the latter. Most model packs take 13–19 GB on disk; MiniMax H3 takes about 38 GB, or about 30 GB for its smaller variant.

Trade-offs & Limitations

Compared with direct ComfyUI use, PxC saves the work of moving images, selections, and results between a node graph and the editor. Its model-specific presets are useful for repeated retouching, but the companion UI is not a substitute for building arbitrary workflows in ComfyUI. Compared with Photoshop-style integrated generative editing, PxC runs inference on your GPU and leaves you responsible for weights, optional nodes, and backend compatibility.

Treat the PhotoCraft session as occupied while a run is active: it briefly opens a temporary document, operations produce multiple history entries, and changing the document or selection mid-run is discouraged. CMYK, Lab, and 16-bit content passes through 8-bit RGB, so this is not a precision-preserving round trip for those documents. On Linux, X11 offers tighter window coupling than Wayland. PxC's MIT-or-Apache-2.0 license does not extend to model weights or third-party nodes; check their terms separately before commercial use or redistribution.

Hardware & Deployment Guide

Run PxC on Windows 10/11 or Linux with PhotoCraft 0.23.1 or later, a running ComfyUI instance, and a GPU with at least 8 GB of VRAM. Only NVIDIA GPUs have been tested; the 8 GB baseline is not a sizing guarantee for every model and workflow. Inference is local, but first-time setup may require downloading model weights and custom nodes. Start with the pack for the model you need, restart ComfyUI after adding its files, and check node dependencies for the specific function you intend to use.

Windows offers a portable ZIP with bundled Python or a source setup via setup-windows.bat. On Linux, setup-linux.sh uses Python 3.10+ with Tk and venv, creates a private environment and menu entry, and leaves system package installation to the user; pxc.sh is the direct launcher. Windows 11 and Linux Mint are tested targets. v1.1.0 introduced same-function queuing for selected operations; v1.1.1 added per-function settings save and reset plus run-stop handling on close. v1.2.0 adds Windows portability, PhotoCraft 0.24 compatibility, and one-button updates for Git installs.

Editor integration: ComfyUI outputs return to PhotoCraft as new layers in a group, with soft masks where applicable.
Selection tooling: v1.2.0 adds click-to-select via SAM 3; Flux 3 can insert a reference into a rectangular selection.
Prompt assistance: Local prompt writers can inspect the canvas or references, turn sketches into prompts, and name subjects for removal on supported paths.
Model management: Per-model packs install files into ComfyUI's expected folders; Model Links can reuse existing weights, with ComfyUI-GGUF required for GGUF.
Generation queue: Text to Image, Edit, Refine Image, and Upscale can queue same-function jobs, capturing the image and settings at submission.
Color fidelity: CMYK, Lab, and 16-bit sources pass through 8-bit RGB during processing.
Best For

PhotoCraft users and studios with a supported NVIDIA setup who want to fill, extend, edit, or upscale images locally and keep the results on separate layers.

Skip If

You need arbitrary node-graph authoring in the companion UI, a managed backend, verified non-NVIDIA support, or a generation path that preserves CMYK, Lab, or 16-bit precision end to end.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AIGPU
# Debian/Ubuntu
   sudo apt install python3 python3-tk python3-venv
   # Fedora
   sudo dnf install python3 python3-tkinter
   # Arch
   sudo pacman -S python tk
   # optional, to paste pictures from the clipboard: wl-clipboard (Wayland) or xclip (X11)
   sudo apt install wl-clipboard xclip
   # only if setup-linux.sh says libXcursor is missing (needed to drag pictures onto the reference slots)
   sudo apt install libxcursor1      # Fedora: libXcursor, Arch: libxcursor

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
pxc ★234+157PythonApache-2.0A local ComfyUI bridge for layer-based generative editing in PhotoCraft
InvokeAI29.2k+65TypeScriptApache-2.0Self-hosted canvas and node workflows for AI image generation and editing
OpenMontage85.4k+1.5kPythonAGPL-3.0Agent-led video production from brief to finished edit
stable-diffusion-webui165.4k+65PythonAGPL-3.0Gradio WebUI for local Stable Diffusion generation, editing, and parameter sweep

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/phil-haderer/pxc.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

phil-haderer/pxc Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about pxc

How does PxC connect PhotoCraft to ComfyUI without overwriting the original image?

PxC hands the current image or selection to a workflow in a separately running ComfyUI instance, then imports the output into PhotoCraft as a new layer in a group. It adds a soft mask where appropriate. PhotoCraft briefly opens a temporary document during the process, so avoid switching documents or changing the selection mid-run.

What GPU and disk capacity should I budget for?

Use an NVIDIA GPU with at least 8 GB of VRAM as the starting point; other GPU vendors have not been tested, and 8 GB is not a guarantee for every workflow or resolution. Budget 13–19 GB of disk space for most model packs, about 38 GB for MiniMax H3, or about 30 GB for its smaller variant. Test the exact model, resolution, and optional nodes you plan to use before relying on them for production.

Can a studio self-host PxC for commercial work?

PxC is dual-licensed under MIT or Apache-2.0, both of which permit commercial use subject to their terms. Those terms do not cover PhotoCraft, model weights, or third-party ComfyUI nodes. Review those components separately before commercial deployment or redistribution. Gated weights such as Flux 3 require a Hugging Face sign-in and acceptance of the model license before download.

When is PxC a better fit than using ComfyUI directly or an integrated editor?

Choose PxC if you already work in PhotoCraft and want preset AI operations to return directly as editable layers. Use ComfyUI directly if building or changing node graphs is central to your work. Compared with Photoshop-style integrated generative editing, PxC offers local inference but leaves model downloads, node compatibility, and GPU setup to you.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining phil-haderer/pxc? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature phil-haderer/pxc on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare