Files
DareFail-ComfyUI-Roboflow/tutorials/backgroundremoval.md
T
2024-09-25 10:06:03 -04:00

2.0 KiB

Background Removal Node in ComfyUI-Roboflow

1. Install ComfyUI-Roboflow

Follow the instructions in README.md

2. Add the Roboflow Remove Background Node

Right-click

Add Node -> Roboflow -> Remove Background

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

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.

6. Paste the information above into your node

7. Use your node

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

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

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