curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "alibaba/qwen-image-2.0-pro",
"input": {
"prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
"size": "2048x2048"
}
}'响应示例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "alibaba/qwen-image-2.0-pro",
"status": "processing"
}可传入的参数
参数一律用统一格式的名字,各模型通用。
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 作用 |
|---|---|---|---|---|---|
prompt | string | 必填 | — | — | 提示词 |
images | string | string[] | — | — | — | 参考图 |
size | string | — | — | — | 精确尺寸 |
seed | integer | — | -1 | -1–2147483647 | 随机种子 |
n | integer | — | 1 | 1 | 生成数量 |
暂不支持: negative_prompt, prompt_extend, watermark
定价
1 张
$0.0675
$0.0750比官方价低 10%
常见用法参考价
| 规格 | 官方价 | Kerox | 比官方价低 |
|---|---|---|---|
| 1 张 | $0.0675 | 10% | |
| $10 能做多少 | 148 张图片 | ||
| 档位 | 官方价 | Kerox |
|---|---|---|
| 按张 | $0.0675 |
提交任务前可用 POST /v1/estimate 估价。
Qwen Image 2.0 Pro 生成的作品

A bold mid-century jazz concert poster: a stylized saxophone player in deep blue and mustard yellow shapes, the headline "BLUE NOTE NIGHTS" in large condensed letters, and below it "Live every Friday · 9 pm · The Velvet Room" in small type, screen-print texture, off-white paper

A glass jar of golden honey with a wooden dipper on a rustic table, its kraft paper label printed with "WILDFLOWER HONEY" in hand-drawn serif letters and "Raw · Unfiltered · 340 g" beneath, honeycomb and dried lavender beside it, warm backlight making the honey glow, product photograph

Rice terraces curving down a mountainside at sunrise, water-filled paddies reflecting the golden sky, low clouds drifting through the valley, a tiny farmhouse among the terraces, wide aerial landscape photograph, rich detail
关于 Qwen Image 2.0 Pro
Qwen Image 2.0 Pro,Alibaba 的图片生成模型。
常见问题
Qwen Image 2.0 Pro 多少钱?
Kerox 上的 Qwen Image 2.0 Pro $0.0675 / 张 起,比官方价低 10%。按次付费,生成失败不扣费。每一档的价格见本页的价格表。
Qwen Image 2.0 Pro 有 API 吗?
有。用模型 ID alibaba/qwen-image-2.0-pro 向 Kerox 的接口提交任务,然后查询任务,或等 webhook 通知。Qwen Image 2.0 Pro 的 API 文档里有全部参数和代码示例。
不写代码能在网页上直接用 Qwen Image 2.0 Pro 吗?
可以。在本页生成面板选择参数即可查看价格,登录后即可生成。 在线体验
用 Qwen Image 2.0 Pro 需要订阅吗?
不需要。没有套餐,也没有月费。$5 起充,用多少付多少。
