Alibaba图片

Qwen Image 2.0

alibaba/qwen-image-2.0

Qwen Image 2.0,Alibaba 的图片生成模型。

$0.0298按张$0.0350比官方价低 14%
输出
图片
时长
—
通常耗时
15 秒
输入
文本, 图片

体验 Qwen Image 2.0

0 / 800
登录后可添加参考文件
预估费用 —
登录后生成

开始时冻结,完成后结算,失败退回。

输出

示例作品
The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters "老街面馆" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph

2688×1536

The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters "老街面馆" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph

预估费用 ≈ $0.0298

请求体
{
  "model": "alibaba/qwen-image-2.0",
  "format": "unified",
  "input": {
    "prompt": "The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters \"老街面馆\" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph",
    "size": "2688x1536"
  }
}

在代码中调用

提交任务后即可获得任务 ID。你可以轮询结果,也可以传入 Webhook URL 接收完成的任务。

接口地址POST https://api.kerox.ai/v1/tasks
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",
  "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",
  "status": "processing"
}

可传入的参数

参数一律用统一格式的名字,各模型通用。

参数名类型必填默认值可选值作用
promptstring必填——提示词
imagesstring | string[]———参考图
sizestring———精确尺寸
seedinteger—-1-1–2147483647随机种子
ninteger—11生成数量

暂不支持: negative_prompt, prompt_extend, watermark

定价

  • 1 张

    $0.0298

    $0.0350比官方价低 14%

常见用法参考价
规格官方价Kerox比官方价低
1 张$0.0350$0.029814%
$10 能做多少335 张图片
档位官方价Kerox
按张$0.0350$0.0298

提交任务前可用 POST /v1/estimate 估价。

Qwen Image 2.0 生成的作品

The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters "老街面馆" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph

The front of a small noodle shop at dusk, a wooden signboard above the door carved with the Chinese characters "老街面馆" in gold brush calligraphy, a red paper lantern on each side, steam drifting from the open kitchen, warm light spilling onto the street, cinematic photograph

A grand old library reading room with tall arched windows, long oak tables with green banker's lamps, towering bookshelves and a spiral staircase, soft morning light falling across the floor, symmetrical composition, architectural photograph

A grand old library reading room with tall arched windows, long oak tables with green banker's lamps, towering bookshelves and a spiral staircase, soft morning light falling across the floor, symmetrical composition, architectural photograph

A fleet of white sailboats racing across a deep blue sea on a bright windy day, sails taut, sparkling spray at the bows, a rocky coastline with a lighthouse in the distance, aerial view, crisp vivid photograph

A fleet of white sailboats racing across a deep blue sea on a bright windy day, sails taut, sparkling spray at the bows, a rocky coastline with a lighthouse in the distance, aerial view, crisp vivid photograph

关于 Qwen Image 2.0

Qwen Image 2.0,Alibaba 的图片生成模型。

常见问题

Qwen Image 2.0 多少钱?

Kerox 上的 Qwen Image 2.0 $0.0298 / 张 起,比官方价低 14%。按次付费,生成失败不扣费。每一档的价格见本页的价格表。

Qwen Image 2.0 有 API 吗?

有。用模型 ID alibaba/qwen-image-2.0 向 Kerox 的接口提交任务,然后查询任务,或等 webhook 通知。Qwen Image 2.0 的 API 文档里有全部参数和代码示例。

不写代码能在网页上直接用 Qwen Image 2.0 吗?

可以。在本页生成面板选择参数即可查看价格,登录后即可生成。 在线体验

用 Qwen Image 2.0 需要订阅吗?

不需要。没有套餐,也没有月费。$5 起充,用多少付多少。

相似模型