返回模型目录
在线 APIQwen Image

Qwen Image 3

qwen-image-3

High-fidelity text-to-image and image-to-image generation with strong typography, layout, and multilingual prompt following.

模型概览
端点
/api/v1/images/generations
积分成本
10 credits / image
典型耗时
20-60 sec
输入与输出
Text, up to 3 images → PNG or JPEG

能力

  • 1K and 2K output
  • Text and image conditioning
  • Prompt expansion
  • Deterministic seeds

请求参数

参数类型要求说明
modelstring必填Model identifier. 默认值: qwen-image-3
promptstring必填Generation prompt, up to 800 characters.
image_urlsstring[]可选Up to three public image URLs for image-to-image generation.
aspect_ratiostring可选Output aspect ratio. 默认值: 16:9
resolution1K | 2K可选Output resolution tier. 默认值: 1K
output_formatpng | jpeg可选Generated file format. 默认值: png
seedinteger可选Integer from 0 to 2147483647. 默认值: 1

请求示例

curl https://qwenapi.org/api/v1/images/generations \
  -H "Authorization: Bearer $QWEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "qwen-image-3",
  "prompt": "Editorial product photo of a translucent blue speaker on a steel desk, soft morning light",
  "aspect_ratio": "16:9",
  "resolution": "1K",
  "output_format": "png"
}'

生成端点为异步任务。请使用同一个 Bearer 密钥轮询 GET /api/v1/tasks/。