Qwen-Image-2.1-Turbo API Guide

Where to call the official API: Qwen-Image-2.1-Turbo is available from Alibaba Cloud Model Studio (百炼, model id qwen-image-2.1-turbo) and from OpenRouter (model qwen/qwen-image-2.1-turbo). Both bill per call with your own account and API key; see their own sites for current terms.

ProviderModel idDocs
Alibaba Cloud Model Studio (百炼)qwen-image-2.1-turboAPI reference
OpenRouterqwen/qwen-image-2.1-turboImage generation docs · model page

Don't want to code? Generate right here in your browser.

No API key, no setup. Try 2 images free, no sign-up.

The model handles text-to-image and image editing behind the same endpoint. One thing caught us out: fal and Replicate currently list the older Qwen-Image, not 2.1 Turbo, so read the model id carefully before you pick a provider. TurboImageGen is independent and not affiliated with Alibaba Cloud or OpenRouter.

Quick start (curl / Python)

Based on the official Model Studio API reference (DashScope synchronous protocol). Replace {WorkspaceId} with your workspace ID; the key and endpoint must be from the same region.

curl -X POST 'https://{WorkspaceId}.us-east-1.maas.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY" \
  -d '{
    "model": "qwen-image-2.1-turbo",
    "input": { "messages": [ { "role": "user", "content": [ { "text": "A neon sign that reads \"OPEN LATE\" on a rainy street" } ] } ] },
    "parameters": { "size": "1024*1024", "n": 1, "prompt_extend": true, "watermark": false }
  }'
import os, requests
url = "https://{WorkspaceId}.us-east-1.maas.aliyuncs.com/api/v1/services/aigc/multimodal-generation/generation"
body = {"model": "qwen-image-2.1-turbo",
        "input": {"messages": [{"role": "user", "content": [{"text": "A cute dragon sticker"}]}]},
        "parameters": {"size": "1024*1024", "n": 1}}
r = requests.post(url, json=body, headers={"Authorization": f"Bearer {os.environ['DASHSCOPE_API_KEY']}"}, timeout=600)
print(r.json()["output"]["choices"][0]["message"]["content"][0]["image"])  # PNG URL, valid 24 h

Parameters

Rate limits and errors

Alibaba Cloud lists 120 requests per minute for this model. Error codes are documented in the Model Studio error-code reference. Result URLs expire after 24 hours, so download images promptly.

API vs our generator vs local

Official APITurboImageGenComfyUI (local)
SetupCloud account + codeNoneGPU, files, nodes
CostPer callCredits, free startYour hardware
LicenceProvider termsProvider termsQwen Research License

Does TurboImageGen have an API?

No. TurboImageGen is a browser generator only and does not offer, resell or proxy API access. To call the model from your own code, use one of the official providers above with your own account and key. If you just want images, generate them here in your browser.

See also pricing and the ComfyUI guide.

FAQ

Is there a free Qwen Image 2.1 Turbo API?

Alibaba Cloud Model Studio gives new accounts a trial quota. Its service notes restrict trial-quota output to model evaluation, so check the terms before using it for anything public.

What is the model ID?

qwen-image-2.1-turbo on Alibaba Cloud Model Studio.

Does TurboImageGen offer an API?

No. We only run the browser generator; for programmatic access use an official provider with your own key.

Does fal or Replicate have Turbo?

As of 2026-10-13 they list only the older Qwen-Image, not 2.1 Turbo.