recraftCertifiedReleased 03/13/2024

Recraft V2

Recraft V2 is an image generation model released in March 2024 and the first model trained from scratch by Recraft. With 20 billion parameters, it was a breakthrough in human anatomical accuracy and the first to support brand consistency and brand color inputs. It also introduced vector image generation (SVG output), as well as minimalistic icon and illustration styles.

View API reference ↓
PriceFrom$0.022per image
24h uptime100.00%
import OpenAI from "openai";

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

const res = await client.images.generate({
  model: "recraft/recraft-v2",
  prompt: "A lighthouse at dusk, oil painting",
  size: "1024x1024",
});

// Base64 only: images are returned, never stored.
const png = Buffer.from(res.data[0].b64_json, "base64");

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
recraft00——$0$0Read —Write —1 featuresNoNoGlobalCertified

Uptime

24 hours

Request success rate per provider.

recraft100.00%

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

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

const res = await client.images.generate({
  model: "recraft/recraft-v2",
  prompt: "A lighthouse at dusk, oil painting",
  size: "1024x1024",
});

// Base64 only: images are returned, never stored.
const png = Buffer.from(res.data[0].b64_json, "base64");

Recraft V2 answers POST /v1/images/generations, not chat completions. It is billed per image.

Price per image

OutputPrice
Default$0.022
vector_illustration$0.044

More models by recraft

ModelContextInputOutputCacheRelease
recraft/recraft-v4.1-flash0——Read —Write —09/23/2026
recraft/recraft-v4.10——Read —Write —05/14/2026
recraft/recraft-v4.1-pro0——Read —Write —05/14/2026
recraft/recraft-v4.1-utility0——Read —Write —05/14/2026
recraft/recraft-v4.1-utility-pro0——Read —Write —05/14/2026
recraft/recraft-v40——Read —Write —02/17/2026
recraft/recraft-v4-pro0——Read —Write —02/17/2026
recraft/recraft-v30——Read —Write —10/30/2024