LumixAI logo
xAI video generation API

Grok API for production videos.

Grok API gives teams a fast Grok-family video option for rapid social clips, creative drafts, and prompt-to-motion experiments.

Model slug
grok-default
Credit rate
25 credits per video
Provider
xAI
Grok API video generation sample

Model overview

Why use Grok through LumixAI?

Grok video generation through the LumixAI API with async jobs, polling, download URLs, and live pricing from the backend.

Use Grok through LumixAI when you want one stable REST workflow for prompts, model selection, async jobs, polling, usage tracking, and credit pricing. The page targets searches for Grok API, Grok video API, and xAI video generation API.

AI video generation

image-to-video workflows

production API integrations

Developer workflow

Call Grok without a separate provider integration.

Async jobs

Queue generation with /v1/videos/jobs, poll /v1/videos/jobs/{id}, then download the finished video.

Credit pricing

Grok starts at 25 credits per video before conditional rules.

Modality
Video
Aspect ratios
16:9, 4:3, 1:1, 3:4
Resolutions
480p, 720p
await fetch("https://api.lumixai.live/v1/videos/jobs", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": process.env.LUMIXAI_API_KEY
  },
  body: JSON.stringify({
    model: "grok-default",
    prompt: "cinematic product reveal, smooth camera motion",
    aspectRatio: "16:9",
    resolution: "480p",
    duration: 6,
    withSoundEffects: true
  })
});

Next step

Generate your first Grok video.

Generate with LumixAI