Skip to content
Motif
Esc
↑↓navigate↵open⌘Jpreview
On this page

Convert to SVG

Trace to a clean SVG.

Synopsis

motif vectorize [image] [options]

Example

A mark traced to clean paths.

motif vectorize mark.jpg
A sprig inside a ring, printed in olive on paper
Before
The mark traced to a vector file
After

Options

Flag What it does
--tier <tier> Trade cost against quality: fast, balanced, quality.
--dry-run Validate and price the call without running it.

It also takes the common options.

Models and price

Motif picks the Model for the Tier. Prices are per image.

Model Chosen at Price
Recraft Vectorize Balanced $0.040
Image to SVG Fast $0.005

Dry run

Check the cost before you spend. The output path is where the file would go.

motif vectorize mark.jpg --dry-run --fields cost,costBasis,output
{
  "cost": 0.04,
  "costBasis": "projected",
  "output": "mark-vectorize.svg"
}