Recraft V4 SVG AI Image Generation Model

$$$ · 8¢

Recraft AI's text-to-vector model for generating production-ready SVG vector images with clean geometry, structured layers, and editable paths

Input / Output
Text Image
Active

Details

Model ID
recraft-v4-svg
Creator
Recraft AI
Family
recraft-v4
Tags
image-generation text-to-image text-to-vector svg
// Get Started

Ready to integrate?

Access recraft-v4-svg via our unified API.

Create Account

Providers & Pricing (2)

Recraft V4 SVG is available from 2 providers, with per-image pricing starting at $0.08 through Replicate.

Replicate
replicate/recraft-v4-svg
Provider Model ID: recraft-ai/recraft-v4-svg
$0.080 /image
fal.ai
fal/recraft-v4-svg
Provider Model ID: fal-ai/recraft/v4/text-to-vector
$0.080 /image

Recraft V4 SVG API OpenAI-compatible

Access Recraft V4 SVG via Lumenfall’s OpenAI-compatible API to programmatically generate scalable vector images (SVG) with editable paths from text prompts.

Base URL
https://api.lumenfall.ai/openai/v1
Model
recraft-v4-svg
curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/generations \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "recraft-v4-svg",
    "prompt": "A serene mountain landscape at sunset",
    "size": "1024x1024"
  }'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Recraft V4 SVG FAQ

How much does Recraft V4 SVG cost?

Recraft V4 SVG starts at $0.08 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.

How do I use Recraft V4 SVG via API?

You can use Recraft V4 SVG through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "recraft-v4-svg". Code examples are available in Python, JavaScript, and cURL.

Which providers offer Recraft V4 SVG?

Recraft V4 SVG is available through Replicate and fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider.

Overview

Recraft V4 SVG is a specialized text-to-vector model developed by Recraft AI designed to generate production-ready vector graphics from natural language prompts. Unlike standard diffusion models that produce rasterized pixels (PNG/JPG), this model outputs natively scalable SVG files with defined geometric paths. Its distinguishing feature is the ability to generate clean, professional-grade vector code that maintains high visual fidelity across different zoom levels without pixelation.

Strengths

  • Clean Geometry and Pathing: Produces simplified, logical vector paths that avoid the “jagged” or overly complex anchor points common in automated tracing tools.
  • Structured Layering: Organizes drawing elements into distinct, logical groups within the SVG file, making the output easier to manage in professional design software like Adobe Illustrator or Figma.
  • Anatomical Accuracy: High performance in maintaining the structural integrity of subjects, particularly in medical, technical, or iconographic styles.
  • Variable Detail Control: Capable of generating a wide range of vector outputs, from minimalist flat icons and logos to highly detailed line art and complex vector illustrations.

Limitations

  • Stylistic Constraints: While excellent for graphic design and illustration, the model is not intended for photorealistic imagery or complex textures that rely on gradients and raster-heavy effects.
  • Prompt Sensitivity for Code Output: The “cleanliness” of the resulting SVG code can vary; highly complex prompts may result in more nested groups or redundant paths compared to simpler iconographic requests.
  • Niche Utility: The model is highly optimized for vector output; users requiring standard raster images for web backgrounds or social media may find general-purpose diffusion models more flexible.

Technical Background

Recraft V4 SVG belongs to the Recraft V4 architecture family, specifically optimized for the unique constraints of vector mathematics rather than just pixel-based noise reduction. The training approach focuses on the relationship between descriptive text and the underlying syntax of SVG files, ensuring that the model understands not just visual aesthetics, but also the structural requirements of scalable graphics. This architectural focus allows the model to bypass the “tracing” step typically required to turn AI-generated images into vectors.

Best For

Recraft V4 SVG is ideal for UI/UX designers creating custom icon sets, brand identity developers generating logos, and technical illustrators requiring scalable diagrams. It is particularly useful for workflows where the output must be edited in vector-based software following generation. You can experiment with and integrate Recraft V4 SVG into your applications through Lumenfall’s unified API and playground.

Try Recraft V4 SVG in Playground

Generate images with custom prompts — no API key needed.

Open Playground