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.
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.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"
}
}'| 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. When set, size is ignored 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 |
Detailed flat vector cross-section diagram
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.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"
}
}'A simple, scalable single-color logo
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.1-svg",
"input": {
"prompt": "A minimalist geometric logo mark for a fintech startup, single color, flat vector style, no gradients",
"aspect_ratio": "1:1"
}
}'POST /v1/predictions