xAI logoxAIVideo

Grok Imagine Video 1.5

Grok video generation with native audio, reference images and pinned frames.

Reference price
8credits · Per second

Playground

Video Generator

Model

Grok Imagine Video 1.5

No videos generated yet

Enter a prompt and click Generate to create your first AI video.

About this model

Capabilities & specifications

Input
Text · Image · Audio
Output
Audio · Video

Grok Imagine Video 1.5 supports text-to-video, image-to-video and reference-driven generation. The current provider guide documents clips up to 15 seconds and native 1080p for text and image workflows.

  • Reference control
  • Audio-visual generation
Video generation

Examples

Grok Imagine Video 1.5 integration demonstration excerpt

Model output documented by the source.

Third-party demonstration

Build with Grok Imagine Video 1.5

Manage API keys
  • Bash
  • cURL >= 8.4
  • jq >= 1.6
  • uuidgen
  • Set ONEASTER_API_KEY and retain ONEASTER_INTENT_ID with the original input.
bash
set -euo pipefail
: "${ONEASTER_API_KEY:?Set ONEASTER_API_KEY}"
base=$(printf '%s' 'aHR0cHM6Ly9hcGkub25lYXN0ZXIuYWkvdjE=' | jq -Rr '@base64d')
intent="${ONEASTER_INTENT_ID:-$(uuidgen)}"
printf 'Keep this intent and input: %s\n' "$intent" >&2
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
request() {
  curl --fail-with-body --silent --show-error --max-time 60 --max-filesize 8388608 \
    --header "Authorization: Bearer $ONEASTER_API_KEY" "$@"
}
printf '%s' 'eyJtb2RlbCI6Imdyb2staW1hZ2luZS12aWRlby0xLjUiLCJwcm9tcHQiOiJBIHF1aWV0IG1vdW50YWluIGxha2UgYXQgc3VucmlzZSIsInJlc29sdXRpb24iOiI0ODBwIiwic2Vjb25kcyI6IjEiLCJhc3BlY3RfcmF0aW8iOiIxNjo5IiwiaW5wdXRfcmVmZXJlbmNlIjoiaHR0cHM6Ly9jbXMub25lYXN0ZXIuYWkvdjEvcHVibGljL21lZGlhLzI4YWNiODAxLWVhYmYtNGViZC04MWViLWFkOTY1YWRmYjIzZSJ9' | jq -Rr '@base64d' | request --request POST "$base/videos" \
  --header 'Content-Type: application/json' --header "Idempotency-Key: $intent" --data-binary @- > "$work/accepted"
task=$(jq -er '.id | select(type == "string" and test("^[A-Za-z0-9_-]{1,256}$"))' "$work/accepted")
deadline=$(( $(date +%s) + 600 ))
while [ "$(date +%s)" -lt "$deadline" ]; do
  request "$base/videos/$task" > "$work/task"
  jq -e --arg id "$task" '.id == $id' "$work/task" > /dev/null
  state=$(jq -er '.status' "$work/task")
  case "$state" in
    completed|succeeded) request "$base/videos/$task/content" --output result.mp4; exit 0;;
    queued|pending|in_progress|processing) sleep 2;;
    *) printf 'Video task %s ended: %s\n' "$task" "$state" >&2; exit 1;;
  esac
done
printf 'Polling deadline; retain task %s and intent %s\n' "$task" "$intent" >&2
exit 1

Questions and answers

Where do Grok Imagine Video 1.5 specifications come from?

The references below identify the sources for this model’s capabilities. Confirm current access, request limits and pricing with your service provider before integration.

Where do Grok Imagine Video 1.5 specifications come from?

Things to consider

Review generated results before use. Available modes and request limits depend on the service you choose; check the linked documentation before integration.

Model information sources

  • Grok Imagine Video 1.5 reference