Quick start: your first cutout in 2 minutes

Create an account, remove a background in the dashboard, then make your first API call.

帮助文章以英文提供。

1. Create your free account

Go to Get API Key and sign up with your email or with Google. Every new account gets 50 free credits and its own workspace. That's enough for 50 full-resolution images or 200 previews.

2. Remove a background in the dashboard

  1. Open Remove Background in the dashboard sidebar.
  2. Drop in a JPG, PNG or WebP image (up to 22 MB), or paste an image URL.
  3. Choose an output format and background: transparent, a colour or an image.
  4. Click Remove background and download the result.

3. Create an API key

Open Developers → API Keys and click Create key. Copy the key straight away: it's shown only once.

4. Make your first API call

Replace the key and run:

LanguageCommand
cURLcurl -X POST "https://api.clearcutapi.com/api/v1/removebg" -H "X-API-Key: clearcut_live_YOUR_KEY" -F "image_file=@photo.jpg" -F "format=png" -F "response_type=binary" -o cutout.png

With response_type=binary the response is the cut-out image itself. Leave it out to get JSON with a download link, the image size and the credits used. See API quick start for Python, JavaScript and PHP.

What next?

仍需要帮助?

联系支持