> ## Documentation Index
> Fetch the complete documentation index at: https://www.recraft.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Recraft V2

Recraft V2 is an image generation model released in February 2024 — the first AI model built specifically for designers, enabling both raster and vector images with anatomical accuracy, consistent brand styling, and precise iteration control. It is the cheapest option in the API. While V2 does not match the newer models in prompt adherence or text accuracy, it remains preferred by many users for a set of specific styles — minimalistic icons, textured illustration, and vector-based workflows.

<Note>
  V2 does not support accurate in-image text generation and may produce typographic errors. If the image contains text, use a V3 or newer model.
</Note>

## Models

| Model             | `model` value      | Output      | Price per image |
| ----------------- | ------------------ | ----------- | --------------- |
| Recraft V2        | `recraftv2`        | Raster, 1K  | \$0.022         |
| Recraft V2 Vector | `recraftv2_vector` | Vector, SVG | \$0.044         |

## How to call it

Pass the model to `/v1/images/generations`:

<CodeGroup>
  ```python Python theme={null}
  response = client.images.generate(
      prompt='settings gear icon',
      model='recraftv2_vector',
      style='Icon',
  )
  print(response.data[0].url)
  ```

  ```bash cURL theme={null}
  curl -X POST https://external.api.recraft.ai/v1/images/generations \
    -H "Authorization: Bearer $RECRAFT_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "prompt": "settings gear icon",
      "model": "recraftv2_vector",
      "style": "Icon"
    }'
  ```
</CodeGroup>

## Supported operations

| Operation                                                 | Endpoint                 | Price (raster / vector) |
| --------------------------------------------------------- | ------------------------ | ----------------------- |
| [Generate image](/docs/api-reference/endpoints#generate-image) | `/v1/images/generations` | $0.022 / $0.044         |
| [Create style](/docs/api-reference/endpoints#create-style)     | `/v1/styles`             | \$0.005 per request     |

## Additional features

| Feature                                       | Support                                                                                                                                                                              |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Vector generation                             | Editable SVG output: `recraftv2_vector`                                                                                                                                              |
| [Styles](/docs/api-reference/styles)               | Curated styles, custom styles, `style_id`, and attached [style references](/docs/api-reference/endpoints#style-references). Default style: `Photorealism` (raster), `Vector art` (vector) |
| `negative_prompt`                             | A text description of undesired elements on an image                                                                                                                                 |
| [Controls](/docs/api-reference/endpoints#controls) | `colors` and `background_color`                                                                                                                                                      |

## Related

<CardGroup cols={2}>
  <Card title="Endpoints" href="/docs/api-reference/endpoints">
    Full parameter reference for generate image.
  </Card>

  <Card title="Pricing" href="/docs/api-reference/pricing">
    Complete API unit charges across every model and operation.
  </Card>

  <Card title="Styles" href="/docs/api-reference/styles">
    The full curated style list for V2 and V2 Vector.
  </Card>

  <Card title="Recraft V2" href="/docs/recraft-models/recraft-V2">
    V2's curated styles, icon workflows, and limitations in detail.
  </Card>
</CardGroup>
