xAI’s image model: instant images at a very low price and ratios from a square to an 8:1 banner — on a Twelver account, no X Premium subscription.
One subscription, three channels: the chat, your own AI client over MCP, and your code. Shared tokens — you only pay for what you generate.
The agent is already wired to this model: write a prompt or drop a photo and the result lands in the thread. Then just say “darker”, “drop the caption”, “same but vertical”.
Every model is included in one Twelver subscription — cheaper than paying each service separately. Start on free tokens, no card needed.
A remote MCP server over HTTP: tick the tools you want, paste the connector URL, and the model shows up in your assistant. No npm, no local servers, OAuth sign-in.
Open Claude → Settings → Connectors
Add custom connector → paste the URL
Sign in via OAuth — done
Check the tools — URLs and config update themselves.
Генерация изображений (Grok)
https://twelver.ru/api/mcp/v1/grok-image-generationThree calls: upload the source (if there is one), create the task, fetch the result. The request schema and the tool list are served by the API itself.
Create a config and a key right here — the samples below fill in your real config id.
1. Настройте конфигурацию
2. Получите API ключ
Only needed when editing an existing photo or animating a frame. Skip it when generating from scratch.
curl -X POST https://twelver.ru/api/ai/<config-id>/v1/media/files \
-H "Authorization: Bearer $TWELVER_API_KEY" \
-F "[email protected]"
# → { "url": "https://twelver.ru/api/files/u/<id>/url?token=…",
# "content_type": "image/jpeg" }curl -X POST https://twelver.ru/api/ai/<config-id>/v1/media/files \
-H "Authorization: Bearer $TWELVER_API_KEY" \
-F "[email protected]"
# → { "url": "https://twelver.ru/api/files/u/<id>/url?token=…",
# "content_type": "image/jpeg" }A prompt, the toolsets, and optionally the source file URLs. You get a task id back immediately.
curl -X POST https://twelver.ru/api/ai/<config-id>/v1/media/generations \
-H "Authorization: Bearer $TWELVER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A retro sci-fi poster of a cat piloting a spaceship, bold colors",
"toolsets": ["grok-image-generation"],
"files": [{ "url": "<url from step 1>" }]
}'
# → 202 { "id": "<task-id>", "status": "running" }curl -X POST https://twelver.ru/api/ai/<config-id>/v1/media/generations \
-H "Authorization: Bearer $TWELVER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A retro sci-fi poster of a cat piloting a spaceship, bold colors",
"toolsets": ["grok-image-generation"],
"files": [{ "url": "<url from step 1>" }]
}'
# → 202 { "id": "<task-id>", "status": "running" }Poll the task until its status is completed — the output carries the text and the URLs of the finished files.
curl https://twelver.ru/api/ai/<config-id>/v1/media/generations/<task-id> \
-H "Authorization: Bearer $TWELVER_API_KEY"
# → { "status": "completed",
# "output": { "text": "…",
# "files": [{ "url": "…", "content_type": "image/png" }] } }curl https://twelver.ru/api/ai/<config-id>/v1/media/generations/<task-id> \
-H "Authorization: Bearer $TWELVER_API_KEY"
# → { "status": "completed",
# "output": { "text": "…",
# "files": [{ "url": "…", "content_type": "image/png" }] } }A separate endpoint returns the available toolsets with their tools and the exact request/response shape — the same contract the backend runs on.
curl https://twelver.ru/api/ai/<config-id>/v1/media/generations/schema \
-H "Authorization: Bearer $TWELVER_API_KEY"
# → { "toolsets": [{ "id": "grok-image-generation", "tools": [...] }, ...],
# "request": {"prompt":"string","toolsets":["string"],"files":[{"url":"string","content_type":"string","description":"string"}]},
# "response": { ... } }curl https://twelver.ru/api/ai/<config-id>/v1/media/generations/schema \
-H "Authorization: Bearer $TWELVER_API_KEY"
# → { "toolsets": [{ "id": "grok-image-generation", "tools": [...] }, ...],
# "request": {"prompt":"string","toolsets":["string"],"files":[{"url":"string","content_type":"string","description":"string"}]},
# "response": { ... } }API generations spend the same tokens as the chat — there is no separate plan to buy.
More about the API →When speed and price matter more than studio gloss.
Cheap generations: run through dozens of variants without watching your token balance.
Headers, banners, covers — ratios up to 8:1 and 1:8 with no cropping or outpainting.
Upload a photo and ask for a change — image-to-image and reference blending work out of the box.
Generate a frame and animate it right away with Grok Imagine Video — in the same thread.
Exactly what you get when you call Grok Imagine on Twelver.
A real thread and the real output of this model — from the prompt shown on the card.
A paper plane over a city skyline at sunset. Give me four takes in different styles: vector, photoreal, 80s airbrush, 3d clay.
Done — the file is in the chat




Выполняйте цели онбординга, чтобы пополнить бесплатный баланс.
Создать аккаунт
+50,000Зарегистрируйтесь, чтобы сохранять чаты, агентов и настройки на всех устройствах.
Первый веб-поиск
+20,000Задайте вопрос, требующий свежих данных — AI выполнит поиск в интернете и укажет источники.
Создать первый документ
+20,000Создайте структурированный документ — статью, отчёт, план — прямо из чата и редактируйте его совместно.
Загрузить первое изображение
+20,000Перетащите изображение в чат — AI увидит его и ответит на вопросы о содержимом или отредактирует.
Создать первого агента
+50,000Создайте собственного AI-агента со своим характером, инструментами и инструкциями. Требуется пополненный баланс.
Создать аудио
+50,000Сгенерируйте речь, озвучку или звуковой эффект по текстовому промпту.
Создать видео
+50,000Выберите агента с поддержкой видео (или создайте специального) и опишите нужную сцену.
Создать изображение
+40,000Попросите чат сгенерировать изображение — пробуйте разные стили, соотношения сторон и подробные промпты.
Общаться 2 дня подряд
+20,000Заходите два дня подряд, чтобы начать серию. Любой короткий диалог засчитывается.
Общаться 4 дня подряд
+40,000Поддерживайте серию — четыре дня подряд активности в чате.
Общаться 7 дней подряд
+60,000Целая неделя серии подряд. Вы в огне!
Общаться 30 дней подряд
+100,000Целый месяц ежедневных чатов — высшая награда за серию.
Пополнить баланс
+100,000Пополните баланс, чтобы открыть премиум-модели и инструменты. Токены доступны, пока активна подписка — они сгорают, когда подписка заканчивается.
Пополнить баланс дважды
+100,000Второе платное пополнение даёт бонусные токены сверх купленных.
They all come with the same subscription — switch between them inside one chat.
One subscription covers every model on Twelver — cheaper than paying each service separately. Start on free tokens, no card needed.