SVG.new

SVG.new API

AI-powered image to SVG vector conversion, editing, and batch processing.

Media & content#art--design

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

AI-powered image to SVG vector conversion, editing, and batch processing.

Endpoints 6

  • POSTConvert a raster image to SVG/api/agent/vectorizeUpload a base64-encoded PNG, JPG, or WebP image and receive a clean SVG vector. Costs 1 credit.
  • POSTChange colors in an SVG/api/agent/edit/recolorReplace colors in an SVG according to a color map. Free, no credit cost.
  • POSTReduce SVG color palette/api/agent/edit/simplifyQuantize colors in an SVG to a maximum count using median-cut. Free, no credit cost.
  • POSTRemove SVG background/api/agent/edit/remove-backgroundRemove background from an SVG using AI on the original raster image. Costs 1 credit.
  • POSTBatch vectorize images/api/agent/batchSubmit up to 50 images for async vectorization. Returns a batch ID to poll. Costs 1 credit per image.
  • GETGet batch job status/api/agent/batch/:idPoll the status of a batch vectorization job. Returns item-level status and signed SVG URLs when complete.

API details

Base URL
https://svg.new
Authentication
A bearer token in the Authorization header
Operations
6 operations on 6 pathsPOST 5GET 1
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 1.0.0

How to test the SVG.new API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the SVG.new API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Convert a raster image to SVG” (POST /api/agent/vectorize), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the SVG.new API?

AI-powered image to SVG vector conversion, editing, and batch processing. It is listed under Media & content and has 6 endpoints.

Who publishes the SVG.new API?

It is listed from SVG.new's public API description (an OpenAPI document), not published by SVG.new on Swastik Codes. Anyone who controls svg.new can claim the profile by adding a DNS TXT record.

What is the base URL of the SVG.new API?

Requests go to https://svg.new. Endpoint paths are added to this base URL.

How do I authenticate with the SVG.new API?

With A bearer token in the Authorization header.

How many endpoints does the SVG.new API have?

6 operations on 6 paths (5 POST, 1 GET).

Is forking the SVG.new API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.