GET
/v1/schemas/fal/image/fal-ai/vecglypher/image-to-svg
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracefd39b2e17d0aeae486f330ae24593513b3959c4829d88bafb134587032e3287b{
"fetchedAt": 1783330412,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
13 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| reference_image_urls* | string[] | URLs of reference glyph images whose style should be matched. Provide 1 to 8 images of individual glyph characters. | items ≥ 1 · items ≤ 8 |
| prompt* | string | The target text to generate as vector glyphs, styled to match the reference images. | |
| enable_safety_checker | boolean | Enable input safety checking. | default: true |
| temperature | number | Sampling temperature. | 0 ≤ n ≤ 2 · default: 0.1 |
| output_size | integer | Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved. | 64 ≤ n ≤ 4096 · default: 512 |
| stroke_width | number | Stroke width in SVG units. Only applies when stroke_color is set. | 0.1 ≤ n ≤ 50 · default: 1 |
| top_k | integer | Top-k sampling parameter. | -1 ≤ n ≤ 100 · default: 5 |
| fill_color | string | Fill color for the generated glyphs. Accepts any valid SVG/CSS color value. | default: "black" |
| max_tokens | integer | Maximum tokens to generate. | 256 ≤ n ≤ 16384 · default: 8192 |
| repetition_penalty | number | Repetition penalty. | 0 ≤ n ≤ 2 · default: 1 |
| top_p | number | Top-p (nucleus) sampling parameter. | 0 ≤ n ≤ 1 · default: 0.95 |
| stroke_color | string | Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path. | nullable |
| seed | integer | Random seed for reproducibility. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/vecglypher/image-to-svg","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}