Qwen-Image 2.1 Turbo: draw and edit with llmman

llmman runs Qwen-Image 2.1 Turbo from its GGUFs: a picture in 8 steps, and edits of a picture you give it, from llmman run or the images API.

llmman now runs Qwen-Image 2.1 Turbo, the 8-step version of Qwen-Image 2.1, from its GGUFs. It draws pictures and edits ones you give it, from llmman run or the images API.

The quants are on Docker Hub as ai/qwen-image-2.1-turbo, from q2_K to f16. The pull brings the VAE, the text encoder and its vision tower along. The examples below use q8_0.

Draw a picture

llmman run qwen-image-2.1-turbo:q8_0 --seed 42 "a cute orange cat sitting on a windowsill, soft daylight"
Image saved to: a-cute-orange-cat-sitting-on-a-windowsill-soft-day-20261203-231316.png
mv a-cute-orange-cat-sitting-on-a-windowsill-soft-day-*.png cat.png

It saves the picture next to your shell; the edit below reads it as cat.png. Or through llmman serve, which answers with base64:

curl -s http://127.0.0.1:17434/v1/images/generations \
  -H 'content-type: application/json' \
  -d '{
    "model": "qwen-image-2.1-turbo:q8_0",
    "prompt": "a cute orange cat sitting on a windowsill, soft daylight",
    "seed": 42,
    "response_format": "b64_json"
  }' | jq -r '.data[0].b64_json' | base64 --decode > cat.png
An orange tabby cat sitting on a white windowsill in soft daylight, trees blurred behind the window, generated by Qwen-Image 2.1 Turbo

1024×1024 and 8 steps are the defaults; the seed is only there so you get the same picture.

Edit it

Pass the picture back with --image and say what to change:

llmman run qwen-image-2.1-turbo:q8_0 --seed 7 --image cat.png \
  "make the cat black, keep everything else the same"

Through the API, the reference goes in images, base64:

curl -s http://127.0.0.1:17434/v1/images/generations \
  -H 'content-type: application/json' \
  -d '{
    "model": "qwen-image-2.1-turbo:q8_0",
    "prompt": "make the cat black, keep everything else the same",
    "images": ["'"$(base64 < cat.png | tr -d '\n')"'"],
    "seed": 7,
    "response_format": "b64_json"
  }' | jq -r '.data[0].b64_json' | base64 --decode > black-cat.png
The same cat on the same windowsill, now black, generated by Qwen-Image 2.1 Turbo

Both ways give the same picture for the same seed. On a 36 GB Mac a picture takes about two and a half minutes and an edit a little over three, model loading included.

The full flag list is in the README. Questions are welcome at github.com/llmmanorg/llmman.