Remove.bg compatibility
curl -H 'x-api-key: YOUR_REMOVE_BG_API_KEY' \
-f https://api.remove.bg/v1.0/removebg \
-F 'image_file=@/absolute/path/to/image.jpg' \
-F 'crop=true' \
-F 'bg_color=FFFFFF' \
-F 'format=jpg' \
-F 'size=hd' \
-o result.jpgcurl -H 'x-api-key: YOUR_PHOTOROOM_API_KEY' \
-f https://sdk.photoroom.com/v1/segment \
-F 'image_file=@/absolute/path/to/image.jpg' \
-F 'crop=true' \
-F 'bg_color=FFFFFF' \
-F 'format=jpg' \
-F 'size=hd' \
-o result.jpgLast updated
Was this helpful?