Show HN: Local DirectML AI and Floating Toolstrip for PhotoCraft in Rust A developer released PhotoCraft Companion, an open-source Rust plugin ecosystem that adds local DirectML GPU-accelerated AI tools and a floating egui toolstrip to the PhotoCraft graphics editor, working around the editor's WebAssembly plugin sandbox that blocks GPU access and large model storage. The companion runs neural models including Bria AI RMBG-1.4 (~168 MB) for background removal, LaMa for generative fill, and Real-ESRGAN Compact for 2x super-resolution, executing in place on the active canvas over a JSON-RPC socket on port 18492 with roughly 2-second inference and automatic CPU fallback on unsupported operators. Plugins ship as .pcpl packages with SHA-256-validated models stored under plugins//models/, and the project includes a one-click in-app marketplace with hot-reload and zero-code JSON macro authoring. Extensible plugin ecosystem, local neural tools, and interactive overlay palette for the PhotoCraft graphics editor. Why Companion? -why-companion-advantages-over-built-in-photocraft-plugins • Features -key-features • Download & Installers -download--installers • First-Launch Guide -first-launch--onboarding-guide • Marketplace -community-plugins--marketplace • Quick Start -quick-start-for-developers • Architecture -workspace-architecture • .pcpl Packages -pcpl-package-format • Documentation -documentation • Discord -community--discord • License -license Tip 💬 Join the PhotoCraft Companion Discord: Have questions about plugins, ideas for new tools, or need developer assistance? Join our Discord Server https://discord.gg/2gzn4Un4Bw to connect directly with the author and community developers PhotoCraft Plugins & Companion solves the core challenge of seamlessly extending the PhotoCraft graphics editor a modern, open-source Rust-based reimplementation of Photoshop : - In-Place Canvas Execution: Neural background removal, color filters, and custom macro actions execute directly on the active layer of your open canvas over JSON-RPC socket port 18492 and the system clipboard — no manual saving, reopening, or file dialog gymnastics required. - Bypassing Sandbox Limitations: PhotoCraft natively confines internal plugins inside a strict WebAssembly sandbox without local GPU access or filesystem permissions. The companion provides native, hardware-accelerated DirectML GPU inference and local model storage. PhotoCraft includes a built-in plugin mechanism based on an internal WebAssembly Wasm runtime. While Wasm provides sandboxed safety, it imposes strict technical boundaries that make heavy AI workflows and floating palettes impractical. Here is how PhotoCraft Companion elevates the editing experience: | Feature | Built-in PhotoCraft Wasm Plugins | PhotoCraft Companion & Ecosystem | |---|---|---| | Local AI & Neural Models | ❌ No GPU access isolated within Wasm sandbox; cannot run DirectML/Tensor cores | ✅ Full DirectML GPU Acceleration DirectX 12 / Metal via ONNX Runtime; ~2s inference | | Model Storage & Autonomy | ❌ Strict memory limits; cannot package or download multi-hundred MB model weights | ✅ Autonomous Storage: Models live inside plugins/