Seedance 2.0 15% OFF | Create in Video Generator →

Recraft V4.1 Text to Vector

recraft-ai /

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.

text-to-image
Input

Idle

$0.08per run·~12 / $1

Next:

ExamplesView all

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

Related Models

README

Recraft V4.1 Text-to-Vector

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.

Why Choose This?

  • 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.

Parameters

ParameterRequiredDescription
promptYesText prompt describing the image you want to generate.
image_sizeNoOutput image size preset. Default: square_hd.

How to Use

  1. Write your prompt — describe the subject, style, composition, and visual direction you want.
  2. Choose image size (optional) — select the preset that best fits your intended layout.
  3. Submit — run the model and download the generated vector image.

Example Prompt

A clean flat vector illustration of a paper airplane logo, geometric shapes, minimal color palette, modern startup brand style

Output

Returns one SVG vector image URL in the standard WaveSpeed prediction response.

Pricing

Recraft official API pricing is a flat rate per image.

OutputCost
Per image$0.08

Billing Rules

  • Each generated vector image costs $0.08
  • Pricing is fixed per image
  • image_size does not affect pricing

Best Use Cases

  • Logo concepts — Generate editable vector directions for brand identity work.
  • Brand graphics — Create scalable assets for marketing and design systems.
  • Illustration — Produce vector-style artwork for commercial or editorial use.
  • UI and icon assets — Generate clean scalable graphics for product and interface workflows.
  • Marketing materials — Create vector visuals for ads, presentations, and publishing.

Pro Tips

  • Be specific in your prompt about style, shape language, and composition.
  • Mention terms like minimal, geometric, flat, icon-style, or brand illustration when relevant.
  • Use concise but descriptive prompts for more controllable vector outputs.
  • Start with the default size preset unless you need a specific layout.

Notes

  • prompt is required.
  • image_size defaults to square_hd.
  • The model returns a single SVG vector image per request.
  • Pricing is fixed at $0.08 per image.

Related Models

  • Recraft V4.1 Text-to-Image — Generate high-quality raster images from text prompts.
  • Recraft V4.1 Pro Text-to-Image — Higher-tier raster image generation for premium output quality.
  • Recraft V4.1 Pro Text-to-Vector — Premium vector generation for higher-end editable SVG outputs.
Accessibility:This website uses AI models provided by third parties.

Recraft v4.1 Text To Vector API — Quick start

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.

HTTP example
# 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].
Node.js example
// 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
Python example
# 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 output

Recraft v4.1 Text To Vector API — Frequently asked questions

What is the Recraft v4.1 Text To Vector API?

Recraft 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.

How do I call the Recraft v4.1 Text To Vector API?

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.

How much does Recraft v4.1 Text To Vector cost per run?

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.

What inputs does Recraft v4.1 Text To Vector accept?

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.

How do I get started with the Recraft v4.1 Text To Vector API?

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.

Can I use Recraft v4.1 Text To Vector outputs commercially?

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.