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.1
recraft/recraft-v4.1Try Recraft: Recraft V4.1 now
Runs on your balance at the prices above. New accounts start with free usage.
Settings
Recraft: Recraft V4.1 at a glance
- Context window of 65,536 tokens, enough for long documents and multi-turn conversations.
About Recraft: Recraft V4.1
Recraft: Recraft V4.1 is an image generation model from Recraft. Recraft develops generative image tooling, and this model sits in that line as a version tuned for high aesthetics. It is an image output model, meaning that whatever you send in, what comes back is an image rather than text. The model id on api14 is recraft/recraft-v4.1, and it belongs to the image category.
On the input side, Recraft V4.1 accepts text and images, so you can drive it with a written prompt, with a reference image, or with both together. Its output is an image, produced at roughly 1K resolution. The model carries a context length of 65,536 tokens and a maximum output of 58,982 tokens. Aspect ratio is a first class concern for this model: it supports 1:1, 4:3, 3:4, 16:9, 9:16, and auto. You can also ask for more than one image in a single request, since the n parameter accepts a range from 1 to 6. Reference input is similarly parameterised, with input_references accepting 0 or 1, so one reference image at most per request.
Those capabilities point to a fairly specific set of jobs. Prompt driven generation covers the usual ground: artwork, illustrations, concept imagery and product or marketing visuals where the aesthetic quality is the point. Because the model takes image input as well, it also works when you want the output to follow something you already have, for example generating a variation or a new composition from a single reference while keeping the look consistent. The aspect ratio choices matter here: 1:1 and 4:3 suit social and editorial layouts, while 16:9 and 9:16 map onto wide banners, presentations and vertical story formats. Requesting several images at once (n up to 6) is useful when you want to sample options before picking one, though note the single reference image limit if your workflow assumes supplying multiple.
Calling it through api14 uses the same OpenAI compatible surface as the rest of the catalogue. Send a request to the chat completions endpoint with the model id recraft/recraft-v4.1, and read the image back from the response. The supported parameters list is empty, so there are no generic sampling parameters such as temperature or top_p to tune. Instead, this model exposes image specific parameters: aspect_ratio, which takes one of the enumerated values (1:1, 4:3, 3:4, 16:9, 9:16, auto); n, an integer between 1 and 6; and input_references, which accepts between 0 and 1 reference image. Beyond those, prompt content is what shapes the result.
There are no published benchmarks or scores here, so treat Recraft V4.1 as an aesthetics oriented generator rather than something you can compare on leaderboards. If your task is text generation, classification, or anything that expects a text response, this is not the model for it, since its only output modality is images. If you need to condition on several reference images at once, the input_references maximum of 1 will constrain you. Within image generation, it is a reasonable default when visual quality and control over aspect ratio and batch size are the priorities.
How to call the Recraft: Recraft V4.1 API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "recraft/recraft-v4.1".
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.1",
"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
Recraft: Recraft V4.1: frequently asked questions
- How much does the Recraft: Recraft V4.1 API cost?
- Recraft: Recraft V4.1 costs Image output $0.12 / 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.1?
- Recraft: Recraft V4.1 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.1 do?
- Recraft: Recraft V4.1 accepts text, image and returns image.
- How do I call Recraft: Recraft V4.1 from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "recraft/recraft-v4.1". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Recraft: Recraft V4.1?
- Comparable Image models at a similar price: Recraft: Recraft V4 Styles, ByteDance Seed: Seedream 5.0 Lite, Recraft: Recraft V4.1 Utility. Each runs through the same API key, so switching is one string.
Recraft: Recraft V4.1 community
New topicThis community has no topics yet. Open the first one about Recraft: Recraft V4.1.