Grok Imagine Video 1.5

POST /v1/videos/generationsText-to-video, image-to-video, and reference-to-video generation with up to seven reference images for consistent characters, up to 15 seconds at 1080p.
At a glance
Pricing
Example request
Parameters
Notes
Generates video from a text prompt on its own, from a source image, or from up to seven reference images that keep characters and objects consistent across the shot.
Modes
- Text-to-video: send a prompt with no image.
- Image-to-video: add one image and it becomes the starting frame.
- Reference-to-video: add two or more images (up to seven) to carry their subjects into a new scene. Tag them in the prompt as <IMAGE_1>, <IMAGE_2>, and so on.
Example reference-to-video prompt
The mode is detected from what you send, and can be set explicitly with the mode parameter.
Defaults
- 10 second duration (1 to 15 seconds supported)
- 720p output (480p, 720p, or 1080p)
- Aspect ratio follows the source image for image-to-video, otherwise 16:9
Resolution
1080p is available for text-to-video and image-to-video. Reference-to-video supports up to 720p.
Controls
Supports prompt, mode, a source image or reference images (URL or upload), duration, resolution, and aspect ratio.
Billing
- Charged per second of generated video at the selected resolution (higher resolutions cost more per second), plus a per-image fee for each image you supply. Text-to-video has no image fee.
- A request that fails validation or errors out before any video is produced is not billed.
- A video that is produced but then blocked by content policy is still billed. This follows xAI usage policy, which charges for the generation even when the output is blocked by the content safety check. Keep prompts and source images within the usage policy to avoid this.
Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/grok-imagine-video-1-5.
