Open-Generative-AI/src/lib
Anil Matcha 36d392ab78 feat: add local model inference via sd.cpp (Electron-only)
- Scaffold full IPC bridge: preload.js exposes localAI API to renderer
- electron/lib/localInference.js: binary download (Metal-enabled macOS build),
  model management, auxiliary file downloads (Qwen3-4B LLM + FLUX VAE for Z-Image),
  and generation via sd-cli with DYLD_LIBRARY_PATH + xattr quarantine stripping
- electron/lib/modelCatalog.js: Z-Image Turbo/Base (featured) + SD 1.5/SDXL models
- Z-Image requires 3 components loaded via --diffusion-model + --llm + --vae flags
- ImageStudio: Local/API toggle (Electron-only), local model selector, progress bar
- SettingsModal: tabbed UI with Local Models tab (hidden on web/hosted version)
- LocalModelManager: engine status bar, per-model download cards, auxiliary
  component download UI (text encoder + VAE) for Z-Image models
- localInferenceClient.js: safe wrapper with isLocalAIAvailable() guard
- All local features gated behind isLocalAIAvailable() — web version unaffected

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 17:47:17 +05:30
..
localInferenceClient.js feat: add local model inference via sd.cpp (Electron-only) 2026-04-22 17:47:17 +05:30
localModels.js feat: add local model inference via sd.cpp (Electron-only) 2026-04-22 17:47:17 +05:30
models.js release: v1.0.2 — rename Seedance 2.0 models to SD 2, fix Windows build size 2026-04-22 06:57:25 +05:30
muapi.js fix: send required name and prompt fields for AI Video Effects 2026-04-14 22:59:06 +05:30
pendingJobs.js Improve generation reliability and error handling 2026-03-10 10:17:44 +05:30
promptUtils.js feat: Integrate prompt tools into ImageStudio and CinemaStudio 2026-03-25 23:22:59 +05:30
uploadHistory.js Add image upload history, i2i/i2v model support with dynamic mode switching 2026-02-23 21:04:33 +05:30