▥ Seedance 2.5 is here! ›
MODEL MAKER

Qwen models on MLMux

Qwen Image is Alibaba's image model family for generation and editing, strong at text inside images. Each image has a fixed price, and the default official-cheap route costs 90% of the list price.

Models

Every Qwen model on MLMux, with its options and the estimated price on the default official-cheap route. The official route runs at the list price.

Model and API model IDOptionsPrice on official-cheap (default)
Qwen Image 2.1 Proqwen/qwen-image-2.1-proImage modelSizes: 1K, 2KUp to 3 reference images$0.035 per imageofficial: $0.038
Qwen Image 2.1 Turboqwen/qwen-image-2.1-turboImage modelSizes: 1K, 2KUp to 3 reference images$0.014 per imageofficial: $0.015

Quick start

  1. Create an API key

    Create a key in the console and save it as the MLMUX_API_KEY environment variable.

    Create an API key
  2. Send a request

    The example sends Qwen Image 2.1 Pro (qwen/qwen-image-2.1-pro) to https://api.mlmux.com/v1/images/generations. Change the model ID to any model in the table above.

  3. Read the result

    The response lists the image URLs in data. Add "async": true to get a task to poll instead.

    Image API reference
curl https://api.mlmux.com/v1/images/generations \
  -H "Authorization: Bearer $MLMUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen/qwen-image-2.1-pro",
  "route_mode": "official-cheap",
  "prompt": "A red fox in fresh snow at sunrise, cinematic light",
  "size": "1024x1024",
  "output_format": "png",
  "n": 1
}'

Frequently asked questions

Which Qwen models can I use on MLMux?

2 models: Qwen Image 2.1 Pro and Qwen Image 2.1 Turbo. Each one has its own page with its options, prices and a playground to try it in the browser.

How much do Qwen models cost on MLMux?

The lowest-cost one is Qwen Image 2.1 Turbo at $0.014 per image on the default official-cheap route. Every price is pay as you go with no subscription, and failed requests are not charged.

How do I call a Qwen model through the API?

Send the model ID, such as qwen/qwen-image-2.1-pro, to https://api.mlmux.com/v1/images/generations with your MLMux API key. The request format is the same for every model on MLMux, so switching models means changing one field.

Is MLMux affiliated with Qwen?

No. MLMux is an independent service that runs Qwen models on official provider routes. Model names and trademarks belong to their owners.