Recraft V4.1 Vector API

recraft/v4.1/text-to-vector
SVG · 1:1 · 4:3 · 3:4 · 16:9 · 9:16

The Recraft V4.1 Vector API turns a written prompt into one editable SVG file: logos, icons, emblems and flat illustrations you can reshape and recolor in any vector editor. Choose one of five aspect ratios, a palette of up to 10 RGB colors and a background color. Each SVG on the Recraft V4.1 Vector API costs a flat 16 credits ($0.08).

Get API Key
Input
Required311/10000
Optional
Optional2/10
#1c446e#ec6e3c
Optional
#ffffff
OutputReady

Estimated cost: 16 credits · $0.0800

A flat 16 credits per SVG, charged at submission and refunded in full if the task fails.

Continue using

What is the Recraft V4.1 Vector API?

Recraft V4.1 Vector is the SVG output of Recraft V4.1, the model family Recraft released on May 14, 2026. Recraft says its Vector models deliver fully exportable vectors that you can reshape, recolor and tweak. The Recraft V4.1 Vector API on this page takes a prompt of up to 10,000 characters and returns one SVG per request in 1:1, 4:3, 3:4, 16:9 or 9:16, with optional brand colors and a background color.

Why Choose the Recraft V4.1 Vector API?

The Recraft V4.1 Vector API delivers real vector files: paths and fills you can edit, scale and recolor after generation.

  • Editable SVG outputEvery task returns an SVG made of shapes and paths, so you can open it in Illustrator, Figma or Inkscape and change any part.

  • Sharp at every sizeA vector logo stays crisp from a favicon to a storefront sign, as the Viento Sur emblem shows at any zoom level.

  • Exact brand paletteSend your colors as r, g, b values; the Viento Sur logo keeps to navy and orange on white.

  • Lettering inside the designQuote a short name such as "VIENTO SUR" and the Recraft V4.1 Vector API sets it as part of the emblem.

  • One flat priceEvery request returns one SVG for 16 credits ($0.08), whatever the prompt length, size or color options.

What parameters does the Recraft V4.1 Vector API accept?

The Recraft V4.1 Vector API needs one field, prompt. size, colors and background_color are optional.

ParameterRequirementDescription
promptRequired

Non-blank text, up to 10,000 characters. Put any words that should appear in the design in straight double quotes.

sizeOptional

Aspect ratio of the SVG: 1:1, 4:3, 3:4, 16:9 or 9:16.

Default1:14:33:416:99:16
colorsOptional

Preferred palette: an array of up to 10 objects, each with integer r, g and b from 0 to 255, for example {"r": 28, "g": 68, "b": 110}.

background_colorOptional

Background color as one object with integer r, g and b from 0 to 255.

How do you use the Recraft V4.1 Vector API?

Describe the mark or illustration, set the ratio and colors, then download the SVG when the task finishes.

  1. Describe the designName the subject, the shapes and the style, such as a round emblem, flat vector or line icon, and quote any lettering.

  2. Choose the sizeUse 1:1 for logos and icons, 3:4 or 9:16 for posters, 4:3 or 16:9 for banners and slides.

  3. Set the paletteList the brand colors in colors and add a background_color, for example white for a logo sheet.

  4. Submit the taskSend recraft/v4.1/text-to-vector and the input to the submit endpoint and keep the task_id.

  5. Download the SVGPoll until finished, then fetch the SVG from files[0].file_url and open it in your vector editor.

How much does the Recraft V4.1 Vector API cost?

The Recraft V4.1 Vector API costs 16 credits ($0.08) per SVG. Raster text to image on Recraft V4.1 costs 7 credits ($0.035). 1 credit = $0.005.

Each request returns one SVG and is charged once at submission; prompt length, size and colors do not change the price. Failed tasks are refunded in full. For larger, more detailed vectors, Recraft V4.1 Pro Text to Vector costs 60 credits ($0.30) per SVG.

How much does the Recraft V4.1 Vector API cost?
EndpointCredits per fileUSD per file
Recraft V4.1 Text to Vector (SVG)16$0.08
Recraft V4.1 Text to Image7$0.035

What is the Recraft V4.1 Vector API best for?

The Recraft V4.1 Vector API suits any asset that must scale cleanly and stay editable.

  • Logos and emblemsFirst-draft marks for shops, clubs and products, ready to refine by hand.

  • Icon setsFlat icons for apps and websites that keep one palette across the set.

  • Print and merchandiseStickers, t-shirt graphics and signage that print sharp at any size.

  • Web and slide illustrationsLightweight flat scenes for landing pages and presentations.

Pro Tips

  • Ask for flat shapes and a limited palette; the Viento Sur logo uses two colors and reads clearly.
  • Keep lettering short, such as a two-word name, and quote it exactly.
  • Set background_color to white for logo sheets so the emblem sits on a clean canvas.
  • Need a photo or textured poster instead? Send the same prompt to Recraft V4.1 Text to Image.

Notes

  • Each Recraft V4.1 Vector API request returns exactly one SVG file.
  • The 1:1 example on this page returned an SVG with a 2048×2048 viewBox.
  • colors accepts at most 10 entries, and every r, g and b must be an integer from 0 to 255.
  • Tasks run asynchronously: submission returns a task_id, and the finished status carries the SVG URL. A top-level callback_url can receive the result.

Sources

Model details on this page come from Recraft's own documentation:

“The Vector models deliver fully exportable vectors that you can reshape, recolor, and tweak until they're perfect.”

— Recraft, Recraft V4.1 | Recraft docs

“V4.1, released on May 14, 2026, makes images feel more alive, more purposeful, and more natural.”

— Recraft, Recraft V4.1 | Recraft docs,

Recraft V4.1 Vector API FAQ

What is the Recraft V4.1 Vector API?

The Recraft V4.1 Vector API gives developers the SVG output of Recraft V4.1, the model family Recraft released on May 14, 2026. Each request turns a prompt into one editable SVG in one of five aspect ratios, with optional RGB palette and background color. You can call it programmatically or try it from the playground above.

How much does the Recraft V4.1 Vector API cost?

Each SVG costs a flat 16 credits ($0.08). The price stays the same for every prompt, size and color setting, and failed tasks are refunded in full.

Are the files real vectors I can edit?

Yes. The Recraft V4.1 Vector API returns an SVG file built from shapes and paths. Recraft describes its Vector models as fully exportable vectors you can reshape, recolor and tweak, so you can open the file in any vector editor.

What is the difference between Recraft V4.1 Vector and Recraft V4.1 Pro Vector?

Both return SVG and accept the same fields. Recraft says the Pro models deliver higher resolution and finer detail for print-ready visuals; on Vidgo, Pro Vector costs 60 credits per SVG and the Recraft V4.1 Vector API costs 16.

Can the Recraft V4.1 Vector API use my brand colors?

Yes. Send up to 10 colors in colors as objects with integer r, g and b from 0 to 255, plus an optional background_color. The Viento Sur example uses navy {28, 68, 110} and orange {236, 110, 60} on white.

Can the Recraft V4.1 Vector API add text to a logo?

Yes. Quote the name in the prompt, as "VIENTO SUR" in the example, and keep it short for the cleanest lettering.