VidLab

Grok Imagine Video 1.5 API

Grok Imagine Video 1.5 is a model for video generation from xAI and costs from $0.04 per second on VidLab. xAI's Grok Imagine Video 1.5: text to video, image to video, first and last frames and reference to video, up to 1080p, with sound.

Pricing

Price optionResolutionAudioRate (USD)
480p480p—$0.04 per second
720p720p—$0.07 per second
1080p1080p—$0.13 per second

Match the option to the settings you send. A dash means the catalogue has no separate value in that column for that price option. Each rate is in US dollars. The total depends on the billing unit and the number of units in your request. The pricing guide shows how to check the total for a specific input before you submit it.

Specifications

Resolution (resolution)
480p, 720p, 1080p
Duration (seconds) (duration)
1 to 15
Aspect ratio (aspect_ratio)
16:9, 9:16, 1:1
Reference images (images)
Up to 4
End image (end_image)
Supported
Prompt (prompt)
Required

Call it

Send POST /v1/generations with grok-imagine-video-1.5 in the model field and the settings for this generation in input. Use the public model ID shown here. The model’s display name is for reading the catalogue.

To put a ceiling on the charge, quote the request first and send the amount you approve as max_cost_usd. The generation returns a job ID. Keep the ID and check GET /v1/generations/{id} for the status and, on success, the output URLs. Send an Idempotency-Key with the submit request if you plan to retry on a network error. The generation guide shows the request and the result together.

Look up GET /v1/models/grok-imagine-video-1.5 when building an integration that needs to keep its form options current. The model response lists its pricing unit and input parameters. Use the API field names from that response in your request and keep the priced options together with the settings that select them.

Frequently asked questions

How much does the Grok Imagine Video 1.5 API cost?

The lowest listed rate for Grok Imagine Video 1.5 is $0.04 per second (the 480p option). The rate is for one billing unit. To budget a request with your exact settings, send the model and input to POST /v1/estimate before submitting. The estimate returns the selected variant, billing unit and unit count.

What is the maximum length for Grok Imagine Video 1.5?

The catalogue lists a maximum output duration of 15 seconds. Use the values in the specifications when setting the duration. The estimate endpoint validates your chosen settings together, so check that request before starting a long generation.

Where do I get a VidLab API key?

Sign in and open API keys in the dashboard. Create a key, save it when it is shown, and send it as a Bearer token in the Authorization header when you submit or retrieve a generation. The same VidLab key can call the other models in the catalogue, subject to the key’s model and spending limits.

Are failed generations billed?

VidLab charges for successful generations. When a generation fails, its hold is released. If you try again after a job reaches a failed state, use a new idempotency key. When retrying a request because the connection dropped and you do not know whether it was received, keep the original key so the retry can return the same job.

Other xAI models on VidLab

Get an API key · Compare all rates · What you can make · Open in Playground