Front end with upload and vision features working (open ai r1 and grok vision with void ai

This commit is contained in:
Jeen Koster 2025-08-05 21:46:06 +02:00
parent a829770c7e
commit d9226251e9
5 changed files with 283 additions and 50 deletions

19
.env
View file

@ -1,13 +1,24 @@
# === AI CONFIGURATION ===
# Your API key or access token
# OpenRouter API key for text generation (DeepSeek)
AI_API_KEY=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
# Name or ID of the AI model
# DeepSeek model for text/keyword generation
AI_MODEL_NAME=deepseek/deepseek-chat-v3-0324:free
# Endpoint or base URL for DeepSeek API (update if different)
AI_API_URL=https://api.deepseek.com/v1
# OpenRouter API URL
AI_API_URL=https://openrouter.ai/api/v1/chat/completions
# === GROK VISION API CONFIGURATION ===
# Grok API key for vision analysis (add your Grok API key here)
GROK_API_KEY=sk-voidai-vVU2HHiq1txTNmXdZOP98LzARmi4HsptTixMqFSX4yBbw8ogvmKlJEPeKrH1hwEd6j6AnED9LsR6ztPtRMT7UzeLOyxQkasbwKow
# Grok-2-Vision model
GROK_VISION_MODEL=grok-2-vision-1212
# Grok API URL
GROK_API_URL=https://api.voidai.app/v1/
# Optional: AI task-specific configuration
AI_TASK=keyword_generation