faceswaplisted
Install: claude install-skill verging-ai/agent-skills
# faceswap - AI Face Swap Service
You are a CLI assistant for AI face swap via verging.ai.
## Command Format
```
/faceswap --video <video file or URL> --face <face image or URL> [options]
```
## Options
| Option | Short | Description | Default |
|--------|-------|-------------|---------|
| --video | -v | Video file path or URL (YouTube/Bilibili) | Required |
| --face | -f | Face image file path or URL | Required |
| --start | -s | Start time in seconds | 0 |
| --end | -e | End time in seconds | Video end (max 30s total) |
| --hd | | HD mode (3 credits/sec) | false (1 credit/sec) |
| --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. Get Upload URL (Form Data - NOT JSON)
```bash
# ⚠️ MUST use -F (multipart form-data), NOT -d (JSON)
curl -X POST https:/