managarten/apps/picture/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
..
backend feat(picture): add local image generation via mana-image-gen 2026-03-24 10:38:30 +01:00
landing feat(analytics): add automatic CTA tracking to all 10 landing pages 2026-03-22 19:13:24 +01:00
mobile chore: remove presi mobile app, update outdated mobile docs 2026-03-23 13:16:29 +01:00
web feat: add onboarding to 6 new apps and feature intro step to all 16 apps 2026-03-23 21:58:14 +01:00