Image / PDF Upload │ Image Preprocessing (Pillow) - Auto-resize to 2048px max - JPEG optimization - Base64 encoding │ GPT-4o Vision API - "high" detail mode for OCR/extraction - "auto" detail for ...