For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
WebsiteModelsPricingGet Started
DocumentationAPI Reference
DocumentationAPI Reference
  • Overview
    • Welcome
    • Getting Started
    • Authentication
    • Concepts
  • Platform
    • Models and Pricing
    • Billing and Credits
    • Limits and API Keys
    • Account Usage API
    • Generation Templates
    • GPU Cloud
    • Agents
    • OpenAI and Anthropic Compatibility
    • Integrations
  • Providers and Models
    • All providers
      • xAI overview
      • Grok Imagine Video 1.5
  • Reference
    • API Reference Overview
    • AI Agent Access
    • Support
    • Changelog
Logo
WebsiteModelsPricingGet Started
On this page
  • At a glance
  • Pricing
  • Example request
  • Parameters
  • Notes
Providers and ModelsxAI

Grok Imagine Video 1.5

Was this page helpful?
Previous

Xiaomi

Next
Built with

Grok Imagine Video 1.5
xAI · Video Generation
POST /v1/videos/generations

Image-to-video model that animates a source image with prompt-guided motion, up to 15 seconds at 480p or 720p across seven aspect ratios.

At a glance

FieldValue
Model idgrok-imagine-video-1-5
Input modalitiesText, Image
Output modalitiesVideo
Context window—
Weight precision-
Features—
Native inferenceNo
NewYes
Supported endpointsPOST /v1/videos/generations

Pricing

ChargeSpecRate
Image inputper image$0.013
480pper second$0.104
720pper second$0.182

Example request

$curl https://api.empiriolabs.ai/v1/videos/generations \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "grok-imagine-video-1-5", "prompt": "sunrise over the ocean", "duration": 6}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringyes—Describe the motion and action to animate from the source image.
imagestringyes—Source image to animate. Public image URL, data URI, or uploaded image.
durationnumberno8Length of the generated video in seconds. · Range: 1 – 15
resolutionenumno"480p"Output resolution. 480p renders faster, 720p is higher definition. · Allowed: 480p, 720p
aspect_ratioenumno—Output aspect ratio. Defaults to the source image aspect ratio when omitted. · Allowed: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3

Notes

Image-to-video model. Provide a source image and a prompt describing the motion to animate.

Defaults

  • 8 second duration (1 to 15 seconds supported)
  • 480p output (480p or 720p)
  • Aspect ratio follows the source image unless set

Controls

Supports a source image (URL or upload), prompt, duration, resolution, and aspect ratio. Billing is per second of generated video.


Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/grok-imagine-video-1-5.