BaiLian

qwen-image-2.0

AlibabaPer Request
Create API Key

擅长文本渲染,能精准生成贴合物理材质的中英文,适合生成图表、海报和PPT等

Starting price
Per Request
Context
—
Maximum input window
Modalities
→

Pricing by Supplier

official
官方接口直连
Price$0.03/ request
Alibaba
阿里巴巴百炼官方
Price$0.03/ request

Capabilities / Supported modalities

Vision
Input
Output

Provider & data privacy

Provider
Alibaba (Qwen)Docs
Tokenizer
Qwen tokenizer (tiktoken-compat)
License
Tongyi Qianwen LicenseOpen weights
Data retention44 daysNot used for upstream training by default

Performance

API access

Code samples

RequestPOST/v1/images/generations
Example request
Parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
promptrequired
string—Text description of the desired image
size
enum
=1024x1024
Output image size
quality
enum
=standard
Generation quality preset
style
enum
=vivid
Aesthetic style
n
integer
=11 ~ 10
Number of images to generate
response_format
enum
=url
How to deliver the resulting image

Rate limits

SupplierRPMTPMRPD
Alibaba60—900
official100—1.7K

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.

API access questions

Everything you need to decide before creating an account.

Discover more models