Vectroy
REST API

Vectorization as an API

One HTTP endpoint converts raster artwork into production-ready vectors. Perfect for storefronts, print servers, and automated pipelines.

  • Plain REST — multipart in, JSON out
  • Async jobs with polling or webhooks
  • Same credit balance as the web app
  • Failed jobs are never charged

One request, done

curl -X POST https://vectroy.com/api/convert \
  -H "Authorization: Bearer $VECTROY_API_KEY" \
  -F "file=@logo.png" \
  -F "removeBg=true" \
  -F "upscale=2x"

# → { "jobId": "job_...", "state": "queued" }

curl https://vectroy.com/api/jobs/job_...

# → {
#      "state": "completed",
#      "progress": 100,
#      "returnvalue": { "convertedFileUrl": "https://.../result.svg" }
#    }

Endpoints

POST/api/convert

Vectorize an image

Upload a PNG, JPG, or WEBP and get back an SVG. Supports removeBg and upscale options in the same call.

Auth: Session or Bearer token

POST/api/batch/create

Create a batch job

Queue many files at once. Returns a job id you poll for progress and per-file result URLs.

Auth: Session or Bearer token

GET/api/jobs/[id]

Poll job status

Returns state, progress, and the converted file URL at returnvalue.convertedFileUrl once complete.

Auth: Session or Bearer token

GET/api/credits

Check credit balance

Current remaining credits for the authenticated account, plus the cost table for each operation.

Auth: Session or Bearer token

Built for pipelines

One endpoint, every tool

Vectorize, remove backgrounds, and upscale in a single request instead of chaining three services.

Credit-cost transparent

Every operation has a published credit cost. Check the balance before you start a job.

Async by default

Every conversion returns a job id. Poll it, or subscribe to webhooks for push notifications.

Plain REST

Multipart form uploads in, JSON out. Works with curl, fetch, axios, and anything that speaks HTTP.

Prepaid volume packs

API pricing
Packs top up the same credit balance the web app uses — one wallet for both. Vectorize costs 1.00 credit per file, Remove Background 0.35, and Upscale 0.75; failed jobs are refunded automatically.
Prepaid file packs with Vectroy credit allowances. Pack USD pricing is being finalized.
PackVectroy creditsExpirationEligible onVectroy priceAction
10-file pack10 files10 creditsOne-timeNot published yetWebsite + APIComing soon
50-file pack50 files50 creditsOne-timeNot published yetWebsite + APIComing soon
200-file pack200 files200 creditsOne-timeNot published yetWebsite + APIComing soon
Team pack1,000 files1,000 creditsOne-timeNever expireWebsite + APIComing soon
Workshop pack5,000 files5,000 creditsOne-timeNever expireWebsite + APIComing soon
25k API pack25,000 files25,000 creditsOne-timeNot published yetAPI balanceComing soonRequest quote
100k API pack100,000 files100,000 creditsOne-timeNot published yetAPI balanceComing soonRequest quote
Platform API10,000+ files10,000+ creditsPer month minimumNot published yetSelf-serve + APIComing soonRequest quote

Pack USD pricing is being finalized — request a quote for volume pricing in the meantime. Credit amounts are the allowance for the same volume of work.

Platform API — sustained volume

Pipelines above 10,000 files per month move to the Platform tier, which applies a monthly minimum and combines self-serve with API access. Contact sales for current platform pricing.

Contact sales

Frequently asked questions

How does authentication work?
Every request authenticates with either your session (first-party web apps) or a Bearer API key (server-to-server calls). The same account backs both, so the API draws from the same credit balance you see in the dashboard.
Which input and output formats are supported?
Input is PNG, JPG, or WEBP rasters. Output from /api/convert is production-ready SVG, with removeBg and upscale available as options in the same call. The web app additionally exports the machine-format set — DXF, DST, PES, JEF, G-code, EPS, PDF, and 3MF.
How are API jobs charged?
At the same published credit costs as the web app: Vectorize 1.00 credit per file, Remove Background 0.35, and Upscale 0.75. Combining options in one call charges each operation. Failed jobs are refunded automatically.
How do async jobs and webhooks work?
Every conversion returns a job id. Poll GET /api/jobs/[id] for state and progress, then read the result from returnvalue.convertedFileUrl when complete. Webhook push notifications are available for pipelines that should not poll.
What do prepaid packs cover?
Packs add credits to the same balance the web app uses — one wallet for both. The ladder on this page shows the planned pack sizes; USD pack pricing is being finalized, and web plans are available today on the pricing page.
What is the Platform API minimum?
For sustained pipelines above roughly 10,000 files per month, the Platform tier applies a monthly minimum and combines self-serve with API access. Contact sales to arrange it.
Can we buy packs today?
Not yet — API pack pricing is being finalized, so purchase buttons stay disabled. Email sales for a quote and we will follow up when pricing launches. The endpoints, authentication, and credit costs documented above are live.

Need higher volume?

Business and Enterprise shop plans include an API key, and the Platform API tier covers sustained volume. Tell us your monthly file count and we will recommend the right arrangement.