by xAI

1 to 15-second clips with sound and spoken lines, timed keyframes and seamless loops

xai/grok-imagine-video-1.5/text-to-video
  • Up to 1080p
  • 1–15s clips
  • Sound included
  • Start and end frames
  • Up to 7 reference images
  • 7 aspect ratios
  • Create Video
  • Image to Video
  • Reference to Video

About Grok Imagine Video 1.5

Grok Imagine Video 1.5 is xAI's video model. It makes 1 to 15-second clips at 480p, 720p or 1080p from a prompt or an opening still, with sound made in the same pass, including lines of dialogue you write in quotes. Image to video can add a closing frame, up to four keyframes pinned to exact seconds, or a seamless loop; reference to video builds a shot from one to seven pictures.

Call it with the model name xai/grok-imagine-video-1.5/text-to-video on POST /jobs/createTask, from $0.14.

Introduction

Send a prompt to create a Grok Imagine Video 1.5 scene without supplying an image.

Key features

Choose 1–15 seconds at 480p, 720p or 1080p, with generated audio enabled by default.

Request parameters

ParameterRequiredDescription
promptYesDescribe what you want to make.
resolutionNoChoose an available output size. 480p · 720p · 1080p · Default: 480p
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3 · Default: 16:9
generate_audioNoAdds sound made to match the picture: voices, ambience and effects. Default: true
duration_secondsNoLength of the generated clip. ≥ 1 · ≤ 15 · Default: 6

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
resolution 480p$0.028
resolution 720p$0.051
resolution 1080p$0.09

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

A boat crossing with a brief spoken line is one tested use for a text-led shot.

Prompt guide & pro tips

Describe what moves and what can be heard; enclose dialogue in quotation marks and choose a clip length that fits the scene.

API quick start

Call the Grok Imagine Video 1.5 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model xai/grok-imagine-video-1.5/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "xai/grok-imagine-video-1.5/text-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "aspect_ratio": "16:9",
    "resolution": "480p",
    "duration_seconds": 6
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Grok Imagine Video 1.5 API questions

How much does the Grok Imagine Video 1.5 API cost?

Grok Imagine Video 1.5 starts at $0.14 for a 5-second clip with Create Video, its lowest-priced task. Prices by option: 480p $0.028 per second, 720p $0.051 per second, 1080p $0.09 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Grok Imagine Video 1.5 in the API?

Put xai/grok-imagine-video-1.5/text-to-video for Create Video; xai/grok-imagine-video-1.5/image-to-video for Image to Video; xai/grok-imagine-video-1.5/reference-to-video for Reference to Video in the model field of POST /jobs/createTask.

What can start a Grok Imagine Video 1.5 request?

Choose a written scene, a required opening still, or a set of one to seven reference images. The still workflow can also use a closing image and timed intermediate images.

Can the captain actually say the quoted line?

In our tests, the fjord clip included the requested spoken line with its soundtrack. Put dialogue in quotation marks in the prompt; audio generation starts enabled.

How do I place an image midway through a shot?

Supply up to four keyframes with an image and a time_seconds value for each. In our tests, a six-second walk reached the greenhouse image at the three-second mark.

Can I make the paper-crane animation repeat?

Enable loop in the image-to-video request to match the opening and closing frame. Do not combine loop with last_image_url; our four-second crane example used the loop setting.

Why are the two 480p examples different pixel sizes?

In our tests, the six-second 16:9 text scene measured 752x416, while the reference scene measured 848x480. Treat those as observed file dimensions rather than a promise for every 480p request.

What are the limits of the Grok Imagine Video 1.5 API?

Clip length: 1–15 s; Resolutions: 480p · 720p · 1080p; Aspect ratios: 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 3:2 · 2:3; Prompt length (characters): 4,096. Requests outside these limits are rejected before anything is charged.

Can I try Grok Imagine Video 1.5 without writing code?

Run Grok Imagine Video 1.5 in the Playground with your API USD balance, without an API key. Each run appears in your developer history with its matching code.

All Grok models

MiniMax H3 is the lower-cost default for everyday clips. Pick Grok Imagine Video 1.5 for spoken lines with sound, frames pinned to exact seconds, or a shot built from up to seven reference pictures.

More about Grok Imagine Video 1.5