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.

API Reference
INTEGRATE
Complete technical specification for integration
RequestResponse
Examples4
CODE
Ready-to-use code snippets for common workflows
vectorize
Updated Antarctic Crew Portrait Vector$0.01~10simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'recraft:1@1',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/ca5c207e-1e25-465f-bee9-5a3327fc21fd.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/ca5c207e-1e25-465f-bee9-5a3327fc21fd.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "vectorize",
"taskUUID": "f6a5e978-5dd9-4410-9547-9020ecc7d5a7",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/ca5c207e-1e25-465f-bee9-5a3327fc21fd.jpg"
}
}
]'runware run recraft:1@1 \
inputs.image=https://assets.runware.ai/assets/inputs/ca5c207e-1e25-465f-bee9-5a3327fc21fd.jpg{
"taskType": "vectorize",
"taskUUID": "f6a5e978-5dd9-4410-9547-9020ecc7d5a7",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/ca5c207e-1e25-465f-bee9-5a3327fc21fd.jpg"
}
}Response
{
"taskType": "vectorize",
"taskUUID": "f6a5e978-5dd9-4410-9547-9020ecc7d5a7",
"imageUUID": "c94c6517-6182-4548-b5f4-0bea19d5ebab",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/c94c6517-6182-4548-b5f4-0bea19d5ebab.svg",
"cost": 0.01
}vectorize
Maritime Museum Diver Screenprint Portrait$0.01~9simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'recraft:1@1',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/7581bd05-3e7a-4e38-9a21-f0925c42937d.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7581bd05-3e7a-4e38-9a21-f0925c42937d.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "vectorize",
"taskUUID": "69195c5c-fb61-4662-97ff-24bd7ac79b71",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7581bd05-3e7a-4e38-9a21-f0925c42937d.jpg"
}
}
]'runware run recraft:1@1 \
inputs.image=https://assets.runware.ai/assets/inputs/7581bd05-3e7a-4e38-9a21-f0925c42937d.jpg{
"taskType": "vectorize",
"taskUUID": "69195c5c-fb61-4662-97ff-24bd7ac79b71",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/7581bd05-3e7a-4e38-9a21-f0925c42937d.jpg"
}
}Response
{
"taskType": "vectorize",
"taskUUID": "69195c5c-fb61-4662-97ff-24bd7ac79b71",
"imageUUID": "3d2e8b2f-49eb-4848-9d9f-4e5ffd3220b1",
"imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/3d2e8b2f-49eb-4848-9d9f-4e5ffd3220b1.svg",
"cost": 0.01
}vectorize
Rescue Helmet Colorway Vector$0.01~7simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'recraft:1@1',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/d781f29b-aa8c-4e46-999c-42f5a42af4d9.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d781f29b-aa8c-4e46-999c-42f5a42af4d9.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "vectorize",
"taskUUID": "6773e6b2-b17d-4a95-a2d6-c325205b63f5",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d781f29b-aa8c-4e46-999c-42f5a42af4d9.jpg"
}
}
]'runware run recraft:1@1 \
inputs.image=https://assets.runware.ai/assets/inputs/d781f29b-aa8c-4e46-999c-42f5a42af4d9.jpg{
"taskType": "vectorize",
"taskUUID": "6773e6b2-b17d-4a95-a2d6-c325205b63f5",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/d781f29b-aa8c-4e46-999c-42f5a42af4d9.jpg"
}
}Response
{
"taskType": "vectorize",
"taskUUID": "6773e6b2-b17d-4a95-a2d6-c325205b63f5",
"imageUUID": "edcf0447-dd3e-4d54-8518-575db03e1579",
"imageURL": "https://im.runware.ai/image/os/a06dlim3/ws/3/ii/edcf0447-dd3e-4d54-8518-575db03e1579.svg",
"cost": 0.01
}vectorize
Winter Lights Glasshouse Map Illustration$0.01~10simport { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()
const [result] = await client.run({
model: 'recraft:1@1',
inputs: {
image: 'https://assets.runware.ai/assets/inputs/0c8fceae-1d51-46a9-80a4-982a64c7615e.jpg'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/0c8fceae-1d51-46a9-80a4-982a64c7615e.jpg"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "vectorize",
"taskUUID": "08078bec-3f21-4b72-a90d-9ceeea8148ae",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/0c8fceae-1d51-46a9-80a4-982a64c7615e.jpg"
}
}
]'runware run recraft:1@1 \
inputs.image=https://assets.runware.ai/assets/inputs/0c8fceae-1d51-46a9-80a4-982a64c7615e.jpg{
"taskType": "vectorize",
"taskUUID": "08078bec-3f21-4b72-a90d-9ceeea8148ae",
"model": "recraft:1@1",
"inputs": {
"image": "https://assets.runware.ai/assets/inputs/0c8fceae-1d51-46a9-80a4-982a64c7615e.jpg"
}
}Response
{
"taskType": "vectorize",
"taskUUID": "08078bec-3f21-4b72-a90d-9ceeea8148ae",
"imageUUID": "5bc81fcf-c79f-486c-bdb1-1fcb24795856",
"imageURL": "https://im.runware.ai/image/os/a09dlim3/ws/3/ii/5bc81fcf-c79f-486c-bdb1-1fcb24795856.svg",
"cost": 0.01
}