Qwen/Qwen-Image-2.0-Edit logo

Qwen/Qwen-Image-2.0-Edit

Qwen Image 2.0 edit model. Multi-image conditioning (1–5 URLs).

Alibaba (Cloud) Image Context N/A
Get API Key
Deposit $5 to get started Unlock API access and start running inference right away. See how many million tokens $5 gets you

api_example.sh

# Option 1: File Upload (Multipart)
curl -X POST "https://platform.qubrid.com/v1/images/edits" \
  -H "Authorization: Bearer QUBRID_API_KEY" \
  -F "model=qwen-image-2.0" \
  -F "prompt=Add a rainbow over the mountains" \
  -F "n=1" \
  -F "size=1024*1024" \
  -F "negative_prompt=" \
  -F "prompt_extend=true" \
  -F "watermark=false" \
  -F "seed=0" \
  -F "response_format=url" \
  -F "files=@<YOUR-IMAGE-COMPLETE-PATH>"

# Option 2: JSON with Image URLs
curl -X POST "https://platform.qubrid.com/v1/images/edits" \
  -H "Authorization: Bearer QUBRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-image-2.0",
  "prompt": "Add a rainbow over the mountains",
  "n": 1,
  "size": "1024*1024",
  "negative_prompt": "",
  "prompt_extend": true,
  "watermark": false,
  "seed": 0,
  "response_format": "url",
  "images": [
    "<YOUR-IMAGE-URL-1>",
    "<YOUR-IMAGE-URL-2>"
  ]
}'

Technical Specifications

Model Architecture & Performance

Developers Alibaba

Pricing

Pay-per-use, no commitments

Per Image $0.035/Image

API Reference

Complete parameter documentation

Parameter Type Default Description
n number 1 Number of output images to generate (1–6 for qwen-image-2.0 series).
size string 1024*1024 Output image resolution in WIDTH*HEIGHT format. Default output is ~1024*1024 with aspect ratio similar to the last input image (when omitted).
negative_prompt string Describe what you do not want in the edited image.
prompt_extend boolean true Enable prompt rewriting to improve results when prompts lack detail.
watermark boolean false Adds a β€œQwen-Image” watermark to the bottom-right corner.
seed number 0 Random seed for reproducibility. If omitted, a random seed is used.
response_format string url Response format: 'url' for image URL, 'b64_json' for base64

Explore the full request and response schema in our external API documentation

Performance

Strengths & considerations

Strengths Considerations
1–5 reference images
Instruction-following
Requires input images

Use cases

Recommended applications for this model

Image editing
Compositing
Style transfer

Enterprise
Platform Integration

Docker

Docker Support

Official Docker images for containerized deployments

Kubernetes

Kubernetes Ready

Production-grade KBS manifests and Helm charts

SDK

SDK Libraries

Official SDKs for Python, Javascript, Go, and Java

Don't let your AI control you. Control your AI the Qubrid way!

Have questions? Want to Partner with us? Looking for larger deployments or custom fine-tuning? Let's collaborate on the right setup for your workloads.

"Qubrid helped us turn a collection of AI scripts into structured production workflows. We now have better reliability, visibility, and control over every run."

AI Infrastructure Team

Automation & Orchestration