OmniSVG
SVG vector graphics generator
1 min readupdated
OmniSVG is a family of multimodal models for end-to-end generation of Scalable Vector Graphics. Built on top of Qwen2.5-VL-3B-Instruct (multimodal language model), the model can generate both simple icons and detailed SVG illustrations based on text descriptions or input images. The release includes 3B parameter model weights and targets designers, developers, and researchers.
Key features
- End-to-end generation: creation of complex SVG files without intermediate raster stages.
- Multimodality: support for both text-to-svg and image-to-svg tasks.
- Versatility: generation of objects ranging from simple icons to complex artistic images.
- Ready-to-use tool: support for running via scripts and an interactive Gradio interface.
What you can do
- Image to SVG conversion: converting raster images and sketches into vector format.
- Text-based generation: creating vector icons and illustrations from a text prompt.
- Demo launch: deploying a local interface to test the model capabilities.
Example
python inference.py --input_dir ./examples --output_dir ./output --task_type image-to-svg/text-to-svg --weight_path ./pretrained_models/OmniSVG-3BRead more
DetailsModel size: 3B parameters (takes up 8.49 GB)
VRAM requirements: about 17 GB VRAM for inference
License: Apache License 2.0
Dataset: MMSVG-2M (2 million annotated SVGs)










Comments