# Recraft V4 Pro SVG > Recraft AI's premium text-to-vector model for generating detailed SVG vector graphics with refined composition and materials ## Quick Reference - Model ID: recraft-v4-pro-svg - Creator: Recraft AI - Status: active - Family: recraft-v4 - Base URL: https://api.lumenfall.ai/openai/v1 ## Specifications - Input Modalities: text - Output Modalities: image ## Model Identifiers - Primary Slug: recraft-v4-pro-svg ## Dates ## Tags image-generation, text-to-image, text-to-vector, svg ## Available Providers ### fal.ai - Config Key: fal/recraft-v4-pro-svg - Provider Model ID: fal-ai/recraft/v4/pro/text-to-vector - Pricing: - source: official - currency: USD - components: [{"type" => "output", "metric" => "image", "unit_price" => 0.3}] - source_url: https://fal.ai/models/fal-ai/recraft/v4/pro/text-to-vector - effective_at: 2026-03-10 ### Replicate - Config Key: replicate/recraft-v4-pro-svg - Provider Model ID: recraft-ai/recraft-v4-pro-svg - Pricing: - source: official - currency: USD - components: [{"type" => "output", "metric" => "image", "unit_price" => 0.3}] - source_url: https://replicate.com/recraft-ai/recraft-v4-pro-svg - effective_at: 2026-03-10 ## Image Gallery 4 images available for this model. - Curated examples: 4 - "Vector illustration of a cinematic wide shot of a high-end, contemporary design studio interior. In the center of the..." - "A vibrant, flat-style vector illustration of a mid-century modern botanical garden conservatory. The composition feat..." - "A complex, symmetrical vector illustration of an intricate astronomical clockwork mechanism, featuring layered gears,..." - "A vintage tin sign for "GOLDEN LEAF TEA CO." featuring elegant serif typography and ornate filigree. A small capybara..." ## Example Prompt The following prompt was used to generate an example image in our playground: A vintage tin sign for "GOLDEN LEAF TEA CO." featuring elegant serif typography and ornate filigree. A small capybara sits peacefully on a distant rolling hill in the background landscape. Flat vector style, clean lines, balanced composition. ## Code Examples ### Text to Image (Generation) #### cURL 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-pro-svg", "prompt": "A serene mountain landscape at sunset", "size": "1024x1024" }' # Response: # { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] } #### JavaScript import OpenAI from 'openai'; const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.lumenfall.ai/openai/v1' }); const response = await client.images.generate({ model: 'recraft-v4-pro-svg', prompt: 'A serene mountain landscape at sunset', size: '1024x1024' }); // { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } console.log(response.data[0].url); #### Python from openai import OpenAI client = OpenAI( api_key="YOUR_API_KEY", base_url="https://api.lumenfall.ai/openai/v1" ) response = client.images.generate( model="recraft-v4-pro-svg", prompt="A serene mountain landscape at sunset", size="1024x1024" ) # { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] } print(response.data[0].url) ## About ## Overview Recraft V4 Pro SVG is a specialized text-to-vector model developed by Recraft AI designed to generate scalable vector graphics (SVGs) directly from natural language prompts. Unlike standard diffusion models that produce rasterized pixel data, this model outputs clean, path-based geometry suitable for professional design workflows. It is distinctive for its ability to handle complex compositions and material simulations while maintaining the mathematical editability inherent to the SVG format. ## Strengths * **Vector Fidelity:** Generates true path-based SVG files rather than vectorized versions of raster images, resulting in clean anchor points and scalable curves without resolution loss. * **Refined Material Logic:** Excels at interpreting prompts for specific artistic materials and textures, translating them into vector-compatible gradients and shapes. * **Complex Compositional Awareness:** Maintains high spatial accuracy when managing multiple subjects or intricate layouts, reducing the likelihood of overlapping or nonsensical pathing. * **Design Workflow Integration:** Produces output that is natively compatible with professional tools like Adobe Illustrator and Figma, allowing for immediate manual adjustment of individual points and layers. ## Limitations * **Photorealism Constraints:** Due to the nature of vector graphics, this model is not intended for generating photorealistic human faces or complex organic textures that require high-frequency pixel detail. * **Path Complexity:** Extremely detailed prompts can lead to very large SVG files with thousands of paths, which may slow down performance in certain vector editing software. * **Text Encoding:** While it handles graphic layouts well, it may still struggle with rendering precise, high-character-count strings of text within the generated vector artwork. ## Technical Background The Recraft V4 architecture is built on a private foundation model specifically optimized for geometric and structural understanding rather than just pixel-level distribution. It utilizes a training approach that prioritizes the relationship between semantic descriptions and vector path logic, ensuring that the generated geometry is organized logically into groups and layers. This allows the model to produce "clean" code that mirrors the output of a human graphic designer more closely than a standard automated tracer. ## Best For Recraft V4 Pro SVG is ideal for UI/UX designers creating iconography systems, brand identity designers developing logos and illustrations, and web developers who need lightweight, scalable assets for responsive interfaces. It is particularly effective for any use case requiring assets that must be scaled infinitely without pixelation. This model is available through Lumenfall’s unified API and interactive playground, allowing developers to integrate high-quality vector generation into their existing application pipelines with minimal configuration. ## Frequently Asked Questions ### How much does Recraft V4 Pro SVG cost? Recraft V4 Pro SVG starts at $0.3 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing. ### How do I use Recraft V4 Pro SVG via API? You can use Recraft V4 Pro SVG through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "recraft-v4-pro-svg". Code examples are available in Python, JavaScript, and cURL. ### Which providers offer Recraft V4 Pro SVG? Recraft V4 Pro SVG is available through fal.ai and Replicate on Lumenfall. Lumenfall automatically routes requests to the best available provider. ## Links - Model Page: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg - About: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/about - Providers, Pricing & Performance: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/providers - API Reference: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/api - Benchmarks: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/benchmarks - Use Cases: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/use-cases - Gallery: https://lumenfall.ai/models/recraft-ai/recraft-v4-pro-svg/gallery - Playground: https://lumenfall.ai/playground?model=recraft-v4-pro-svg - API Documentation: https://docs.lumenfall.ai