## Basic model info

Model name: recraft-ai/recraft-v4-pro-svg
Model description: Generate detailed SVG vector graphics from text prompts. Recraft V4 Pro's design taste with more geometric detail and finer paths — clean layers, editable output, and scalable to any size.


## Model inputs

- prompt (required): Text prompt for image generation (up to 10,000 characters) (string)
- aspect_ratio (optional): Aspect ratio of the generated image (string)
- size (optional): Width and height of the generated image. Size is ignored if an aspect ratio is set. (string)


## Model output schema

{
  "type": "string",
  "title": "Output",
  "format": "uri"
}

If the input or output schema includes a format of URI, it is referring to a file.


## Example inputs and outputs

Use these example outputs to better understand the types of inputs the model accepts, and the types of outputs the model returns:

### Example (https://replicate.com/p/jqx182qmhxrmr0cwe3m9hhjqhr)

#### Input

```json
{
  "prompt": "Retro 1970s style poster with the text 'Recraft V4 Pro' in bold groovy typography with rainbow gradient colors, sunburst background in warm orange and yellow tones, psychedelic design",
  "aspect_ratio": "1:1"
}
```

#### Output

```json
"https://replicate.delivery/xezq/zOjOSqPexepGEEafhufhkn0fJq9fxvuYnGidFuAp8XJfqdbELA/tmp5rpedkjl.svg"
```


### Example (https://replicate.com/p/1p1n9yhvhdrmw0cwe3csh6c0b8)

#### Input

```json
{
  "prompt": "Minimalist logo design for a mountain hiking brand called 'Summit Trail', geometric mountain peaks with a winding path, clean lines, single color",
  "aspect_ratio": "1:1"
}
```

#### Output

```json
"https://replicate.delivery/xezq/WkzuVjnzSK68IFDpktcNyyhYtPSZp1lAEV4njlyRq4c6qNiF/tmpcto711ri.svg"
```


### Example (https://replicate.com/p/4y6e9z9xx1rmt0cwe3cs0kvxs8)

#### Input

```json
{
  "prompt": "Set of six line icons for a food delivery app: a shopping bag, a bicycle, a clock, a map pin, a star rating, and a credit card, consistent stroke width, minimal style",
  "aspect_ratio": "16:9"
}
```

#### Output

```json
"https://replicate.delivery/xezq/N1A35f6wCQ2OQyjyvvb6k9C7KKvdf6zAwUhwyxSfsmYGWtRsA/tmpev704xn3.svg"
```


### Example (https://replicate.com/p/0g4sc9t111rmy0cwe3ct5bckv8)

#### Input

```json
{
  "prompt": "Flat vector illustration of a woman working at her desk with a laptop, surrounded by houseplants, a cat on the windowsill, warm pastel color palette, modern editorial illustration style",
  "aspect_ratio": "1:1"
}
```

#### Output

```json
"https://replicate.delivery/xezq/E0ymrtpaALbVLBOuyBiDO3T3vhbnVYZU2kCnG2isUrt2qNiF/tmpmo44jqf_.svg"
```


### Example (https://replicate.com/p/qea840j4t1rmw0cwe3cv2t4h9g)

#### Input

```json
{
  "prompt": "Vintage travel poster for Tokyo, Japan, featuring a stylized Tokyo Tower, cherry blossoms, and Mount Fuji in the background, bold typography reading 'Visit Tokyo', retro color palette with warm oranges and deep blues",
  "aspect_ratio": "2:3"
}
```

#### Output

```json
"https://replicate.delivery/xezq/3YqZevGshCX3T6KcUjL5MkC6ZxsbzuectQaZ37JMGZBIr2IWA/tmpkn4q9tsa.svg"
```


## Model readme

> ## Overview
> 
> Recraft V4 Pro SVG is the detailed version of Recraft's vector generation model. It generates editable SVG files from text prompts with more geometric precision and finer paths than the standard V4 SVG model — useful for complex illustrations, large-format work, and anything where you need extra detail in your vectors.
> 
> Like the standard V4 SVG model, the output is native vector — actual SVG files with structured layers and clean geometry, ready to open in Illustrator, Figma, Sketch, or use directly on the web. Since it's SVG, the output scales to any size without quality loss.
> 
> Recraft is the only image generation model that produces native vector output. V4 Pro SVG brings the same design taste and prompt accuracy as the raster V4 Pro model to vector workflows.
> 
> If you don't need the extra detail, use the standard [Recraft V4 SVG](https://replicate.com/recraft-ai/recraft-v4-svg) model for faster, more cost-efficient vector generation.
> 
> ## Features
> 
> - **More detailed vector output.** Generates SVG files with finer paths and more geometric precision than the standard vector model — better for complex illustrations and detailed designs.
> - **Infinitely scalable.** SVG output looks sharp at any size, from tiny favicons to billboard-scale prints. No resolution limits.
> - **Native SVG format.** Actual editable vector files with clean paths and structured layers — not rasterized images converted to SVG.
> - **Design taste built in.** V4 Pro's visual judgment applies to vector output too — balanced composition, cohesive color, and refined detail.
> - **Production-ready vectors.** Output works directly in professional design tools and on the web. No cleanup or path optimization needed.
> - **Strong prompt accuracy.** Supports prompts up to 10,000 characters. What you describe is what you get.
> - **Multiple aspect ratios.** Generate in 1:1, 4:3, 3:2, 16:9, 9:16, and other common ratios.
> 
> ## Use cases
> 
> - Large-format brand assets: billboards, signage, trade show graphics
> - Detailed illustrations for print production
> - High-fidelity icon sets and design system components
> - Packaging graphics and product design elements
> - Any vector work where fine detail and scale matter
> 
> ## Licensing and commercial use
> 
> Images generated on Replicate with Recraft V4 Pro SVG can be used commercially. See [Recraft's terms](https://www.recraft.ai/terms) for details.

