Recraft V4 Styles Vector

Recraft V4 Styles Vector applies the V4 Styles family to vector output, generating SVG assets that stay aligned to a reusable reference-driven visual style. It is intended for teams that want style consistency not just in raster campaigns, but also in scalable design systems such as icons, logos, graphic marks, packaging elements, and illustration assets. The model is designed to capture the distinctive visual language of reference images without requiring a separate training workflow.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
vectorize
Kelp Seed-to-Sea Process Infographic$0.055~29sCreate a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter. Explain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one. Connect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
const [result] = await client.run({
model: 'recraft:v4@styles-vector',
positivePrompt: 'Create a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter.\n\nExplain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one.\n\nConnect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation.',
width: 1024,
height: 1024,
settings: {
styleMatch: 'precise'
},
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/06fb3ddd-ab2b-452c-8d54-76b2d8c7badd.jpg',
'https://assets.runware.ai/assets/inputs/d607e15b-0d58-4b3f-bd61-01837b6a4ae7.jpg',
'https://assets.runware.ai/assets/inputs/367bc1f2-b317-42e8-8e21-f7553060a1c0.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:v4@styles-vector",
"positivePrompt": "Create a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter.\n\nExplain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one.\n\nConnect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/06fb3ddd-ab2b-452c-8d54-76b2d8c7badd.jpg",
"https://assets.runware.ai/assets/inputs/d607e15b-0d58-4b3f-bd61-01837b6a4ae7.jpg",
"https://assets.runware.ai/assets/inputs/367bc1f2-b317-42e8-8e21-f7553060a1c0.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": "95da1e67-7705-4324-a723-36ca0ffa95f4",
"model": "recraft:v4@styles-vector",
"positivePrompt": "Create a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter.\n\nExplain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one.\n\nConnect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/06fb3ddd-ab2b-452c-8d54-76b2d8c7badd.jpg",
"https://assets.runware.ai/assets/inputs/d607e15b-0d58-4b3f-bd61-01837b6a4ae7.jpg",
"https://assets.runware.ai/assets/inputs/367bc1f2-b317-42e8-8e21-f7553060a1c0.jpg"
]
}
}
]'runware run recraft:v4@styles-vector \
positivePrompt="Create a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter.
Explain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one.
Connect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation." \
width=1024 \
height=1024 \
settings.styleMatch=precise \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/06fb3ddd-ab2b-452c-8d54-76b2d8c7badd.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/d607e15b-0d58-4b3f-bd61-01837b6a4ae7.jpg \
inputs.referenceImages.2=https://assets.runware.ai/assets/inputs/367bc1f2-b317-42e8-8e21-f7553060a1c0.jpg{
"taskType": "vectorize",
"taskUUID": "95da1e67-7705-4324-a723-36ca0ffa95f4",
"model": "recraft:v4@styles-vector",
"positivePrompt": "Create a finished square vector infographic for a commercial kelp hatchery training guide titled “FROM SPORE TO SEA FARM.” Use the three reference images only as the visual style system: match their rounded geometric forms, bold consistent outlines, flat color blocks, subtle offset shadows, modular diagram logic, restrained palette, and friendly technical precision. Do not reuse their subject matter.\n\nExplain the kelp production cycle as six clearly numbered stages arranged clockwise around one large central kelp frond: 1 SELECT FERTILE SORI — a close-up mature kelp blade with the fertile tissue highlighted; 2 RELEASE SPORES — blade fragments in a cool seawater vessel releasing tiny spores; 3 SEED NURSERY TWINE — spores settling onto twine wrapped around a small spool; 4 GROW JUVENILES — miniature kelp developing on spools inside an illuminated hatchery tank; 5 DEPLOY OCEAN LINES — a workboat attaching seeded twine to a horizontal offshore grow line suspended by buoys; 6 HARVEST & RESEED — long mature kelp lifted from the water, with a small circular return arrow leading back to stage one.\n\nConnect every stage with thick, unmistakable clockwise arrows. Use compact spot illustrations with enough biological and equipment detail to be genuinely educational while remaining clean and scalable. Include small visual distinctions between microscopic spores, juvenile blades, and mature kelp. Show the nursery tank and offshore line as simple cutaway diagrams. Keep the hierarchy immediate: title at top, central kelp hero illustration, six evenly spaced process modules, then a small footer key reading “HATCHERY” beside a tank icon and “OCEAN FARM” beside a buoy icon. Typography should be uppercase, highly legible, bold geometric sans serif, with only the exact text specified. Deep navy background with warm cream lines and lettering, sea-glass cyan water, vivid chartreuse kelp, and restrained coral highlights. Crisp SVG-like vector edges, flat fills, no gradients, no photographic effects, no excessive decoration, no branding, no logo, no website or app interface, and no mockup presentation.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/06fb3ddd-ab2b-452c-8d54-76b2d8c7badd.jpg",
"https://assets.runware.ai/assets/inputs/d607e15b-0d58-4b3f-bd61-01837b6a4ae7.jpg",
"https://assets.runware.ai/assets/inputs/367bc1f2-b317-42e8-8e21-f7553060a1c0.jpg"
]
}
}Response
{
"taskType": "vectorize",
"taskUUID": "95da1e67-7705-4324-a723-36ca0ffa95f4",
"imageUUID": "76b9028b-680d-4390-9e96-411c4b9cc5f1",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/3/ii/76b9028b-680d-4390-9e96-411c4b9cc5f1.svg",
"cost": 0.055,
"outputs": {
"styleId": "82c3049a-b6cf-4b8a-b843-f44d35eed5db"
}
}API Options
Platform-level options for task execution and delivery.
taskType
stringrequiredvalue: vectorizeIdentifier for the type of task being performed.
taskUUID
stringrequiredUUID v4UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
outputType
stringdefault: URLImage output type.
Allowed values3 values
outputFormat
stringdefault: SVGSpecifies 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 values1 value
webhookURL
stringuriWebhook URL that receives JSON responses 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 more1 resource
- WebhooksPLATFORM
- Webhooks
deliveryMethod
stringdefault: syncDetermines how the API delivers task results.
Allowed values2 values
- Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more1 resource
- Task PollingPLATFORM
uploadEndpoint
stringuriSpecifies 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
integermin: 60Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
includeCost
booleanInclude 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»referenceImagesreferenceImages
array of stringsmin items: 1max items: 103 limitsList of reference images (UUID, URL, Data URI, or Base64).
inputs»styleIdstyleId
stringUUID v4Identifier of an existing style to apply.
Core Parameters
Primary parameters that define the task output.
model
stringrequiredvalue: recraft:v4@styles-vectorSend
autoinstead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See Model Router.
positivePrompt
stringrequiredmin: 1max: 10000Text prompt describing elements to include in the generated output.
Learn more1 resource
- PromptsLEARN
- Prompts
width
integerpaired with heightWidth of the generated media in pixels.
Learn more2 resources
height
integerpaired with widthHeight of the generated media in pixels.
Learn more2 resources
Settings
Technical parameters to fine-tune the inference process. These must be nested inside the settings object.
settings object.settings»backgroundColorbackgroundColor
objectBackground color used for the generation.
Learn more1 resource
- Color PalettesLEARN
Properties1 property
settings»backgroundColor»rgbrgb
array of integersrequiredmin: 0max: 255items: 3Color as
[red, green, blue]array.
- Color Palettes
settings»colorscolors
array of objectsColors defining the palette for the generation.
Learn more1 resource
- Color PalettesLEARN
Properties1 property
settings»colors»rgbrgb
array of integersrequiredmin: 0max: 255items: 3Color as
[red, green, blue]array.
- Color Palettes
settings»styleMatchstyleMatch
stringdefault: preciseHow closely the style is followed. Overrides the match value stored on the style for this request.
Allowed values2 values
- Follows the style meticulously.
- Matches the general look of the style.
