Fast, scalable API for batch watermarking images
All endpoints require an API key in the X-API-Key header.
# Test your API key
curl -H "X-API-Key: test_api_key_123" http://localhost:3001/status
curl http://localhost:3001/health
curl -H "X-API-Key: your_key" http://localhost:3001/status
curl -X POST -H "X-API-Key: your_key" \ -F "image=@image.jpg" -F "watermark=@watermark.png" \ -F "position=bottom-right" -F "opacity=50" -F "scale=25" \ http://localhost:3001/api/v1/watermark
curl -X POST -H "X-API-Key: your_key" \ -F "images[]=@image1.jpg" -F "images[]=@image2.jpg" \ -F "watermark=@watermark.png" \ http://localhost:3001/api/v1/watermark/batch
curl -H "X-API-Key: your_key" http://localhost:3001/api/v1/usage
curl -H "X-API-Key: your_key" http://localhost:3001/api/v1/usage/credits
curl -H "X-API-Key: your_key" http://localhost:3001/api/v1/payments/plans
curl -X POST -H "X-API-Key: your_key" \
-H "Content-Type: application/json" \
-d '{"credits": 1000, "successUrl": "https://example.com/success", "cancelUrl": "https://example.com/cancel"}' \
http://localhost:3001/api/v1/payments/checkout
# Free tier (50 credits) X-API-Key: test_api_key_123 # Paid tier (1000 credits) X-API-Key: paid_api_key_456