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.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
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"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for image generation (up to 10,000 characters) |
aspect_ratio | string | No | Not set | Aspect ratio of the generated image Not set1:14:33:43:22:316:99:161:22:114:1010:144:55:46:10 |
size | string | No | 1024x1024 | Width and height of the generated image. Size is ignored if an aspect ratio is set. 1024x10241536x768768x15361280x832832x12801216x896896x12161152x896896x1152832x13441280x896896x12801344x768768x1344 |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
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"
}
}'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"
}
}'POST /v1/predictions