# Recraft V4 SVG - Core.Today AI API > 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. - **Provider**: Recraft - **Model ID**: recraft-ai/recraft-v4-svg - **Category**: Image Generation - **Credits**: 190 per image - **Speed**: Medium - **Quality**: High ## Features - 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 ## 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 ## 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 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 ### Logo mark A simple, scalable vector logo suitable for a startup brand. ```json { "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. ```json { "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" } } ``` ## 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 — use it for logos and icons rather than photorealistic scenes - Set aspect_ratio for common ratios; leave it 'Not set' and use size for exact pixel dimensions instead - Vector output can be opened directly in design tools (Illustrator, Figma, Inkscape) for further edits ## Documentation https://replicate.com/recraft-ai/recraft-v4-svg