managarten/apps
Till JS fc7d2942d0 feat(picture): add local image generation via mana-image-gen
Add LocalImageGenService that routes to the self-hosted FLUX.2 klein
model on the Mac Mini, eliminating Replicate API dependency for basic
image generation.

Changes:
- LocalImageGenService: wraps mana-image-gen HTTP API (/generate)
  with health checking, timeout handling, and GenerationResult compat
- GenerateService: routes to local or Replicate based on model config
  (replicateId starting with "local/" → LocalImageGenService)
- Local models always use sync mode (no webhooks needed, ~0.8s)
- Seed: add "FLUX.2 Klein (Lokal)" model with sortOrder -1 (shown first)
  - costPerGeneration: 0 (free, runs locally)
  - estimatedTimeSeconds: 1
- docker-compose: add IMAGE_GEN_SERVICE_URL env var for picture backend

Replicate remains available for premium models (Seedream, Nano Banana).
Local FLUX.2 klein becomes the default free option.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 10:38:30 +01:00
..
calendar docs(calendar,todo): add production readiness audit to CLAUDE.md 2026-03-24 10:34:15 +01:00
chat feat: add Ollama memory optimization, LLM metrics, and chat streaming 2026-03-24 09:41:33 +01:00
citycorners fix(infra): remove n8n and increase health check intervals to fix port exhaustion 2026-03-24 10:35:45 +01:00
clock feat: add onboarding to 6 new apps and feature intro step to all 16 apps 2026-03-23 21:58:14 +01:00
contacts feat: add right-click context menus to calendar agenda, chat, contacts, and storage 2026-03-23 22:51:07 +01:00
context feat: add unified @manacore/shared-llm package and migrate all backends 2026-03-23 22:06:30 +01:00
docs fix: replace all manacore.app URLs with mana.how 2026-03-22 18:40:37 +01:00
manacore docs: update calendar and todo production readiness audits 2026-03-24 10:37:07 +01:00
manadeck feat: add right-click context menus to presi, manadeck, photos, and zitare 2026-03-23 22:34:57 +01:00
matrix feat: add QuickInputBar to 6 more apps (mukke, matrix, manadeck, planta, photos, presi) 2026-03-23 21:25:51 +01:00
mukke feat: add onboarding to 6 new apps and feature intro step to all 16 apps 2026-03-23 21:58:14 +01:00
nutriphi feat: add unified @manacore/shared-llm package and migrate all backends 2026-03-23 22:06:30 +01:00
photos feat: add right-click context menus to presi, manadeck, photos, and zitare 2026-03-23 22:34:57 +01:00
picture feat(picture): add local image generation via mana-image-gen 2026-03-24 10:38:30 +01:00
planta feat: add unified @manacore/shared-llm package and migrate all backends 2026-03-23 22:06:30 +01:00
playground refactor(auth): standardize URL resolution and token handling across all web auth stores 2026-03-23 12:11:52 +01:00
presi feat: add right-click context menus to presi, manadeck, photos, and zitare 2026-03-23 22:34:57 +01:00
questions feat: add onboarding to 6 new apps and feature intro step to all 16 apps 2026-03-23 21:58:14 +01:00
skilltree feat: add onboarding to 6 new apps and feature intro step to all 16 apps 2026-03-23 21:58:14 +01:00
storage feat: add right-click context menus to calendar agenda, chat, contacts, and storage 2026-03-23 22:51:07 +01:00
todo fix(infra): remove n8n and increase health check intervals to fix port exhaustion 2026-03-24 10:35:45 +01:00
traces feat: add unified @manacore/shared-llm package and migrate all backends 2026-03-23 22:06:30 +01:00
zitare feat: add right-click context menus to presi, manadeck, photos, and zitare 2026-03-23 22:34:57 +01:00