https://github.com/picsart/picsart-creative-apis-cli
Command Line Interface for Picsart Creative APIs. Includes Remove Background and Upscale.
https://github.com/picsart/picsart-creative-apis-cli
background-removal-software background-remover command-line command-line-app command-line-interface command-line-tool image-upscaler image-upscaling-software photo-enhance remove-background
Last synced: about 1 month ago
JSON representation
Command Line Interface for Picsart Creative APIs. Includes Remove Background and Upscale.
- Host: GitHub
- URL: https://github.com/picsart/picsart-creative-apis-cli
- Owner: PicsArt
- License: mit
- Created: 2024-11-25T09:01:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-13T15:47:36.000Z (about 1 year ago)
- Last Synced: 2025-04-03T04:23:35.299Z (11 months ago)
- Topics: background-removal-software, background-remover, command-line, command-line-app, command-line-interface, command-line-tool, image-upscaler, image-upscaling-software, photo-enhance, remove-background
- Language: JavaScript
- Homepage: https://picsart.io
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Image Processor CLI
A Command Line Interface (CLI) tool for removing backgrounds and upscaling images using the Picsart API.
## Features
- **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.
## Prerequisites
- **Node.js** (v14 or higher)
- **NPM** (comes with Node.js)
- **Picsart API Key**: You can obtain an API key from [Picsart API](https://console.picsart.io/).
## Installation
1. **Clone this repository**:
```bash
git clone https://github.com/eax-academy/cli-plugin
cd image-processor-cli
```
2. **Install the dependencies**:
```bash
npm install
```
## Usage
The `image-processor` CLI provides two primary commands:
1. `removebg`: Remove background from an image.
2. `upscale`: Upscale an image to improve quality.
### 1. Remove Background
To remove the background from an image:
```bash
node index.js removebg -i -o --apikey