The VectorArt.ai API: text to SVG and image to SVG

Generate SVG vector art from a text prompt, convert images to SVG and remove backgrounds from your own software. Pricing depends on your volume, so tell us what you are building and we reply by email.

Ask about API access

Who uses an SVG generation API

  • Print-on-demand shops

    Let customers describe a design and get a vector file that prints cleanly at any size.

  • Sign, vinyl and laser-cutting software

    Turn a customer's logo or photo into an SVG your cutter or engraver can follow.

  • Design and website tools

    Add prompt-to-SVG icons, illustrations and logos to your own editor.

  • Agencies and content teams

    Make icons and illustrations in bulk from a list of prompts instead of one at a time.

What the API does

Every request carries your API key as a bearer token. Answers are JSON, and finished files are returned as links.

  • Generate SVG from text POST /api/image/create

    Send a prompt and an optional style (simple, logo, icon, line-art, low-poly, pixel-art, isometric, artistic and more). The image is drawn by an AI model and traced to SVG. Then ask /api/image/status for the link to the SVG file.

  • Convert an image to SVG POST /api/image/vectorize

    Send an image as a base64 data URL (up to 10 MB). The answer holds a link to the traced SVG.

  • Remove a background POST /api/image/remove-background

    Send an image and get back a link to the same image with its background removed.

Example: a text prompt to an SVG

1. Create the image

curl -X POST https://vectorart.ai/api/image/create \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "a fox reading a book", "mode": "simple"}'

Response

{"status": "ok", "identifier": "<identifier>"}

2. Get the SVG link

curl -X POST https://vectorart.ai/api/image/status \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{"identifier": "<identifier>"}'

Response

{
  "status": "done",
  "svg": "<svg-id>",
  "url": "https://imagedelivery.net/.../<svg-id>/orig"
}

The create request returns once the SVG is made. Ask for the status until it is done or error. The documentation lists every parameter.

How to get access

  1. 1. Tell us what you are building

    Use the form below. A few sentences and a rough monthly volume are enough.

  2. 2. Get a price by email

    Pricing depends on volume and on which endpoints you use. We reply by email with a price for your project.

  3. 3. Start calling the API

    Your API key appears on your account page. The documentation shows every parameter.

Need a few images for yourself rather than an integration? The regular plans may suit you better.

Ask about API access

There is no fixed API price: it depends on your volume and on which endpoints you use. Send this form and we reply by email with a price for your project.

What do you need? (optional)

Prefer email? contact@vectorart.ai

Questions

Is there an API for generating SVG files from text?
Yes. POST a text prompt to /api/image/create with your API key as a bearer token. The image is drawn by an AI model and traced to SVG, and /api/image/status returns a link to the SVG file.
Can the API convert a PNG or JPG to SVG?
Yes. POST the image as a base64 data URL to /api/image/vectorize, up to 10 MB, and the answer holds a link to the SVG.
How much does the API cost?
Pricing depends on your monthly volume and which endpoints you use. Send the form on this page and we reply by email with a price.
How long does a request take?
A create or vectorize request returns when the work is done, so set your HTTP client's timeout to at least five minutes, the server limit. Each API key runs one text-to-SVG creation at a time.
Which styles can I ask for?
The mode parameter takes simple, logo, icon, line-art, low-poly, pixel-art, isometric, artistic, transparent or collection. With collection, auxMode picks one of the illustration styles listed in the documentation.