qwen-image-2.0-pro
Qwen
Fuses generation and editing; more professional text rendering and richer realistic textures and scenes.
—
$0.0369/ appel
—
—
Unifies generation and editing in one model; native 2K; professional typography and infographics.
Prix d'entrée
/ appel
Prix de sortie
Marché : $0.0291
/ appel
Entrée
Texte
Sortie
Image

{
"model": "qwen/qwen-image-2.0",
"prompt": "暮色下的喀纳斯湖畔,碧水倒映层林尽染的山峦,白桦林在晚风中轻轻摇曳,天边晚霞晕染出粉金渐变色,画面静谧悠远,电影级构图,柔和逆光,超高清风景摄影质感。",
"n": 1,
"size": "1024x1024"
}{}API
Code prêt à copier pour appeler ce modèle via l'API compatible OpenAI d'EasyAPI.
Créez un jeton API dans la console et définissez-le comme variable d'environnement :
Remplacez sk-xxxxxxxx par votre jeton API depuis la console (Bearer Token).
Créer un jeton APIexport EASYAPI_API_KEY=sk-xxxxxxxxUtilisez qwen/qwen-image-2.0 avec l'API EasyAPI :
Les modèles image utilisent le point de terminaison de génération d'images. Voir documentation génération d'images
curl https://token.easyapi.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"qwen/qwen-image-2.0","prompt":"A cute baby sea otter","n":1,"size":"1024x1024"}'Génère des images à partir d'un prompt texte.
https://token.easyapi.com/v1/images/generationsBearer $EASYAPI_API_KEYapplication/jsonqwen/qwen-image-2.0根据 prompt 生成图像,响应含 data(url / b64_json)及 usage 用量字段。 Docs
| Nom | Type | Requis | Description |
|---|---|---|---|
model | string | Oui | 图像模型 ID,如 openai/gpt-image-1、qwen/qwen-image-2.0-pro、bytedance/seedream-4.0;当前使用 qwen/qwen-image-2.0;缺失返回 400 model is required |
prompt | string | Oui | 图像文本描述。gpt-image-1 上限 32000 字符 |
n | integer | Non | 生成张数,1–10,默认 1;多图按张计费 |
size | string | Non | 输出尺寸。gpt-image-1 支持 1024x1024、1536x1024、1024x1536 或 auto,并参与费用预估 |
response_format | string | Non | url 或 b64_json。gpt-image-1 不支持该参数,传入可能被上游拒绝 |
stream | boolean | Non | 透传字段;当前图像为同步链路,不据此分流 |
Les SDK officiels OpenAI et autres fonctionnent en changeant le base URL. Voir guide d'intégration
Qwen
Fuses generation and editing; more professional text rendering and richer realistic textures and scenes.
—
$0.0369/ appel
—
—
Qwen
千问系列首个图像编辑模型,成功将Qwen-Image的文本渲染能力拓展到编辑任务上。支持精准的中英双语文字编辑、视觉外观与语义双重编辑、具备强大的跨基准性能表现。
—
$0.0244/ appel
—
—
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