Passport & Visa Photo API
Built for Developers
One call turns a phone photo into a passport or visa photo cropped, cleaned and checked against the destination's published specification. No contracts, no meetings. Sign up, get your API key, and build.
HOW IT WORKS
From Zero to Production in Minutes
No sales calls. No enterprise contracts. Just sign up and start processing photos.
Sign Up Instantly
Create your account in 30 seconds. No credit card, no contracts, no waiting.
Get Your API Key
Your key is on the dashboard the moment your email is verified. Start testing right away.
Add Credits
Buy a credit pack when you are ready to go live. One credit per successful call; failed calls are free.
Start Building
Integrate in minutes with the reference docs and code examples. Go live today.
FEATURES
Everything You Need, Built In
The same engine behind Snap2Pass and the agency workspace, one call away.
Instant Photo Processing
Turn a phone photo into a passport or visa photo in about 20 seconds.
Checks Against the Spec
Every output is measured against the published specification and returns what passed, what failed and an advisory quality score.
Background Removal
Background removal and replacement with the colour each document requires.
Smart Cropping
Face detection and cropping to the exact head size and position for each document.
Size Optimization
Output in the exact pixel dimensions, DPI and byte ceiling of the destination.
Real-time API
REST API with reference documentation and code examples in multiple languages.

❌ Issues Found:
- • Background failed
- • Glasses detected
- • Wrong dimensions

✓ Checks passed
Processed and measured in ~20 seconds
Simple, Powerful API
One call to process and check a photo. Structured results, the output image, and a quality score.
// Process & check a photo
const response = await fetch(
'https://api.snap2pass.com/process-photo',
{
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
photo: base64Image,
document_id: 'us-passport'
})
}
);
const result = await response.json();
// {
// success: true,
// request_id: "uuid-v4-request-id",
// image_urls: {
// output: "https://images.snap2pass.com/..."
// },
// validation: {
// passed: true,
// score: 95
// }
// }Pay per API call, nothing monthly
1 credit = 1 API call. Buy credits in bulk and save up to 60%. Credits never expire, and an API call that fails to process is not charged.
What's Included
Need more than 500 credits? Contact us at sales@snap2pass.com for volume pricing.
Not writing code?
Agencies and photo studios get the same engine as a ready workspace: cases, a branded link for each client, review and export.
Start Processing Photos in 60 Seconds
Your API key is waiting on the dashboard. No credit card required to start.