$0.04
per image, standard raster
1K / 2K
WebP, PNG, or SVG
10,000
characters of prompt
recraftv4
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
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.
creditsis the number of API units charged for the request.- Pass
"response_format": "b64_json"to get the image bytes inline, or"multipart"for the lowest latency. See Image inputs and results.
Parameters
More parameters
More parameters
Not supported by V4:
negative_prompt, style (curated styles), text_layout, and the artistic_level and no_text controls.Variants
- Pro variants generate at 2K with finer detail, improving anatomy and realism in complex scenes. Use them for print-ready visuals.
- Vector variants return editable SVG.
Capabilities
For style-driven work, see Recraft V4 Styles: a dedicated family that always generates against a style, at a lower price.
Examples
Vector illustration
Vector illustration
url points to an SVG file.Print-ready poster in 2K
Print-ready poster in 2K
With a custom style
With a custom style
A style works only with the model it was created for, so create it with Reuse the same
"model": "recraftv4". This creates the style ($0.005) and generates with it:STYLE_ID for later requests. To skip the separate step, pass style_reference_urls in the generation request instead.Related
All models
The whole lineup with prices and best-fit use cases.
Recraft V4.1
The next generation and the API default.
Endpoints
Full request reference for every operation.
What's new in V4
What the V4 generation changed, and how to pick a model.