Grok Imagine
xAI's API for generating and editing images and video from text or image prompts
- Tool type
- Image and video generation API
- Made for
- Developers and product teams
- Runs on
- xAI-hosted API
- Called via REST API; API console and playground are on the web.
What it does
Grok Imagine is xAI's image and video generation API. The video model, grok-imagine-video, accepts text, image and video inputs and produces video. The wider Imagine API covers generation and editing for both images and video, with image output at 1K or 2K resolution and video at 480p, 720p and 1080p.
Developers create an API key in the xAI console and send requests through the REST API, with a web playground for trying prompts first. A video extension API lets you continue an existing clip. Charges apply per generated second of video and also for images or video supplied as input, so costs depend on both what you send and what you generate. The video model has a rate limit of 10 requests per second, with higher limits available on request.
It suits developers and product teams adding image or video generation to their own apps or pipelines. Access is through an API key and the console rather than a standalone editing app. Video pricing varies by resolution, the video extension rate is promotional and may change, and batch pricing is not available for the video model. For a free tier or trial, request a quote or check xAI's pricing page.
What it can do
- Generate video from text, image or video inputs
- Extend existing video through a video extension API
- Generate and edit images at 1K and 2K resolution
- Produce video at 480p and 720p, with 1080p listed in the Imagine API summary
- Call models through the REST API or try them in a web playground
Example workflows
- Animate a product image
- Illustrative example. Input: a still product image and a text prompt describing motion. Steps: create an API key, send the image and prompt to grok-imagine-video at 720p, then retrieve the result. Output: a short generated video clip.
- Extend an existing clip
- Illustrative example. Input: an existing video and a prompt for what happens next. Steps: submit the video to the video extension API, choose a resolution, then collect the output. Output: a longer video continuing the original.
Before you choose
- Video is billed per generated second and inputs are billed too, so test cost at 480p before moving up to 720p
- Video extension pricing is promotional and subject to change
- Batch pricing is not available for the video model, and the default rate limit is 10 requests per second
Listed under
Get started
Create a key in the xAI API console and make a first request via the quickstart.
- Create an API key in the xAI API console
- Follow the quickstart to make a first request
- Try prompts in the playground, then call the REST API from your code
Plans and prices
Prices in USDVideo output is $0.05/sec at 480p and $0.07/sec at 720p. Inputs are also charged: image $0.002, video $0.01 per second. Imagine API summary lists images from $0.02 each; see the xAI pricing page for full rates.
- Billed per second of video generated
- Input image/video also billed
Source: docs.x.ai/developers/models/grok-imagine-video, checked 28 Oct 2026. Prices can change; check before you buy.
Sources for this overview
Product pages, documentation, and pricing checked 28 Oct 2026. Each source supports part of the overview; availability and prices can change.
Ratings and reviews
No ratings for Grok Imagine yet.
What’s changed
Free accountSignals
Free accountData and security
Free accountCompare with similar tools
Free accountWhere this comes from
How we research- Company website
- x.ai: product, pricing and policy pages
- Web archive
- When the site first appeared
- YC directory mirror
- Batch and company name
- Web search
- Confirms the official site
- Social accounts
- Accounts the company links, and its posts on X
- Human review
- Checked by a person
- knowledge_base
Last checked 28 Oct 2026. Every field keeps its source and date; unknown means we couldn’t confirm it.