YanNyeinHtet/EggLab
An Electron agent for local Qwen image generation and editing in PhotoCraft
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
EggLab is a Windows Electron companion to PhotoCraft, which must be installed separately. The floating panel is the user interface; OpenCode runs the design agent, while stable-diffusion.cpp runs Qwen-Image-2.1 locally. The two paths have distinct responsibilities: the selected OpenCode provider handles chat, while image jobs use the local engine and can place results on the PhotoCraft canvas as layers.
The code layout reflects that split: egglab.ps1 is the runner for generation, editing, and Turbo jobs; panel/service/ covers settings, engine management, chat, models, setup, and updates. Agent guidance lives under panel/skills/ and panel/references/, with document templates under panel/templates/. Manual and agent-driven renders share the engine configuration. Each job records the actual diffusion file loaded, and a 2.5-second settling window after model changes guards against the first render racing the previous engine's teardown.
Key Capabilities & Differentiators
EggLab supports text-to-image generation at up to 2048 px, with a 40-step quality mode and an 8-step Turbo LoRA mode. It also supports reference-based editing, multi-reference compositions, and transparent cut-outs. Results can become PhotoCraft layers or be exported as flat or layered files. Chats are scoped to the active PhotoCraft document, and reopening that document restores the last-viewed thread rather than simply the most recently active one.
The diffusion menu is limited to Uncensored FP8, Official Q4_K_M (Beta), and Uncensored Q5_K_M. On an 8 GB RTX 4060 Ti, the Q4_K_M beta took 29 seconds versus 47 seconds for the default FP8 model in one 864×1152 Turbo text-to-image test; it was about 10% faster in a single-reference editing test. Its diffusion weights are 2.9 GB smaller. These figures are workload-specific: the Q4_K_M option also switches to the official checkpoint, so the comparison does not isolate quantization or establish equivalent output quality.
Trade-offs & Limitations
Compared with ComfyUI, EggLab trades node-level workflow control for a narrower path from prompt to PhotoCraft layer. Local image inference removes the need for a cloud renderer, but shifts setup, storage, and memory pressure to the workstation. It also does not make the whole workflow offline: chat text goes to the selected OpenCode provider, and PhotoCraft remains a required dependency.
On an 8 GB GPU, diffusion weights, the text encoder, and multiple references can compete for VRAM. EggLab resizes reference images to a 768 px long edge by default and cleans up leftover engine processes. It can retry with the encoder in system RAM or at smaller output dimensions, up to 1024×1280 while preserving aspect ratio. Those fallbacks can salvage a job, but may increase runtime or reduce delivered resolution. The installer is unsigned; the published checksum can confirm a file matches the release artifact, but is not a substitute for publisher signing.
Hardware & Deployment Guide
Deployment targets Windows 10 or 11 x64 with PhotoCraft installed, roughly 25 GB of free disk, and internet access for initial downloads. The unsigned installer downloads a SHA-256-verified engine and can fall back from CUDA to Vulkan to CPU if the download fails. The first-run wizard locates PhotoCraft, detects or downloads OpenCode, and downloads missing model components or reuses existing files. The packaged app requires neither a separate Node installation nor Python; source development uses Node 20+ in panel/, with npm run test:agent providing a GPU-free agent regression gate.
The engine and default model directory live under %LOCALAPPDATA%\EggLab, while chats, settings, logs, and renders live under %APPDATA%\EggLab. The installed app checks GitHub Releases for updates and retains those assets across updates. Releases v0.3.58 through v0.3.60 provide comparison links rather than feature-level summaries, so the listed releases do not establish which changes landed in each patch.
Windows-based PhotoCraft users who want local image generation and reference editing, with results placed directly on the canvas and no node graphs to maintain.
You need cross-platform support, a different editor, custom node workflows, or a no-egress deployment without separately validating the chat path.
Quick Start & Installation
cd panel npm install npm start # dev panel (uses the repo checkout layout) npm run test:agent # agent/tool/config regression gate (no GPU) npm run dist # one-click installer in ..\dist
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| EggLab ★ | 85 | +1 | JavaScript | MIT | An Electron agent for local Qwen image generation and editing in PhotoCraft |
| stable-diffusion-webui | 165.4k | +65 | Python | AGPL-3.0 | Gradio WebUI for local Stable Diffusion generation, editing, and parameter sweep |
| InvokeAI | 29.2k | +65 | TypeScript | Apache-2.0 | Self-hosted canvas and node workflows for AI image generation and editing |
| ComfyUI | 149.9k | +945 | Python | GPL-3.0 | A node-graph engine for building and running multimodal AI workflows locally |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/YanNyeinHtet/EggLab.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about EggLab
How do the panel, agent, renderer, and canvas fit together?
Is an 8 GB GPU enough, and what else should I budget for?
Can a company deploy EggLab commercially and keep its data on-site?
When should I choose EggLab over ComfyUI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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