Skip to main content
RecraftMediumHigh

Recraft V4 SVG

Generates vector graphics directly in SVG format using Recraft V4, ideal for logos, icons, and scalable illustrations that need to stay crisp at any size.

190 credits
per image
Native SVG output โ€” true vector graphics, not a rasterized image
Built on Recraft V4 for improved typography and prompt adherence
Ideal for assets that must stay crisp at any scale
Same aspect ratio / size presets as Recraft V4
Long-form 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-svg",
  "input": {
    "prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
    "aspect_ratio": "1:1"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for image generation (up to 10,000 characters)
aspect_ratiostringNoNot setAspect ratio of the generated image
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

Logo mark

A simple, scalable vector logo suitable for a startup brand.

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-svg",
  "input": {
    "prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
    "aspect_ratio": "1:1"
  }
}'

Icon set piece

A single line-style icon designed to sit within a larger icon set.

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-svg",
  "input": {
    "prompt": "A simple line-art icon of a shopping cart, consistent 2px stroke, flat vector style",
    "size": "1024x1024"
  }
}'

Tips & Best Practices

1Output is SVG, so it stays crisp at any size โ€” use it for logos and icons rather than photorealistic scenes
2Set aspect_ratio for common ratios; leave it 'Not set' and use size for exact pixel dimensions instead
3Vector output can be opened directly in design tools (Illustrator, Figma, Inkscape) for further edits

Use Cases

Logo design and brand mark creation
Icon sets and UI icons
Scalable illustrations for print and web (posters, packaging, favicons)
Vector assets that need further editing in a design tool