Feature | Node.js | Python |
---|---|---|
PDF Processing | ✓ (requires graphicsmagick) | ✓ (requires poppler) |
Image Processing | ✓ | ✓ |
OpenAI Support | ✓ | ✓ |
Azure OpenAI Support | ✓ | ✓ |
AWS Bedrock Support | ✓ | ✓ |
Google Gemini Support | ✓ | ✓ |
Vertex AI Support | ✗ | ✓ |
Data Extraction | ✓ ( schema ) | ✗ |
Per-page Extraction | ✓ ( extractPerPage ) | ✗ |
Custom System Prompts | ✗ | ✓ ( custom_system_prompt ) |
Maintain Format Option | ✓ ( maintainFormat ) | ✓ ( maintain_format ) |
Async API | ✓ | ✓ |
Error Handling Modes | ✓ ( errorMode ) | ✗ |
Concurrent Processing | ✓ ( concurrency ) | ✓ ( concurrency ) |
Temp Directory Management | ✓ ( tempDir ) | ✓ ( temp_dir ) |
Page Selection | ✓ ( pagesToConvertAsImages ) | ✓ ( select_pages ) |
Orientation Correction | ✓ ( correctOrientation ) | ✗ |
Edge Trimming | ✓ ( trimEdges ) | ✗ |
Direct Image Extraction | ✓ ( directImageExtraction ) | ✗ |