Files
2024-09-25 10:41:55 -04:00

2.9 KiB

Background Removal Node in ComfyUI-Roboflow

Screenshot 2024-09-25 at 10 04 25 AM

1. Install ComfyUI-Roboflow

Follow the instructions in README.md

2. Add the Roboflow Remove Background Node

Right-click

Add Node -> Roboflow -> Remove Background

Screenshot 2024-09-25 at 9 38 30 AM

3. Add the Roboflow Remove Background Template

In your Roboflow account, go to the workflow templates page and click "Remove the background from an image"

You can go directly to that template at this link: https://app.roboflow.com/workflows/embed/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ3b3JrZmxvd0lkIjoicm1hMklYUk5ycEhCMlhiM012MzkiLCJ3b3Jrc3BhY2VJZCI6ImtyT1RBYm5jRmhvUU1DZExPbGU0IiwidXNlcklkIjoiSW1GTElaU2tHYk55OXpiNFV1cWxNelBScHBRMiIsImlhdCI6MTcyNDgwNzExMH0.OampfxwhLEwetcgxV0W-XhC7nWQJq5WxQ9IYbVjyCMA

4. Click "Deploy Workflow" in the top right

Screenshot 2024-09-25 at 9 54 13 AM

5. Copy your API Key, workspace name, and workflow id

You can copy each part under the python section

Your API Key will look like this ***** but if you copy and paste it will be the actual API Key.

Screenshot 2024-09-25 at 9 54 04 AM

6. Paste the information above into your node

Screenshot 2024-09-25 at 10 04 13 AM

7. Use your node

I linked up a Load Image Node and sent the image out to a Preview Image Node.

You can find both under Right Click Add Node -> image -> Load Image Add Node -> image -> Preview Image

Screenshot 2024-09-25 at 10 04 25 AM

Repo Info

License

Distributed under the APACHE 2.0 License. See LICENSE for more information.

Contact (feel free to ask questions!)

Twitter: @darefailed

Youtube: How to Video coming soon

Project Link: https://github.com/DareFail/ComfyUI-Roboflow