Claude visitors: new accounts receive $1.00 in bonus API credit within 30 days. One per person; usage credits only.
Use Grok Imagine in WorkBuddy.
Grok Imagine is xAI's image and video generation suite — text-to-image, image-to-image, text-to-video, and image-to-video. Add RunAPI as an MCP server in WorkBuddy and the workbench agent calls Grok Imagine as a tool with the same RUNAPI_API_KEY used for everything else — no extra plugins to install.
Generate an image with xAI Grok Imagine using the runapi MCP server.
Requirements:
- Use the RunAPI MCP tool for text-to-image generation.
- Set the model to "grok-imagine-text-to-image".
- Prompt: "a robot hand placing a chess piece on a board, dramatic side lighting, slow motion feel".
- The task is async — wait until it completes, then give me the image URL.
{
"mcp_servers": {
"runapi": {
"url": "https://runapi.ai/mcp",
"transport": "streamable_http",
"headers": {
"Authorization": "Bearer $RUNAPI_API_KEY"
}
}
}
}
{
"task_id": "tsk_abc123",
"status": "completed",
"model": "grok-imagine-text-to-image",
"output": {
"image_url": "https://media.runapi.ai/outputs/tsk_abc123.png"
}
}
Use Grok Imagine in WorkBuddy in three steps
Add the RunAPI MCP server
Register an MCP server named runapi in WorkBuddy pointing at https://runapi.ai/mcp over streamable HTTP, with your key read from the RUNAPI_API_KEY environment variable. If RunAPI is already connected for chat, the same server exposes Grok Imagine — no additional setup.
export RUNAPI_API_KEY=runapi_xxx
# MCP server: runapi → https://runapi.ai/mcp
Prompt the workbench agent
Describe the image you want and name the model grok-imagine-text-to-image. The agent picks the matching RunAPI MCP tool and sends the request. For video, ask for grok-imagine-text-to-video; for image-to-video, add an image_url as the source frame.
"Generate an image with grok-imagine-text-to-image: ..."
Let the tool return the result
The RunAPI MCP tool creates the task, waits through the async generation until the status is completed, and hands the finished image or video URL back into the workbench — no manual polling needed.
status: completed → image_url
Grok Imagine parameters
| Parameter | Type | Description |
|---|---|---|
model |
string |
Required. E.g. grok-imagine-text-to-image, grok-imagine-image-to-video. |
prompt |
string |
Text description of the desired output. |
image_url |
string |
Source image URL for image-to-image or image-to-video. |
aspect_ratio |
string |
Optional. Output aspect ratio, e.g. 16:9, 1:1. |
What is Grok Imagine on WorkBuddy?
Grok Imagine (Aurora) is xAI's image and video generator built into the Grok platform. It produces photorealistic portraits, anime-style illustrations, and short video clips with synchronized audio from text prompts. Through the runapi MCP server, WorkBuddy agents call it for text-to-image, image editing, and video generation without needing a Grok or SuperGrok subscription.
Grok Imagine use cases
Photorealistic portrait generation
Generate high-quality realistic portraits and character images from text descriptions, useful for social media profiles, marketing personas, or creative projects.
Social media content creation
Produce images and short video clips for social posts, stories, and ads directly from text prompts, with no watermark on outputs.
Stylized artwork and anime characters
Create illustration-style and anime character art from detailed prompts, generating consistent character designs for games, branding, or content series.
Grok Imagine + WorkBuddy questions
Yes. WorkBuddy speaks MCP natively, so add RunAPI as an MCP server named runapi with your RUNAPI_API_KEY. Then ask the workbench agent for an image or video with a Grok Imagine model slug like grok-imagine-text-to-image, and the tool handles the rest.
Through RunAPI, Grok Imagine uses pay-per-task billing — no Grok subscription or SuperGrok plan required. You pay only for completed generations from your RunAPI credit balance. Check the RunAPI pricing page for current rates.
Yes. Grok Imagine supports text-to-video generation with synchronized audio. Ask WorkBuddy to use the grok-imagine-text-to-video model, and the output includes both video and matching audio in a single file.
Asynchronous. The task returns a task_id immediately, and the RunAPI MCP tool keeps checking the status until the output is ready — WorkBuddy just receives the finished URL, so you never poll by hand.
Grok Imagine produces strong photorealistic results, especially for portraits and character generation. It also supports video output, which Midjourney and DALL-E do not. Quality varies by prompt — test with your specific use case to compare.
WorkBuddy general setup
Not connected yet? Start with the RunAPI MCP setup guide for WorkBuddy.
WorkBuddy setup guide →Grok Imagine model catalog
See all Grok Imagine variants, pricing, and API docs.
Grok Imagine models →Try Grok Imagine in WorkBuddy today.
Get a free RunAPI key, add the MCP server to WorkBuddy, and start generating images and video with xAI Grok Imagine.