Self-Service API • Start in 60 Seconds

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.

Free API key instantly
Pay as you go
Failed calls aren't charged
1M+
API Calls Processed
166
Countries Supported
555+
Document Types

HOW IT WORKS

From Zero to Production in Minutes

No sales calls. No enterprise contracts. Just sign up and start processing photos.

01

Sign Up Instantly

Create your account in 30 seconds. No credit card, no contracts, no waiting.

02

Get Your API Key

Your key is on the dashboard the moment your email is verified. Start testing right away.

03

Add Credits

Buy a credit pack when you are ready to go live. One credit per successful call; failed calls are free.

04

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.

Before: photo with glasses and a busy background
Before

❌ Issues Found:

  • • Background failed
  • • Glasses detected
  • • Wrong dimensions
After: cropped, plain background, glasses removed
After

✓ 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
//   }
// }
Simple Pricing • Credits Never Expire

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

All photo processing features
Credits never expire
Instant activation
Email support

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.

See the agency workspace

Start Processing Photos in 60 Seconds

Your API key is waiting on the dashboard. No credit card required to start.

Free to start
No commitment
Instant API key