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

      Remove Background (Basic plan)

      Production server (Plus plan)
      https://image-api.photoroom.com
      Production server (Plus plan)
      https://image-api.photoroom.com
      POST
      /v1/segment
      Remove background from an image
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://image-api.photoroom.com/v1/segment'
      Response Response Example
      200 - Example 1
      {
          "base64img": "string"
      }

      Request

      Body Params multipart/form-data

      Responses

      🟢200OK
      application/json
      Body

      🟠400Bad Request
      🟠402Payment Required
      Modified at 2024-07-26 07:39:23
      Next
      Account Details
      Built with