Help using cutout pro API
Hi! asking for help since I'm blank as polished ice on how to go on about this.
I have a short snippet from cutout.pro on how to implement their background removal tool, written in node.js
I do not know node.js so it's a bit greek to my eyes.
Link: https://www.cutout.pro/api-document/#api-mode-1--return-binary-stream
Now what I want to do, is on the admin panel I've created (see attached picture). I want my users to be able to remove the background from either a already uploaded image, OR on upload from my input element type="file".
But I do not know where to start, so hoping for a guideline on how to go on about this task.
Should I create a handler function in Next.js api folder? can I use axios ? is this all meant for people writing their own backend? I have supabase as my DB so I have no backend code I've written myself.
0 Replies