We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Recraft: Recraft V4 Styles Vector

recraft/recraft-v4-styles-vector
ImageInput: text · image66KAdded Aug 26, 2026

Try Recraft: Recraft V4 Styles Vector now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account
Results will appear here.
5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

Recraft: Recraft V4 Styles Vector at a glance

  • Context window of 65,536 tokens, enough for long documents and multi-turn conversations.

About Recraft: Recraft V4 Styles Vector

Recraft V4 Styles Vector is an image generation model from Recraft, listed on api14 under the model id recraft/recraft-v4-styles-vector. It sits in the image category and is built around style consistency: rather than generating an image from a text prompt alone, it takes style reference images as part of every request and produces a new image that reproduces the visual style of those references. Recraft is the provider behind the model, and the provider release date is 2026-08-26.

The model accepts text and image inputs and returns images as its only output. Its context window is 65,536 tokens, with a maximum output of 58,982. The image parameters define the shape of a request: aspect_ratio is an enum covering 1:1, 2:1, 1:2, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16 and auto; output_format is an enum whose only listed value is svg; n is a range from 1 to 6; and input_references is a range from 1 to 10. Because output_format is fixed to svg, the model produces vector output rather than raster images.

The combination of style references and SVG output points to work where artwork has to match an existing visual language and stay editable afterwards. Teams can supply between one and ten reference images to steer the look, then generate up to six variations per request to explore options. Typical fits include icon sets and UI glyphs, logos and brand marks, illustrations for documentation or marketing, and diagram or infographic assets that need to scale cleanly. Because the output is vector, the results can be recoloured, resized and adjusted in design tools without the loss of quality that comes with scaling raster images.

You call the model through api14's OpenAI-compatible API using the model id recraft/recraft-v4-styles-vector. Requests follow the same shape as other OpenAI-compatible endpoints, with your text prompt and reference images as input, and the image parameters passed alongside. Note that supported_parameters is empty, so the tunable surface is the image parameter set described above: aspect_ratio, output_format, n and input_references. Every request needs at least one style reference image, so plan for reference assets before you start integrating.

That requirement is also the main constraint. If you want to generate images purely from a text description with no style reference, this model is not the right fit, since at least one reference image is mandatory. Similarly, if you need raster output formats such as PNG or JPEG, the only listed output_format here is svg. For style-driven vector work, however, the model gives you a direct path from reference images to scalable artwork.

How to call the Recraft: Recraft V4 Styles Vector API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "recraft/recraft-v4-styles-vector".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.images.generate({
  "model": "recraft/recraft-v4-styles-vector",
  "prompt": "A minimalist product photo of a ceramic mug on a wooden table",
  "n": 1,
  "aspect_ratio": "1:1"
});
import { writeFile } from "node:fs/promises";
await writeFile("image.png", Buffer.from(result.data[0].b64_json, "base64"));

Specifications

Context length
65,536
Max output
58,982
Input
text, image
Output
image

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Recraft: Recraft V4 Styles Vector: frequently asked questions

How much does the Recraft: Recraft V4 Styles Vector API cost?
Recraft: Recraft V4 Styles Vector costs Image output $0.18 / image. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Recraft: Recraft V4 Styles Vector?
Recraft: Recraft V4 Styles Vector reads up to 65,536 tokens per request: prompt, history and documents together. It writes up to 58,982 output tokens per response.
What can Recraft: Recraft V4 Styles Vector do?
Recraft: Recraft V4 Styles Vector accepts text, image and returns image.
How do I call Recraft: Recraft V4 Styles Vector from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "recraft/recraft-v4-styles-vector". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Recraft: Recraft V4 Styles Vector?
Comparable Image models at a similar price: xAI: Grok Imagine Image 2.0, ByteDance Seed: Seedream 5.0 Pro, Qwen: Qwen Image 2.1 Pro. Each runs through the same API key, so switching is one string.

Recraft: Recraft V4 Styles Vector community

New topic

This community has no topics yet. Open the first one about Recraft: Recraft V4 Styles Vector.