mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 13:49:40 +02:00
✨ feat(figgos): AI generation pipeline + frontend API integration
Backend: - Add Gemini-powered profile generation (text + image) - Add image processing with background removal (sharp) - Add S3 storage service for figure images - Extend figures schema with generatedProfile, language, status columns - Wire up synchronous generation pipeline on POST /api/v1/figures Frontend (Mobile + Web): - Replace all mock data with real API calls - Show generatedProfile data (subtitle, backstory, stats, items, specialAttack) - Display generated images from S3 or name placeholders - Create web API service ($lib/api.ts) - Delete mock cards data files Infrastructure: - Add CORS origin for web dev port (5196) - Add GEMINI_API_KEY + FIGGOS_STORAGE_PUBLIC_URL to env generation - Add figgos-storage bucket to shared-storage factory - Add .gitignore for workbench/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
49c6ecc377
commit
9d189b1331
37 changed files with 2521 additions and 622 deletions
|
|
@ -616,7 +616,9 @@ const APP_CONFIGS = [
|
|||
S3_ACCESS_KEY: (env) => env.S3_ACCESS_KEY || 'minioadmin',
|
||||
S3_SECRET_KEY: (env) => env.S3_SECRET_KEY || 'minioadmin',
|
||||
S3_BUCKET: () => 'figgos-storage',
|
||||
CORS_ORIGINS: () => 'http://localhost:5181,http://localhost:8081',
|
||||
CORS_ORIGINS: () => 'http://localhost:5196,http://localhost:8081',
|
||||
GEMINI_API_KEY: (env) => env.GEMINI_API_KEY,
|
||||
FIGGOS_STORAGE_PUBLIC_URL: () => 'http://localhost:9000/figgos-storage',
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue