Browse ModelsRecraft AIRecraft AI Recraft V4.1 Text To Vector

Recraft Ai Recraft V4.1 Text To Vector

Recraft Ai Recraft V4.1 Text To Vector

Playground

Try it 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.

Features

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.

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

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/recraft-ai/recraft-v4.1/text-to-vector" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "image_size": "1:1"
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-Text prompt for the generated image.
image_sizestringNo1:11:1, 16:9, 9:16, 4:3, 3:4Output image size preset.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction, the ID of the prediction to get
data.modelstringModel ID used for the prediction
data.outputsstringArray of URLs to the generated content.
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.