API Free WeekHundreds of APIs are free to call this week.Browse free APIs

Grok Imagine Video 1.5 Text to Video

xai/grok-imagine-video/1.5/text-to-video

Grok Imagine Video 1.5 by xAI - generate cinematic videos from text descriptions with AI. Create high-quality video content with natural motion, camera control, and optional audio generation.

Base price
$0.84USD / run
Execution
async
Model type
video
Input fields
4
Production route

Try the model

Playground

Open playground
Input
Text description of the desired video.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Resolution of the output video. Allowed values: 480p, 720p, 1080p.
115
Video duration in seconds. Range: 1 to 15.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.84 / run

Context & modalities

Input
Schema-defined
Output
video

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
xAI
Model ID
xai/grok-imagine-video/1.5/text-to-video
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Text to Video
Rank
#12 of 32
Elo
1036 ±19
Gap to #1
−98

Text-to-video arena (silent): people pick the better of two clips from the same prompt, without seeing the model names; audio is not judged.

  1. #7SkyReels V4Skywork AI1083±19
  2. #8Gemini Omni Flash 1.1GoogleOn SandBase1072±18
  3. #9Agnes-Video-2.5Sapiens AI1053±19
  4. #10HappyHorse-1.1Alibaba-ATHOn SandBase1041±18
  5. #11HappyHorse-1.0Alibaba-ATHOn SandBase1037±19
  6. #12Grok Imagine Video 1.5SpaceXAIThis model1036±19
  7. #13Wan2.7-260612AlibabaOn SandBase1023±18
  8. #14MAGI-2 PreviewSand.ai1011±17
  9. #15Kling 3.0 1080p (Pro)KlingAIOn SandBase1000
  10. #16PixVerse V6PixVerse998±19

API README

Grok Imagine Video 1.5 Text to Video

Grok Imagine Video 1.5 turns a prompt into a 1–15 second clip with native audio, up to 1080p.

Fields

FieldTypeDefaultNotes
promptstring, required—Up to 4,096 characters.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Output frame shape.
resolution480p / 720p / 1080p720pSets the per-second rate.
durationinteger 1–156Output length in seconds.

Billing

Per output second: $0.08 at 480p, $0.14 at 720p, $0.25 at 1080p.

Output480p720p1080p
6s (default)$0.48$0.84$1.50
10s$0.80$1.40$2.50
15s$1.20$2.10$3.75

Failed runs are not charged.

Prompting

  • Describe subject, action, camera, and sound.

Also on SandBase

Other Grok Imagine Video 1.5 endpoints: xai/grok-imagine-video/1.5/image-to-video, xai/grok-imagine-video/1.5/reference-to-video, xai/grok-imagine-video/1.5/lite/text-to-video, xai/grok-imagine-video/1.5/lite/image-to-video, xai/grok-imagine-video/text-to-video (previous version).

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
xai/grok-imagine-video/1.5/text-to-video
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "xai/grok-imagine-video/1.5/text-to-video",
  "prompt": "Anime schoolgirl bursting out of house door, cherry blossoms blowing, morning light, speed lines indicating rush, chibi-ready expressions, classic shojo aesthetic, vibrant colors",
  "duration": 6,
  "resolution": "720p"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
xAIVideo$0.84 / runAug 1, 2026
xAIVideo$0.19 / runOct 1, 2026
xAIVideo$0.18 / runOct 1, 2026
xAIVideo$1.13 / runAug 1, 2026
xAIVideo$0.85 / runMay 31, 2026
xAIVideo$0.56 / runMar 24, 2026

Questions

FAQ

How do I call xAI Grok Imagine Video 1.5 Text to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "xai/grok-imagine-video/1.5/text-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate xAI account?

No. One SandBase API key and balance gives you access to xAI Grok Imagine Video 1.5 Text to Video and the other models in the catalog; you do not need to sign up with xAI separately.