← All models

Qwen: Qwen Image 2.1 TurboNEW

qwen/qwen-image-2.1-turbo
images
Qwen Image 2.1 Turbo is the fast, lower-cost tier of the Qwen Image 2.1 series from Qwen, for image generation and editing where throughput and price matter more than peak fidelity. See Qwen Image 2.1 Pro for the higher-quality tier.
Price
Context
65.5K
Released
Oct 16, 2026

Parameters

promptrequired
aspect_ratio1:11:21:42:12:33:23:44:14:34:55:49:1616:9
resolution1k2k
size256x10241024x256512x10241024x512576x10241024x576682x10241024x682768x10241024x768818x10241024x818512x20481024x10242048x5121024x20482048x10241152x20482048x11521364x20482048x13641536x20482048x15361638x20482048x16382048x2048
imageimage-to-image (via /v1/images/edits)

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="qwen/qwen-image-2.1-turbo",
    prompt="Милый кот-космонавт на Марсе",
    size="256x1024",  # либо extra_body={"aspect_ratio": "1:1", "resolution": "1k"}
    n=1,
)
with open("image.png", "wb") as f:
    f.write(base64.b64decode(img.data[0].b64_json))

# image-to-image: передать референс(ы) через multipart
edited = client.images.edit(
    model="qwen/qwen-image-2.1-turbo",
    image=open("photo.png", "rb"),  # один или несколько референсов
    prompt="Добавь неоновую вывеску на фасад, сохрани композицию",
)
with open("edited.png", "wb") as f:
    f.write(base64.b64decode(edited.data[0].b64_json))
API docsTry in the bot