Authentication
All API requests require authentication via a Bearer token in the Authorization header.
API Keys
Generate API keys from your dashboard. Each account can have up to 5 active keys.
Format
vs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAll keys start with the vs_ prefix.
Storage
Keys are hashed with SHA-256 before storage. We only show the full key once at creation — copy it immediately.
Limit
Maximum 5 keys per account. Delete unused keys to create new ones.
Using Your Key
Include your API key in the Authorization header of every request:
Authorization: Bearer vs_your_api_key_here
Requests without a valid key receive a 401 Unauthorized response.
Rate Limits
| Header | Description |
|---|---|
| X-RateLimit-Limit | Requests allowed per minute (default: 60) |
| X-RateLimit-Remaining | Requests remaining in current window |
| Retry-After | Seconds to wait when rate limited (429 responses) |
Credits System
Each API call deducts credits from your account. Credits are deducted before processing and automatically refunded on failure.
Vectorize
0.20 credits
Remove BG
$0.07
Upscale
$0.15
Every response includes a credits object with used and remaining balance. Credits never expire. Buy API credits.
Security Tips
- Never expose your API key in client-side code or public repositories.
- Use environment variables to store your key.
- Rotate keys regularly — delete old keys from your dashboard.
- Use separate keys for development and production.