← All models

Recraft: Recraft V4.1 Flash V2

recraft/recraft-v4.1-flash-v2
Recraft V4.1 Flash V2 is a text-to-image model from Recraft, an updated version of [Recraft V4.1 Flash](/recraft/recraft-v4.1-flash) in the speed tier of the V4.1 family. It is suited for rapid iteration, prototyping, and high-volume generation, and improves on its predecessor in generation speed and in rendering text inside images. It is generation only: image inputs, styles, and style references are not supported. Supports the same aspect ratios as V4.1 Flash.
Modalities
Price
Context
65.5K
Released
Nov 13, 2026

Parameters

promptrequired
aspect_ratio1:13:44:39:1616:9auto

How to use via API

import base64
from openai import OpenAI

client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
img = client.images.generate(
    model="recraft/recraft-v4.1-flash-v2",
    prompt="Милый кот-космонавт на Марсе",
    # размер задаёт aspect_ratio (у модели нет size-ручки): extra_body={"aspect_ratio": "1:1"}
    n=1,
)
with open("image.png", "wb") as f:
    f.write(base64.b64decode(img.data[0].b64_json))
API docsTry in the bot