nanxfu/aigc-studio
Electron AIGC studio for local and cloud generation and game-asset finishing
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
AIGC Studio separates desktop interaction and job control from model execution. Electron hosts the React/Vite interface in web/, while the Node.js service in server/ defaults to 127.0.0.1:5130 and uses a random authentication token on each launch. Model configurations live in models/. Depending on the backend, jobs run through a GPU worker, a commercial API, or a supported local runtime. Each job keeps the backend chosen at submission, so switching providers does not move queued work.
The package includes onnxruntime-web for browser-side inference, @visioncortex/vtracer for vectorization, and Three.js for 3D rendering. The assistant uses the pi-ai and pi-agent-core dependencies; its proposal cards let users edit or approve a plan before submission. mcp/server.mjs uses the MCP integration to share the running app’s compute session and output directory. Media and meta.json are archived locally, and the desktop uses Electron safeStorage and AES-256-GCM for credential storage.
Key Capabilities & Differentiators
The main workflow is image generation and editing: SDXL Lightning supports image-to-image and masked inpainting, while FLUX.2 Klein and Qwen-Image 2.1 support multiple reference images with transparency. Outpainting and 2× upscaling are available, with upscaling preferring tiled local Real-ESRGAN ONNX. Batch jobs report inference-step progress and can be reprioritized or canceled; edits form a revision tree. Video is a separate provider-backed path through SiliconFlow’s MiniMax H3, supporting text or first/last-frame inputs and frame extraction for further editing.
The workshop is useful beyond generation. It handles pixel-grid cleanup, sprite slicing with atlas.json export, seamless tiling, and editable SVG conversion locally. Depth effects use a roughly 37 MB DA3-Small ONNX model by default, and background removal defaults to local RMBG-1.4 via WebGPU or WASM. PBR extraction produces albedo, normal, roughness, and metallic maps using local CUDA on an NVIDIA GPU with at least 8 GB of VRAM or a cloud GPU. Physical relighting runs locally; IC-Light relighting uses a cloud GPU.
Trade-offs & Limitations
Compared with ComfyUI, the app trades graph-level control for a more prescribed desktop workflow: choose compute, generate, revise, and finish an asset in one place. Kaggle and Colab make experimentation possible without a discrete GPU, but a typical cold start takes 3–10 minutes and free capacity is subject to provider quotas and availability. The desktop defaults to a 30-minute idle shutdown; before actively connecting to another compute source, finish current work and close the old session. Paid APIs avoid notebook startup, but add usage charges and provider-side processing.
Local archiving does not make remote inference offline or keep all inputs on-device. For sensitive work, verify that each selected operation stays local; PBR extraction, AI relighting, and some generation paths have distinct hardware or cloud requirements. Licensing also needs a component-by-component check. The application is identified as MIT, although the repository license field is unspecified. Qwen-Image 2.1 and FLUX.2 Klein 9B are listed as non-commercial, and the optional MobileCLIP-S0 component has no stated commercial grant here.
Hardware & Deployment Guide
Windows x64 has installer and portable builds. On Windows, macOS, or Linux, the source path requires Node.js 20 or newer (22+ recommended): run npm install, copy .env.example to .env, and start the desktop with npm run dev. The service and Vite UI can run separately with npm run dev:server and npm run dev:web. Python 3.10+ is needed when running your own GPU worker or its Python tests, not for the ordinary desktop setup. For self-hosted compute, use a private worker; commercial APIs provide a separate path that avoids notebook startup.
For offline inference, prepare the local engine and download supported model weights and precision variants first. Selected GGUF configurations use Vulkan on AMD or Intel hardware, with CUDA available on supported NVIDIA paths. FLUX.2 Klein 4B offers Q4_0 and Q8_0 variants; its 32-step Base quality mode can be slow on an integrated GPU, and end-to-end output quality for that path still awaits dedicated hardware validation. v0.17.0 added a GGUF runtime for the compact Z-Image worker image; the v0.18.2 release summary provides a changelog link but does not enumerate changes.
atlas.json; the workshop also produces editable SVG and four PBR texture maps.mcp/server.mjs exposes generation, batches, and upscaling through the running desktop session.127.0.0.1 by default with a per-launch random token, while outputs and generation parameters are archived locally.Indie game teams and creators who want to generate on local or rented compute and turn the results into sprite sheets, editable vectors, or texture maps from one desktop app.
You need arbitrary node graphs, unattended headless MCP inference, or guaranteed offline execution and commercial clearance across the entire model catalog.
Quick Start & Installation
npm run mcp:configComparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| aigc-studio ★ | 27 | +5 | JavaScript | — | Electron AIGC studio for local and cloud generation and game-asset finishing |
| ComfyUI | 149.9k | +945 | Python | GPL-3.0 | A node-graph engine for building and running multimodal AI workflows locally |
| 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 |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/nanxfu/aigc-studio.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about aigc-studio
Can Claude Desktop or Cursor generate images without the desktop app running?
npm run mcp:config and keep the desktop app running. The server at mcp/server.mjs exposes image generation, batch generation, and upscaling through the app’s current compute session and shares its outputs/ directory. It is not a standalone inference server.Do I need a discrete GPU, and does the 16 GB collection tag guarantee local compatibility?
Can a studio self-host and use every bundled model or optional component commercially?
AIGC_STUDIO_WORKSHOP_VISION=0. Review provider terms separately if any part of the workflow uses hosted inference.When is this a better fit than 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