Grok Imagine Video Extend

xAI Grok Imagine Video Extend — extend a previously generated video via preset or custom mode.

Back to docs
Videoxai/grok-imagine-video-extend$0.00 / 1M in

Base URL

https://api.zekron.tech/api/v1

Supported modes

extend

Parameters

Pass these inside the input object when creating a task.

task_idrequired
video_presetoptional
promptoptional
extend_atoptional
extend_durationoptional

Example request

bash
curl -X POST https://api.zekron.tech/api/v1/tasks \
  -H "Authorization: Bearer zk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "xai/grok-imagine-video-extend",
  "input": {
    "task_id": "zk_task_xxxxxxxxxxxxxxxx"
  }
}'

Example response

json
{
  "id": "zk_task_8f3a2b1c9d",
  "model": "xai/grok-imagine-video-extend",
  "status": "processing",
  "created_at": "2026-06-10T12:00:00Z"
}

Poll GET https://api.zekron.tech/api/v1/tasks/{id} until status is success or failed.

Pricing

This model is billed at $0.00 / 1M in. You are only charged for successful generations — failed tasks are never billed. Generated outputs are retained for 30 days before they expire.