Using remove.bg with Airtable Scripting App

Hi

I was wondering if someone could help me with removing background for image using remove.bg using the airtable scripting?
The previous discussion on this topic did include the completed script to output the file from remove.bg to an Airtable field:

Look forward to your feedback!

Welcome to the community, @Sasi_C! :smiley: You say that you want help, but you didn’t indicate the specific help that you’re looking for. Could you please provide more details?

1 Like

Actually, specifically on how do you script to post the output of the Cleaned / BG removed image that is outputted by Remove.BG back as input to an Airtable Attachment field…

Specially if the output for Remove.BG is a base64 info and not a standard jpg/ png file.

I am not a Airtable scripting pro & can’t seem to find specific documentation at Remove.BG to figure out the exact code needed to send back the cleaned file as Airtable attachment field.

I’ve only done a cursory search on the subject (limited time), but I don’t think that the conversion from base64 to an image file can be done directly in Airtable, mainly because of a lack of access to the full JavaScript language in Airtable’s scripting environments (i.e. no File object). On the plus side, you can feed the base64 data that you get into another API. A quick search for “base64 to image api” returned several results.

1 Like

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.