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_sizepresets for predictable framing and composition. -
Production-ready generation Suitable for branding, illustration, UI assets, and other vector-first creative workflows.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text prompt describing the image you want to generate. |
| image_size | No | Output image size preset. Default: square_hd. |
How to Use
- Write your prompt — describe the subject, style, composition, and visual direction you want.
- Choose image size (optional) — select the preset that best fits your intended layout.
- 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.
| Output | Cost |
|---|---|
| Per image | $0.08 |
Billing Rules
- Each generated vector image costs $0.08
- Pricing is fixed per image
image_sizedoes 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
promptis required.image_sizedefaults tosquare_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.
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
| Parameter | Type | Required | Default | Range | Description |
|---|---|---|---|---|---|
| prompt | string | Yes | - | Text prompt for the generated image. | |
| image_size | string | No | 1:1 | 1:1, 16:9, 9:16, 4:3, 3:4 | Output image size preset. |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data.id | string | Unique identifier for the prediction, Task Id |
| data.model | string | Model ID used for the prediction |
| data.outputs | array | Array of URLs to the generated content (empty when status is not completed) |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |
Result Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Yes | - | Task ID |
Result Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | integer | HTTP status code (e.g., 200 for success) |
| message | string | Status message (e.g., “success”) |
| data | object | The prediction data object containing all details |
| data.id | string | Unique identifier for the prediction, the ID of the prediction to get |
| data.model | string | Model ID used for the prediction |
| data.outputs | string | Array of URLs to the generated content. |
| data.urls | object | Object containing related API endpoints |
| data.urls.get | string | URL to retrieve the prediction result |
| data.status | string | Status of the task: created, processing, completed, or failed |
| data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
| data.error | string | Error message (empty if no error occurred) |
| data.timings | object | Object containing timing details |
| data.timings.inference | integer | Inference time in milliseconds |