---
title: Recraft Vectorize | Runware Docs
url: https://runware.ai/docs/models/recraft-vectorize
description: Raster to SVG Vector Conversion for Logos and Icons
---
# Recraft Vectorize

Recraft Vectorize converts PNG or JPG artwork into clean SVG vectors. It keeps edges sharp with minimal artifacts. Ideal for logos, icons, UI assets, and flat illustrations. Integrate in pipelines that need scalable graphics from legacy raster files.

- **ID**: `recraft:1@1`
- **Status**: live
- **Creator**: Recraft
- **Capabilities**: Image to Image, Vectorize

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/recraft-vectorize#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `vectorize`

Identifier for the type of task being performed

### [taskUUID](https://runware.ai/docs/models/recraft-vectorize#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/recraft-vectorize#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Image output type.

**Allowed values**: `URL` `base64Data` `dataURI`

### [outputFormat](https://runware.ai/docs/models/recraft-vectorize#request-outputformat)

- **Type**: `string`
- **Default**: `SVG`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`SVG\`: Scalable Vector Graphics.

**Allowed values**: `SVG`

### [webhookURL](https://runware.ai/docs/models/recraft-vectorize#request-webhookurl)

- **Type**: `string`
- **Format**: `URI`

Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/platform/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/recraft-vectorize#request-deliverymethod)

- **Type**: `string`
- **Default**: `sync`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns complete results directly in the API response.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/platform/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/recraft-vectorize#request-uploadendpoint)

- **Type**: `string`
- **Format**: `URI`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [ttl](https://runware.ai/docs/models/recraft-vectorize#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/recraft-vectorize#request-includecost)

- **Type**: `boolean`
- **Default**: `false`

Include task cost in the response.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [image](https://runware.ai/docs/models/recraft-vectorize#request-inputs-image)

- **Path**: `inputs.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

**Generation Parameters**

Core parameters for controlling the generated content.

### [model](https://runware.ai/docs/models/recraft-vectorize#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `recraft:1@1`

Identifier of the model to use for generation.

**Learn more** (3 resources):

- [Text To Image: Model Selection The Foundation Of Generation](https://runware.ai/docs/guides/text-to-image#model-selection-the-foundation-of-generation) (guide)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/guides/image-inpainting#model-specialized-inpainting-models) (guide)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/guides/image-outpainting#other-critical-parameters) (guide)

## Response Parameters

### [taskType](https://runware.ai/docs/models/recraft-vectorize#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `vectorize`

Type of the task.

### [taskUUID](https://runware.ai/docs/models/recraft-vectorize#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the task.

### [imageUUID](https://runware.ai/docs/models/recraft-vectorize#response-imageuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output image.

### [imageURL](https://runware.ai/docs/models/recraft-vectorize#response-imageurl)

- **Type**: `string`
- **Format**: `URI`

URL of the output image.

### [imageBase64Data](https://runware.ai/docs/models/recraft-vectorize#response-imagebase64data)

- **Type**: `string`

Base64-encoded image data.

### [imageDataURI](https://runware.ai/docs/models/recraft-vectorize#response-imagedatauri)

- **Type**: `string`
- **Format**: `URI`

Data URI of the output image.

### [cost](https://runware.ai/docs/models/recraft-vectorize#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### Retro Arcade Badge Set (Vectorize)

![Retro Arcade Badge Set](https://assets.runware.ai/examples/recraft-vectorize/33954c50-ca8a-44d0-9d3b-66a20c1109ac.svg)

**Request**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "625c6d9b-4aa1-4d26-9d9b-282744f132af",
  "model": "recraft:1@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/49fba10c-889c-48d4-95d6-94ccd77143db.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "625c6d9b-4aa1-4d26-9d9b-282744f132af",
  "imageUUID": "6fb26927-4c3e-43eb-9797-16e8726af605",
  "imageURL": "https://im.runware.ai/image/os/a09d21/ws/2/ii/6fb26927-4c3e-43eb-9797-16e8726af605.svg",
  "cost": 0.01
}
```

---

### Ornamental Koi Crest Emblem (Vectorize)

![Ornamental Koi Crest Emblem](https://assets.runware.ai/examples/recraft-vectorize/576f47f4-83b5-4185-b62b-f598e14261bc.svg)

**Request**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "a77f2f45-86bb-448a-9068-9c4942b6b7de",
  "model": "recraft:1@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/f9cdf286-540e-4dd2-a6df-ed65d7a256fc.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "a77f2f45-86bb-448a-9068-9c4942b6b7de",
  "imageUUID": "48f2bb2d-002b-4cb8-a8bc-9261d766fc1a",
  "imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/48f2bb2d-002b-4cb8-a8bc-9261d766fc1a.svg",
  "cost": 0.01
}
```

---

### Geometric Tea Tin Emblem (Vectorize)

![Geometric Tea Tin Emblem](https://assets.runware.ai/examples/recraft-vectorize/c1d11053-4ac3-45a4-9121-70af5c31beac.svg)

**Request**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "86ce452f-8f70-4ede-98f4-fe159304014f",
  "model": "recraft:1@1",
  "inputs": {
    "image": "https://assets.runware.ai/assets/inputs/af993cc1-fb77-41cc-ac62-a5ab52bae566.jpg"
  }
}
```

**Response**:

```json
{
  "taskType": "vectorize",
  "taskUUID": "86ce452f-8f70-4ede-98f4-fe159304014f",
  "imageUUID": "a4959943-bee9-43b0-9a76-8ed0156bbd29",
  "imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/a4959943-bee9-43b0-9a76-8ed0156bbd29.svg",
  "cost": 0.01
}
```