Recraft V4.1 Text to Vector is a fast AI vector generation model that creates editable SVG-style vector images from text prompts. Ready-to-use REST inference API for logos, icons, illustrations, brand assets, scalable graphics, design systems, and professional text-to-vector workflows with simple integration, no coldstarts, and affordable pricing.
Idle
$0.08per run·~12 / $1
Create a vector game icon of a magical crystal orb, simple bold shapes, glowing effect represented with clean gradients, fantasy style, purple and gold palette, crisp edges, app icon composition, no text, no photorealism
Recraft V4.1 Text-to-Vector generates editable SVG-style vector images from natural-language prompts. It is designed for scalable vector creation workflows such as logos, icons, illustrations, brand assets, marketing graphics, and other design tasks that benefit from clean editable output.
Editable vector generation Create SVG-style vector images directly from text prompts.
Scalable output Generate vector artwork that stays sharp across different sizes and layouts.
Simple prompt-based workflow Turn natural-language descriptions into vector graphics with minimal setup.
Preset image sizing
Use image_size presets for predictable framing and composition.
Production-ready generation Suitable for branding, illustration, UI assets, and other vector-first creative workflows.
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image you want to generate. |
| image_size | No | Output image size preset. Default: square_hd. |
A clean flat vector illustration of a paper airplane logo, geometric shapes, minimal color palette, modern startup brand style
Returns one SVG vector image URL in the standard WaveSpeed prediction response.
Recraft official API pricing is a flat rate per image.
| Output | Cost |
|---|---|
| Per image | $0.08 |
image_size does not affect pricingprompt is required.image_size defaults to square_hd.Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-vector with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Recraft v4.1 Text To Vector below.
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-vector" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
}'
# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# When status is "completed", read the output from data.outputs[0].// npm install wavespeed
const WaveSpeed = require('wavespeed');
const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env
const result = await client.run("recraft-ai/recraft-v4.1/text-to-vector", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
});
console.log(result.outputs[0]); // → URL of the generated output# pip install wavespeed
import wavespeed
output = wavespeed.run(
"recraft-ai/recraft-v4.1/text-to-vector",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"image_size": "1:1"
}
)
print(output["outputs"][0]) # → URL of the generated outputRecraft v4.1 Text To Vector is a Recraft model for image generation, exposed as a REST API on WaveSpeedAI. Recraft V4.1 Text to Vector is a fast AI vector generation model that creates editable SVG-style vector images from text prompts. Ready-to-use REST inference API for logos, icons, illustrations, brand assets, scalable graphics, design systems, and professional text-to-vector workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4.1-text-to-vector.
Recraft v4.1 Text To Vector starts at $0.080 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `image_size`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/recraft-ai/recraft-ai-recraft-v4.1-text-to-vector.
Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.
Commercial usage rights depend on the model's license, set by its provider (Recraft). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.