Photoroom
    Photoroom
    • Remove Background (Basic plan)
      POST
    • Account Details
      GET
    • Image Editing v2 (Plus plan)
      GET
    • Image Editing v2 (Plus plan)
      POST
    • [LEGACY] Image Editing v1 (Plus plan)
      GET
    • [LEGACY] Image Editing v1 (Plus plan)
      POST

      Image Editing v2 (Plus plan)

      Production server (Plus plan)
      https://image-api.photoroom.com
      Production server (Plus plan)
      https://image-api.photoroom.com
      POST
      /v2/edit
      This endpoint processes an image, removing the background if specified, and applies various transformations such as scaling, padding, and margin adjustments. It accepts binary data for the image. If you want to send the URL of an image, please use the GET endpoint. For more details on the difference between the GET and POST endpoints, please have a look at our documentation: https://docs.photoroom.com/image-editing-api/which-endpoints-are-available. The output size, background color or image, and other parameters can be customized.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://image-api.photoroom.com/v2/edit'
      Response Response Example
      200 - Example 1
      {}

      Request

      Body Params multipart/form-data

      Responses

      🟢200OK
      application/json
      Body

      🟠400Bad Request
      🟠402Payment Required
      🔴500Internal Server Error
      Modified at 2024-07-26 07:39:23
      Previous
      Image Editing v2 (Plus plan)
      Next
      [LEGACY] Image Editing v1 (Plus plan)
      Built with