Vision Cortex
This page is auto-generated from model configurations. Last updated: 2026-09-03.
This reference lists all available Vision Cortex vectorization models and their parameters. Use these parameter names when calling the Generation API.
VTracer
Section titled “VTracer”Converts raster images to SVG format using VisionCortex VTracer with customizable vectorization parameters.
Model ID: model_visioncortex-vtracer
Capabilities: img2img
LLM Markdown: https://app.scenario.com/api/models/model_visioncortex-vtracer/markdown
| Parameter | Type | Required | Default | Min | Max | Allowed Values | Description |
|---|---|---|---|---|---|---|---|
image | file | Yes | - | - | - | - | Image to vectorize |
presetName | string | No | poster | - | - | bw, poster, photo, custom | Preset configuration. When using a preset, custom parameters are ignored. |
colorMode | string | No | color | - | - | color, binary, watershed | Color mode: ‘color’, ‘binary’ or ‘watershed’ (region-forming on the colour gradient; best for flat art). Only used with preset is Custom. |
colorPrecision | number | No | 6 | 1 | 8 | - | Number of significant bits for RGB channels (1-8). Higher values preserve more color detail. Phoenix param: colorPrecision. Only used with preset is Custom. |
layerDifference | number | No | 16 | 0 | 255 | - | Color difference between gradient layers (0-255). Phoenix param: layerDifference. Only used with preset is Custom. |
watershedDetail | number | No | 230 | 0 | 400 | - | Region count dial for the watershed color mode (0-400, each +25 roughly doubles the regions; values above 255 suit gradient-heavy content, pair with Hierarchical Mode Stacked). Only used with preset is Custom and Color Mode is Watershed. |
hierarchical | string | No | stacked | - | - | stacked, cutout | Hierarchical clustering mode: ‘stacked’ or ‘cutout’. Only used with preset is Custom. |
mode | string | No | spline | - | - | spline, polygon, pixel, none | Curve fitting mode: ‘spline’ (smooth curves), ‘polygon’ (straight lines), ‘pixel’ (pixelated), or ‘none’. Only used with preset=‘custom’. |
filterSpeckle | number | No | 4 | 0 | 128 | - | Discard patches smaller than X pixels. Only used with preset is Custom. |
cornerThreshold | number | No | 60 | 0 | 180 | - | Minimum angle (degrees) to be considered a corner (0-180). Only used with preset is Custom. |
lengthThreshold | number | No | 4 | 3.5 | 10 | - | Maximum segment length for curve smoothing (3.5-10). Only used with preset is Custom. |
spliceThreshold | number | No | 45 | 0 | 180 | - | Minimum angle displacement for splines (0-180 degrees). Only used with preset is Custom. |
simplify | number | No | 0 | 0 | 10 | - | Curve simplification tolerance in pixels (0 = unset). Around 1.0 roughly halves the SVG size with no visible change. Applies on top of any preset. |
binaryThreshold | number | No | 128 | 0 | 255 | - | Luminance cutoff for binary mode (0-255): pixels darker than this become black. Applies to the Black and white preset and to Custom with Binary color mode. |
adaptive | boolean | No | false | - | - | - | Binary mode: use adaptive (Bradley-Roth) thresholding instead of a fixed cutoff, for unevenly lit scans or photos of drawings. |
colorPaletteSize | number | No | 0 | 0 | 256 | - | Quantize the output palette to at most this many colors (0 = unset, minimum 2). Applies on top of any preset. |
colorPalette | string_array | No | - | - | - | - | Fixed list of hex colors (#RRGGBB); every region snaps to the nearest palette color. Applies on top of any preset. |