background-removallisted
Install: claude install-skill verging-ai/agent-skills
# background-removal - AI Background Removal
Remove image backgrounds with AI via verging.ai. Returns transparent PNG.
## Command Format
```
/background-removal --image <image file or URL> [options]
```
## Options
| Option | Short | Description | Default |
|--------|-------|-------------|---------|
| --image | -i | Image file path or URL | Required |
| --api-key | -k | API Key | $VERGING_API_KEY |
| --output | -o | Save path for result | Current directory |
| --download | -d | Auto download result | false |
## Authentication
**Recommended:** `Authorization: ApiKey <your_key>`
```bash
# ✅ Recommended (canonical form)
curl -H "Authorization: ApiKey vrg_sk_your_key_here" https://verging.ai/api/v1/auth/me
# ✅ Also works (Bearer with API key is supported)
curl -H "Authorization: Bearer vrg_sk_your_key_here" https://verging.ai/api/v1/auth/me
```
Get your API key: https://verging.ai → Login → Avatar → API Keys
## API Reference (Exact Formats)
### 1. Check Credits
```bash
curl -H "Authorization: ApiKey $VERGING_API_KEY" \
https://verging.ai/api/v1/auth/me
```
Response: `{"email":"...","name":"...","credits":100}`
### 2. Create Background Removal Job (Multipart with file — direct upload)
```bash
# ⚠️ image is a FILE upload (@path) — server handles R2 upload internally
# ⚠️ You do NOT need to use /upload-video separately for background removal
curl -X POST https://verging.ai/api/v1/background-removal/create-job \
-H "Authorization: ApiKey $VERGING_API_KEY" \
-F "imag