Convert a logo to SVG
vectorizeConvert a logo image (PNG, JPEG, WEBP, GIF or BMP, up to 5 MB) to a clean vector. Uses 1 credit per new image; the same image with the same options again within 24 hours is free; a refused or failed conversion is free. Give exactly one of image_url, upload_id or image (a file attached in ChatGPT). Returns a download link (valid 60 minutes) and the node, path and color counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | A file the user attached in ChatGPT (filled in by ChatGPT). | |
| scale | No | PNG only: size relative to the image (long side at most 4096 px). | |
| width | No | PNG only: width in pixels. | |
| format | No | Output format (default svg). PNG is rendered from the vector. | |
| palette | No | Brand colors, comma-separated hex (e.g. 141155,03517b,ffffff): every color snaps to the nearest. | |
| file_name | No | Name for the downloaded file, without extension. | |
| image_url | No | Public http(s) URL of the image. | |
| upload_id | No | From create_upload, after the file was uploaded. | |
| background | No | auto (default: a fake checkerboard is removed, a solid background kept), keep, remove (transparent), or a hex color like ffffff. | |
| max_colors | No | Merge the palette down to at most this many flat colors. | |
| include_svg | No | Also return the SVG text (only when it is at most 32 KB). |