# Recraft Vectorize (`recraft_vectorize`)

> Recraft Vectorize Pro. Converts one PNG, JPG or WEBP image (256-4096 px, under 16 MP and 5 MB) into an editable SVG, with layered or non-overlapping (cut_out) shapes. $0.04 per image.

- Capability: Images (tool `image`) — Image to image
- Price: from $0.04 per run (1 credit = $0.01). Exact price for a request: POST https://api.varg.ai/v2/estimate
- Typical time: ~15 s
- JSON Schema: https://api.varg.ai/v2/tools/image?model=recraft_vectorize (public, no key)
- Try it: https://varg.ai/dashboard/tools/playground?model=recraft_vectorize

## Call it

REST: `POST https://api.varg.ai/v2/tools/image/call` with `Authorization: Bearer $VARG_API_KEY` (create a key at https://varg.ai/dashboard/api).
It answers `202` with a job right away. Poll `GET /v2/jobs/{id}` until `status` is `completed`, then read `output.outputs[0].url` — or pass `options.webhook_url` and get the finished job POSTed to you.

```bash
curl -X POST https://api.varg.ai/v2/tools/image/call \
  -H "Authorization: Bearer $VARG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft_vectorize",
  "files": [
    {
      "url": "https://storage.googleapis.com/falserverless/example_inputs/man_wave.png"
    }
  ]
}'
```

MCP: the varg server `https://mcp.varg.ai/mcp` (OAuth sign-in, no key) runs it with `call_tool`:

```json
{
  "tool": "image",
  "input": {
    "model": "recraft_vectorize",
    "files": [
      {
        "url": "https://storage.googleapis.com/falserverless/example_inputs/man_wave.png"
      }
    ]
  },
  "wait": true
}
```

## Inputs

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `model` | string | yes | — | `recraft_vectorize` or a route key below | Which model runs the job. |
| `prompt` | string | no | — | — | — |
| `files` | array of { url } | no | — | — | — |
| `aspect_ratio` | string | no | — | e.g. 16:9 \| 9:16 \| 1:1 \| 4:3 \| 3:4 \| 21:9 \| auto | — |

Media inputs are URLs. Upload a local file first with `POST /v2/files` and pass the returned URL.

## Provider options

Optional, per provider, under `provider_options.<provider>`. Only the options of the provider that runs the job apply — pin a route to choose it.

### provider_options.fal

| field | type | required | default | allowed | description |
|---|---|---|---|---|---|
| `image_url` | string (URL) | no | — | — | The URL of the image to be vectorized. Must be in PNG, JPG or WEBP format, less than 5 MB in size, have resolution less than 16 MP and max dimension less than 4096 pixels, min dimension more than 256 pixels. |
| `shape_stacking` | string | no | — | hierarchical \| cut_out | — |
| `enable_safety_checker` | boolean | no | — | — | Authorized callers may set false to request relaxed screening. |

## Routes

`"model": "recraft_vectorize"` picks a route automatically (priority order, then the inputs you send). To pin one, pass its key as `model`.

| model key | provider | modality | price from | typical time |
|---|---|---|---|---|
| `fal:recraft/vectorize/pro` | fal | image-to-image | $0.04 | ~15 s |

---

Catalog version 2026-11-26T15:41:47.581024+00:00. All models: https://varg.ai/models/llms.txt
