freeapis

PhotoRoom

从图像中移除背景

认证方式
API Key
HTTPS
Yes
CORS
Unknown
分类
摄影

简介

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 "image_file=@photo.jpg"
{
  "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
Bruzu

Image generation with query string

API KeyYesYes
CheetahO

Photo optimization and resize

API KeyYesUnknown
Dagpi

Image manipulation and processing

API KeyYesUnknown
Duply

Generate, Edit, Scale and Manage Images and Videos Smarter & Faster

API KeyYesYes
DynaPictures

Generate Hundreds of Personalized Images in Minutes

API KeyYesYes