# Hermoso: vectorize_image: PNG to SVG · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/create/vectorize_image/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Creative generation](https://hermoso.ai/docs/reference/create/) / vectorize_image

# `vectorize_image`

PNG to SVG (trace a picture into a vector)

Area: post-production & analysis · [Creative generation](https://hermoso.ai/docs/reference/create/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

PNG TO SVG: trace an existing PICTURE (a logo, an icon, a flat illustration, a PNG, JPG or WebP) into an editable SVG, plus a PNG preview of it. The same picture, not a new one (generate_image paints a new vector from words). Any size: a small logo is scaled up and a big photo scaled down before tracing. stacking layered (default) stacks the shapes, easiest to edit; cutout makes no two shapes overlap, for vinyl cutters, plotters and screen printing. A flat price per picture; dryRun returns it. Lands in the Library.

## Parameters

Parameter Type Description

`image` required `string` the picture: an https / upload_file URL, a Library id (L0…), or a local path on the CLI

`stacking` `"layered" | "cutout"` layered (default) or cutout

`dryRun` `boolean` price only: nothing made, nothing charged

`get_cost` `boolean` true: return the price only; nothing runs or bills

`expected_credits` `number` the get_cost price; refused unbilled if the live price differs

`idempotency_key` `string` chosen once, resent unchanged on retries: the same key never buys twice

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/vectorize_image`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vectorize_image","arguments":{"image":"<string>"}}}`
**CLI**

`hermoso call vectorize_image --json '{"image":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [generate_image](https://hermoso.ai/docs/reference/create/generate_image/) Generate ad image
- [cut_out_background](https://hermoso.ai/docs/reference/create/cut_out_background/) Remove the background from a picture
- [cut_out_video_background](https://hermoso.ai/docs/reference/create/cut_out_video_background/) Remove the background from a video
- [video_filter](https://hermoso.ai/docs/reference/create/video_filter/) Apply a retro or camera filter to a video
- [reangle_image](https://hermoso.ai/docs/reference/create/reangle_image/) Turn the camera around a picture
- [split_vocals](https://hermoso.ai/docs/reference/create/split_vocals/) Remove vocals (split a song into stems)
- [make_singing_ad](https://hermoso.ai/docs/reference/create/make_singing_ad/) Make a singing ad
- [upscale_image](https://hermoso.ai/docs/reference/create/upscale_image/) Upscale an image
- [check_hook](https://hermoso.ai/docs/reference/create/check_hook/) Check a video’s hook
- [photo_to_model](https://hermoso.ai/docs/reference/create/photo_to_model/) Photo to 3D model

[All 103 Creative generation tools](https://hermoso.ai/docs/reference/create/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
