RapidAPI
Snap-lay is available on the RapidAPI marketplace. Subscribe there to use your RapidAPI key instead of a direct API key.
Plans on RapidAPI
Section titled “Plans on RapidAPI”| Plan | Price | Requests/month |
|---|---|---|
| Basic | Free | 10 |
| Pro | $5/mo | 1,500 |
| Ultra | $25/mo | 15,000 |
Making requests
Section titled “Making requests”RapidAPI routes requests through their proxy. Use their host and your RapidAPI key:
curl -X POST https://snap-lay.p.rapidapi.com/v1/overlay \ -H "x-rapidapi-host: snap-lay.p.rapidapi.com" \ -H "x-rapidapi-key: your_rapidapi_key" \ -F "asset=@photo.jpg" \ -F "text=weekend mode activated" \ --output rendered.pngHow it works
Section titled “How it works”RapidAPI adds three headers to every request:
| Header | Purpose |
|---|---|
x-rapidapi-proxy-secret | Verifies the request came through RapidAPI |
x-rapidapi-user | Your RapidAPI username |
x-rapidapi-subscription | Your plan tier (BASIC, PRO, ULTRA) |
The API uses these headers to identify you and apply the correct rate limits. You don’t need to set these manually — RapidAPI adds them automatically.