Help

Making a Post API to PhotoRoom to remove image backround

Topic Labels: Scripting extentions
1320 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Jamie_Kane1
4 - Data Explorer
4 - Data Explorer

Hi All

Am wondering if anyone can help me integrate the PhotoRoom API with Airtable.

The API removes the backround from an image.

I am running into roadblocks, and get the following returned:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
400 Bad Request

Bad Request

Could not decode image, ensure image_file or image_file_b64 is set

I am very, very new to scripting, and this is probably quite a straightforward task for an experienced coder / scripter!!

Any guidance as to how to do this would be greatly appreciated.

Thanks
Jamie

1 Reply 1
itoldusoandso
10 - Mercury
10 - Mercury

It's an old post but since nobody responded I add my own vote. I was wondering too. According to this post... https://forum.adalo.com/t/configuration-api-photo-room/17599/2  ... it says, integrating is not going to work without a service like Integromat.  Probably the answer is the API requires the image in Binary format so that is possibly why you are getting the error. 

Unfortunately I don't have skills (and patience likely) to try configure the Integtomat API module because it's not like the other modules, so it does require to have some idea about how API works.

Zapier now has integration to Photoroom, so if you are looking for one it may work. I don't use Zapier because of their cost and prefer Integromat as it's more powerful. 

After looking at the Photoroom website further, their site requires a modern hardware, it doesn't run on any of my machines. Here is what it says.. 

Unsupported browser configuration

WebGL and Hardware Acceleration need to be activated for PhotoRoom to work.

The website works for the one-off generated background removal, but login into the site doesn't work I get bounced by the message.

Too bad this forum is hollow now and don't see many experienced users contributing answers.