Sociaro Docs
View Markdown

alibaba/qwen-image-2-1-pro

Qwen Image 2.1 Pro text-to-image AND image editing. prompt (required); image_urls (1-10 public https images to edit or combine; the first is "Image 1"); size ("width*height", total pixels between 512x512 and 2048x2048); n (the vendor's own count, 1-6 — the charge follows the number of images it reports producing, and the poll lists every one of them in media_urls; media_url is the first); prompt_extend (def true); prompt_extend_mode direct (def) | agent; enable_thinking (def true); seed; watermark (def false).

Parameters the vendor accepts pass through; one it refuses is refused in its own words.

One flat price per image, whatever the size.

Served via the relay: POST /v1/alibaba/generations, poll GET /v1/alibaba/generations/{task_id}. Per-image pricing billed by the relay from the number of images the vendor reports.

Slugalibaba/qwen-image-2-1-pro
Kindimage
Vendoralibaba
EndpointPOST /v1/alibaba/generations

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/alibaba/generations \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "alibaba/qwen-image-2-1-pro",
        "prompt": "a paper boat on a rain-soaked street"
      }'

# then poll the job id it returns:
curl https://api.sociaro.com/v1/alibaba/generations/JOB_ID \
  -H "Authorization: Bearer $SOCIARO_API_KEY"

Parameters

  • prompt
  • image_urls
  • size
  • n
  • watermark
  • seed
  • prompt_extend
  • prompt_extend_mode
  • enable_thinking

The endpoint rejects unknown request fields.

Pricing

Billable unit and optionsRate (USD)
per image$0.04

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.