The Grok Imagine Video 1.5 API on APIMart turns a prompt, or a prompt plus reference images, into a 1–15 second video at 480p, 720p or 1080p. This page offers xAI's official grok-imagine-video-1.5 and the lower-cost grok-imagine-1.5-video-ext.
Service Highlights
Review the prompt and input images before submission. Flagged requests create no task and incur no charge.
The video link is valid for 72 hours. Download or save it promptly.
Transparent pricing with no hidden fees. Pay only for what you use.
| Variant | Tier | GoldCurrent price | Platinum | Diamond | Official | Your savings |
|---|---|---|---|---|---|---|
grok-imagine-video-1.5 | Reference image (each) | 0.08Credits(~$0.008)/pic | 0.076Credits(~$0.0076)/pic | 0.072Credits(~$0.0072)/pic | 0.1Credits(~$0.01)/pic | 20% |
| 480P | 0.64Credits(~$0.064)/sec | 0.608Credits(~$0.0608)/sec | 0.576Credits(~$0.0576)/sec | 0.8Credits(~$0.08)/sec | 20% | |
| 720P | 1.12Credits(~$0.112)/sec | 1.064Credits(~$0.1064)/sec | 1.008Credits(~$0.1008)/sec | 1.4Credits(~$0.14)/sec | 20% | |
| 1080P | 2Credits(~$0.2)/sec | 1.9Credits(~$0.19)/sec | 1.8Credits(~$0.18)/sec | 2.5Credits(~$0.25)/sec | 20% |
* Actual costs are subject to final output.
Generate 1–15 second videos with xAI's Grok Imagine Video 1.5 on APIMart. The official model renders up to 1080p from a prompt or reference images; the Ext model costs less at 480p and 720p. Both are billed per second, and failed tasks are not charged.
50K+
Active Users
99.9%
Uptime
2x
Faster
—
Cost Savings
Call the Grok Imagine Video 1.5 API on APIMart with one POST request. Generation is asynchronous: submit a task, then poll the task endpoint to get the video URL.
Save the key you created above in the APIMART_API_KEY environment variable and send it as Authorization: Bearer <key> on every request.
POST /v1/videos/generations with model grok-imagine-video-1.5, your prompt, duration, resolution and aspect_ratio. Add image_urls for image to video. The task ID is in data[0].task_id.
Poll GET /v1/tasks/{task_id} every 3–5 seconds until status is completed, then read the video URL from data.result.videos[0].url[0]. Results are kept for 72 hours. A failed task returns its reason in data.error.message and costs nothing.
See the Grok Imagine Video 1.5 API reference for every field, response and error code.
curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video-1.5",
"prompt": "A slow aerial push over a coastal city at sunrise, golden light on glass towers, gentle waves, cinematic color grading",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9"
}'import os
import time
import requests
API_BASE = "https://api.apimart.ai"
headers = {"Authorization": f"Bearer {os.environ['APIMART_API_KEY']}"}
# 1. Submit the generation task
payload = {
"model": "grok-imagine-video-1.5",
"prompt": "A slow aerial push over a coastal city at sunrise, golden light on glass towers, gentle waves, cinematic color grading",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9"
}
resp = requests.post(f"{API_BASE}/v1/videos/generations", headers=headers, json=payload, timeout=60)
resp.raise_for_status()
task_id = resp.json()["data"][0]["task_id"]
# 2. Poll the task until it finishes
for _ in range(200):
task_resp = requests.get(f"{API_BASE}/v1/tasks/{task_id}", headers=headers, timeout=30)
task_resp.raise_for_status()
task = task_resp.json()["data"]
if task["status"] == "completed":
print(task["result"]["videos"][0]["url"][0])
break
if task["status"] == "failed":
raise RuntimeError(task.get("error", {}).get("message", "generation failed"))
time.sleep(10)
else:
raise TimeoutError(f"task {task_id} did not finish in time; continue GET polling with this task ID")curl -X POST https://api.apimart.ai/v1/videos/generations \
-H "Authorization: Bearer $APIMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video-1.5",
"prompt": "The product in the photo slowly rotates on a white studio turntable, soft key light, shallow depth of field, clean commercial look",
"duration": 8,
"resolution": "1080p",
"aspect_ratio": "16:9",
"image_urls": [
"https://example.com/product.jpg"
]
}'TASK_ID="task_xxx" # replace with the task_id returned by the POST request
curl "https://api.apimart.ai/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $APIMART_API_KEY"| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Required | Default: grok-imagine-video-1.5 | grok-imagine-video-1.5. This model generates video from text or reference images; video editing is not supported. |
prompt | string | Required | Default: — | Video description, 1 to 8,000 characters. |
duration | integer | Optional | Default: 8 | Output length, a whole number from 1 to 15 seconds. |
resolution | string | Optional | Default: 480p | 480p, 720p or 1080p. |
aspect_ratio | string | Optional | Default: 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2 or 2:3. |
image_urls | array | Optional | Default: — | Public HTTPS image URLs for reference image to video. Order is kept and each image is billed. Omit the field for text to video instead of sending an empty array. |
nsfw_check | boolean | Optional | Default: false | Set true to moderate the prompt and input images before the task is submitted. |
What the official and Ext models on this page support, based on APIMart's API documentation
Unlock creative possibilities across industries with AI video generation
Start creating AI-generated videos in just a few simple steps
Create your free APIMart account to get started with Grok Imagine. You can set up an organization for your team at any time.
Add funds to your account balance to start using the service. Your balance can be used across all models on the platform, including Grok Imagine.
Create an API key in the dashboard — you'll need it to authenticate when making requests to Grok Imagine. Get instant access to Grok Imagine.
Real feedback from creators and developers worldwide. These reviews describe experiences with the Grok Imagine Video series.
“The simplicity is brilliant - just a prompt and you get amazing video output. Perfect for rapid prototyping.”
Alex Morgan
Creative Director
“Grok Imagine Video on APIMart has transformed our content pipeline. We produce 10x more video content with the same team.”
Sarah Kim
Marketing Manager
“The video quality is impressive. Great motion coherence and visual fidelity from the text-to-video engine.”
James Wilson
Full-Stack Developer
“We integrated it into our SaaS platform in under a day. The minimal interface made it incredibly easy.”
Lisa Chen
CTO, StartupAI
“As an indie filmmaker, this tool has been a game-changer for creating concept visualizations and storyboard animations.”
Marco Rivera
Independent Filmmaker
“The reliability and speed of APIMart's infrastructure combined with Grok's video quality is unmatched in the market.”
Emily Zhang
DevOps Engineer
Models, pricing, parameters and results for the Grok Imagine Video 1.5 API
It is API access to xAI's Grok Imagine Video 1.5, a video model xAI released in June 2026. On APIMart it supports text to video and reference image to video at 480p, 720p or 1080p, from 1 to 15 seconds. The model ID is grok-imagine-video-1.5; this page also offers the lower-cost grok-imagine-1.5-video-ext.
It is billed per second of output video by resolution. In October 2026 the official model's Gold member price was $0.064 per second at 480p, $0.112 at 720p and $0.20 at 1080p; the Ext model was $0.0102 per second at 480p and $0.01912 at 720p. Reference images are billed per image, and failed tasks are not charged. The pricing table shows live rates.
grok-imagine-video-1.5 supports 1080p, 1–15 seconds and seven aspect ratio options. grok-imagine-1.5-video-ext costs much less per second but supports 480p and 720p, 6–15 seconds, five sizes and up to 7 reference images. Choose the official model for 1080p and the Ext model for high-volume drafts.
The official model accepts resolution 480p, 720p or 1080p (default 480p) and duration 1 to 15 seconds (default 8). The Ext model accepts 480p or 720p and 6 to 15 seconds (default 6). Durations must be whole numbers sent as integers.
Set aspect_ratio on the official model to 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 or 2:3; the default is 16:9. The Ext model uses the size field with 16:9, 9:16, 1:1, 3:2 or 2:3, and matches the reference image ratio when you upload one.
Send your prompt with public HTTPS image URLs in image_urls. The order is kept, and each image is billed, so remove duplicates. Data URLs and raw Base64 are not accepted. Omit the field for text to video instead of sending an empty array. The Ext model accepts up to 7 reference images.
No. Video editing with video.url is supported only by the base grok-imagine-video model, which outputs up to 720p. Grok Imagine Video 1.5 generates new clips from text or reference images.
Use 1.5 when you need 1080p output from text or reference images. Use the base Grok Imagine Video model when you need to edit an existing clip, or when 720p is enough. Both accept 1 to 15 seconds and use the same endpoint and task flow.
Save data[0].task_id from the create response, then poll GET /v1/tasks/{task_id}. When the status is completed, read the URL from data.result.videos[0].url[0]. Results are kept for 72 hours, so download the file to your own storage.
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls the Grok Imagine Video 1.5 API and every other model on the platform, with pay-as-you-go billing and no subscription.
No. There is no free quota for the Grok Imagine Video 1.5 API on APIMart. Billing is pay-as-you-go per second of video: failed tasks are not charged, and members get 20% or more off every price.
No. Under APIMart's Terms of Service, your prompts, images and videos are not used to train AI models or shared with third parties except as needed to provide the service.
Explore more models in the same category.

MiniMax Hailuo 2.3 Fast
MiniMax-Hailuo-2.3-Fast is an AI video generation model designed with a focus on speed.

Kling V3
Kling-V3 is an AI video model that balances quality and control, making it ideal for creating medium- to high-quality content.

Kling Video O1
Kling-Video-O1 is a multimodal AI video model that combines generation and editing, emphasizing high consistency and strong controllability.

ViduQ 3 Turbo
ViduQ3-Turbo is the high-speed version of the Vidu Q3 series, featuring “faster and more affordable” AI video generation.