Recraft API: SVG and Raster Image Generation, Every Way to Get Access, and What Each Costs (2026)
Updated · Live figures last changed · 12 min read · The GenMagic team
Recraft's API makes a 1K image for $0.035 on its default model, V4.1, and a true SVG for $0.08 on V4.1 Vector; V4.1 Flash makes a raster image in about a second and a half for $0.007. It is the one major image API whose vector models return real SVG files, and its own API adds tools the resellers do not carry: vectorize any image for $0.01, remove a background for $0.01, upscale from $0.004.
This guide covers the Recraft models and what their names mean, what Recraft charges, the tools only Recraft's own API has, how to get access and what its terms mean for you, every platform that resells Recraft, working requests, and which route fits which job.
Not a developer? To make Recraft images in a studio and pay per image, without code or a subscription, see pay-as-you-go AI images.
A note on who wrote this: GenMagic is one of the platforms compared here. Its prices come from its live catalog, and on Recraft it is above Recraft's own price, as the tables show. Recraft's documentation and other platforms' prices were read on October 31, 2026.
Table of contents
- The short answer
- The Recraft models
- How Recraft prices them
- Getting access from Recraft
- Getting Recraft without a Recraft account
- Calling Recraft through GenMagic
- What Recraft is good at, in our tests
- Limits and gotchas
- Which route to pick
- How we checked
- Questions
The short answer
- Default model:
recraftv4_1(Recraft V4.1), $0.035 per 1K image; its Pro variant makes 2K images for $0.21 ( pricing). - SVG: every model whose name ends in
_vectorreturns an SVG file: $0.08 on V4.1 Vector, $0.30 on V4.1 Pro Vector, $0.05 on V4 Styles Vector. - Cheapest: V4.1 Flash, $0.007 an image in about 1.3 seconds, raster only and with no style support.
- Brand styles: the V4 Styles models copy a style from 1 to 10 reference images with no training step, for $0.005 extra per new style.
- Access is a Recraft account and prepaid API units ($1 buys 1,000 units, which never expire and are not refundable); there is no free API credit, and API outputs are never used for training.
- Without a Recraft account, OpenRouter, fal, Runware and Vercel's gateway charge Recraft's prices, Replicate and WaveSpeed a little more, and GenMagic the most, with one balance for every model. The full set of tools (vectorize, background removal, upscaling, inpainting) is on Recraft's own API.
The Recraft models
Recraft's names are built from parts, and each part means one thing ( model overview):
_vector: the output is an SVG; "all other models produce raster images"._pro: 2K raster output "with finer detail", for print and large assets (Recraft's API does not make 4K)._utility(V4.1 only): "clean, predictable images with flat lighting and simple composition", for mockups and product listing photos._flash(V4.1 only): "fast, low-cost raster models without style support"._styles: models that "always require a style", from a saved style or reference images.
| Line | Released | What it is for | Median time (Recraft's figure) |
|---|---|---|---|
V4.1 (recraftv4_1, the API default) | May 2026 | Best quality; also Pro, Vector, Pro Vector | 6.5 s raster, 12 s vector |
| V4.1 Utility | May 2026 | Mockups, product listing photos | 8.5 s |
| V4.1 Flash | September 2026 | Speed and price, raster only | 1.3 s |
| V4 Styles | August 2026 | A style copied from your references | Not stated |
| V4 | February 2026 | The previous line, same variants | 10 s raster, 15 s vector |
| V3 | October 2024 | Curated named styles, exact text placement, inpainting, background tools | Not stated |
| V2 | February 2024 | The cheapest vector ($0.044), unreliable with text | Not stated |
Sources: Recraft's model overview and V4.1 page, read October 31, 2026. Recraft has announced no retirement for any of them; V3 and V2 are labeled "previous generation".
Only V3 still takes negative_prompt, the curated style names ("Line art", "Engraving", "Bold stroke" and others) and text_layout, which places each word in a box you define. V4 and V4.1 take your own style instead, and accept only two controls: a color palette of up to 10 colors and a background color.
How Recraft prices them
| Model line | Raster | Vector (SVG) | Pro raster (2K) | Pro vector |
|---|---|---|---|---|
| V4.1 and V4.1 Utility | $0.035 | $0.08 | $0.21 | $0.30 |
| V4.1 Flash | $0.007 | Not offered | Not offered | Not offered |
| V4 Styles | $0.035 | $0.05 | $0.10 | $0.12 |
| V4 | $0.04 | $0.08 | $0.25 | $0.30 |
| V3 | $0.04 | $0.08 | Not offered | Not offered |
| V2 | $0.022 | $0.044 | Not offered | Not offered |
US dollars per image, read on Recraft's API pricing page October 31, 2026. A Styles request adds $0.005 when it creates a new style from references.
An SVG costs about twice a raster image on V4.1, V4 and V3, and 1.4 times on V4 Styles, which makes V4 Styles Vector the cheapest current SVG at $0.05 (it needs a style). Pro costs six times the standard model on V4.1 for a 2K image. A request can return up to six images, priced per image.
The tools only Recraft's own API has
| Tool | Endpoint | Price |
|---|---|---|
| Vectorize an image (PNG, JPG, WEBP to SVG) | /v1/images/vectorize | $0.01 |
| Remove the background (SVG in, SVG out too) | /v1/images/removeBackground | $0.01 |
| Crisp upscale (keeps the content) | /v1/images/crispUpscale | $0.004 |
| Creative upscale ("regenerates fine detail and faces") | /v1/images/creativeUpscale | $0.25 |
| Enhance details (re-renders with V4.1 Pro) | /v1/images/enhance | $0.21 |
| Erase a masked region | /v1/images/eraseRegion | $0.002 |
| Replace or generate a background (V3 only) | /v1/images/replaceBackground | $0.04 raster, $0.08 vector |
| Inpaint or outpaint (V3 only) | /v1/images/inpaint, /outpaint | $0.04 raster, $0.08 vector |
| Remix (variations of an image, no prompt) | /v1/images/variateImage | $0.04 |
| Create a style from 1 to 10 images | /v1/styles | $0.005 |
Source: Recraft's API pricing page and each tool's page. Vectorize has a cut_out mode that returns non-overlapping shapes, for cutting machines and plotters. One cheap route to an SVG is Flash plus vectorize, $0.017 together against $0.08 for V4.1 Vector; Recraft makes no claim about how the two compare in quality.
Getting access from Recraft
1. Units, not a subscription. Create a token on Recraft's API page and buy API units: "$1 = 1,000 units", "Purchased units don't expire", and packages "are non-cancellable and non-refundable". A token "needs a positive API units balance", and all tokens on an account share it. Recraft states no free API credit, and API units are separate from the credits of a Recraft Studio subscription ( getting started, pricing).
2. A call. Every request is synchronous: "There are no job IDs to poll and no webhooks."
curl https://external.api.recraft.ai/v1/images/generations \
-H "Authorization: Bearer $RECRAFT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A flat icon of a coffee bean with a compass needle, two colors",
"model": "recraftv4_1_vector",
"size": "1:1"
}'
The answer is {"created", "credits", "data": [{"image_id", "url"}]}, with the units the request used in credits; a vector model's url points to an SVG. OpenAI's Python library works with base_url="https://external.api.recraft.ai/v1" for prompt, model, n, size and response_format, with Recraft's own fields in extra_body ( clients).
3. Limits. 100 images a minute and 5 requests a second per user, across all tokens; Recraft does not say how to raise them ( appendix). Prompts can be 10,000 characters on V4 and V4.1 and 1,000 on V3 and V2.
4. What you own, and what you may not do. Recraft assigns you the copyright it may hold in API outputs "for personal or commercial use", with one restriction: they "may not be used to train any artificial intelligence model". Its developer terms (dated October 20, 2026) also bar serving end users images "generated by earlier API calls in place of a new API call" without a written agreement, require you to bind your own users to terms "at least as protective of Recraft", and let Recraft embed provenance metadata or watermarks you must not remove. "API inputs and outputs are never used for model training", and results are deleted within about 24 hours ( data use).
Getting Recraft without a Recraft account
Per image, read on each platform's own page on October 31, 2026; GenMagic's prices are live:
| Platform | V4.1 | V4.1 Vector (SVG) | V4.1 Pro (2K) | V4.1 Flash | Vectorize, remove background |
|---|---|---|---|---|---|
| Recraft (direct) | $0.035 | $0.08 | $0.21 | $0.007 | $0.01 each |
| OpenRouter | $0.035 | $0.08 | $0.21 | $0.007 | Not offered |
| fal | $0.035 | $0.08 | $0.21 | $0.007 | Vectorize $0.01 |
| Runware | $0.035 | Not listed | $0.21 | $0.007 | Vectorize $0.01 |
| Vercel AI Gateway | $0.035 | $0.08 | $0.21 | $0.007 | Not offered |
| Replicate | $0.04 | $0.04 (see below) | $0.25 | Not listed | $0.01 each |
| WaveSpeed | $0.04 | $0.08 | $0.25 | $0.008 | Not offered |
| GenMagic | $0.052 | $0.12 | $0.32 | $0.011 | Not offered |
Sources: OpenRouter, fal, Runware, Vercel AI Gateway, Replicate, WaveSpeed. OpenRouter adds a fee when you buy credits.
What separates them:
- OpenRouter, fal, Runware and Vercel's gateway pass Recraft's prices through; fal also carries vectorizing and the upscalers, and lets you build a style from references. OpenRouter carries generation only, with five aspect ratios (eleven on the Styles models), one source image and the image returned as base64.
- Replicate and WaveSpeed charge more for V4.1 ($0.04, and $0.25 for Pro), and WaveSpeed adds 10% on every Styles model. Replicate's page data lists V4.1 SVG at $0.04, half Recraft's price and the same as its raster price; we could not confirm that is intended, so check it before you rely on it.
- kie.ai carries only two Recraft tools, crisp upscale ($0.0025) and background removal ($0.005), below Recraft's own prices, and no Recraft generation model.
- GenMagic charges $0.052 for V4.1, the dearest route here; in return Recraft runs beside every other image, video and voice model on one balance, in a studio, n8n, Zapier, ComfyUI and Claude or ChatGPT.
Calling Recraft through GenMagic
GenMagic's API is OpenAI-compatible, so Recraft runs through the same images.generate call as every other image model, on one balance with no Recraft account. The model ids are recraft/recraft-v4.1 ( model page), recraft/recraft-v4.1-vector ( model page), recraft/recraft-v4.1-flash, and the other Recraft models in the image API pricing list.
1. Get a key. Create a free account at genmagic.co/get-api-key and verify your email; the account starts with $0.50 of credit, about 9 Recraft V4.1 images or 4 SVGs from V4.1 Vector.
2. Generate. With OpenAI's Python SDK:
import os
from openai import OpenAI
client = OpenAI(base_url="https://genmagic.co/api/v1", api_key=os.environ ["GENMAGIC_API_KEY"])
result = client.images.generate(
model="recraft/recraft-v4.1-vector",
prompt="A minimal logo mark for NORTHBOUND COFFEE: a coffee bean whose center line is a compass needle, two colors, no text",
size="1024x1024",
)
print(result.data [0].url) # the address of the SVG
Or with curl, here restyling an image you send:
curl https://genmagic.co/api/v1/images/generations \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "recraft/recraft-v4.1",
"prompt": "The same scene as a flat vector illustration with three colors",
"image": "https://your-cdn.com/storefront.jpg"
}'
The answer carries a hosted url (or the bytes with "response_format": "b64_json"), and the response headers say what the image cost and what is left on the balance. size sets the shape: square, landscape or portrait.
What it costs. GenMagic charges $0.052 for V4.1, $0.12 for V4.1 Vector and $0.011 for Flash. In our own runs in late October, each of 18 Recraft V4.1 images was charged $0.0525. A refused or failed image costs nothing. Recraft's own tools (vectorize, background removal, upscaling, inpainting) are not on GenMagic.
What Recraft is good at, in our tests
We ran Recraft V4.1 beside eight other image models on the same briefs in October 2026, and the pattern was consistent:
- Flat, designed images, fast. In our image generator test, Recraft V4.1 made "the truest flat vector" illustration and was "the fastest good result": about 6 seconds for 4.6 cents.
- The only real SVG. In our logo generator test, Recraft V4.1 Vector was the one model of eight that returned an SVG you can open in Figma or Illustrator and scale to a billboard, at about 10 cents a logo. Every other model returned a picture a designer would have to trace.
- Not for editing a photo. Given a photo to change, Recraft V4.1 treated it as a loose reference: it returned a different person for a headshot, rebuilt the rooms in virtual staging, and replaced an amber bottle with a blue one in an ad test. Most of the other models kept the original far more closely in the same tests: six of nine kept both faces in the headshot test, and eight kept the amber bottle in the ad.
A workflow that plays to its strengths: explore ideas with a cheap raster model, then ask Recraft V4.1 Vector for the clean SVG of the one you pick.
Limits and gotchas
Vector sizes are ratios. Vector models accept only w:h ratios ("1:1", "16:9" and 12 others); "SVG output has no fixed pixel size", so "1024x1024" is rejected on Recraft's own API. Raster models take a ratio or one of the exact sizes listed per model, and "any other value is rejected".
WebP by default. Raster images come back as lossless WebP; ask for "image_format": "png" if your pipeline needs PNG. SVGs ignore the setting.
Tool responses are shaped differently. Vectorize, background removal, erase and the upscalers return image, not data []: read response.json() ["image"]["url"].
A style belongs to its model. A style created for recraftv4_styles "must be used with a matching model", and Flash takes no style at all. The Styles models reject a request with no style.
Background tools, inpainting and text placement are V3 only. "Other models don't support background operations."
Links expire. Output URLs are public, need no authentication and last "about 24 hours"; download what you keep.
Errors are sparse. Recraft documents only 401 and 404 and says to print the status and body of anything else; it does not say whether a blocked prompt is charged.
Which route to pick
- You need SVG files, vectorizing, background removal or upscaling from your own code: Recraft's own API. It has every model and every tool, at the list price, with units that never expire.
- You want Recraft's generation beside other labs' models on one key: OpenRouter at Recraft's prices plus its credit fee, or GenMagic, with a studio, n8n, Zapier, ComfyUI and AI assistants on the same balance.
- You need the cheapest image that looks designed: V4.1 Flash, $0.007 on Recraft's API.
- You need edits that keep the original photo: another model; see our GPT Image API and Nano Banana API guides.
How we checked
Recraft's model ids, prices, tools, limits, sizes, terms and data rules were read on Recraft's own documentation, its developer terms and its machine-readable API specification on October 31, 2026, linked where each fact is used. Other platforms' prices were read on each platform's own page the same day. GenMagic's figures come from its live catalog and from 18 Recraft V4.1 images billed on GenMagic in late October, and the quality results from our published image and logo generator tests.
Questions
Is there a Recraft API?
Yes. Recraft sells API access to all its models at external.api.recraft.ai/v1, paid with prepaid API units ($1 buys 1,000 units) that are separate from a Recraft Studio subscription.
How much does the Recraft API cost? $0.035 per image on Recraft V4.1, $0.08 per SVG on V4.1 Vector, $0.21 per 2K image on V4.1 Pro and $0.007 on V4.1 Flash, plus $0.01 to vectorize an image or remove its background.
Can the Recraft API make SVG files?
Yes: every model whose id ends in _vector returns an SVG, and /v1/images/vectorize turns any PNG, JPG or WEBP into one for $0.01.
Is there a free Recraft API tier? Recraft states no free API credit; a token needs a positive balance of prepaid units. Recraft Studio's free plan is a separate product whose images are public and not licensed for commercial use. GenMagic's free account starts with $0.50 of credit, enough for about 9 Recraft V4.1 images.
Can I use Recraft API images commercially? Yes: Recraft assigns you its rights in API outputs for personal or commercial use, except that you may not use them to train an AI model.
Does the Recraft API work with the OpenAI SDK?
Partly: generation works with OpenAI's Python library pointed at Recraft's base URL, with Recraft's own fields in extra_body; the tools need plain HTTP calls. GenMagic's API takes the OpenAI SDK unchanged for every Recraft model it carries.