Recraft V4
Recraft V4 is a professional-grade text-to-image model built for design and marketing workflows. It focuses on refined visual aesthetics, strong photorealism, and reliable brand control. The model delivers realistic skin rendering, natural textures, distinctive lighting, and well-structured compositions while avoiding common synthetic artifacts. It supports 2K image generation, reference images for style guidance, color palette control, and explicit background color selection to help teams produce brand-consistent creative assets.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: imageInference -
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: JPG -
Specifies 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**: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., `PNG`, `WEBP`, `TIFF`). `JPG` does not support transparency.Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
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.
-
safety
object -
Content safety checking configuration for image generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for image generation.
Allowed values 2 values
- Disables checking.
- Performs a single check.
-
-
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.
-
numberResults
integer min: 1 max: 20 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: recraft:v4@0 -
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 of the generated media in pixels.
Learn more 2 resources
-
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.
-
Artisanal Citrus Skincare Still Life
{
"taskType": "imageInference",
"taskUUID": "1c23320a-df17-4787-923d-5b4526612eb0",
"model": "recraft:v4@0",
"positivePrompt": "A high-end commercial beauty product still life for an artisanal citrus skincare brand: a frosted glass serum bottle with a brushed brass dropper and a minimal cream label, arranged on sculptural travertine and pale stone blocks, surrounded by fresh yuzu halves, curled citrus peels, tiny dew droplets, and soft botanical sprigs. Warm late-morning sunlight pours in from the left, creating crisp yet elegant shadows, subtle refractions through the glass, realistic condensation, natural stone texture, and luxurious material detail. Editorial studio photography, premium packaging campaign aesthetic, refined negative space, balanced composition, tactile realism, clean premium branding feel, sophisticated color harmony, no clutter, no text overlays.",
"width": 1280,
"height": 896,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
244,
196,
48
]
},
{
"rgb": [
232,
226,
214
]
},
{
"rgb": [
181,
140,
82
]
},
{
"rgb": [
103,
122,
87
]
}
],
"backgroundColor": {
"rgb": [
247,
242,
232
]
}
}
}
}{
"taskType": "imageInference",
"taskUUID": "1c23320a-df17-4787-923d-5b4526612eb0",
"imageUUID": "975e4c7b-7309-4fed-8935-ff3c7002c986",
"imageURL": "https://im.runware.ai/image/os/a25d05/ws/2/ii/975e4c7b-7309-4fed-8935-ff3c7002c986.jpg",
"seed": 655714877,
"cost": 0.04
}Mediterranean Citrus Skincare Still Life
{
"taskType": "imageInference",
"taskUUID": "4214d813-558e-446b-90e3-f3a3034e7e0d",
"model": "recraft:v4@0",
"positivePrompt": "A premium skincare product advertising still life on a sun-warmed Mediterranean stone ledge: frosted glass serum bottle with minimal unlabeled packaging, sliced bergamot and lemon, olive leaves, white linen folds, tiny water droplets, soft shadows from pergola slats, luminous golden-hour sunlight, airy luxury resort mood, ultra-clean composition, realistic glass refraction, subtle condensation, natural stone texture, sophisticated editorial beauty photography, high-end commercial aesthetic, balanced negative space for branding, crisp focus, refined color harmony, photorealistic",
"width": 1216,
"height": 896,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
245,
196,
92
]
},
{
"rgb": [
128,
156,
103
]
},
{
"rgb": [
240,
234,
223
]
},
{
"rgb": [
182,
205,
198
]
}
],
"backgroundColor": {
"rgb": [
248,
244,
236
]
}
}
}
}{
"taskType": "imageInference",
"taskUUID": "4214d813-558e-446b-90e3-f3a3034e7e0d",
"imageUUID": "c0f73ea8-e121-4136-b6b7-5cbde0b04a47",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/c0f73ea8-e121-4136-b6b7-5cbde0b04a47.jpg",
"seed": 456428357,
"cost": 0.04
}Botanical Skincare Product Still
{
"taskType": "imageInference",
"taskUUID": "48388b39-8ddb-4808-aeb1-f78f46fcdd37",
"model": "recraft:v4@0",
"positivePrompt": "A luxury beauty campaign hero image featuring a frosted glass serum bottle with a brushed gold dropper cap, centered on a smooth stone pedestal, surrounded by dew-kissed white camellia blossoms, glossy green leaves, and a few translucent water droplets. Soft early-morning studio light with a subtle botanical glow, realistic glass refraction, crisp label area, elegant composition, premium skincare branding aesthetic, photorealistic materials, natural shadows, high-end editorial product photography, clean negative space, sophisticated minimal set design, fresh, luminous, serene mood.",
"width": 1216,
"height": 896,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
245,
244,
238
]
},
{
"rgb": [
214,
195,
156
]
},
{
"rgb": [
92,
122,
96
]
},
{
"rgb": [
224,
231,
223
]
}
],
"backgroundColor": {
"rgb": [
244,
241,
235
]
}
}
}
}{
"taskType": "imageInference",
"taskUUID": "48388b39-8ddb-4808-aeb1-f78f46fcdd37",
"imageUUID": "f95145c3-8d73-4ad0-957f-77a7d27f4d9d",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/f95145c3-8d73-4ad0-957f-77a7d27f4d9d.jpg",
"seed": 870227066,
"cost": 0.04
}Sunlit Botanical Skincare Still Life
{
"taskType": "imageInference",
"taskUUID": "41fc836e-6c17-4fae-8f17-93f1d346c2f3",
"model": "recraft:v4@0",
"positivePrompt": "A premium skincare campaign still life on a clean studio set: a frosted glass serum bottle with a minimalist unlabeled design, arranged beside fresh eucalyptus leaves, sliced cucumber, smooth white stones, and tiny water droplets on a glossy surface. Soft early-morning sunlight streams from the left, creating natural highlights, gentle shadows, realistic glass refraction, crisp reflections, and luxurious texture detail. Editorial beauty photography, elegant composition, calm wellness mood, photorealistic materials, subtle depth, high-end commercial aesthetic, spacious negative space for marketing copy, no text, no logo, no watermark.",
"width": 1216,
"height": 896,
"providerSettings": {
"recraft": {
"colors": [
{
"rgb": [
214,
231,
221
]
},
{
"rgb": [
171,
196,
176
]
},
{
"rgb": [
244,
247,
242
]
},
{
"rgb": [
198,
214,
205
]
}
],
"backgroundColor": {
"rgb": [
245,
248,
244
]
}
}
}
}{
"taskType": "imageInference",
"taskUUID": "41fc836e-6c17-4fae-8f17-93f1d346c2f3",
"imageUUID": "ee17f487-9547-47ff-84bb-7dda32047cba",
"imageURL": "https://im.runware.ai/image/os/a21d05/ws/2/ii/ee17f487-9547-47ff-84bb-7dda32047cba.jpg",
"seed": 1506830342,
"cost": 0.04
}