Qwen Image 2.1 Pro через Tokenator API
Назначение модели
Qwen Image 2.1 Pro — это модель для создания и редактирования изображений от Qwen, более высококачественная версия серии Qwen Image 2.1. Выбирайте её вместо Qwen Image 2.1 Turbo, если качество выходного изображения важнее стоимости или скорости.
Спецификация
| Полное название | Qwen Image 2.1 Pro |
| API ID | qwen-image-2.1-pro |
| Разработчик модели | Qwen |
| Тип | Генерация изображений |
| Контекстное окно | — |
| Максимальный output | — |
| Изображения на входе | да |
| Множитель расхода Tokenator | 4× |
| Модальности входа | text, image |
| Поддерживаемые форматы API | /v1/images/generations /v1/images/edits |
| Апстрим-провайдеров | 1 |
| Текущий статус | доступна |
| Данные обновлены | 2026-11-17 |
Примеры генераций
Пример 1

Текст запроса
Editorial architectural photograph of a contemporary neighborhood storefront at blue hour, glowing warmly against the dusk. Above the entrance, a warm-white neon sign in flowing hand-bent cursive reads exactly "OpenRouter", the only text in the scene. Large windows reveal a cozy, lived-in interior: wood shelves styled with books and ceramics, lush trailing plants, and soft pendant lighting. Potted plants and a bicycle rest by the entrance, and golden light spills across the wet pavement in gentle reflections. Straight-on composition, realistic materials, quiet street with no people.
Full wine glass

Текст запроса
A wine glass filled to the brim with white wine, the surface level with the rim of the glass, standing upright on a plain wooden table. Straight-on eye-level shot, glass upright and not tilted, no other objects in the frame.
Closed umbrellas

Текст запроса
Wide street-level photograph of about twelve people crossing a city street in heavy rain. Every person is carrying a closed, furled umbrella held down at their side. Not a single umbrella is open. Each umbrella is clearly visible. They are all getting soaked. No other people in the frame.
Three fingers

Текст запроса
Close straight-on photograph of an open right hand raised palm towards the camera, with exactly three fingers extended straight up and the other two folded down into the palm. Plain background, nothing else in the frame.
Cards & dice

Текст запроса
Exactly four playing cards face up in a single straight row on a polished marble counter, evenly spaced, all the same size, showing the seven of hearts, the eight of spades, the nine of diamonds and the ten of clubs from left to right. No other objects in the frame. Straight-on eye-level shot, soft even light.
Long exact string

Текст запроса
A white A4 poster on a brick wall reading exactly "SPRING CLEARANCE - EVERYTHING 40% OFF - SATURDAY 14 JUNE, 9AM TO 6PM". No other text in the frame.
Multiple languages

Текст запроса
Straight-on photograph of a white overhead directional sign in an international airport terminal, with a black arrow pointing right at the left end. The sign carries the same word in four scripts on four stacked lines, in this order from top to bottom: "DEPARTURES", then the Japanese 出発, then the Korean 출발, then the Arabic المغادرة. Clean sans-serif lettering, sharp focus, no other text anywhere in the frame.
Occlusion

Текст запроса
Straight-on eye-level photograph of a plain wooden desk. On the left, a closed hardcover book with a dark red cover stands upright, its front cover facing the camera. A blue ceramic mug stands on the desk to the right of the book and clearly further back, about 20 cm behind it, positioned so that the right edge of the book overlaps and hides the left third of the mug. The mug's handle points to the right and the whole rim of the mug is visible. Bare desk surface is visible between the book and the mug. Nothing else on the desk. Plain wall behind, soft even light.
Mirror

Текст запроса
Straight-on eye-level photograph of a bathroom vanity. A large rectangular mirror covers the wall behind the counter and its bottom edge meets the countertop, so both the objects and their reflections are visible. On the counter, a tall red toothbrush cup on the left and a tall green glass bottle on the right, both roughly 20 cm tall and well apart from each other. The mirror reflects the counter and the objects on it accurately. Nothing else in the frame.
Plain zebra

Текст запроса
Photograph of a zebra standing side-on in short grass. Its coat is a uniform solid grey with no stripes, no bands and no markings of any kind anywhere on its body. The whole animal is visible. Sharp focus.
Times Square

Текст запроса
Wide street-level photograph of Times Square in New York at night, wet asphalt reflecting the lights. Every billboard, screen, storefront window, awning, taxi door and road marking is completely blank — lit with plain colour fields and soft gradients only. No letters, no words, no numbers, no logos, no lettering of any kind anywhere in the frame. Sharp focus, straight-on shot.
Minimal diff

Текст запроса
From the reference photo, change only the sign text to "ROUTE 7 ESPRESSO - OPEN TILL 8". Keep the sign, wall, lighting and framing identical.
Object removal

Текст запроса
Remove only the second cup from the left in the reference photo. Leave the other four cups exactly as they are, in the same positions, and leave the shelf, towel, wall, plant and lighting untouched.
Person removal

Текст запроса
In the reference photo, remove only the person in the yellow coat. Their shadow on the pavement and their reflection in the shop window must be removed as well. Reconstruct the pavement and the window glass behind them. The person in the red coat and the person in the green coat must stay completely unchanged, including their own shadows and their own reflections. Change nothing else in the frame.
Product placement

Текст запроса
Product photograph of the ceramic mug from the reference image, standing upright on a café table. Show the same side of the mug, from the same side-on eye-level angle as the reference, with the handle on the right. The shape, proportions, colours, moulded relief and every painted detail must match the reference exactly. Only the setting and lighting change: soft daylight in a café interior, shallow depth of field.
Four references

Текст запроса
Place the person from the portrait reference at the desk in the scene reference, wearing the rust orange canvas jacket from its reference and holding the navy blue travel mug from its reference in one hand. Keep the face, the jacket and the mug exactly as they appear in the references — same colours, same details, same proportions. Do not change the room.
Portraits

Текст запроса
Studio headshot of a woman in a charcoal blazer against a mid-grey seamless backdrop, lit by a large softbox slightly above and to the left with a soft fill from the right, catchlights in both eyes. An 85mm look with shallow depth of field, skin texture and flyaway hairs kept rather than smoothed.
People in scenes

Текст запроса
Photograph of four cooks working the pass in a restaurant kitchen at service, plating three dishes at once, several hands in frame and some of them overlapping. One cook partly hidden behind another, steam rising into hard overhead light, each face clearly a different person.
Animals

Текст запроса
Photograph of a tabby cat asleep on a sunlit windowsill, fur lit from behind so the individual hairs glow at the edges, one ear turned toward the camera. Shallow depth of field, a houseplant soft in the background, quiet morning light.
Landscape and nature

Текст запроса
Photograph of an old-growth temperate rainforest after rain, moss on every trunk and fallen log, ferns dense across the floor, thin fog between the far trees. Overcast light with no direct sun, everything from the nearest fern to the last trunk in focus.
Апстрим-провайдеры
| Провайдер | Множитель |
|---|---|
| Unified LLM API | 4× |
Запрос идёт к первому доступному провайдеру по приоритету; при его отказе Tokenator переключается на следующего.
Пример запроса
curl https://api.tokenator.top/v1/images/generations \ -H "Authorization: Bearer sk-your-tokenator-key" \ -H "Content-Type: application/json" \ -d '{ "model": "qwen-image-2.1-pro", "prompt": "an isometric illustration of a server rack", "n": 1 }'
Смотрите также
Частые вопросы о Qwen Image 2.1 Pro
Какой API ID у Qwen Image 2.1 Pro?
qwen-image-2.1-pro — это значение подставляется в поле model запроса.
Как выглядит запрос на генерацию?
POST на /v1/images/generations, /v1/images/edits с полями model, prompt и при необходимости n и size. Формат совпадает с OpenAI Images API — меняется только base URL и ключ.
Как задать размер изображения?
Полем size в запросе, например 1024x1024. Набор доступных размеров зависит от модели; 2048x2048 поддерживают не все, и даже там результат иногда приходит меньшего размера — проверяйте фактическую картинку.
Сколько спишется за одну картинку?
Списываются генерации из лимита ключа: одна картинка — 4×, а при n изображениях за запрос — n × множитель. Подробнее — в документации.
Можно ли редактировать готовое изображение?
Да. Отправьте исходное изображение на /v1/images/edits вместе с prompt, описывающим правку — в ответе придёт ссылка на изменённую картинку. Принимается и multipart-загрузка файла, и JSON с base64.
Что приходит в ответе?
Массив data, в каждом элементе — ссылка на готовое изображение в поле url. Скачайте картинку и сохраните у себя: ссылка не рассчитана на постоянное хранение.