Alibaba Qwen series — Chinese-first LLMs with strong bilingual support. Wide range from turbo to max tiers.
Key strengths
- Strong Chinese
- Good English
- Multiple size tiers
- Tool calling
Use cases
- Chinese assistants
- Bilingual content
- Enterprise chat
- Cross-border apps
WaveSpeed's wavespeed/qwen-image-layered is a state-of-the-art text-to-image generation model. It produces highly detailed, photorealistic and stylized imagery from natural-language prompts, with strong instruction following and accurate text rendering inside generated images.
Compatible with the OpenAI `/images/generations` endpoint shape, supporting prompt, size, seed, negative prompt, and resolution controls. Excellent for creative workflows, marketing assets, product visualization, and concept art at scale.
wavespeed/qwen-image-layered is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.
Performance
Compare different providers across TokenLX · All locations.
Effective Pricing
Pricing is shown by the model billing method, using per-call or per-second prices and resolution tiers.
Recent activity
Total usage per day on TokenLX (last 30 days).
Sample code & API
TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.
# ─── 文生图示例 ───
import requests
response = requests.post(
"https://api.tokenlx.ai/v1/aigc/image/generations",
headers={"Authorization": "Bearer sk-tokenlx-..."},
json={
"model": "qwen-image-layered",
"prompt": "一幅写实风格的湖光山色,倒映着雪山",
"size": "2048*2048",
"n": 2,
"seed": 42,
},
)
data = response.json()
print(data["data"][0])
# ─── 图像编辑示例 ───
edit_response = requests.post(
"https://api.tokenlx.ai/v1/aigc/image/generations",
headers={"Authorization": "Bearer sk-tokenlx-..."},
json={
"model": "qwen-image-layered",
"prompt": "把背景替换为星空",
"images": [
{"file_uri": "https://example.com/photo.jpg", "mime_type": "image/jpeg"},
],
"size": "2K",
},
)
print(edit_response.json()["data"][0])Replace sk-aihubrouter-… with your key from the dashboard.
Parameter Reference
{
"data": ["url1", "url2"]
}| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name |
| size | string | No | Output size in W*H format (e.g. 2048*2048) 512*512 ~ 2048*2048 |
| promptExtend | bool | No | Expand prompt automatically (default true) |
| seed | int | No | Random seed [0, 2147483647] (Qwen only) |
| negative_prompt | string | No | Negative prompt (≤500 chars, Qwen only) |
| watermark | bool | No | Add watermark (default false, Qwen only) |
| images | array | Editing | Input images for editing (max 3) |
| images[].file_uri | string | Editing | Image URL or base64 data URI |
| images[].mime_type | string | No | MIME type, defaults to image/png |
modelstringYessizestringNo512*512 ~ 2048*2048promptExtendboolNoseedintNonegative_promptstringNowatermarkboolNoimagesarrayEditingimages[].file_uristringEditingimages[].mime_typestringNo