You're looking at a specific version of this model. Jump to the model overview.
unityaisolutions /vectorizer:130ac05e
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Input raster image (PNG, JPG, etc.)
|
|
| color_mode |
None
|
color
|
Color processing mode
|
| hierarchical |
None
|
stacked
|
Hierarchical clustering mode
|
| filter_speckle |
integer
|
4
Max: 100 |
Remove speckles smaller than this size (0-100)
|
| color_precision |
integer
|
6
Min: 1 Max: 8 |
Color precision/number of colors (1-8, lower = fewer colors)
|
| layer_difference |
integer
|
16
Max: 100 |
Layer difference threshold (0-100, higher = fewer layers)
|
| corner_threshold |
integer
|
60
Max: 180 |
Corner detection threshold (0-180 degrees)
|
| segment_length |
number
|
10
Min: 3.5 Max: 50 |
Segment length for curve approximation
|
| splice_threshold |
integer
|
45
Max: 180 |
Splice threshold for curve simplification (0-180 degrees)
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}