freeapis

PhotoRoom

从图像中移除背景

认证方式
API Key
HTTPS
Yes
CORS
Unknown
分类
摄影
数据来源
public-apis + marcelscruz

简介

PhotoRoom 的 API 去除图片背景——仅 POST 端点(GET 返回 405 Method Not Allowed,已实测)。认证是 API 密钥。

快速开始

端点仅 POST(已实测):

curl -X POST "https://sdk.photoroom.com/v1/segment" \
  -H "x-api-key: YOUR_KEY" \
  -H "Content-Type: multipart/form-data" \
  -F "[email protected]"
{
  "result": { "data": "iVBORw0KGgo...", "mime_type": "image/png" }
}

认证方式

  • 在 photoroom.com 注册 → API 密钥。
  • 通过 x-api-key 请求头携带。

速率限制与注意事项

  • 免费层:约 10 张/月(以文档为准);付费档可扩展。
  • 用 multipart image_file POST(GET → 405,已实测)。
  • 返回透明背景 PNG(base64)。

常见问题

PhotoRoom 免费吗? 免费层:约 10 张/月;更多需要付费。

为什么 GET 会 405? 端点只接受 POST(已实测)。

返回什么? 去背景的 PNG(base64)。

摄影 分类更多

APIAuthHTTPSCORS
APITemplate.io

Dynamically generate images and PDFs from templates with a simple API

API KeyYesUnknown↗
Bruzu

Image generation with query string

API KeyYesYes↗
Change Image Background API

This API helps you change the background of any image

API KeyYesUnknown↗
CheetahO

Photo optimization and resize

API KeyYesUnknown↗
Convert Images to PDF API

Convert any image to a PDF without losing quality with one API call

API KeyYesUnknown↗