Recraft V4 Styles

Recraft V4 Styles is the standard raster model in Recraft's V4 Styles family for reference-driven style consistency. It lets teams create a reusable visual style from reference images and then generate new assets that stay close not only to the broad aesthetic direction, but also to finer details such as texture, composition, and rendering character. It is designed for workflows that need immediate style reuse without fine-tuning or LoRA setup, making it a strong fit for branded content, editorial systems, product campaigns, and any image pipeline where a repeatable visual language matters more than one-off prompt creativity.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
reference-to-image
Artisan Perfumer Editorial Press Portrait$0.04~26s
Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
const [result] = await client.run({
model: 'recraft:v4@styles',
positivePrompt: 'Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border.',
width: 1024,
height: 1024,
settings: {
styleMatch: 'precise'
},
inputs: {
referenceImages: [
'https://assets.runware.ai/assets/inputs/0b2e4aca-4656-4527-9b2f-7157f4c19ae5.jpg',
'https://assets.runware.ai/assets/inputs/8b6b368b-72bd-4998-aaee-38d16d7e8818.jpg',
'https://assets.runware.ai/assets/inputs/4498a3b6-255e-4651-aac9-6ab9cd0ae3a6.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",
"positivePrompt": "Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/0b2e4aca-4656-4527-9b2f-7157f4c19ae5.jpg",
"https://assets.runware.ai/assets/inputs/8b6b368b-72bd-4998-aaee-38d16d7e8818.jpg",
"https://assets.runware.ai/assets/inputs/4498a3b6-255e-4651-aac9-6ab9cd0ae3a6.jpg"
]
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "9181ca35-fef7-4853-a62b-365e1356eb08",
"model": "recraft:v4@styles",
"positivePrompt": "Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/0b2e4aca-4656-4527-9b2f-7157f4c19ae5.jpg",
"https://assets.runware.ai/assets/inputs/8b6b368b-72bd-4998-aaee-38d16d7e8818.jpg",
"https://assets.runware.ai/assets/inputs/4498a3b6-255e-4651-aac9-6ab9cd0ae3a6.jpg"
]
}
}
]'runware run recraft:v4@styles \
positivePrompt="Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border." \
width=1024 \
height=1024 \
settings.styleMatch=precise \
inputs.referenceImages.0=https://assets.runware.ai/assets/inputs/0b2e4aca-4656-4527-9b2f-7157f4c19ae5.jpg \
inputs.referenceImages.1=https://assets.runware.ai/assets/inputs/8b6b368b-72bd-4998-aaee-38d16d7e8818.jpg \
inputs.referenceImages.2=https://assets.runware.ai/assets/inputs/4498a3b6-255e-4651-aac9-6ab9cd0ae3a6.jpg{
"taskType": "imageInference",
"taskUUID": "9181ca35-fef7-4853-a62b-365e1356eb08",
"model": "recraft:v4@styles",
"positivePrompt": "Create a finished square personal-branding photoshoot portrait of a distinguished 62-year-old Black male artisan perfumer in his small independent fragrance laboratory. Render the image in the exact shared visual language of the three references: polished retro-futurist editorial photography, direct frontal flash layered over deep cobalt ambient light, saffron and burnt-orange accents, chrome and translucent acrylic surfaces, crisp geometric composition, controlled reflections, realistic materials, and subtle medium-format film grain. Show him from mid-thigh upward, standing slightly off-center and looking directly into the camera with calm, assured intelligence. He has close-cropped silver hair, a neatly trimmed silver beard, expressive natural skin texture, and wears a sharply tailored burnt-saffron pleated suit over a dark cobalt mock-neck shirt, with one understated silver ring. One hand rests on a stainless-steel formulation table while the other holds a single unlabelled amber perfume vial at chest height. Surround him with a disciplined, minimal scent archive: clear glass blotter jars, pipettes, a few amber bottles, polished metal trays, and translucent resin scent blocks arranged like sculptural objects. Keep the laboratory credible, elegant, and uncluttered rather than theatrical. Use a low chrome shelving grid and one circular frosted-glass light as background geometry. Preserve realistic anatomy, hands, facial proportions, glass refraction, and skin detail. Premium independent-culture magazine portrait, cerebral and quietly magnetic mood, generous breathing room around the figure, no lettering, no logos, no watermark, no interface, no border.",
"width": 1024,
"height": 1024,
"settings": {
"styleMatch": "precise"
},
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/0b2e4aca-4656-4527-9b2f-7157f4c19ae5.jpg",
"https://assets.runware.ai/assets/inputs/8b6b368b-72bd-4998-aaee-38d16d7e8818.jpg",
"https://assets.runware.ai/assets/inputs/4498a3b6-255e-4651-aac9-6ab9cd0ae3a6.jpg"
]
}
}Response
{
"taskType": "imageInference",
"taskUUID": "9181ca35-fef7-4853-a62b-365e1356eb08",
"imageUUID": "3b97f9f0-2caa-406d-aacb-791110d6cba3",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/3/ii/3b97f9f0-2caa-406d-aacb-791110d6cba3.jpg",
"seed": 720841720,
"cost": 0.04,
"outputs": {
"styleId": "989890b0-5c46-46b4-ae87-100b4d15f841"
}
}API Options
Platform-level options for task execution and delivery.
taskType
stringrequiredvalue: imageInferenceIdentifier 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: JPGSpecifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
JPG: Best for photorealistic images with smaller file sizes (no transparency).PNG: Lossless compression, supports high quality and transparency (alpha channel).WEBP: Modern format providing superior compression and transparency support.
Transparency: Output that needs transparency must use a format with an alpha channel:PNG,WEBP.JPGdoes not support transparency.Allowed values3 values
outputQuality
integermin: 20max: 99default: 95Compression quality of the output. Higher values preserve quality but increase file size.
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.
safety
objectContent safety checking configuration for image generation.
Properties2 properties
safety»checkContentcheckContent
booleanEnable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.
safety»blockContentblockContent
booleanContent blocking before generation. Moderates the request's text and input images, and rejects the request when they are flagged, so nothing is generated or charged. Input videos, audio and documents are not moderated. Adds a short delay before generation starts.
ttl
integermin: 60Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
includeCost
booleanInclude task cost in the response.
numberResults
integermin: 1max: 20default: 1Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
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@stylesSend
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.
Features
Standalone addons and post-processing features.
advancedFeatures»watermarkwatermark
objectConfiguration object for adding watermarks to generated images. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either
textorimagecontent for the watermark, but not both."advancedFeatures": { "watermark": { "text": "© 2025 Company", "displayPosition": "bottom-right", "opacity": 0.6, "fontColor": "#ffffff", "bgColor": "#000000" } }"advancedFeatures": { "watermark": { "image": "c64351d5-4c59-42f7-95e1-eace013eddab", "displayPosition": "top-left", "opacity": 0.6 } }"advancedFeatures": { "watermark": { "text": "PREVIEW", "tiled": true, "opacity": 0.4, "fontColor": "#cccccc" } }Properties6 properties
advancedFeatures»watermark»texttext
stringmin: 2max: 32Watermark text.
advancedFeatures»watermark»imageimage
stringWatermark image (UUID, URL, Data URI, or Base64).
advancedFeatures»watermark»displayPositiondisplayPosition
stringWatermark position.
Allowed values10 values
advancedFeatures»watermark»opacityopacity
floatmin: 0.1max: 1step: 0.01Watermark opacity.
advancedFeatures»watermark»fontColorfontColor
stringText color in hex format.
advancedFeatures»watermark»bgColorbgColor
stringBackground color in hex format.
