Image-to-SVG AI: how vector graphics and vision models fit

13 steps · about 7 h 10 min · Intermediate

  1. 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.

  2. 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.

  3. SVG Tutorial (interactive, svg-tutorial.com, 1 h)

    Coding small SVGs yourself gives you a sense of how many tokens a complex drawing needs.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. Mixture of Experts (MoEs) in Transformers (article, Hugging Face, 25 min)

    Shows routers and experts in practice, building on the MoE basics.

  9. 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.

  10. Unlimited SVG technical blog (article, Baidu ERNIE multimodal team, 20 min)

    The creators' own explanation and case studies, now that you know the ingredients.

  11. 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.

  12. baidu/Unlimited-SVG (reference, Hugging Face (Baidu), 15 min)

    The model card gives the weights, licence and sampling temperature advice for trying it yourself.

  13. 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.