Explore our Image Editing API to maintain high image quality and visual consistency across thousands of images from multiple sources. Discover how you can use it to remove and replace backgrounds, resize images, add padding, and adjust positioning with just one click.
复制你的 API 密钥:激活账户的 API 后,你会获得一个专属的 API 密钥。这个密钥相当于你调用 API 的密码,请务必妥善保管。你可以通过同一个激活链接来获取你的 API 密钥。
Which image formats, sizes, and resolutions are supported?
For the input and result images, the Image Editing API (Plus plan) supports four formats: PNG, JPEG, WEBP and AVIF. We recommend limiting images to 25 megapixels for optimal performance. Maximum File Size: 30MB. Maximum Resolution: 5,000 pixels on the widest side. Images with a larger resolution are supported (if they stay below 30MB), but will be resized down to 5,000 pixels on the widest side.
The Remove Background API (Basic plan) supports four formats for the input image: PNG, JPEG, WEBP and HEIC. For the result image, it supports three formats: PNG, JPEG and WEBP. Maximum File Size: 50MB. Maximum Resolution: 6,000 pixels on the widest side.
Photoroom 的 Flat Lay API 通过同一 AI 流程处理每一张图片,确保无论数量多少,你的整个产品目录都能实现统一的构图、间距和风格。团队只需一次性设定布局参数,即可通过 API 批量应用,省去传统影棚拍摄中手动调整的繁琐。最终,你可以在极短时间内获得数千个 SKU 的一致且符合品牌形象的视觉效果。