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
      GET
      /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 a URL input for the image. If you want to directly upload an image file, please use the POST 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.

      请求参数

      Query 参数

      Header 参数

      返回响应

      🟢200OK
      application/json
      Body

      🟠400Bad Request
      🟠402Payment Required
      🔴500Internal Server Error
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://image-api.photoroom.com/v2/edit' \
      --header 'x-api-key;'
      响应示例响应示例
      200 - 示例 1
      {}
      修改于 2024-04-17 06:52:37
      上一页
      Account Details
      下一页
      Image Editing v2 (Plus plan)
      Built with