图像Alibaba新增

Qwen Image

强大的提示词遵循度与精确的图像内文字

model: "qwen-image"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成图像prompt
请求示例
{
  "model": "qwen-image",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.020

输入

必需

Prompt

可选

Image Size

可选

Seed

高级选项 (5)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选

Faster inference at a small cost in detail.

可选
-

How strictly the model follows the prompt. Higher is more literal.

可选

What the result should avoid.

可选
-

Denoising steps. More is slower and can add detail.

可选

File format of the result.

结果

Qwen Image示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-image",
  "input": {
    "prompt": "Lone ultramarathon runner cresting a high desert ridge at blue hour, silhouette small against a vast unpeopled mesa landscape fading through violet to ink, wide panoramic horizontal frame, warm headtorch beam cutting forward against the cooling dusk, cool indigo and dusty sienna palette, telephoto compression layering receding ridge planes into graphic distance, kinetic yet meditative atmosphere"
  }
}'
Qwen Image 1Qwen Image 2Qwen Image 3Qwen Image 4Qwen Image 5Qwen Image 6