Vectorize an image
vectorizeConvert a raster image (PNG, JPG, WebP or GIF, up to 10 MB) into a vector file. Returns a rendered PNG preview of the result and the complete file source as text, ready to save as .svg, .dxf or .eps. Input: image_url, a public http(s) link to the image; in ChatGPT, an image attached to the conversation arrives as the image file instead. Modes: "standard" (logos, illustrations, AI-generated art), "laser" (closed cut paths for laser cutters), "cricut" (cutting machines), "centerline" (one stroke per line: scanned drawings, line art, single-line lettering; photos and filled shapes are refused). Formats: "svg" (default), "dxf" (R12 polylines in millimetres, for laser, CNC and CAD), "eps" (print and sign-making). Very detailed images such as photos can give a file too large to return in the conversation. A conversion takes about 5 to 20 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Tracing mode: "standard" for logos, illustrations and AI art; "laser" for closed cut paths; "cricut" for cutting machines; "centerline" for single strokes on line art and scanned drawings. | standard |
| image | No | An image attached to the conversation, as supplied by the host app. Omit it when passing image_url. | |
| format | No | Output file: "svg" (default) for design tools and Cricut Design Space; "dxf" for laser cutters, CNC routers and CAD; "eps" for print, sign-making and older design software. | svg |
| image_url | No | Public http(s) URL of a PNG, JPG, WebP or GIF image, up to 10 MB. Use it when no file is attached. |