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 呈現一致且符合品牌形象的視覺效果。