Skip to main content
Recraft V2, released in February 2024, is a previous-generation model and the cheapest vector option in the API. It remains a good fit for minimalistic icons, textured illustration, and vector workflows.
V2 does not render text reliably. If the image contains text, use Recraft V3 or newer.

$0.022

per image, raster

1K

WebP, PNG, or SVG

1,000

characters of prompt

recraftv2

model value

Try it

Get an API token on your profile page (it needs a positive API units balance) and set it once per terminal session:
Then run:

Response

  • data has one entry per image (n). Download each image from its url, here an SVG file.
  • Image URLs are temporary: files are kept for about 24 hours, so download them. See Limits and sizes.
  • credits is 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

Not supported by V2: text_layout, and the artistic_level and no_text controls.

Variants

Capabilities

Examples

Curated styles

The full list of V2 and V2 Vector styles.

All models

The whole lineup with prices and best-fit use cases.

Endpoints

Full request reference for generate image.

About Recraft V2

V2’s curated styles, icon workflows, and limitations in detail.