Grok Imagine Video 1.5 is xAI's video generation model, released 2026-07, that creates videos from text prompts or a starting image. It directs subject and camera motion, pacing, and atmosphere while maintaining visual continuity, and can generate synchronized sound effects, ambience, and dialogue.
This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.
Modalities
inTextinImageoutVideo
Per second
$0.140720p
Resolution
480p · 720p · 1080p
Duration
1–15s
Capabilities
VisionStructured output
Video pricing
Billed per second of generated video. The rate depends on the output resolution, and on whether audio is generated with it.
Resolution
Per second
480p
$0.080
720p
$0.140
1080p
$0.250
- Duration
- 1–15s
- Aspect ratios
- 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3
Quick Start
import os from openai import OpenAI client = OpenAI( base_url="https://api.mirapi.ai/v1", # changed api_key=os.environ["MIRAPI_API_KEY"], # changed ) resp = client.chat.completions.create( model="x-ai/grok-imagine-video-1.5", messages=[{"role": "user", "content": "Hello"}], )
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.mirapi.ai/v1", // changed apiKey: process.env.MIRAPI_API_KEY, // changed }); const res = await client.chat.completions.create({ model: "x-ai/grok-imagine-video-1.5", messages: [{ role: "user", content: "Hello" }], });
curl https://api.mirapi.ai/v1/chat/completions \ -H "Authorization: Bearer $MIRAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "x-ai/grok-imagine-video-1.5", "messages": [{"role": "user", "content": "Hello"}] }'
Links
Wire Grok Imagine Video 1.5 into your product
Start free1M free tokens to start · no card · OpenAI-compatible, one base_url change