Grok Imagine on Twelver

Grok Imagine: ten variants
in a minute

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 of the cheapest models — iterate almost for free
  • Ratios from 1:1 to extreme 8:1 and 1:8
  • Grok Imagine Video sits next to it — animate your own frame

Three ways to use Grok Imagine

One subscription, three channels: the chat, your own AI client over MCP, and your code. Shared tokens — you only pay for what you generate.

Grok Imagine right in the Twelver chat

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”.

  • A ready-made agent — the model is already selected
  • Refine with words instead of rewriting the prompt
  • History, inputs and outputs all stay in the thread

Every model is included in one Twelver subscription — cheaper than paying each service separately. Start on free tokens, no card needed.

Grok Imagine inside Claude, Cursor, LM Studio and other AI clients

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.

1

Open Claude → Settings → Connectors

2

Add custom connector → paste the URL

3

Sign in via OAuth — done


Build your server

Check the tools — URLs and config update themselves.

Генерация изображений (Grok)

Connector URLs

Генерация изображений (Grok)

https://twelver.ru/api/mcp/v1/grok-image-generation

Grok Imagine from your own app

Three 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.

Key and config

Create a config and a key right here — the samples below fill in your real config id.

1. Настройте конфигурацию

2. Получите API ключ

  1. 1

    Upload a source fileoptional

    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" }
  2. 2

    Create the generation task

    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" }
  3. 3

    Retrieve the result

    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" }] } }

API schema

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": { ... } }

API generations spend the same tokens as the chat — there is no separate plan to buy.

More about the API →

What Grok Imagine is best at

When speed and price matter more than studio gloss.

Speed and price

Cheap generations: run through dozens of variants without watching your token balance.

📐

Extreme ratios

Headers, banners, covers — ratios up to 8:1 and 1:8 with no cropping or outpainting.

🖌️

Edit your own image

Upload a photo and ask for a change — image-to-image and reference blending work out of the box.

🎬

Pairs with the video model

Generate a frame and animate it right away with Grok Imagine Video — in the same thread.

Specs

Exactly what you get when you call Grok Imagine on Twelver.

Model
Grok Imagine (xAI) — image generation
Aspect ratios
From 1:1 and 16:9 to panoramas up to 8:1 and 1:8
Inputs
Text, one photo, or several references
Tools
Text-to-image, image-to-image, reference blending

Получайте бесплатные токены

Выполняйте цели онбординга, чтобы пополнить бесплатный баланс.

  • Создать аккаунт

    +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

    Второе платное пополнение даёт бонусные токены сверх купленных.

Other image models

They all come with the same subscription — switch between them inside one chat.

Everything Twelver does with images →

FAQ

No. The model runs through the Twelver backend — a Twelver account is all you need.
Grok is about speed and price — great for exploring ideas. Seedream gives a more photoreal frame; Nano Banana edits an existing photo more precisely.
Yes — Grok Imagine Video is a separate agent for text-to-video and animating a photo. Both are in the same subscription.
The REST generation endpoint with toolsets: ["grok-image-generation"] — see the example in “Three ways to use”. The same engine is also an MCP server.
Yes — the images you generate are yours, commercial use included.

Explore ten ideas with Grok Imagine

One subscription covers every model on Twelver — cheaper than paying each service separately. Start on free tokens, no card needed.