Qwen Image API - 出色的图像生成与高精度图像编辑 API!
Qwen Image 是阿里巴巴通义实验室推出的强大图像生成基础模型,支持 26+ 语言的高精度多语言文本渲染与精细图像编辑!
Qwen Image API 定价
Pay per image, no subscription required
Qwen Image API - GenerationGeneration
$0.015 /图像
- Text-to-image generation with multilingual text rendering.
Qwen Image API - EditEdit
$0.025 /图像
- Precision image editing through the Qwen Image API.
Qwen Image API Features
Qwen Image API 在 26+ 种语言上提供出色的文本渲染能力,包括英文、中文和日文,在字母文字和表意文字上都能达到接近母语级表现。
SOTA 性能
Qwen Image 在 领先基准测试 中取得了最先进的结果,包括 GenEval、DPG、OneIG-Bench、GSO、GEdit、ImgEdit、ChineseWord、TextCraft 和 LongText-Bench,在整体偏好和质量方面优于其他顶级模型。
卓越的多语言文本渲染
在 26+ 种语言中提供出色的文本渲染能力,包括英文、中文和日文,对字母文字和表意文字都能达到接近母语级效果。
200 亿参数基础模型
基于 200 亿参数架构,Qwen Image 在文本渲染、图像编辑和艺术生成方面树立了新标准,兼具精度、保真度和创作灵活性。
Qwen Image Edit
Qwen Image Edit API 提供行业领先的图像编辑能力,擅长低层次、高层次以及精确的文本驱动编辑,从细粒度物体修饰到完整场景变换都能胜任。
图像理解
Qwen Image 具备深度视觉理解能力,支持目标检测、语义分割、深度估计、新视角合成和超分辨率,为智能视觉创作提供全面基础。
闪电般快速生成
Qwen 针对快速图像合成进行了优化,即使在复杂、多对象或多提示场景下也能保持出色质量。
GPU 优化推理
PiAPI 的 Qwen Image API 非常适合 GPU 部署,可在云端和本地环境中实现低延迟、大规模图像生成。
批量处理
Qwen API 支持多提示词并行批量生成,提高生产级工作流中的图像创建效率。
商业许可证
基于 Apache 2.0 协议发布,支持个人和商业用途。借助 Qwen AI API,你可以自由进行创作、修改和分发。
Integrate in Minutes
Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Top up credits
Add credits on the billing page when you are ready to scale beyond the free tier.
Call the API
POST your first task following the API docs, then poll the task until the result is ready.
Iterate in the playground
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "Qubico/qwen-image",
"task_type": "txt2img",
"input": {
"prompt": "A multilingual editorial poster with precise typography.",
"width": 1024,
"height": 1024
}
}'
# → { "task_id": "9d5a…", "status": "pending" }curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'
# poll until status = completed
{
"data": {
"status": "completed",
"output": {
"image_url": "https://img.theapi.app/ephemeral/…"
}
}
}$ npm install -g piapi-cli $ piapi run qwen-image \ prompt="A multilingual editorial poster with precise typography." \ width=1024 \ height=1024 ✓ Task completed! https://img.theapi.app/ephemeral/…
想进一步了解 Qwen Image API?
什么是 Qwen Image?
由 阿里巴巴, 开发,Qwen Image 是一个强大的 T2I 模型,能够进行图像生成和编辑。在 PiAPI, 我们提供 Qwen AI API,非常适合开发者和内容创作者。
Qwen Image API 的文本渲染支持哪些语言?
Qwen Image 同时支持英文等字母文字和中文等表意文字,在不同语言体系中都能提供准确的排版细节。
Qwen Image 能胜任专业图像编辑吗?
当然可以。Qwen Image 专为高精度图像编辑而设计,包括风格迁移、物体插入/移除、细节增强以及图像内文本编辑,非常适合专业场景。
Qwen Image 可以生成哪些艺术风格?
Qwen Image 可以生成多种艺术风格,从写实场景到印象派绘画,再到鲜艳的动漫风格都能胜任。
Qwen Image API 适合创建虚拟头像吗?
适合。凭借其先进的语义与外观编辑能力,Qwen Image API 可以将输入图像转换为多种风格,非常适用于虚拟头像创作。
More questions? See the API docs.
Our blog
Qwen Image API


