{"product_id":"n8n-workflow-remove-image-backgrounds-via-aigentools-api","title":"n8n Workflow: Remove Image Backgrounds via AIGenTools API","description":"\u003ch3\u003eRemove Image Backgrounds with AIGenTools in n8n (Transparent PNG Output)\u003c\/h3\u003e\n\u003cp\u003eTransform any image into a clean, transparent background PNG—automatically—using an n8n workflow that calls the \u003cstrong\u003eAIGenTools Background Remover (High Quality) API\u003c\/strong\u003e, waits for processing, then downloads the result for your next automation step.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns manually\u003c\/strong\u003e when you click \u003cem\u003eExecute workflow\u003c\/em\u003e in n8n.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSets the input\u003c\/strong\u003e by defining an \u003ccode\u003eimage_url\u003c\/code\u003e to process.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates an asynchronous background-removal task\u003c\/strong\u003e by sending the image URL to AIGenTools’ generate API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWaits and polls\u003c\/strong\u003e: it waits 5 seconds, then repeatedly checks the AIGenTools task status endpoint until the task \u003cem\u003esucceeds\u003c\/em\u003e or \u003cem\u003efails\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDownloads the output\u003c\/strong\u003e: once successful, it downloads the resulting \u003cstrong\u003etransparent PNG\u003c\/strong\u003e as a binary file from the returned media URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFails safely\u003c\/strong\u003e: if the task fails, the workflow stops and returns an error message.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eE-commerce catalog automation\u003c\/strong\u003e: prepare product images with transparent backgrounds for listings and ads.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMarketing asset pipelines\u003c\/strong\u003e: standardize image backgrounds before pushing creative files to downstream tools.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContent operations\u003c\/strong\u003e: batch-process images by swapping the manual trigger for a trigger that supplies \u003ccode\u003eimage_url\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS workflows\u003c\/strong\u003e: integrate background removal into an upload-to-results flow where the result is passed along as binary data.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuth\u003c\/strong\u003e: create an AIGenTools API key and use an n8n \u003cem\u003eHeader Auth\u003c\/em\u003e credential sending \u003ccode\u003eAuthorization: Bearer \u0026lt;your_key\u0026gt;\u003c\/code\u003e for both requests.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes used\u003c\/strong\u003e: \u003ccode\u003eSet\u003c\/code\u003e, \u003ccode\u003eWait\u003c\/code\u003e, \u003ccode\u003eSwitch\u003c\/code\u003e, \u003ccode\u003eSticky Note\u003c\/code\u003e, \u003ccode\u003eHTTP Request\u003c\/code\u003e, \u003ccode\u003eStop\u003c\/code\u003e, and \u003ccode\u003eError\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBehavior\u003c\/strong\u003e: submits background-removal, polls until task completion, downloads the transparent PNG when ready.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup tip:\u003c\/strong\u003e replace the sample \u003ccode\u003eimage_url\u003c\/code\u003e with your own input source (or use a webhook\/other trigger that provides \u003ccode\u003eimage_url\u003c\/code\u003e).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45974302163123,"sku":"N8N-19311","price":14.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/TCwFkhe-n1vTpryOzJca2_0kxKux6d.png?v=1788771759","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-remove-image-backgrounds-via-aigentools-api","provider":"N8N Commerce","version":"1.0","type":"link"}