Vectorizer
td_vectorizerConvert raster images like JPEG logos into editable vector files (SVG, PDF, EPS) for recoloring in Illustrator or large-format printing without quality loss.
Instructions
Vectorizer: convert the design to vector. ready_for photoshop (png, tiff or eps = Sharp Edged File) or illustrator (svg with curve options, pdf or eps). Best for: turning flat-colour raster art (e.g. a JPEG logo or print) into vector you can recolour, resize and edit in Illustrator, or scale up for large-format printing without quality loss. Result files are saved to disk and their paths returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Output resolution in ppi (72-500). Omit to keep the image's own resolution. | |
| wait | No | Wait for the job and save the outputs (default true). false returns the task_id right after submit. | |
| image | Yes | Source image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side. | |
| format | No | Output Format: png (PNG), tiff (TIFF), eps (EPS), svg (SVG, Recommended), pdf (PDF). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. Photoshop-Ready: png, tiff or eps (Sharp Edged File). Illustrator-Ready: svg, pdf or eps. Call describe_tool for what each option does. | |
| group_by | No | Shape Organization: none (No Grouping, Recommended): No grouping inside the SVG. color (By Color): Group shapes by colour. parent (By Parent): Group shapes by parent shape. layer (By Layer): Group shapes into layers. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. SVG only. | |
| ready_for | No | Vector file: photoshop (Photoshop-Ready Vector File): Raster-friendly output: PNG, TIFF or a Sharp Edged File (EPS). illustrator (Illustrator-Ready Vector File, Recommended): True vector output: SVG (with line quality, grouping and curve options), PDF or EPS. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. | |
| output_dir | No | Folder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten. | |
| estimate_only | No | Only return the credit estimate; nothing is uploaded or charged. | |
| review_settings | No | Omit it and the tool first asks whether to use the recommended settings or adjust them (unless the call already sets some). true: ask each setting one by one. false: run with the given or recommended settings without asking; pass it only after the user chose that. | |
| timeout_seconds | No | How long to wait for the job before returning its task_id (default 240). | |
| unlimited_bundle | No | Request the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides). | |
| gap_filler_enabled | No | Seamless Edges: fill hairline gaps between touching shapes so they print cleanly. Default true. | |
| line_fit_tolerance | No | Line Quality: coarse (Rough): Curves follow the pixel edges most faithfully. medium (Balanced, Recommended): Balanced curve fitting. fine (Smooth): Smoother curves. superFine (Ultra Smooth): The smoothest curves. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. SVG only. | |
| allowed_curve_types | No | Curve Types: line (Straight Lines): Allow straight lines in the SVG paths. quadratic_bezier (Simple Curves): Allow simple curves in the SVG paths. cubic_bezier (Complex Curves): Allow complex curves in the SVG paths. circular_arc (Circular Arcs): Allow circular arcs in the SVG paths. elliptical_arc (Elliptical Arcs): Allow elliptical arcs in the SVG paths. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. svg only; every curve type is allowed when omitted. The server currently ignores this. |