GET

/v1/schemas/fal/image/fal-ai/image2svg

kind inputactivity imagehash 2e682c2c…extracted Jul 6, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
ad8349e022aee4171f1576c825cae4000ac4bd18082e300080075d42964b40cd
{
  "fetchedAt": 1783329487,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

12 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
image_url*stringThe image to convert to SVG
max_iterationsintegerMaximum number of iterations for optimization1 ≤ n ≤ 20 · default: 10
filter_speckleintegerFilter out small speckles and noise0 ≤ n ≤ 20 · default: 4
color_precisionintegerColor quantization level1 ≤ n ≤ 10 · default: 6
corner_thresholdintegerCorner detection threshold in degrees0 ≤ n ≤ 180 · default: 60
modeenumMode: spline (curved) or polygon (straight lines)spline | polygon · default: "spline"
path_precisionintegerDecimal precision for path coordinates1 ≤ n ≤ 10 · default: 3
length_thresholdnumberLength threshold for curves/lines0 ≤ n ≤ 10 · default: 4
splice_thresholdintegerSplice threshold for joining paths0 ≤ n ≤ 90 · default: 45
hierarchicalenumHierarchical mode: stacked or cutoutstacked | cutout · default: "stacked"
colormodeenumChoose between color or binary (black and white) outputcolor | binary · default: "color"
layer_differenceintegerLayer difference threshold for hierarchical mode1 ≤ n ≤ 32 · default: 16

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/image2svg","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}