V4 Styles models always require a style: pass
style_reference_urls (or uploaded style_references) or a style_id. A request with neither is rejected.$0.035
per image, plus $0.005 per new style
1K / 2K
WebP, PNG, or SVG
1 to 10
reference images
recraftv4_styles
model valueTry it
Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:Response
style_idis the style created from your references. Pass it instead of the references in later requests to skip the style creation charge.creditsis the total charged: here 35 for the image plus 5 for creating the style.datahas one entry per image (n). Download each image from itsurl.- Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
Parameters
More parameters
More parameters
Not supported:
negative_prompt, style (curated styles), text_layout.Variants
A style applies the same way on every variant. Creating a style costs $0.005 once, on top of the per-image price.
Capabilities
Examples
Create a style once, reuse it for a set
Create a style once, reuse it for a set
Use this flow when the same style serves many requests, as in brand and campaign work.1. Create the style ($0.005):2. Generate with the Replace the
id as style_id, as many times as you need:style_id with the id you received.Upload local reference files
Upload local reference files
Precise style match
Precise style match
"style_match": "flexible" to compare.SVG logo in a style
SVG logo in a style
Working with styles
Reference images
A single reference is enough. Similar references sharpen the match, varied references widen the range. References don’t have to come from Recraft: other generators, branding materials, and existing assets all work. Create style also accepts
image_weights, one per image, to bias the style toward specific references.
Style match
Every style stores a match value, set withmatch at style creation:
flexible(default) matches the general vibe and gives the model slightly more liberty.precisefollows the style meticulously: rendering technique, color, composition, and lighting.
style_match in a generation request overrides the stored value for that request. See Style match.
Billing
Generation and style creation are billed separately. Attaching references to a generation creates a style and charges $0.005 on top of the image price; the responsecredits is the sum. Reusing the returned style_id costs generation only.
A style created once, then a 10-image set:
Styles on other V4 models
Every V4 and V4.1 model (except V4.1 Flash) also acceptsstyle_id or style references, at that model’s own price. A style must be used with a matching model: the model it was created with (Create style defaults to recraftv4_styles). V4 Styles is purpose-built for style consistency and always requires a style; the other models treat a style as optional.
Errors
Related
Styles
How styles work across models: custom styles and style match.
Style creation guide
How to pick references that produce a strong style.
All models
The whole lineup with prices and best-fit use cases.
Endpoints
Full request reference for generate image and create style.