Skip to content
Docs menu

Video models

Grok Imagine Video 1.5

On this page

Grok Imagine Video 1.5 — high-quality AI video generation.

modelIdgrok-imagine-video-1-5-preview
Modalityvideo
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Defaultgrok-imagine-video-1-5-previewPOST /api/v1/generateimage_urls
Poll taskGET /api/v1/task/{id}?model=grok-imagine-video-1-5-preview

Input parameters

FieldTypeRequiredValues / example
promptstringNoPrompt for video generation Max 4096 characters. (default: Slow cinematic push-in with gentle ambient motion, soft light shifting across the frame, subtle parallax and shallow depth of field.)
image_urlsstring[]YesUpload an image file to use as input for the API (image URL)
aspect_ratiostringNoAspect ratio for video generation.If not uploaded, follow the image size. (options: auto | 1:1 | 16:9 | 9:16 | 3:2 | 2:3) (default: auto)
resolutionstringNoResolution for video generation. (options: 480p | 720p) (default: 480p)
durationnumberNoVideo duration in seconds. Range: [1, 15]. Default: 8. (range 1-15) (default: 8)
nsfw_checkerbooleanNoA configurable parameter. Defaults to true in the Playground. (true/false) (default: true)

Example request

bash
curl -X POST https://you.bot/api/v1/generate \
  -H "Authorization: Bearer $YOUBOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"modelId":"grok-imagine-video-1-5-preview","input":{"prompt":"A cinematic aerial shot of a coastal town at golden hour, gentle waves rolling onto the shore, warm light, slow camera push-in.","image_urls":["https://example.com/input.jpg"],"aspect_ratio":"auto","resolution":"480p","duration":8,"nsfw_checker":true}}'