merahburam/vectorizer-v2 🖼️🔢❓✓ → 🖼️
About
Professional PNG to SVG vectorization with VTracer. Lightning-fast conversion with superior quality.
Example Output
Output
Performance Metrics
0.36s
Prediction Time
21.69s
Total Time
All Input Parameters
{
"image": "https://replicate.delivery/pbxt/NZy9bUgfmDMrd27HRutiVuwHmC9DInR2eqVsLLQLWtrehMzv/940.png",
"min_area": 50,
"threshold": 0.5,
"vectorizer": "vtracer",
"color_count": 8,
"optimize_svg": true,
"simplify_tolerance": 2
}
Input Parameters
- image (required)
- Input PNG/JPG image to vectorize into SVG
- min_area
- Minimum area for shapes (pixels)
- threshold
- Threshold for bitmap conversion (Potrace only)
- vectorizer
- Vectorization method
- color_count
- Maximum number of colors to extract
- optimize_svg
- Optimize SVG output (remove white backgrounds, simplify paths)
- simplify_tolerance
- Path simplification tolerance
Output Schema
Output
Example Execution Logs
Starting vectorization with vtracer:
- Color count: 8
- Min area: 50
- Simplify tolerance: 2.0
- Optimize SVG: True
Using VTracer (quality mode) - Rust-powered vectorization...
Processing 475x475 image with VTracer...
VTracer config: {'color_mode': 'color', 'hierarchical': 'stacked', 'mode': 'spline', 'filter_speckle': 2, 'color_precision': 8, 'layer_difference': 8, 'corner_threshold': 30, 'length_threshold': 2.0, 'max_iterations': 20, 'splice_threshold': 30, 'path_precision': 3}
VTracer CLI not found, trying Python API...
VTracer Python API successful! Output size: 252460 chars
Optimizing SVG output...
SVG optimization complete:
Paths: 580 → 580 (0 removed)
Size: 252460 → 257068 bytes (-4608)
✅ SVG created successfully (257090 characters)
🎨 File saved to: /tmp/vectorized_result.svg
📥 TO DOWNLOAD YOUR SVG:
Click the download button ⬇️ below this output
The SVG file will download directly to your computer
Perfect for use in design software, websites, or printing!
Version Details
- Version ID
710ceb70bc468d7ee6f252a16a7d9b60e9fbe24786965dbc2e808c2de38a5a32- Version Created
- August 22, 2025