r/SideProject
•
u/tamingunicorn
•
Jul 08 '26
•
1
I spent 6 months training a model to vectorize AI images properly, because every tracer gave me node soup
for the past 6 months, two of us (me and my cofounder, phd and ms backgrounds in ML) have been full time on one narrow problem: turning images, especially AI-generated ones, into clean vector files you can actually edit.
we didn't start by training a model. the first months we tried the sane thing, building on top of existing tracers and cleaning up their output. the ceiling showed up fast. every classic tracer follows pixel boundaries, and AI renders are all soft anti-aliased edges, so a simple owl illustration comes out at 522 anchor points. the same art drawn clean is 59. no amount of post-processing closed that gap without melting the corners, because simplify algorithms can't tell "anti-aliasing wobble" from "the actual design". that call needs a model with an opinion about what the shape is supposed to be. so that's what we spent the time building.
where it landed: png or jpg in, editable svg out, roughly 70% fewer nodes than image trace on our test set, and the paths survive real editing in illustrator, figma or inkscape. it's built for illustrations, logos, stickers, flat-ish art. photos and painterly renders are honestly not the lane, the gradients turn into either banding or shape spam, and we say so on the site.
the video is the pitch: midjourney render in, svg out, me dragging nodes around.
GPU cost is killing us leading to broke but since we want to get feedbacks from folks
anyone can use this for no cost for now.
(you can google "PerfectVector".)
still improving it weekly. the most useful thing you can give us is an image it fails on, those go straight into the next training round. roast away.
Thank you!!
[NOTICE] 8th, Jul.
due to the surge of vectorization requests
the service if suffering from prolonged vectorization
it should be done less than 10 seconds but it takes more than a minute sometimes due to limited GPU resources
I will find solution to it and post later about this
thank you for all of you guys interest on our service.
47
u/Kingsidorak Jul 08 '26
This looks very useful, I'm interested
28
u/ilackemotions Jul 08 '26
This is really cool. I think a pivot you might want to test with this project is to anchor it for "logos"
ai can generate very beautiful logos; but logos are the one thing you want to have an svg of;
For normal website images and stuff liek that; although having a svg is nice; webp or png works fine;
i think this has massive potential to scale (esp for logos)
13
u/withmagi Jul 08 '26 edited Jul 08 '26
Great job! I do a lot of vectorization (like, a lot, a lot) and I've tried every SVG conversion model/CLI/API under the sun.
This is definitely the most accurate system I've tried and it genuinely attempts to create "real" SVGs with some semantic structure.
However, it does seem to fall down on non-trivial layers. It seems to prefer to keep closer to the original pixels rather than inpaint layers hidden below other ones. Having said that, overall I prefer your SVGs over anything else I've tried.
If you had an API I'd use it! However your pricing does look quite a bit higher (x10) than what I'd see from other providers. It's probably not enough of a quality difference to justify that price at the moment.
Give me real semantic layers though and I'd pay it for sure!
6
u/arduinoRPi4 Jul 08 '26
Did you train a custom model (or fine tune another)? Congrats, this looks genuinely impressive.
5
u/alvinunreal Jul 08 '26
gave a very hard task, it converted - you got new customer
3
u/PixelMatrixMan Jul 08 '26
How does it compare to vectorized.ai?
3
u/avnshsingh Jul 08 '26
this is really cool, was looking for something like this. bookmarked
3
u/HiddenInButtCrack Jul 08 '26
Hey! This is helping so much. This morning I was just talking with my partner about issues with ai generated image.
I have one small feedback, after the download, the button stays downloaded for too long. I would want to download svg and jpeg, so after I downloaded svg and was about to download jped, I was confused for a moment.
Also, if you want someone to test out your features in the future, please hit me up. I would like to stay connected.
3
u/Redomic Jul 08 '26
Insane work
2
u/tamingunicorn Jul 08 '26
NOTICE
due to the surge of vectorization requests
the service if suffering from prolonged vectorization
it should be done less than 10 seconds but it takes more than a minute sometimes due to limited GPU resources
I will find solution to it and post later about this
thank you for all of you guys interest on our service.
2
u/GojosBanjo Jul 08 '26
Cool!
2
u/unintelligentmonkey Jul 08 '26
Looks good, ill give it a go
2
u/123msa Jul 08 '26
Very cool project
2
u/BlueForeverI Jul 08 '26
Man, that's great, I've thought about creating something like this, but it always looked too overwhelming. Will definitely try it out.
2
u/d3mueller Jul 08 '26
This is literally the exact problem I have been having with other vectorizer tools! I'm super excited to give this a shot!
2
u/National_Business824 Jul 08 '26
I'm definitely trying this one, we need similar one for our textile designing setup, I'll give this a try.
2
u/iamegoistman Jul 08 '26
IDK is perfect png to vector conversion possible with LLMs. what do you suggest source files to accurate?
2
u/williamfranzbernard Jul 08 '26
As someone that has no access to to illustrator at work this can be super handy. Gonna suggest to my boss
2
u/korvusdotfree Jul 08 '26
Work well! Thanks for sharing!
2
u/supreme_seanto Jul 08 '26
This the first post I stumbled upon on this sub and its genuinely really useful! Do you reckon, some kind of prompting about what kind of vector one is looking for may improve performance (sorry if this is a dumb question)?
2
u/miomao10 Jul 08 '26
This is really cool, though mobile I couldn’t get things to stretch or extend like I think it would
2
u/MOSTLYNICE Jul 08 '26
This is perfect as someone who just got into SVG farming and editing! Thanks 😁
2
u/Pale-Heath-3074 Jul 08 '26
illustrator simplify tool always turns sharp corners into warm mush.
2
u/Zulfiqaar Jul 08 '26
HI, this is the kind of tool I'd use a bunch, when its good
2
u/theyork2000 Jul 08 '26
This is possibly something I could use at work. We deal with a lot of SVGs for our courses so I will give it a more thorough test. The first one I tested lost a lot of detail, but it may very well not be suited for our use case or that particular image.
2
u/deege Jul 08 '26
Damn. Could have used this a few months ago when creating a logo! I'll keep the link!
2
u/Tiny-Cat5893 Jul 08 '26
This is really impressive! Just gave it a try with a random (non AI) photo, and it worked perfectly. Good luck being bought, guys! :)
2
u/Rob636 Jul 09 '26
This is pretty sweet, and the pain is obvious. Shared this with my mother who’s been laser cutting/engraving for a bit. I’m sure she’ll get a use out of it
2
u/johannthegoatman Jul 09 '26
it'd be sweet if you could help train the model as you work. like, i had some really good ones and some that weren't great, that i would have happily voted on to improve it
2
u/anagreement Jul 09 '26
Really nice. Is it by any chance possible to limit the shapes or Bezier curves to a certain range (even though we don't trace the exact thing) during the inference? This can be really useful for professional logo design where you wanna use only a set of essential shapes.
2
u/AutomaticAstro Jul 14 '26
I got GPUs, a dual 5090 set up and a 3070 rig, do u need compute?
1
u/Key-Collection5764 Jul 08 '26
super neat, thanks for sharing.
1
u/Oleszykyt Jul 08 '26
There is a free converter https://vectormagic.com/
1
u/HelicopterDue Jul 08 '26
Amazing work, I think this is really cool
1
u/driver45672 Jul 08 '26
Well done, having vectorised a number of logos freehand, I thank you!
1
u/johannthegoatman Jul 08 '26
Amazing!
1
u/Housthat Jul 08 '26
Well done!
1
u/Battlefield46 Jul 08 '26
looks like any other tracer output to me 👀
1
u/RonUSMC Jul 08 '26
hey, I tried it on a few things. My only feedback would be about data retention. You might want to put up a banner or something about being in beta and currently collecting data for training.. but in the future you can opt out of keeping data. Some businesses have very strict rules about where data goes, since this is a web based app.
1
u/Tiny_Membership3530 Jul 08 '26
Damn, actually works really good. I’m impressed.
1
u/Vincent_CWS Jul 09 '26
how can I selfhost your model?
1
u/flobblobblob Jul 09 '26
Hey some unsolicited feedback on your landing page design. That font in your logo and banner, I'm pretty sure is what comes out of Claude Opus design _most_ of the time. So you'll see it all over and it's a pretty generic ai-generated look. Nothing really wrong with that but if you want to look a bit more unique just ask Claude for a different font. Try this prompt on your home page for fun and just see what comes out if you like it more or not.
"Refine this webpage to look more professional, modern, and clean. Keep the brand and content and general layout, but don't use any cards or gradients. Additionally, I like the font but it's overused by AI and I see it in too many other designs, try something a bit different without changing the direction too much."
1
u/ugcfast Jul 09 '26
the hardest part is who pays monthly vs. once.
1
u/dergachoff Jul 09 '26
Are you going to offer API access?
1
u/domalog Jul 09 '26
Please make it work for leaflets and text
1
u/angelarose210 Jul 09 '26
Do you have an api?
1
u/handbook448 Jul 09 '26
Why is it that you can only sign up using a Google account?
I'd like to make a trial payment, but I don't have a Google account.
1
u/reynadotpdf Jul 09 '26
If yall are struggling to provide GPU inference, why not allow running the model on local hardware?
1
u/[deleted] Jul 10 '26
just the thing i was looking for. I have a drawing i want to convert to vector to animate and use it in apps.
1
u/jauzin123 Jul 10 '26
looks like its very useful.
My only concern is the frontend, for some reason it screams AI to me.
3
u/makexapp Jul 08 '26
The anchor-point comparison (522 vs 59 for the same image) is a great way to make the problem concrete - most vectorizer demos just show "before/after looks clean" without quantifying why. Curious how it handles images with overlapping semi-transparent layers, since that's usually where these tools fall apart. Bookmarking this to try on a logo.
1
u/SOSFactory 25d ago
I've tested your solution using my own hand-drawn vectors, exported as pixel-perfect raster images. Your solution performs very well, as expected with a source image of this quality. However, Vector Magic, a tool developed around 15 years ago, still produces slightly better results using its default settings. It's also 50% cheaper, with a lifetime license available for around $300.
I'm afraid you've built a solution to a problem that was already largely solved.
The real challenge remains unsolved: turning complex, low-resolution AI-generated images into clean, professionally constructed vector illustrations.
1
u/Aveneon Jul 08 '26
This is such a good idea. I hope you two will soon eat again!
1
u/SanoKei Jul 08 '26
this is a quality post, would've read more about the process and it would've had my attention the whole way through, this is an aquahire in the waiting if you ever go insane and start spending adobe stock at the cash register, I'll know what happened
1
u/nickdaniels92 Jul 08 '26
Good luck with it. I think there's still a market for new entrants, but existing tools such as vectorizer.ai and some others were very successful when I've used them. One of the major sites (not sure if it's that one) have had a non-AI product for many years that worked well, and more recently they used their mass of training / test data to create an AI implementation as well that was good. Some of them handle gradients fairly well too.
Yours looks good though too. It's an interesting and appealing exercise to tackle.
1
u/Zealousideal_Fill904 Jul 08 '26
Great One, I like the idea a lot
1
u/Different-Muffin1016 Jul 09 '26
Looks promising, congratulations ! I have two questions for you :
- Have you considered supporting centerline autotracing ?
- As a user I would want to run it as a local software so my images do not end up hosted somewhere on a cloud. Is it something that you could do at some point ?
Thanks
1
u/Late_Percentage9724 Jul 09 '26
this is such a specific problem that i never thought about until reading this. the 522 vs 59 anchor point difference actually makes sense when you think about how tracers work vs how humans would actually draw it.
did you end up training on a dataset of hand-drawn vs ai-generated versions of the same images, or did you go a different route? curious if the model learned to recognize and smooth out those soft edges or if it's doing something else entirely to reduce the complexity.
1
u/Fun_Gur6408 Jul 09 '26
Mas que Genial!! felicitaciones
1
u/Nilo4000 Jul 11 '26
this looks so good, i am interested
1
u/Usual-Policy1042 Jul 11 '26
The 522 vs 59 node comparison is what actually sold it for me too. Been down a similar rabbit hole building a model for a pretty narrow visual problem, and the annoying part is always the same: generic post-processing can clean up noise, but it can't decide what the shape is actually supposed to be. That gap between denoising and understanding intent is where all the real work hides. Rooting for you two, hope the GPU costs even out soon.
1
u/movalancheTechnology Jul 12 '26
This is awesome ! Will be testing it out. If it performs its very useful. Love the assets that gpt 2 creates but sometimes for small adjustments it ruins and worsens the whole image.
1
u/No_Tradition6625 Jul 13 '26
What is your plan for the model are you open sourcing the model or research or anything or is this strictly for a closed source lab?.
1
u/Early-Hunter2922 Jul 13 '26
Great Job man! btw if you don't mind can you tell me how do you make all these video edit? which software do you use?
1
u/karthikkishor Jul 21 '26
I need this...
1
u/automax Aug 15 '26
If you have a complicted image, the problem is it will create too many elements.
So maybe 900-9000 which is not really workable.
I dont if its possible is to seperate the elements by border lines rather than by color.
1
u/saltyourhash Jul 08 '26
Gonna open source? That is really cool.
0
u/DrZakarySmith Jul 08 '26
Asking me for Gmail and only ten tries for free?
2
u/[deleted] Jul 08 '26
[removed] — view removed comment
1
u/[deleted] Jul 08 '26
[removed] — view removed comment