batchvector. Get started

API

Send your key as Authorization: Bearer vz_…. One credit per image. Errors are JSON {"detail": "…"} with the usual status: 400 bad input, 401 no key, 402 out of credits, 413 too large, 429 slow down.

One image

curl -H "Authorization: Bearer $KEY" -F [email protected] -F format=svg https://batchvector.com/v1/vectorize -o art.svg

format: svg, pdf, eps, dxf, or png (with png=amazon-merch | merchize-dtg | custom + png_width, png_height). Also background (edges, all, off) and detail (clean, balanced, detailed). The response is the file, with X-Credits-Remaining.

Batches

curl -H "Authorization: Bearer $KEY" -F [email protected] -F [email protected] -F formats=pdf,dxf -F png=amazon-merch https://batchvector.com/v1/batches
curl -H "Authorization: Bearer $KEY" https://batchvector.com/v1/batches/<id>
curl -H "Authorization: Bearer $KEY" https://batchvector.com/v1/batches/<id>/zip -o results.zip

Images and zips of images, up to 500 images and 95 MB of uploads a batch (send a bigger set as several batches). Credits for every image are taken when the batch starts; images that cannot be traced are given back when it finishes. At most 3 batches in progress per key.

Workspace results

GET /v1/batches returns your 20 most recent retained batches. Each item includes authenticated source and thumbnail URLs, a results map containing only generated formats, and the original dimensions and path count in report. Send the same bearer key when downloading these URLs; they are private to the owning account.

curl -H "Authorization: Bearer $KEY" https://batchvector.com/v1/batches
curl -H "Authorization: Bearer $KEY" https://batchvector.com/v1/batches/<id>/items/0/svg -o art.svg
curl -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"ids":["<first-batch-id>","<second-batch-id>"]}' https://batchvector.com/v1/batches/zip -o combined.zip

Combined ZIP downloads contain completed batches from the same account, in separate folders named by batch ID. Downloads do not consume credits. Retry a failed image by submitting its original to the existing conversion endpoint; there is no automatic resubmission after an uncertain network response.

Supported settings

GET /v1/capabilities needs no key and returns supported formats, background modes, detail presets, print PNG presets, configured batch size limits and retention time. The workspace uses these limits when splitting a selection into uploads.

Account

curl -H "Authorization: Bearer $KEY" https://batchvector.com/v1/account

Free preview

curl -F [email protected] https://batchvector.com/v1/preview -o preview.png

A PNG of the trace, at most 900 px on its long side. No key needed; limited per IP address per hour.