# Recraft V4.1 SVG - Core.Today AI API > 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. - **Provider**: Recraft - **Model ID**: recraft-ai/recraft-v4.1-svg - **Category**: Image Generation - **Credits**: 93 per image - **Speed**: Medium - **Quality**: High ## Features - 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 ## 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 ## API Endpoint Base URL: https://api.core.today/v1 Create Prediction: POST /predictions Get Status: GET /predictions/{job_id} ## Authentication Header: X-API-Key: YOUR_API_KEY ## Input Parameters ### Required - **prompt**: string - Text prompt for image generation (up to 10,000 characters) ### Optional - **aspect_ratio**: string (default: Not set) - Aspect ratio of the generated image. When set, size is ignored Options: Not set, 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 1:2, 2:1, 14:10, 10:14, 4:5, 5:4, 6:10 - **size**: string (default: 1024x1024) - Width and height of the generated image. Size is ignored if an aspect ratio is set. Options: 1024x1024, 1536x768, 768x1536, 1280x832, 832x1280, 1216x896, 896x1216, 1152x896, 896x1152, 832x1344, 1280x896, 896x1280, 1344x768, 768x1344 ## Examples ### Isometric vector illustration Detailed flat vector cross-section diagram ```json { "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 ```json { "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" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending | processing | completed | failed", "result": "URL or data (when completed)" } ``` ## Usage Flow 1. POST /predictions with model and input -> receive job_id 2. GET /predictions/{job_id} -> poll until status is completed or failed 3. Result contains output URL(s) ## Tips - Output is SVG, so it stays crisp at any size — best for logos, icons and flat illustration rather than photorealism - SVG files open directly in design tools (Illustrator, Figma, Inkscape) for further edits - Set aspect_ratio for common ratios; leave it 'Not set' and use size for exact dimensions - Use Recraft V4.1 Pro SVG when you need more geometric detail and finer paths ## Documentation https://replicate.com/recraft-ai/recraft-v4.1-svg