# Grok Imagine API (Video 1.5) on Wizzx - Model ID: `grok-imagine-video-1.5` (xAI Grok Imagine Video 1.5) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/grok-imagine-video-1.5` - Status: `GET https://api.wizzx.ai/api/v1/task/{task_id}` - Idempotency: optional `Idempotency-Key: ` header on submit - Auth: header `Authorization: Bearer $WIZZX_API_KEY` (server-side only) - Price: from $0.02/second, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/grok-imagine-video-1.5 - JSON Schema: https://wizzx.ai/api/models/grok-imagine-video-1.5/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-grok-imagine-video-1-5 ## Flow 1. POST the JSON body to the submit URL. The response contains `data.task_id`. 2. Poll `GET /api/v1/task/{task_id}` until `data.status` is `SUCCEEDED`, then read the output URLs from `data.result_urls`. 3. Stop on `FAILED` or `REVIEW_REQUIRED`. Do not resubmit automatically. ## Parameters | Field | Type | Required | Default | Allowed | Description | |---|---|---|---|---|---| | `prompt` | string | yes | | | Describe the video you want to generate | | `type` | string | no | text-to-video | text-to-video · image-to-video | | | `image_urls` | url[] ≤ 7 | no | | | Add 1-7 reference images. Reference images are not charged. | | `resolution` | string | no | 720p | 480p · 720p | Resolution selects the per-second rate. | | `duration` | integer | no | 6 | 6 – 15 | Video duration in seconds. Duration determines the total. | | `aspect_ratio` | string | no | 16:9 | 16:9 · 9:16 · 1:1 · 3:2 · 2:3 | With reference images, the output follows the reference image's ratio. | ## Example body ```json { "type": "text-to-video", "resolution": "720p", "duration": 6, "aspect_ratio": "16:9", "prompt": "A slow aerial push-in over a coastal cliff road at golden hour, cinematic motion" } ```