falImage to imageComing soon
fal-ai/vecglypher/image-to-svg
fal-ai/vecglypher/image-to-svg is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Priced by usagePricing
$0.0065 per image. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The target text to generate as vector glyphs, styled to match the reference images. |
reference_image_urls required | URLs or files | — | URLs of reference glyph images whose style should be matched. Provide 1 to 8 images of individual glyph characters. |
temperature | number 0 to 2 | 0.1 | Sampling temperature. |
seed | number (whole) | — | Random seed for reproducibility. |
top_p | number 0 to 1 | 0.95 | Top-p (nucleus) sampling parameter. |
top_k | number (whole) -1 to 100 | 5 | Top-k sampling parameter. |
repetition_penalty | number 0 to 2 | 1 | Repetition penalty. |
max_tokens | number (whole) 256 to 16384 | 8192 | Maximum tokens to generate. |
output_size | number (whole) 64 to 4096 | 512 | Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved. |
fill_color | text | black | Fill color for the generated glyphs. Accepts any valid SVG/CSS color value. |
stroke_color | text | — | Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path. |
stroke_width | number 0.1 to 50 | 1 | Stroke width in SVG units. Only applies when stroke_color is set. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "fal-ai/vecglypher/image-to-svg",
"input": {
"prompt": "g",
"reference_image_urls": [
"<reference_image_urls>"
]
}
}'