feat: add AI-powered alt text generation for recipe images
All checks were successful
CI / update (push) Successful in 1m10s
All checks were successful
CI / update (push) Successful in 1m10s
- Implement local Ollama integration for bilingual (DE/EN) alt text generation - Add image management UI to German edit page and English translation section - Update Card and recipe detail pages to display alt text from images array - Include GenerateAltTextButton component for manual alt text generation - Add bulk processing admin page for batch alt text generation - Optimize images to 1024x1024 before AI processing for 75% faster generation - Store alt text in recipe.images[].alt and translations.en.images[].alt
This commit is contained in:
@@ -26,3 +26,6 @@ IMAGE_DIR="/path/to/static/files"
|
||||
# Translation Service (DeepL API)
|
||||
DEEPL_API_KEY="your-deepl-api-key"
|
||||
DEEPL_API_URL="https://api-free.deepl.com/v2/translate" # Use https://api.deepl.com/v2/translate for Pro
|
||||
|
||||
# AI Vision Service (Ollama for Alt Text Generation)
|
||||
OLLAMA_URL="http://localhost:11434" # Local Ollama server URL
|
||||
|
||||
Reference in New Issue
Block a user