Recraft V4 Vector
Recraft V4 Vector is a professional vectorization model that transforms raster images into high-quality scalable vector art. Built for design and marketing workflows, it preserves structural fidelity, contour accuracy, and visual style while producing clean paths and optimized shapes suitable for branding, illustration, and layout production.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: vectorize -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Image output type.
Allowed values 3 values
-
outputFormat
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 1 value
-
webhookURL
string 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 PLATFORM
- Webhooks
-
deliveryMethod
string default: sync -
Determines how the API delivers task results.
Allowed values 2 values
- Returns complete results directly in the API response.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more 1 resource
- Task Polling PLATFORM
-
uploadEndpoint
string 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.
// 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.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
includeCost
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.
inputs object.-
inputs»imageimage
string required -
Image input (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: recraft:v4@vector -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 1 max: 10000 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
width
integer paired with height -
Width of the generated media in pixels.
Learn more 2 resources
-
height
integer paired with width -
Height of the generated media in pixels.
Learn more 2 resources
Provider Settings
Parameters specific to this model provider. These must be nested inside the providerSettings.recraft object.
providerSettings.recraft object.-
providerSettings»recraft»backgroundColorbackgroundColor
object -
Background color used for the generation.
Properties 1 property
-
providerSettings»recraft»backgroundColor»rgbrgb
array of integers required min: 0 max: 255 items: 3 -
Color as
[red, green, blue]array.
-
Midnight Botanical Tea Emblems
{
"taskType": "vectorize",
"taskUUID": "650c5f43-2a43-4fd3-bf08-57d6fa14105d",
"model": "recraft:v4@vector",
"positivePrompt": "A refined collection of herbal tea brand emblems arranged as a polished design board, featuring moonflower, bergamot slices, sage leaves, star anise, and curling steam motifs in elegant geometric vector art. Flat scalable illustration style, precise contours, balanced negative space, premium packaging aesthetic, ornamental badges, labels, icons, and seal marks, sophisticated nighttime mood, minimal shading, sharp edges, clean line hierarchy, highly legible composition, decorative yet professional, suitable for branding and print.",
"width": 1024,
"height": 1024,
"providerSettings": {
"recraft": {
"backgroundColor": {
"rgb": [
244,
240,
232
]
},
"colors": [
{
"rgb": [
21,
43,
60
]
},
{
"rgb": [
74,
122,
89
]
},
{
"rgb": [
196,
154,
92
]
},
{
"rgb": [
138,
84,
74
]
},
{
"rgb": [
239,
226,
201
]
}
]
}
}
}{
"taskType": "vectorize",
"taskUUID": "650c5f43-2a43-4fd3-bf08-57d6fa14105d",
"imageUUID": "d58563dc-3c4d-4dba-8ccd-0b5a09a62b11",
"imageURL": "https://im.runware.ai/image/os/a11d13/ws/2/ii/d58563dc-3c4d-4dba-8ccd-0b5a09a62b11.svg",
"cost": 0.08
}Geometric Koi Festival Banner
{
"taskType": "vectorize",
"taskUUID": "03f577a3-cf09-4278-8807-76676a72ddc3",
"model": "recraft:v4@vector",
"positivePrompt": "Wide vector illustration of a festive koi-themed celebration graphic, two stylized koi fish circling around floating paper streamers and abstract wave motifs, decorative floral medallions, rhythmic geometric clouds, elegant negative space, flat scalable shapes, precise contours, high structural clarity, premium editorial design aesthetic, contemporary Japanese-inspired graphic language, balanced symmetry with slight asymmetrical accents, bold yet refined composition, clean layered forms, minimal shading, no text, no watermark",
"width": 1536,
"height": 768,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
230,
57,
70
]
},
{
"rgb": [
29,
53,
87
]
},
{
"rgb": [
241,
250,
238
]
},
{
"rgb": [
244,
162,
97
]
},
{
"rgb": [
42,
157,
143
]
}
],
"backgroundColor": {
"rgb": [
248,
244,
236
]
}
}
}
}{
"taskType": "vectorize",
"taskUUID": "03f577a3-cf09-4278-8807-76676a72ddc3",
"imageUUID": "7dc2fd0d-a23e-4e5b-abe4-32aec95a5f03",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/2/ii/7dc2fd0d-a23e-4e5b-abe4-32aec95a5f03.svg",
"cost": 0.08
}Art Deco Citrus Collage
{
"taskType": "vectorize",
"taskUUID": "9144d55c-3086-40ca-a77c-c60937d602a9",
"model": "recraft:v4@vector",
"positivePrompt": "A refined vector illustration of a sliced citrus arrangement with oranges, grapefruits, lemon wedges, curling peels, small leaves, and radiating geometric motifs, arranged in an elegant Art Deco composition. Clean contours, flat shapes, precise symmetry, bold negative space, premium packaging aesthetic, decorative border elements, layered circular segments, sophisticated editorial design feel, highly polished scalable vector style.",
"width": 1024,
"height": 1024,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
232,
93,
42
]
},
{
"rgb": [
255,
190,
92
]
},
{
"rgb": [
243,
239,
224
]
},
{
"rgb": [
42,
102,
72
]
},
{
"rgb": [
28,
43,
58
]
}
],
"backgroundColor": {
"rgb": [
250,
246,
238
]
}
}
}
}{
"taskType": "vectorize",
"taskUUID": "9144d55c-3086-40ca-a77c-c60937d602a9",
"imageUUID": "9dafebdc-09bf-49d4-b838-eb3468303a86",
"imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/9dafebdc-09bf-49d4-b838-eb3468303a86.svg",
"cost": 0.08
}Memphis Fruit Stand Signage
{
"taskType": "vectorize",
"taskUUID": "6c9b5d86-9366-4db6-8252-96adeac0a1d2",
"model": "recraft:v4@vector",
"positivePrompt": "A playful roadside fruit stand advertising graphic in polished vector illustration style, stacked crates of figs, peaches, and pears arranged in a lively asymmetrical composition, oversized sliced fruit motifs, striped awning, hand-painted price tags, chunky geometric leaves, cheerful summertime atmosphere, flat shapes, sharp edges, minimal gradients, clean negative space, branding-friendly composition, highly scalable iconographic detail, modern Memphis-inspired design language",
"width": 1216,
"height": 896,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
244,
99,
72
]
},
{
"rgb": [
255,
193,
7
]
},
{
"rgb": [
76,
175,
80
]
},
{
"rgb": [
63,
81,
181
]
},
{
"rgb": [
255,
241,
230
]
}
],
"backgroundColor": {
"rgb": [
255,
248,
240
]
}
}
}
}{
"taskType": "vectorize",
"taskUUID": "6c9b5d86-9366-4db6-8252-96adeac0a1d2",
"imageUUID": "3ac5fde6-8d87-426a-b9e8-aefe2ee97174",
"imageURL": "https://im.runware.ai/image/os/a25d05/ws/2/ii/3ac5fde6-8d87-426a-b9e8-aefe2ee97174.svg",
"cost": 0.08
}