API docs
Convert images to SVG from your app
The JPEGtoSVG.com API is designed for SaaS products, marketplaces, print workflows, and creator tools that need online vectorization for JPEG, JPG, PNG, WebP, photos, logos, and artwork.
Example request
curl -X POST https://jpegtosvg.com/api/public/convert \
-H "Authorization: Bearer jts_live_your_api_key" \
-F "file=@logo.jpg" \
-F 'settings={"mode":"logo","colors":8,"ignoreWhite":true}'Response shape
{
"jobId": "job_123",
"status": "completed",
"svg": "<svg ...>",
"fileName": "logo.svg",
"pathCount": 384,
"score": 91,
"outputSize": 42810
}| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/auth/register | Create a shared website/APK account. |
| POST | /api/auth/login | Login and receive cookie plus bearer token. |
| GET | /api/auth/me | Read the current authenticated session. |
| POST | /api/convert/image-to-svg | Shared single-image conversion endpoint. |
| POST | /api/convert/batch | Shared batch conversion endpoint. |
| GET | /api/conversions/history | Fetch authenticated conversion history. |
| POST | /api/share/create | Create a public share result from a saved conversion. |
| GET | /api/plans | Read shared Free, Pro, and Agency plan data. |
| POST | /api/subscription/upgrade | Start a shared plan upgrade flow. |
| POST | /api/public/convert | Agency API-key conversion endpoint. |