curl picwish in API

Good morning, I have the following curl from the picwish.com website.

curl -k 'https://techhk.aoscdn.com/api/tasks/visual/segmentation' -H 'X-API-KEY: {YOUR_API_KEY}' -F 'sync=1' -F 'image_file=@/path/to/image.jpg'

This web is to remove the background of an image, the problem is that the API they have does not allow to load multiple images, only one image, one image, one response.

Is it possible to make a development in javascript, node.js or php where I can get multiple responses and thus be able to load multiple images? has anyone done something similar to help me?