ObjectCut API

⭐ Beginner's Pick Photography / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

ObjectCut API uses AI to automatically remove image backgrounds and cut out objects with high precision, returning a PNG with a transparent background. It handles complex edges like hair and fur well, making it useful for e-commerce product photos or creative photo editing apps. You only need an API key and the image URL or file to get started.

💡

Beginner Tip

Send your image as a URL or multipart file in the request body and you will receive a PNG with the background removed in seconds. For best results use images where the subject is clearly lit and distinct from the background.

Available Data

image URLs in multiple sizes
photographer credit
image dimensions
download link
color data
Use case: Integrate image background removal data into web and mobile applications

Example Response

JSON Response
{
  "id": "Dwu85P9SOIk",
  "urls": {
    "full": "https://images.unsplash.com/photo-...",
    "regular": "https://images.unsplash.com/photo-...?w=1080",
    "thumb": "https://images.unsplash.com/photo-...?w=200"
  },
  "width": 4000,
  "height": 3000,
  "user": {
    "name": "John Doe",
    "username": "johndoe"
  }
}

Field Reference

output_url URL of the resulting PNG image with the background removed and a transparent layer.
status Processing status of the request, typically "success" when the cutout is ready.
credits_used Number of credits consumed by this request, useful for monitoring your account usage.

Implementation Example

const url = "https://objectcut.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized The x-api-key header is missing or the API key is incorrect.
Sign up at https://objectcut.com/ to get your API key and pass it as the x-api-key header in every request.
400 Bad Request - image_url required Neither an image URL nor a file was provided in the request.
Include either an image_url field with a publicly accessible image URL or upload the file as multipart/form-data.
Low-quality cutout result The image has very low resolution, heavy compression artifacts, or the subject blends into the background.
Use a higher-resolution image (at least 300x300 pixels) and ensure the subject has clear contrast from the background.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Photography
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →