qwen-image-2.0
Qwen
Unifies generation and editing in one model; native 2K; professional typography and infographics.
—
¥0.1652/ ảnh
—
—
The Flash tier of the Qwen3.8 series: multimodal reasoning for coding and agent workflows, with understanding of documents, codebases and long videos.
Giá đầu vào
Thị trường: ¥0.9985
/ M
Giá đầu ra
Thị trường: ¥2.9956
/ M
Đọc cache
Thị trường: ¥0.0999
/ M
Ghi cache
Thị trường: ¥1.2482
/ M
Đầu vào
Văn bản
Đầu ra
Văn bản
{
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Xin chào! Trước tiên hãy giới thiệu về bản thân, bao gồm năng lực chính và các tình huống phù hợp, kèm một ví dụ sử dụng ngắn."
}
],
"stream": false
}{}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/qwen3.8-flash với API EasyAPI:
curl https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'Thêm "stream": true vào body để nhận phản hồi qua SSE:
curl -N https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"qwen/qwen3.8-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'Gửi yêu cầu chat completion. Hỗ trợ streaming và non-streaming.
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsonqwen/qwen3.8-flashGửi yêu cầu chat completion, hỗ trợ cả phản hồi streaming và không streaming. Tài liệu
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEYLấy danh sách mô hình khả dụng cho tài khoản hiện tại. Tài liệu
| Tên | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
model | string | — | ID mô hình, ví dụ openai/gpt-4o hoặc anthropic/claude-3-5-sonnet |
messages | array | — | Danh sách tin nhắn hội thoại, mỗi mục gồm role và content |
stream | boolean | false | Khi đặt true, phản hồi được stream qua SSE |
temperature | float | 1 | Nhiệt độ lấy mẫu; càng cao càng ngẫu nhiên |
max_tokens | integer | — | Số token tối đa được tạo trong một phản hồi |
top_p | float | 1 | Nucleus sampling; giới hạn xác suất tích lũy của các token ứng viên |
frequency_penalty | float | 0 | Phạt tần suất; giảm lặp từ |
presence_penalty | float | 0 | Phạt hiện diện; khuyến khích chủ đề mới |
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.1652/ ảnh
—
—
Fuses generation and editing; more professional text rendering and richer realistic textures and scenes.
—
¥0.2474/ ảnh
—
—
Qwen
The first image editing model in the Qwen series, extending Qwen-Image's text rendering to editing tasks. Supports precise bilingual (Chinese and English) text editing, both appearance and semantic edits, and strong results across benchmarks.
—
¥0.1633/ ảnh
—
—
Qwen
Plus-tier vision-language model in the Qwen3-VL line, handling text, image and video inputs with strengths in document parsing, video understanding, spatial grounding and agent tool use.
¥0.8201/ M
¥8.1666/ M
¥0.1652/ M
¥3.0696/ M