Developer guide
Best Image-to-SVG APIs for Converting Uploaded Artwork
An image-to-SVG API takes a PNG or JPG that a user uploads and returns vector shapes. Ideogram, Vectorizer.AI, Recraft and QuiverAI all offer one. They differ in how the file comes back, what formats you get, and how each conversion is billed.

Logo 1: source PNG

Logo 1: Ideogram SVG, Auto

Logo 2: source PNG

Logo 2: Ideogram SVG, Auto

Icon 1: source PNG

Icon 1: Ideogram SVG, Auto

Icon 2: source PNG

Icon 2: Ideogram SVG, Auto
We make Ideogram. We ran ten test images through Ideogram's endpoint and inspected every SVG it returned. We had no API credentials for the other three providers, so their entries describe their current documentation and prices, not tested output.
On flat logos and icons, Ideogram's Auto mode matched the source almost exactly with 5 to 18 shapes. Detailed drawings and photos were harder: spokes went missing, one fern cluster filled in, and photos became flat color areas.
Limits of this test We tested only Ideogram's API. Vectorizer.AI, Recraft and QuiverAI were not tested because we had no credentials, so this guide compares their documentation, not their output, and does not rank the four APIs.
Overview: Image-to-SVG APIs at a glance
Each row comes from the provider's own documentation and pricing pages, checked on November 23, 2026. Prices are in US dollars and can change.
| API | What it does | Input and delivery | Published price | Tested by us |
|---|---|---|---|---|
| Ideogram Vectorizer | Traces an uploaded or stored image into SVG with Simple, Detailed and Auto modes | PNG, JPEG or WebP up to 50 MB; returns a generation ID to poll, or calls a signed webhook | $0.10 per conversion | Yes: 16 conversions on 10 images |
| Vectorizer.AI | Bitmap tracing API with SDKs and a command-line client | Multipart upload; answers in the same request; SVG, EPS, PDF, DXF or PNG output | Credits on a monthly API plan: 1 credit per image, from $0.20 down to $0.05 per credit on 100,000 credits | No: we had no API credentials |
| Recraft | Vectorize tool inside a broader image and vector API | PNG, JPG or WebP up to 20 MB and 16 megapixels; answers in the same request | $0.01 per image, or $0.04 with Vectorizer Pro | No: we had no API credentials |
| QuiverAI | Converts an image to SVG with its Arrow models | Image URL or base64 up to 4096×4096; full JSON response or a stream of events | Prepaid tokens: Arrow 2 is $4 per million input and $20 per million output tokens | No: we had no API credentials |
Sources: Ideogram endpoint reference, Ideogram Vector, Vectorizer.AI API and pricing, Recraft vectorize reference and API pricing, QuiverAI reference and pricing.
Recraft's vectorizer is also offered on Replicate at $0.01 per image. That is another way to reach Recraft's model, with Replicate's own billing and terms, not a separate converter.
Method: How we tested
We made ten test images with Ideogram so that we had the rights to publish every input and output: two logos with small lettering, two flat icons, a pencil sketch, an ink drawing, a gradient illustration, a transparent sticker and two photos. The logos use the placeholder words “BRIEF ONE” and “BRIEF TWO.” Eight images were 1024 by 1024 pixels; the balloon illustration and the lake photo were 1216 by 832.
On November 23, 2026, we sent each image to Ideogram's endpoint once in Auto mode. We also ran Simple and Detailed on both logos and the ink drawing, for 16 conversions in total. The jobs ran one at a time against Ideogram's staging API, which uses the same request format as the public API.
For each SVG, we recorded:
- the price quote, the charge and the time from submitting to completion;
- the number of paths, colors and gradients, and whether it held text or an embedded image;
- a similarity score against the source, rendered at the same size;
- close-ups of small lettering and thin lines, and one real color edit.
The similarity score is SSIM on grayscale renders, where 1.0 means identical. It rewards a close visual match. It does not measure whether the shapes are pleasant to edit. The defect notes, such as missing spokes or a filled-in fern cluster, come from an AI-assisted review that a person has not yet checked.
Every quote was $0.10 and every job was charged $0.10. All 16 jobs completed on the first try, between 2.6 and 7.4 seconds after submission, including our polling interval of about two seconds. That timing comes from one staging session and is not a production latency figure.
Results: What the conversions looked like
| Image | Paths | File size | Similarity | What we saw |
|---|---|---|---|---|
| Logo, “BRIEF ONE” | 16 | 4 KB | 0.999 | Lettering kept as clean outlines |
| Logo, “BRIEF TWO” | 18 | 6 KB | 0.996 | Small curved serif letters kept their openings |
| Icon, paper plane | 5 | 1.5 KB | 0.999 | Each color is its own shape |
| Icon, coffee cup | 7 | 2.3 KB | 0.999 | Clean, with no stray shapes |
| Pencil sketch, bicycle | 770 | 408 KB | 0.859 | Several spokes dropped or broken; paper texture flattened |
| Ink drawing, fern | 3,003 | 1.6 MB | 0.967 | Fine fronds kept, but one cluster of white leaflets filled in dark gray |
| Illustration, balloon | 90 | 56 KB | 0.962 | Sky gradient kept as gradients; hairline gaps between shapes |
| Transparent sticker, rocket | 34 | 39 KB | 0.992 | Transparent area kept (79.8% in, 79.9% out) |
| Photo, teapot | 72 | 57 KB | 0.927 | Reduced to flat areas and gradients |
| Photo, lake | 549 | 481 KB | 0.832 | Reduced to flat areas and gradients |
No file contained live text, groups or an embedded raster image. Every SVG kept its source's canvas size. The logos and icons kept their white backgrounds as one full-size white shape, so those files are not transparent. The transparent sticker kept its transparency.

Pencil sketch: source PNG

Pencil sketch: Ideogram SVG, Auto

Ink drawing: source PNG

Ink drawing: Ideogram SVG, Auto

Illustration: source PNG

Illustration: Ideogram SVG, Auto

Transparent sticker: source PNG

Transparent sticker: Ideogram SVG, Auto
The ink fern shows a failure worth checking for. A cluster of white, outlined leaflets came out as one solid dark shape. A second renderer showed the same shape, so the fault is in the SVG itself.

Source PNG, enlarged 3×

Ideogram SVG, Auto, rendered at 3×

Source PNG, enlarged 3×

Ideogram SVG, Auto, rendered at 3×

Photo 1: source PNG

Photo 1: Ideogram SVG, Auto

Photo 2: source PNG

Photo 2: Ideogram SVG, Auto
The mode made little difference on clean logos. For both logos, Auto returned a file byte-for-byte identical to Simple. On the ink drawing, Auto matched Detailed: 3,003 paths and a similarity of 0.967, against 911 paths and 0.943 for Simple.

Source PNG

Simple

Detailed

Auto

Source PNG, close-up

Simple, close-up

Detailed, close-up

Auto, close-up
Results: Editing the SVG
A path count does not tell you how easy a file is to edit. So we changed one fill value in two files and rendered the result.
- In the first logo, 9 of 16 shapes shared the navy fill. Changing it recolored the mountains and the lettering together. Two gradient stops kept the old navy.
- In the paper-plane icon, only the tile used the teal fill, so it changed on its own.

Logo SVG, navy fill #192655

Same SVG, fill changed to #b3261e

Icon SVG, teal fill #23b3a4

Same SVG, fill changed to #6c3fc4
Shapes that share a color are recolored together. To change one part on its own, select it in a vector editor and give it a new fill.
API 1: Ideogram Vectorizer
Ideogram's image-to-SVG endpoint converts one PNG, JPEG or WebP per request,
up to 50 MB. You can also pass an image already stored in Ideogram. Choose
simple for fewer shapes, detailed for fine detail, or
auto. The reference also documents controls for shape density, color variety and
gradient fills. Output is private by default.
The conversion runs in the background. The request returns a generation_id:
curl --request POST \ 'https://api.ideogram.ai/v2/svg/vectorize/ideogram-vector-1' \ --header "Api-Key: $IDEOGRAM_API_KEY" \ --form '[email protected]' \ --form 'mode=auto'
Then check the job until its status is completed or failed:
curl --request GET \ "https://api.ideogram.ai/v2/generations/$GENERATION_ID" \ --header "Api-Key: $IDEOGRAM_API_KEY"
A completed job lists the SVG's URL and asset ID. Result links expire after 24 hours, so save
the file. You can instead pass a webhook_url. Verify each webhook's signature
against the raw request bytes, handle duplicate deliveries, and keep polling as a fallback: a
failed job sends no webhook, and delivery is not guaranteed. See the webhook guide.
Add dry_run=true to get a price quote without running or billing the job. Each conversion
is $0.10, as listed on the Ideogram Vector page. To convert images
by hand in the app, use the Ideogram Vectorizer tool. For how
the app compares with a dedicated tracer, see Ideogram vs Vectorizer.AI.
API 2: Vectorizer.AI
Vectorizer.AI is a bitmap tracing service with official SDKs, a command-line client and an HTTP API. Its quickstart uploads an image and writes the SVG returned by the same request. It also offers EPS, PDF, DXF and PNG output, and each extra format costs 0.1 credit.
Its test modes are free and return heavily watermarked results, so you can build the integration before paying. A production image costs one credit. Monthly API plans run from $9.99, about $0.20 per credit, down to $0.05 per credit on 100,000 credits. Storing results after the first day is opt-in and costs extra. The documentation asks clients to wait at least 180 seconds before timing out.
Not tested We had no Vectorizer.AI API credentials, and an unauthenticated request returned HTTP 401.
API 3: Recraft
Recraft's vectorize tool accepts PNG, JPG or WebP up to 20 MB and 16 megapixels and answers in the same request. It sits inside a broader API for making and editing raster and vector images. Result links last about 24 hours, and Recraft offers a zero-data-retention option.
Its API pricing lists vectorization at $0.01 per image. The API documentation lists $0.04 per image for Vectorizer Pro. A low price is not a statement about quality, so compare outputs on your own files.
Not tested We had no Recraft API key, and an unauthenticated request returned HTTP 401.
API 4: QuiverAI
QuiverAI's vectorize endpoint accepts an image by URL or as base64 and converts it with an Arrow model. It returns the full response as JSON or as a stream of events. Images can be up to 12 MB, 4096 by 4096 pixels and 16.7 megapixels. Automatic cropping is off by default.
Billing is prepaid and counted in tokens, so there is no flat price per image. Arrow 2 costs $4 per million input tokens and $20 per million output tokens, and Arrow 2 Telos $6 and $30. The minimum purchase is $10, and credits expire after a year. Record the model and token use when you compare costs.
Not tested We had no QuiverAI API key, and an unauthenticated request returned HTTP 401.
Decision: How to choose an image-to-SVG API
| If | Then |
|---|---|
| Your users upload logos and icons | Test small lettering and thin strokes first. On our flat logos and icons, Ideogram's Auto mode matched the source closely with 5 to 18 shapes. |
| You need EPS, PDF or DXF as well as SVG | Vectorizer.AI documents those formats in the same request. Ideogram and Recraft return SVG. |
| Your request must return the file directly | Vectorizer.AI and Recraft answer in the same request. Ideogram runs the job in the background and returns a generation ID. |
| Cost per image is the deciding factor | Recraft lists $0.01 per standard conversion. Measure quality on your own files before treating price as the only difference. |
| Uploads are photos | None of these is a photo filter. In our test, photos became flat areas and gradients, which can suit a poster style but not a faithful copy. |
Before you commit, run your own sample through each candidate:
- Collect real uploads, including small type, transparent backgrounds, gradients and messy scans.
- Compare each SVG with its source at full size and in close-up.
- Open the file in the editor your users have, and try one recolor and one deletion.
- Plan for timeouts, failed jobs and retries, and verify any webhooks.
- Price failed and repeated jobs as well as successful ones.
- Read the data retention and privacy terms for the API you will call.
Method: Limits of this test
Ten images and one run each cannot rank converters. We tested only Ideogram, on its staging API, because we had no credentials for the other three. The inputs were made with Ideogram, so they may be cleaner than real customer uploads. Similarity scores come from one renderer, not a browser, and the timings are not production latency.
Generating the ten test images also hit errors: eight first requests returned HTTP 500 and nine background jobs failed before retries succeeded. The 16 conversions themselves had no failures.
For an independent view that includes other routes, Prompt and Render published its own image-to-SVG API test in November 2026.
Reference: FAQs
Does an SVG guarantee editable artwork?
No. SVG is a container format. A useful conversion holds vector shapes that someone can select and change. Check the file for embedded raster images, and try a real edit in the editor your users will use. Every file in our test held only filled shapes and no embedded images.
Will the words in a converted logo stay editable as text?
Usually not. Tracing turns letters into outlines. Outlined letters can be resized and reshaped, but you cannot retype them. None of the 16 Ideogram conversions in our test contained live text. Keep the original wording and font when future changes matter.
Can I use the Ideogram API to convert an image to SVG?
Yes. The image-to-SVG endpoint accepts a PNG, JPEG or WebP up to 50 MB and starts a background conversion. It returns a generation ID that you poll, or it calls your webhook when the SVG is ready. A conversion costs $0.10.
Is a generated vector the same as a vectorized image?
No. Vectorizing starts with an existing image and rebuilds it as shapes. Prompt-to-vector generation draws new artwork, so the result can differ from any source you supply. Our comparison of AI vector generators covers the prompt route.
Can an image-to-SVG API convert a photo?
It can, but the result is a stylized version. In our test, two photos came back as flat color areas and gradients, with visible banding and hairline gaps between shapes. Use the original photo where photographic detail matters.
Try image to SVG through the API
Read the endpoint reference, request a free price quote, and convert your first file.

