PixMatteAPI

Get started

Introduction

The PixMatte API removes image backgrounds. Send a photo, receive a cutout — transparent, on white, or on a color you choose.

What the API does

PixMatte is an independent background-removal product. The API exposes the same model as the web app, built for catalogs, marketplaces, and image pipelines.

  • Products, people, and hard edges: hair, glass, jewelry, straps.
  • Output as PNG or WebP with transparency, or JPG on a solid background.
  • One credit ≈ one image. Failed requests are not charged.

Base URL & versioning

ItemValue
Base URLhttps://api.pixmatte.com
Remove backgroundPOST /v1.0/removebg
TransportHTTPS only (TLS 1.2+)

The version is part of the path. Breaking changes ship under a new version; additive changes (new optional parameters, new response headers) can appear in the current one and are listed in the changelog.

The /v1.0/removebg route name is kept for compatibility with existing integrations, so migrating pipelines need fewer changes.

Authentication overview

Every request carries your key in the X-Api-Key header. There are no OAuth flows or signed URLs to set up. Details in Authentication.

Conventions

  • Requests use multipart/form-data; parameters are form fields.
  • Successful responses return binary image data unless you ask for JSON.
  • Errors are JSON with an errors array and a stable code per error.
  • Timestamps are ISO 8601 UTC; sizes are in pixels.