qwen-image-2.0
Qwen
Unifies generation and editing in one model; native 2K; professional typography and infographics.
—
¥0.1652/ изобр.
—
—
The Flash tier of the Qwen3.8 series: multimodal reasoning for coding and agent workflows, with understanding of documents, codebases and long videos.
Цена ввода
Рынок: ¥0.9985
/ M
Цена вывода
Рынок: ¥2.9956
/ M
Чтение кэша
Рынок: ¥0.0999
/ M
Запись кэша
Рынок: ¥1.2482
/ M
Ввод
Текст
Вывод
Текст
{
"model": "qwen/qwen3.8-flash",
"messages": [
{
"role": "user",
"content": "Привет! Сначала расскажи о себе: твои основные возможности и подходящие сценарии, и приведи короткий пример использования."
}
],
"stream": false
}{}API
Готовый код для вызова этой модели через OpenAI-совместимый API EasyAPI.
Создайте API-токен в консоли и задайте его как переменную окружения:
Замените sk-xxxxxxxx на API-токен из консоли (Bearer Token).
Создать API-токенexport EASYAPI_API_KEY=sk-xxxxxxxxИспользуйте qwen/qwen3.8-flash с 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!"
}
]
}'Добавьте "stream": true в тело запроса для получения ответов через 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}'Отправляет запрос chat completion. Поддерживает потоковый и обычный режим.
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsonqwen/qwen3.8-flashОтправляет запрос на завершение диалога с потоковой или обычной выдачей. Документация
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEYВозвращает список моделей, доступных текущему аккаунту. Документация
| Имя | Тип | По умолчанию | Описание |
|---|---|---|---|
model | string | — | ID модели, например openai/gpt-4o или anthropic/claude-3-5-sonnet |
messages | array | — | Список сообщений диалога, каждое с полями role и content |
stream | boolean | false | При значении true ответ передаётся потоком через SSE |
temperature | float | 1 | Температура сэмплирования: чем выше, тем случайнее ответ |
max_tokens | integer | — | Максимальное число токенов в одном ответе |
top_p | float | 1 | Nucleus-сэмплирование: ограничивает суммарную вероятность токенов-кандидатов |
frequency_penalty | float | 0 | Штраф за частоту: снижает повторы слов |
presence_penalty | float | 0 | Штраф за присутствие: поощряет новые темы |
Официальные SDK OpenAI и других работают при замене base URL. См. руководство по интеграции
Qwen
Unifies generation and editing in one model; native 2K; professional typography and infographics.
—
¥0.1652/ изобр.
—
—
Fuses generation and editing; more professional text rendering and richer realistic textures and scenes.
—
¥0.2474/ изобр.
—
—
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/ изобр.
—
—
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