Skip to main content
Model id grok-imagine-video-1.5 · xAI · video · 3 modes: text-to-video, image-to-video, reference-to-video.
This page reflects the current catalog. Inputs, allowed values, limits and prices can change as the model evolves; the field names and their meaning do not. For the exact schema at any time, your agent calls get_model with the mode.

Text To Video

Mode text-to-video. Text to video.

Input

Pricing

3.87 credits/s (480p), 6.77 credits/s (720p), + 0.48 credits per input image (frame or reference). Fixed price: charged as estimated. For the exact price of a request, use estimate_generation.

Example

The arguments of generate_media:

Image To Video

Mode image-to-video. Animate a start image, optionally to an end image.

Input

Pricing

3.87 credits/s (480p), 6.77 credits/s (720p), + 0.48 credits per input image (frame or reference). Fixed price: charged as estimated. For the exact price of a request, use estimate_generation.

Example

The arguments of generate_media:

Reference To Video

Mode reference-to-video. A video guided by up to 7 reference images.

Input

References: up to 7: 7 images. Assets, URLs and elements are accepted.

Pricing

3.87 credits/s (480p), 6.77 credits/s (720p), + 0.48 credits per input image (frame or reference). Fixed price: charged as estimated. For the exact price of a request, use estimate_generation.

Example

The arguments of generate_media: