XPlor3
Model reference

Qwen 2.1

Alibaba image model up to 2K resolution featuring optional alpha transparency and blending across up to 10 reference images.

PropertyValue
modelSlugqwen-2-1
KindImage
MakerAlibaba
Copies per request (variations)1 to 5
How the cost is countedper copy, at a rate that depends on resolution
Over MCPyes, with the generate tool

Credit amounts are left out because they change. The lowest price is creditCost on GET /v1/models, and POST /v1/jobs answers with the exact creditCost of a request.

input fields

Send the fields below inside the input object. A field you leave out takes its Default. Unknown field names are dropped without an error, so check the spelling if a setting seems to have no effect.

FieldTypeRequiredDefaultRules
promptstringyes–Up to 5,000 characters
reference_imagesstring[] (image upload ids)––Reference images. Up to 10 files
aspect_ratiostring (one of)–1:1auto, 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, 9:21
resolutionstring (one of)–1K1K, 2K
backgroundstring (one of)–opaqueopaque, transparent

Rules by setting

This model runs a different version depending on what you send. The rules below are checked before any credits move; a request that breaks one is refused with 400 and a message naming the field.

Every request

  • prompt at least 1 characters.

Without a reference file

  • Takes no files in reference_images; a request that fills one is refused.
  • aspect_ratio takes only 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, 9:21.

With a reference file

  • reference_images: required; up to 10 files; at most 30 MB per file; at most 25,000,000 pixels in area.

Example request

POST /v1/jobs
{
  "modelSlug": "qwen-2-1",
  "input": {
    "prompt": "Product photo of white running shoes on a river stone, soft side light in the morning"
  }
}

On this page