Grok Imagine API
Use every xAI Grok Imagine model online in the browser or through one REST API, on one balance. Images from $0.01, video from $0.04 per second — billed per generation, no subscription. Each model has its own page with a live playground, full parameter docs, and current rates.
Try Grok Imagine online
Generate directly in the browser — no code needed. Pick a model, type a prompt, and pay only for what you generate.
Upload images/videos above, then type @ in your prompt to reference them
Your generated video will appear here
Grok Imagine 2.0 — current image generation
Grok Imagine 1.5 — video
Grok Imagine 1.5 Video
from $0.04/sec
The official API build of Grok Imagine 1.5. Image-to-video only — animate a start image, 1–15 seconds at up to 1080p from a single start frame.
Grok Imagine 1.5 Video Fast
from $0.04/sec
The speed-optimized build of Grok Imagine 1.5. Faster results for a small amount of quality, and the only Grok route with text-to-video, reference images, @ImageN referencing, and style presets.
Grok Imagine 1.0 — image
Video tools
Grok Imagine Upscale
$0.05
Upscale a finished Grok Imagine video to HD from its task ID. Accepts task IDs from Grok Imagine 1.5 Video Fast only — not from the official 1.5 Video API build.
Grok Imagine Extend
from $0.04/sec
Extend a finished Grok Imagine video from its task ID, in preset or custom mode. Accepts task IDs from Grok Imagine 1.5 Video Fast only — not from the official 1.5 Video API build.
Grok Imagine API FAQ
- How much does the Grok Imagine API cost?
- On UnificAlly, Grok Imagine images cost $0.01 (speed model) or $0.025 (2.0 quality model) each. Video costs $0.04 per second at 480p, $0.07 at 720p, or $0.125 at 1080p. Upscaling a video is a flat $0.05. Billing is per generation with no subscription; live rates are on the pricing page.
- Which Grok Imagine model should I use?
- Use Grok Imagine 2.0 Image for final-quality images and 1.0 Image for $0.01 drafts. For video, 1.5 Video Fast is the flexible route with text-to-video, references, and clips up to 30 seconds, while 1.5 Video is the official image-to-video build. Both reach 1080p.
- What is the difference between Grok Imagine 1.5 Video and 1.5 Video Fast?
- Both run Grok Imagine 1.5. The 1.5 Video route is the official API build: image-to-video only, 1–15 seconds, up to 1080p. The Fast build trades a small amount of quality for speed and adds text-to-video, up to 7 reference images, style presets, and 1–30 second clips at 480p, 720p, or 1080p. Only Fast tasks can be extended or upscaled.
- Can I use Grok Imagine online without coding?
- Yes. Every Grok Imagine model on UnificAlly has a browser playground: type a prompt, adjust settings like duration and resolution, and generate. No code or SDK is required, and there is no subscription — each generation is billed at the same pay-per-use rate as the API.
- Is Grok Imagine free to try?
- Yes. New accounts get a $0.50 signup balance, enough for 50 images on the 1.0 speed model or 20 on Grok Imagine 2.0. After that you top up and pay per generation, with no subscription, and your balance never expires.
- Is Grok Imagine still free on X?
- No. xAI restricted free Grok Imagine generation in January 2026 and moved it fully behind a paid subscription in March 2026. The API route here needs no X or Grok subscription: new UnificAlly accounts get a $0.50 signup balance, then pay per generation at the rates above.
- Do I need an X or Grok subscription to use the API?
- No. UnificAlly is pay-per-use: you top up a balance and each generation deducts its exact cost. There is no monthly fee or seat license, and your balance never expires.