infery
← All models

Image2svg

image2svg

Image editby infery

Image2SVG transforms raster images into clean vector graphics, preserving visual quality while enabling scalable, customizable SVG outputs with precise control over detail levels.

images

Details

Accepts
image

Pricing

Price
0.625 cr / image

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
modestringenum: spline, polygonMode: spline (curved) or polygon (straight lines)
colormodestringenum: color, binaryChoose between color or binary (black and white) output
image_urlrequiredstringThe image to convert to SVG
hierarchicalstringenum: stacked, cutoutHierarchical mode: stacked or cutout
filter_speckleintegerFilter out small speckles and noise
max_iterationsintegerMaximum number of iterations for optimization
path_precisionintegerDecimal precision for path coordinates
color_precisionintegerColor quantization level
corner_thresholdintegerCorner detection threshold in degrees
layer_differenceintegerLayer difference threshold for hierarchical mode
length_thresholdnumberLength threshold for curves/lines
splice_thresholdintegerSplice threshold for joining paths

Output

FieldTypeDescription
imagesarrayThe converted SVG file