Initial commit: Image moderation service using local vision LLM
This commit is contained in:
11
.env.example
Normal file
11
.env.example
Normal file
@@ -0,0 +1,11 @@
|
||||
PORT=8100
|
||||
VISION_AI_URL=http://localhost:8000/v1/chat/completions
|
||||
VISION_AI_MODEL=gemma3:4b
|
||||
VISION_AI_TIMEOUT=90000
|
||||
TILE_THRESHOLD=1024
|
||||
|
||||
# Callbacks when image is flagged unsafe
|
||||
UPLOAD_SERVICE_REPLACE_URL=http://192.168.0.145:3003/internal/replace
|
||||
UPLOAD_SERVICE_SECRET=<same as IMAGE_UPLOAD_SECRET on NAS>
|
||||
PAROCHIA_CALLBACK_URL=https://parochia.org/api/images/moderation-callback
|
||||
PAROCHIA_CALLBACK_SECRET=<same as MODERATION_CALLBACK_SECRET on NAS>
|
||||
Reference in New Issue
Block a user