POST /api/claude/generate-pairs — proxies image + objects to Claude Haiku and returns 30 structured pairs (text/yes_no/question, easy/medium) as JSON. Keeps the Anthropic API key server-side via ANTHROPIC_API_KEY. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
349 B
Plaintext
14 lines
349 B
Plaintext
# PostgreSQL connection (set these in Coolify as environment variables)
|
|
DB_HOST=your-postgres-service-name # In Coolify: der interne Service-Name des PostgreSQL-Containers
|
|
DB_PORT=5432
|
|
DB_NAME=snakkimo
|
|
DB_USER=postgres
|
|
DB_PASSWORD=your-password
|
|
DB_SSL=false
|
|
|
|
# API
|
|
PORT=3000
|
|
|
|
# Anthropic (für Auto-Pairs-Generierung)
|
|
ANTHROPIC_API_KEY=sk-ant-...
|