$0.007
per image
~1.3 s
end-to-end per image
1K
raster, WebP or PNG
recraftv4_1_flash
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_format": "multipart", which we recommend with Flash: the image bytes come back in the response itself, with no second download.
Response
The response ismultipart/form-data. The part named response carries this JSON, followed by one part per image with its raw bytes, named by its image_id (also in the part’s Content-ID header):
datahas one entry per image (n), and each image part’sContent-Typeis the image format (image/webpby default, orimage/png).creditsis the number of API units charged for the request.- With the default
"response_format": "url", eachdataentry has aurlinstead, kept for about 24 hours. See Image inputs and results.
Parameters
More parameters
More parameters
Not supported by Flash:
style, style_id, style_match, style references, negative_prompt, and text_layout.Variants
Flash has no Vector or Pro variants. For those, use Recraft V4.1.
Capabilities
Examples
Get a URL instead of bytes
Get a URL instead of bytes
Without
response_format, the response is JSON with a temporary download url per image:Batch of variations
Batch of variations
Related
Recraft V4.1
The full-quality V4.1 line: Pro, Utility, and Vector variants with style support.
All models
The whole lineup with prices and best-fit use cases.
Image inputs and results
Response formats in detail, including multipart.
Pricing
API unit charges across every model and operation.