Sociaro

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

Charged per job from what the generator reports it rendered — your Logs show the exact figure for each one; see balance and billing.

Calling it

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

Types, ranges, defaults and what each field does — the list below is the names only.

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

Anything not listed here is refused rather than ignored, so a typo fails loudly instead of quietly producing something else.