Grok Imagine API
API for generating and editing images and video via Grok Imagine, distinct from the consumer Imagine surface inside the Grok app.
Find alternatives to Grok Imagine API
What it does
- Image generation
- Video generation
Features 8
- Image generationGenerates images from text prompts with batch generation and control of aspect ratio, resolution and quality.
- Image editingEdits an existing image from a source image plus a prompt.
- Multi-image editingUses up to five source images for a single image edit.
- Text-to-video generationGenerates videos from text prompts with configurable duration, aspect ratio and resolution.
- Image-to-videoTransforms a still image into a video, animating it per optional prompt instructions.
- Reference-to-videoGuides generated video with reference images, a preset voice, or both.
- Video editingEdits an existing video from a source video plus a prompt.
- Video extensionExtends an existing video from its last frame using a text prompt.
Sources
- Pricing
- Description
- What it does
- Constraints
-
Official documentation · 2 Oct 2026
Derived from the security facts on this page, from the same source.
- Security
-
Official documentation · 2 Oct 2026
API only: docs.x.ai API Security FAQ (site now branded SpaceXAI) covers API requests/responses; consumer Grok, Grok Bot, Grok Build, Grokipedia and voice products are left out. ZDR is a vendor team-level setting. Certifications and DPA not found on fetched pages (x.ai legal pages returned 403 to curl; trust.x.ai is a Vanta script-only page).
- Sold within
-
The API product page states usage via the xAI API but does not itself state whether Imagine access is bundled with the base xAI API plan or billed as a separate meter.
- Name
- URL
- Interfaces
-
Official documentation · 12 Oct 2026
Page: 'The Imagine API lets you generate and edit images and videos with Grok Imagine models'.
- Modalities
-
Official documentation · 1 Oct 2026
Page: 'The Imagine API lets you generate and edit images and videos with Grok Imagine models / video generation from text or still images'.
- Intended for
Also from xAI
-
Grok Application
Assistant for chat, real-time web and X search, image generation and voice, on the web and in the X apps.
-
xAI API Model API
Hosted API for the Grok models, billed per token.
-
Grok Bot AI agent
Persistent AI teammate agents that retain context and learn from prior work across sessions, for delegated business tasks (e.g. account management); they use apps and websites as the user would.
-
Grok Build AI agent
Terminal-based coding agent powered by Grok 4.6 with plan mode, subagents, skills, plugins and MCP-server support for software development workflows.
-
Grokipedia Application
AI-generated reference encyclopedia, freely browsable without sign-in, listed in x.ai's own top-level Products nav; also has Grok write articles on a named topic, checked against sources.
-
Grok Voice API service
Voice agent builder and API suite from xAI: real-time speech-to-speech conversational agents, speech-to-text transcription, text-to-speech, voice cloning and (upcoming) live translation, built on Grok.
Something wrong here? Send a correction — quote this product id: grok-imagine-api.