A Command Line Interface (CLI) tool for removing backgrounds and upscaling images using the Picsart API.
- Remove Background: Automatically removes the background from images using the Picsart API.
- Upscale Images: Enhances image quality by upscaling the image with various zoom levels.
- Node.js (v14 or higher)
- NPM (comes with Node.js)
- Picsart API Key: You can obtain an API key from Picsart API.
- Clone this repository:
git clone https://github.com/eax-academy/cli-plugin cd image-processor-cli
- Install the dependencies:
npm install
The image-processor
CLI provides two primary commands:
removebg
: Remove background from an image.upscale
: Upscale an image to improve quality.
To remove the background from an image:
node index.js removebg -i <input_image_path> -o <output_image_path_or_directory> --apikey <your_picsart_api_key>