generate_svg
Convert text prompts into scalable SVG images with customizable styles and sizes using the Recraft model via the replicate-flux-mcp server.
Instructions
Generate an SVG from a text prompt using Recraft model
Input Schema
Name | Required | Description | Default |
---|---|---|---|
prompt | Yes | Prompt for generated SVG | |
size | No | Size of the generated SVG | 1024x1024 |
style | No | Style of the generated image. | any |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"prompt": {
"description": "Prompt for generated SVG",
"minLength": 1,
"type": "string"
},
"size": {
"default": "1024x1024",
"description": "Size of the generated SVG",
"enum": [
"1024x1024",
"1365x1024",
"1024x1365",
"1536x1024",
"1024x1536",
"1820x1024",
"1024x1820",
"1024x2048",
"2048x1024",
"1434x1024",
"1024x1434",
"1024x1280",
"1280x1024",
"1024x1707",
"1707x1024"
],
"type": "string"
},
"style": {
"default": "any",
"description": "Style of the generated image.",
"enum": [
"any",
"engraving",
"line_art",
"line_circuit",
"linocut"
],
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}