Image-to-SVG AI: how vector graphics and vision models fit
13 steps · about 7 h 10 min · Intermediate
- Including vector graphics in HTML (guide, MDN Web Docs, 15 min)
Start with what SVG is: text markup describing shapes, which is exactly what the model has to output.
- Introduction - SVG (tutorial, MDN Web Docs, 1 h)
Hands-on coordinates, shapes, groups and paths show you the structure and layers the model has to generate.
- SVG Tutorial (interactive, svg-tutorial.com, 1 h)
Coding small SVGs yourself gives you a sense of how many tokens a complex drawing needs.
- Vision Language Models Explained (article, Hugging Face, 25 min)
Introduces the image encoder, projector and language decoder pattern that image-to-SVG models build on.
- Introduction to Vision Language Models (doc, Hugging Face smol course, 20 min)
A short, clear recap of how VLMs predict the next token from image and text inputs.
- seemore: Implement a Vision Language Model from Scratch (blog, Hugging Face (Avi Soni), 45 min)
Building a tiny VLM in PyTorch makes the encoder, projector and decoder concrete.
- Mixture of Experts Explained (article, Hugging Face, 40 min)
Explains why a model with billions of parameters can activate only a fraction per token, as Unlimited SVG does.
- Mixture of Experts (MoEs) in Transformers (article, Hugging Face, 25 min)
Shows routers and experts in practice, building on the MoE basics.
- DeepSeek-OCR: Contexts Optical Compression (article, arXiv (Wei, Sun, Li), 45 min)
The paper behind the idea of squeezing a large image into about a thousand vision tokens, which Unlimited SVG builds on.
- Unlimited SVG technical blog (article, Baidu ERNIE multimodal team, 20 min)
The creators' own explanation and case studies, now that you know the ingredients.
- baidu/Unlimited-SVG (repo, GitHub (Baidu), 30 min)
Read the README and the Transformers and vLLM inference scripts to see how the model is actually run.
- baidu/Unlimited-SVG (reference, Hugging Face (Baidu), 15 min)
The model card gives the weights, licence and sampling temperature advice for trying it yourself.
- Optical Context Compression Is Just (Bad) Autoencoding (article, arXiv, 30 min)
A critical paper to finish, so you can question the vision-token compression claims instead of taking them on trust.