qwen-image-2.0
Qwen
Unifies generation and editing in one model; native 2K; professional typography and infographics.
—
$0.0247/ lần
—
—
千问系列首个图像编辑模型,成功将Qwen-Image的文本渲染能力拓展到编辑任务上。支持精准的中英双语文字编辑、视觉外观与语义双重编辑、具备强大的跨基准性能表现。
Giá đầu vào
/ lần
Giá đầu ra
Thị trường: $0.0444
/ lần
Đầu vào
Văn bản
Đầu ra
Hình ảnh

{
"model": "qwen/qwen-image-edit",
"prompt": "暮色下的喀纳斯湖畔,碧水倒映层林尽染的山峦,白桦林在晚风中轻轻摇曳,天边晚霞晕染出粉金渐变色,画面静谧悠远,电影级构图,柔和逆光,超高清风景摄影质感。",
"n": 1,
"size": "1024x1024"
}{}API
Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.
Tạo API token trong console và đặt làm biến môi trường:
Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).
Tạo API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxDùng qwen/qwen-image-edit với API EasyAPI:
Mô hình ảnh dùng endpoint tạo ảnh. Xem tài liệu tạo ảnh
curl https://token.easyapi.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"qwen/qwen-image-edit","prompt":"A cute baby sea otter","n":1,"size":"1024x1024"}'Tạo ảnh từ prompt văn bản.
https://token.easyapi.com/v1/images/generationsBearer $EASYAPI_API_KEYapplication/jsonqwen/qwen-image-edit根据 prompt 生成图像,响应含 data(url / b64_json)及 usage 用量字段。 Tài liệu
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
model | string | Có | 图像模型 ID,如 openai/gpt-image-1、qwen/qwen-image-2.0-pro、bytedance/seedream-4.0;当前使用 qwen/qwen-image-edit;缺失返回 400 model is required |
prompt | string | Có | 图像文本描述。gpt-image-1 上限 32000 字符 |
n | integer | Không | 生成张数,1–10,默认 1;多图按张计费 |
size | string | Không | 输出尺寸。gpt-image-1 支持 1024x1024、1536x1024、1024x1536 或 auto,并参与费用预估 |
response_format | string | Không | url 或 b64_json。gpt-image-1 不支持该参数,传入可能被上游拒绝 |
stream | boolean | Không | 透传字段;当前图像为同步链路,不据此分流 |
SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp
Qwen
Unifies generation and editing in one model; native 2K; professional typography and infographics.
—
$0.0247/ lần
—
—
Qwen
Fuses generation and editing; more professional text rendering and richer realistic textures and scenes.
—
$0.0369/ lần
—
—
Qwen
Instruction-tuned Qwen3 variant without thinking mode, strong on multilingual reasoning, math, code, and tool use for agent workflows.
$0.2439/ M
$2.4378/ M
$0/ M
$0/ M
Qwen
Lightweight multimodal model with balanced performance.
$0.2125/ M
$0.6375/ M
$0.102/ M
$0/ M