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 usage

Pricing

$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

FieldKindDefaultDescription
prompt requiredtext—The target text to generate as vector glyphs, styled to match the reference images.
reference_image_urls requiredURLs or files—URLs of reference glyph images whose style should be matched. Provide 1 to 8 images of individual glyph characters.
temperaturenumber
0 to 2
0.1Sampling temperature.
seednumber (whole)—Random seed for reproducibility.
top_pnumber
0 to 1
0.95Top-p (nucleus) sampling parameter.
top_knumber (whole)
-1 to 100
5Top-k sampling parameter.
repetition_penaltynumber
0 to 2
1Repetition penalty.
max_tokensnumber (whole)
256 to 16384
8192Maximum tokens to generate.
output_sizenumber (whole)
64 to 4096
512Maximum dimension (width or height) of the output SVG in pixels. The aspect ratio is preserved.
fill_colortextblackFill color for the generated glyphs. Accepts any valid SVG/CSS color value.
stroke_colortext—Optional stroke (outline) color for the generated glyphs. When set, adds an outline around each glyph path.
stroke_widthnumber
0.1 to 50
1Stroke 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>"
      ]
    }
  }'