Quickstart
1. Get an API key
Section titled “1. Get an API key”Sign up at snapchat-text-overlay-api.com and subscribe to a plan. Your API key will appear in your dashboard.
Or subscribe through RapidAPI and use your RapidAPI key instead.
2. Render an image
Section titled “2. Render an image”curl -X POST https://snapchat-text-overlay-api.com/v1/overlay \ -H "x-api-key: snap_live_your_key" \ -F "asset=@photo.jpg" \ -F "text=late checkout energy" \ --output rendered.png3. Render a video
Section titled “3. Render a video”curl -X POST https://snapchat-text-overlay-api.com/v1/overlay \ -H "x-api-key: snap_live_your_key" \ -F "asset=@story.mp4" \ -F "text=night one in miami" \ --output rendered.mp44. Transparent overlay PNG
Section titled “4. Transparent overlay PNG”curl -X POST https://snapchat-text-overlay-api.com/v1/overlay \ -H "x-api-key: snap_live_your_key" \ -F "width=1080" \ -F "height=1920" \ -F "text=late checkout energy" \ --output overlay.png5. Check the result
Section titled “5. Check the result”Open rendered.png, rendered.mp4, or overlay.png. You’ll get either rendered media or a transparent caption overlay, depending on whether you sent an asset.
What happened
Section titled “What happened”- You uploaded a file and caption text via multipart form data
- The API either rendered the overlay onto media or returned a transparent PNG overlay
- The binary file came back directly in the response body
- Metadata like render time and source type came back in response headers