Photobear API

Submit your first photo, in your favorite programming language, in 2 minutes.
Getting Started

Below is your API key:

<<SIGN_UP_TO_GET_YOUR_KEY>>

Our docs will auto-populate your key in our code examples so you don't have to hunt around for it!

You can also integrate with our service directly through RapidAPI

Connect on RapidAPI
Submitting a photo

All of our photo processing is supported through a single API call named submit_photo . Using this endpoint you submit a photo to all of our supported operations. You can choose which operation you want to perform by setting mode to be one of the following strings:

  • background_removal
  • vectorization
  • super_resolution
  • compress
  • If you're not sure what these operations mean, please try out our interactive products page to see what outputs you get for each of these operations.

    curl --location --request POST 'https://photobear.io/api/public/submit-photo' \ --header 'x-api-key: <<SIGN_UP_TO_GET_YOUR_KEY>>' \ --header 'Content-Type: application/json' \ --data-raw '{ "photo_url":"<<INSERT_URL_TO_YOUR_PHOTO>>", "mode":"background_removal"}'

    The response is a JSON with the following fields:

  • status - a string, "ok" if the request is succefull, and "error" otherwise
  • result_url - a string, url to the processed photo
  • Logo
    © 2022 Hoss Technology Inc.TermsPrivacy