Skip to main content
RecraftMediumHigh

Recraft V4.1 SVG

Generates production-ready SVG vector images with Recraft V4.1's design taste โ€” clean geometry, structured layers and editable paths that stay crisp at any size.

93 credits
per image
Native SVG output โ€” true vector graphics, not a rasterized image
Clean geometry with structured layers and editable paths
Recraft V4.1 design taste and prompt accuracy
Same aspect ratio / size presets as Recraft V4.1
Long prompts up to 10,000 characters

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "recraft-ai/recraft-v4.1-svg",
  "input": {
    "prompt": "A cross-section diagram of an impossible underground city built inside a giant geode โ€” crystalline amethyst formations become the architecture, tiny silhouetted figures walk through the caverns. Flat vector illustration, intricate linework, deep indigo, lavender, pale gold and electric violet palette, isometric cross-section view.",
    "aspect_ratio": "Not set",
    "size": "1024x1024"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for image generation (up to 10,000 characters)
aspect_ratiostringNoNot setAspect ratio of the generated image. When set, size is ignored
Not set1:14:33:43:22:316:99:161:22:114:1010:144:55:46:10
sizestringNo1024x1024Width and height of the generated image. Size is ignored if an aspect ratio is set.
1024x10241536x768768x15361280x832832x12801216x896896x12161152x896896x1152832x13441280x896896x12801344x768768x1344

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Isometric vector illustration

Detailed flat vector cross-section diagram

Isometric vector illustration
curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "recraft-ai/recraft-v4.1-svg",
  "input": {
    "prompt": "A cross-section diagram of an impossible underground city built inside a giant geode โ€” crystalline amethyst formations become the architecture, tiny silhouetted figures walk through the caverns. Flat vector illustration, intricate linework, deep indigo, lavender, pale gold and electric violet palette, isometric cross-section view.",
    "aspect_ratio": "Not set",
    "size": "1024x1024"
  }
}'

Logo mark

A simple, scalable single-color logo

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "recraft-ai/recraft-v4.1-svg",
  "input": {
    "prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
    "aspect_ratio": "1:1"
  }
}'

Tips & Best Practices

1Output is SVG, so it stays crisp at any size โ€” best for logos, icons and flat illustration rather than photorealism
2SVG files open directly in design tools (Illustrator, Figma, Inkscape) for further edits
3Set aspect_ratio for common ratios; leave it 'Not set' and use size for exact dimensions
4Use Recraft V4.1 Pro SVG when you need more geometric detail and finer paths

Use Cases

Logos, brand marks and icon sets
Flat illustrations and diagrams for web and print
Vector assets for further editing in Illustrator, Figma or Inkscape
Scalable graphics for packaging and signage