Developer-friendly document processing

Crop documents from photos with AI precision

Transform skewed, angled photos of documents into perfect, cropped scans. Simple API, powerful results. No credit card required to start.

$npm install @docs-tech/sdk
Before: Raw Photo
Skewed document photo with perspective distortion
Before: Skewed document photo
After: Perfect Crop
AI-processed document with perfect perspective
After: Perfectly cropped document

Try it yourself

Upload a document photo and see the magic happen

Try the API
Upload a document photo and see the AI cropping in action

API Command

curl -X POST https://doc-scan-api.fly.dev/extract \
  -H "x-api-key: pcr_consulting" \
  -F "file=@input.png" \
  -F "monotone=true" \
  -F "contrast_enhance=true" \
  --output "result.jpg"

Original

Sample document

Click to upload your own

AI Cropped

99.9%
Accuracy
<2s
Processing Time
50+
Document Types
1M+
Documents Processed

Simple to integrate

Get started with just a few lines of code

REST API
Simple HTTP requests for any language
curl -X POST https://api.docs.tech/v1/crop \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@document.jpg" \
  -F "format=png"

# Response
{
  "success": true,
  "cropped_url": "https://cdn.docs.tech/...",
  "confidence": 0.98,
  "processing_time": 1.2
}
Node.js SDK
Type-safe SDK with built-in error handling
import { DocsClient } from '@docs-tech/sdk';

const client = new DocsClient({
  apiKey: process.env.DOCS_API_KEY
});

const result = await client.cropDocument({
  image: './document.jpg',
  format: 'png',
  enhance: true
});

console.log(result.croppedUrl);

Everything you need

Powerful features built for developers

AI-Powered Detection

Advanced computer vision automatically detects document boundaries and corrects perspective distortion.

Multiple Formats

Support for PNG, JPG, PDF output. Process receipts, contracts, forms, and any document type.

Lightning Fast

Process documents in under 2 seconds with our optimized AI pipeline and global CDN.

Developer First

RESTful API, TypeScript SDK, webhooks, and comprehensive documentation.

No Credit Card

Start building immediately with our free tier. Only pay when you're ready for production.

Enterprise Ready

99.9% uptime SLA, SOC 2 compliance, and dedicated support for enterprise customers.

Simple, transparent pricing

Start free, scale as you grow

Development
Perfect for testing and development
Free
  • 100 documents/month
  • All API features
  • Community support
  • No credit card required
Most Popular
Production
For production applications
$10/month
  • 1,000 documents/month
  • Priority processing
  • Email support
  • 99.9% uptime SLA
  • $10 per additional 1000 docs

Built for startups. Ready for enterprise.

SOC/HIPAA compliance built-in
Custom model training in 48 hours
Phone support
Volume pricing

Have questions? Anyone, big or small, can book a call to ask questions Book a call for enterprise pricing

Ready to transform your documents?

Join thousands of developers using docs.tech to process documents with AI precision.