ModelSell Docs
ImagesQwen Image 2.0

Qwen Image 2.0

Unified image requests for qwen-image-2.0 and qwen-image-2.0-pro.

Models: qwen-image-2.0, qwen-image-2.0-pro.

curl "$MODELSELL_BASE_URL/v1/images/generations" \
  -H "Authorization: Bearer $MODELSELL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen-image-2.0","prompt":"A minimal poster for a botanical exhibition","size":"1024x1024","n":1}'

Read image URLs or Base64 from data[]. If the channel returns an async task, follow its task polling route. Start with model and prompt; add advanced options only when supported.

Alibaba's native request uses input.messages[].content and parameters. ModelSell's channel adapter converts the generic image format. Reference-image editing depends on the configured channel; an image model name does not imply chat support.

Source checked 2026-10-04: official Qwen Image API.