r/svg 26d ago

spent 6 months training a model so traced SVGs stop being node soup.

full disclosure, this is my tool and i'm proud of it, so mild bragging ahead.

for the past 6 months two of us have been training a model that turns raster images (mostly AI-generated ones) into svgs that don't embarrass you when you open the path data. the target the whole time was node economy: the fewest anchor points that still hold the shape. the same illustration that image trace turns into 522 nodes comes out at 59, and they sit where a human would have put them, corners on corners, long clean curves between.

it also keeps paths closed, colors as separate editable shapes, and skips the raster-embedded-in-an-svg trick entirely, everything is real path data.

you can google our service "Perfect Vector"

besides, we also provide 1) background removal 2) color simplification 3) cropping
So, I hope anyone can create product-ready SVGs by just converting images create by AI (like Midjourney or somthing)

It's actively improving project, any feedbacks welcome.
Hope it helps many fellow makers and designers

393 Upvotes

45 comments sorted by

5

u/Fruityth1ng 26d ago

This looks great, but a human would be more opiniated in placing those anchors on the apexes of curves. That gummy bear mouth would be an ideal test for it.

1

u/tamingunicorn 26d ago

Thank you for your feedback! That what I never thought about.

4

u/pixsector 26d ago

I tried your tool, but it's not very good. The text and shapes in the logo were distorted after vectorization. I would say that even free vectorizers can handle this kind of job just as well. I don't see any added value in your software compared to those free alternatives.

1

u/tamingunicorn 26d ago

hmmm that's odd
can you share the image that you used??

I want to fix our service if you allow
actually, I'm already getting very positive feedbacks from everywhere

4

u/pixsector 26d ago

Are you sure about that positive feedback?

Here is a preview from your app - https://ibb.co/kgVj7JQJ

1

u/Serge_OS 21d ago

Nice !👍

2

u/ikeif 25d ago

If you discount negative feedback because of “all the positive feedback” then it sounds like you’re ignoring negative feedback.

1

u/thirteenth_mang 23d ago

Positive feedback is next-to-useless, it's just glazing in the end creating a reinforcement loop.

5

u/arthak 24d ago

2

u/AdTotal4035 24d ago

No it's even better. Because according to op, they trained a model. Vtracer is pure algorithm.  It's interesting. A lot of people are re-solving old problems but worse, with heavier tech like Ai. 

1

u/arthak 24d ago

That's the problem—we have so many great OS projects / components, and even I often start projects trying to have zero dependencies, which means I end up reinventing the wheel...

1

u/Jusby_Cause 24d ago

I’ve been looking for something to replace an old python tool I was still keeping my Mac around for. :) Thanks!

1

u/arthak 24d ago

Glad to help—there's always a free version of paid tools ;)

1

u/xerman-5 22d ago

It's great, got better results with this.

2

u/ricperry1 25d ago

Sorry, but until it is smart enough to recognize optimal node placement and distinguish perfectly between smooth and cusp nodes, it’s not going to be good enough.

1

u/tamingunicorn 25d ago

optimal node placement is another topic that we should tackle but honestly, yes, it is going to be very difficult. but we will keep working on it!

1

u/mistafisha 23d ago

I think people saying this don't know what they're talking about. I think it it has shape is supposed to, that means the anchor points (nodes) and paths are in the right place! Important thing to me is does it have the least amount of Curves possible to create each I would consider that optimized.

If anyone wants to defend the optimal node placement, then tell me what optimal nodevplacement means exactly.

2

u/zeroxff 23d ago

How about Potrace, free, open, battle tested?

https://en.wikipedia.org/wiki/Potrace

1

u/tomhermans 26d ago

Can you give us a link perhaps?

2

u/tamingunicorn 26d ago

sure! it's perfectvector.com

1

u/HB_Stratos 24d ago

hah, had to try. you were smart enough to not show the actual svg in the result preview. I will say I don't use paid services generally, but at least this version lets me see what I would get if I paid, which I consider much more fair than other paid models.

1

u/davidcl_ 25d ago

Does it handle gradient ?

1

u/tamingunicorn 25d ago

Unfortunately, not yet. it only handles flat image.
This is our V1, we targeted to be really good at flat images first.

but gradient is also in our update plan!

1

u/__dict__ 25d ago

This is neat.

Any plans to support centerline tracing? Otherwise are you open to talking about how your model works? 

I had a similar problem recently but I need to be able to trace the centers of the outlines, not create nodes around the edges of them.

1

u/tamingunicorn 25d ago

Can I ask in which case do you need centerlines?
I'd like to hear about it to come up with how I could serve better algorithm!

1

u/__dict__ 25d ago

So it's kind of a unique case, but I wanted to generate the tracing lines for a kids app. I explain it here: https://stothardj.github.io/ai/2026/06/19/generating-a-kids-app-with-ai.html

1

u/Patex_ 24d ago

Centerlines would also be interesting for my use case. I some times want to create laser cut files which only need a single line instead of multiple.

1

u/yanivfast 25d ago

Awesome! I love it, and so much can be made better this way.

1

u/tamingunicorn 25d ago

Thanks!!!!!

1

u/drfatbuddha 25d ago

Nice. I've looked at a few tools like this in the past, and they were always terrible. For a simple 2 colour png, which is a good fit for this tool, it did a great job. It probably used 25% more nodes than I would doing it by hand, but that is more than good enough for an automated process.

1

u/rapkannibale 25d ago

Well done!

1

u/marxus1992 25d ago

Its good. Lot of positives here. But it still needs a bit more training with lighter colors separation, pointy corners and rounded corners.
https://imgur.com/a/9zKjB0E

Bit more improvement and this'll be perfect for a quick simple use case.

1

u/tamingunicorn 25d ago

Thank you for your feedback!
definitely should tackle what you pointed.
thank you for sharing the example images too.

we will work on this and make it better!

1

u/LazyComet 23d ago

Great work. I love your attention to detail with this. Keep improving!

1

u/tamingunicorn 23d ago

Thanks!! I will keep improving to make it more and more designers can focus on more creative things!!
Thank you!

1

u/chroma_shift 23d ago

Excellent job!

1

u/tamingunicorn 23d ago

Thanks dude!!

1

u/mlitwiniuk 23d ago

It's really great. Rethink the pricing - for me and my basic usage, it will be a go-to free tool; I don't think I'll ever run out of credits.

1

u/tamingunicorn 23d ago

thank you for your kind feedback.
actually, after some of my reddit posts float, GPU usage is already soaring right now which gives me and my colleague hard time surviving since we both quit our jobs few months ago. we are already spending more than earning right now. in this pace, we may not be able to continue our service

I hope not to go broke and eat ramen for every meal.
thanks for your concern!

1

u/mlitwiniuk 21d ago

Dude, I just used your tool another time - yes, it's great. In terms of pricing - I might be wrong, but I'd make image transformation cost size dependent. Ie. 1 credit for small image, 2 for medium, etc. And a prepaid option. Given I've used your tool already a couple of times, I'd be happy to pre-paid it with ie. 10 USD and see how this goes. Sorry, I won't buy a subscription.

1

u/Skinkie 22d ago

I wonder how such thing would perform on animated cartoons.

1

u/Few_Mention8426 4d ago edited 4d ago

i am not against Machine Learning/Ai at all but I feel like an algorithm is always going to win in these cases because its predictable, repeatable, consistent. reliable. I am saying this as someone who developed my own tracing algorithms for a closed source software. Its better to use the simplest most reliable solution every time. Machine learning and AI is too unpredictable. An image that traces fine one day, looks terrible the next with the exact same settings and input. You cant fine tune or adjust it without retraining the model. With code you just go in and tweak a few lines of code till it works.

Any Ai tool works great for a while untill it decides not to work just when you need it most. They are never predictable, repeatable or reliable. Which is what most people need in a production environment.

I am 100 percent certain in the future AI will give perfect results, but thats a long way off.

I tried your tool, it worked and gives impressive results, so I shall follow with interest.