Enterprise Solutions

Photo Processing API

Integrate professional-grade photo processing into your applications. State-of-the-art AI for document photos, face detection, and more.

Authentication

All API requests require an API key

Header
Authorization: Bearer isp_your_api_key_here

API Methods

Powerful endpoints for all your photo processing needs

POST /api/v1/remove-background

Remove background from an image with pixel-perfect precision. Returns transparent PNG or applies custom background color.

Request
curl -X POST https://api.ishotaphoto.com/v1/remove-background \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "output_format": "png",
    "background_color": null
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "credits_remaining": 249,
  "result": {
    "image_url": "https://cdn.ishotaphoto.com/results/abc123.png",
    "expires_at": "2025-01-08T12:00:00Z"
  }
}
POST /api/v1/replace-background

Replace background with solid colors, gradients, or custom images. Perfect for product photography and portraits.

Request
curl -X POST https://api.ishotaphoto.com/v1/replace-background \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "background": {
      "type": "color",
      "value": "#FFFFFF"
    }
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "credits_remaining": 248,
  "result": {
    "image_url": "https://cdn.ishotaphoto.com/results/def456.jpg",
    "expires_at": "2025-01-08T12:00:00Z"
  }
}
POST /api/v1/detect-faces

Detect and locate faces in images with bounding boxes, confidence scores, and multi-face support.

Request
curl -X POST https://api.ishotaphoto.com/v1/detect-faces \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "faces": [
    {
      "confidence": 0.98,
      "bounding_box": {
        "x": 120, "y": 80,
        "width": 200, "height": 250
      }
    }
  ]
}
POST /api/v1/detect-emotions

Analyze facial expressions to detect emotions like happiness, surprise, neutral, and more with confidence scores.

Request
curl -X POST https://api.ishotaphoto.com/v1/detect-emotions \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "faces": [
    {
      "emotions": {
        "neutral": 0.85,
        "happy": 0.10,
        "surprised": 0.03,
        "sad": 0.02
      }
    }
  ]
}
POST /api/v1/detect-keypoints

Detect 68+ facial landmarks including eyes, nose, mouth, and jawline for precise face analysis and alignment.

Request
curl -X POST https://api.ishotaphoto.com/v1/detect-keypoints \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "faces": [
    {
      "keypoints": {
        "left_eye": {"x": 180, "y": 120},
        "right_eye": {"x": 260, "y": 118},
        "nose_tip": {"x": 220, "y": 170},
        "mouth_center": {"x": 222, "y": 210}
      }
    }
  ]
}
POST /api/v1/generate-passport-photo

Generate compliant passport and visa photos for 100+ countries. Auto-crop, resize, and apply correct specifications.

Request
curl -X POST https://api.ishotaphoto.com/v1/generate-passport-photo \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "country_code": "US",
    "document_type": "passport"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "result": {
    "image_url": "https://cdn.ishotaphoto.com/results/ghi789.jpg",
    "dimensions": {"width": 600, "height": 600},
    "dpi": 300,
    "compliant": true
  }
}
POST /api/v1/validate-photo

Validate photos against official requirements. Check dimensions, background, face position, expression, and more.

Request
curl -X POST https://api.ishotaphoto.com/v1/validate-photo \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "country_code": "US",
    "document_type": "passport"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "valid": false,
  "checks": {
    "face_detected": {"pass": true},
    "background": {"pass": false, "reason": "Not white"},
    "head_position": {"pass": true},
    "expression": {"pass": true, "value": "neutral"}
  }
}
POST /api/v1/enhance-image

AI-powered enhancement for brightness, contrast, sharpness, and color correction. Perfect for low-quality uploads.

Request
curl -X POST https://api.ishotaphoto.com/v1/enhance-image \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg",
    "enhancements": ["brightness", "sharpness", "denoise"]
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "result": {
    "image_url": "https://cdn.ishotaphoto.com/results/jkl012.jpg",
    "enhancements_applied": ["brightness", "sharpness", "denoise"],
    "expires_at": "2025-01-08T12:00:00Z"
  }
}
POST /api/v1/estimate-head-pose

Detect head orientation with pitch, yaw, and roll angles. Essential for verifying front-facing photos.

Request
curl -X POST https://api.ishotaphoto.com/v1/estimate-head-pose \
  -H "Authorization: Bearer isp_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/photo.jpg"
  }'
Response
{
  "success": true,
  "credits_used": 1,
  "faces": [
    {
      "pose": {
        "pitch": 2.5,
        "yaw": -1.2,
        "roll": 0.8
      },
      "front_facing": true
    }
  ]
}

Simple, Transparent Pricing

1 credit = 1 API call. No subscriptions, pay only for what you use.

25
credits
$0.96
per credit
$24
One-time payment
50
credits
$0.86
per credit
Save 10%
$43
One-time payment
100
credits
$0.62
per credit
Save 35%
$62
One-time payment
POPULAR
250
credits
$0.48
per credit
Save 50%
$120
One-time payment
POPULAR
500
credits
$0.38
per credit
Save 60%
$190
One-time payment
Need more volume? Contact us for enterprise pricing with custom quotas, dedicated support, SLA guarantees, and volume discounts up to 80% off.

Why Choose Our API

Built for developers, trusted by enterprises

Lightning Fast

Average response time under 500ms for most operations

Enterprise Security

SOC 2 compliant with end-to-end encryption

99.9% Uptime

Reliable infrastructure with global CDN

Dedicated Support

Priority support for enterprise customers

Ready to Get Started?

Contact us to get your API key and start integrating today. Custom enterprise plans available for high-volume needs.