xAI
Grok Imagine 1.5 Lite
grok-imagine-1.5-lite/text-to-video
A lightweight, low-cost video generation tier that supports text-to-video and image-to-video, generating sound effects and dialogue in the same pass, suited for high-frequency batch production of short clips
Try grok-imagine-1.5-lite/text-to-video
Input
Showcases
View all showcasesOutput
videoPricing
grok-imagine-1.5-lite/text-to-video per second
| Specifications | Unit Price |
|---|---|
| 480P | $0.029 |
| 720P | $0.043 |
| 1080P | $0.200 |
Positioning Overview
grok-imagine-1.5-lite/text-to-video is a lightweight text-to-video model for short-form content production. It generates 1–15 second video clips at 480p to 1080p directly from text prompts, and supports multiple aspect ratios such as 16:9, 1:1, and 9:16. It emphasizes generation speed and batch usability, making it suitable for developers who need high-frequency output of social short videos, looping assets, and creative storyboard drafts, and it can be called through the unified HiAPI.ai interface.
Core Highlights
- Prompt-to-final-cut in one step — simply submit a scene and motion description of up to 4096 characters to get a video, with no reference image required.
- Adjustable aspect ratio and duration — supports 7 aspect ratios and durations from 1–15 seconds, so you can directly match landscape, square, or portrait specs to the distribution channel.
- Billed by output seconds — billing is tied to video duration, keeping costs controllable for short clip generation and batch experiments.
Capability Description
Text-driven video generation: describe the scene and motion in natural language to generate video. The prompt limit is 4096 characters, making it easy to carry relatively complete storyboard instructions.
Multi-resolution output: choose from 480p, 720p, and 1080p, so the same model can handle everything from draft previews to final delivery.
Flexible duration control: duration can be set between 1 and 15 seconds, with a default of 6 seconds, accommodating both short clips and looping assets.
Multi-aspect-ratio adaptability: built-in 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, and 9:16 ratios, with 16:9 as the default, directly corresponding to different display placements.
Use Cases
- Social content creators generating vertical short videos — enter a scene description and select the 9:16 aspect ratio to produce short video assets that can be placed directly in the feed.
- Design teams producing creative storyboard drafts — describe shots and motion in text to generate low-resolution short clips for concept validation and solution discussions.
- Marketers producing assets in batches — batch-generate short clips with different prompts and aspect ratios for rapid testing and screening of advertising assets.
Limitations and Selection Advice
As a Lite-tier model, its image quality and detail fidelity are weaker than the full version, and 1080p output is upscaled after rendering at 720p, so actual clarity is limited. The maximum duration per generation is 15 seconds, and it does not support multi-reference character and scene control, making it unsuitable for long-video storytelling or projects requiring precise character consistency; when higher image quality is required, the full version or other higher-spec video models should be used instead.
Frequently asked questions
View all FAQs →-
Does every clip include sound?
Yes. Sound is generated together with the picture and cannot be switched off. Describe the ambience, music or dialogue you want in the prompt.
-
Which durations, resolutions and aspect ratios can I use?
Any whole-second duration from 1 to 15 seconds (default 6), 480p, 720p or 1080p (default 720p), and 16:9, 4:3, 3:2, 1:1, 2:3, 3:4 or 9:16 (default 16:9).
-
How long can the prompt be?
Up to 4,096 characters. A focused paragraph about subject, motion, camera and sound usually works better than a long list.
-
Can I animate my own image with this model?
No, this route takes text only. Use grok-imagine-1.5-lite/image-to-video when the shot should start from your image.
Create a generation task
https://api.hiapi.ai/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: grok-imagine-1.5-lite/text-to-video
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for grok-imagine-1.5-lite/text-to-video and route default — see the parameter table below.
promptstringRequiredminLength 1maxLength 4096Describes the visual scene and the desired motion effect; this is the main input for text-to-video and supports up to 4096 characters.
durationintegerOptionalDefault: 6min 1max 15Duration of the output video in seconds; value range 1-15, default 6 seconds.
resolutionstringOptionalDefault: "720p"Resolution of the output video, controlling the clarity of the generated image; default 720p.
480p720p1080paspect_ratiostringOptionalDefault: "16:9"Aspect ratio of the output video, controlling the proportions of the generated image; default 16:9.
16:94:33:21:12:33:49:16callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-1.5-lite/text-to-video",
"input": {
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "grok-imagine-1.5-lite/text-to-video",
input: {
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "grok-imagine-1.5-lite/text-to-video",
"input": {
"prompt": "…",
"duration": 6,
"resolution": "720p",
"aspect_ratio": "16:9"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.ai/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →Related Models
View all models →Same Type
-
Kling 4.0 Kuaishou $0.330 /second -
Veo 3.1 Fast Google $0.170 /second -
Kandinsky 6.0 Pro $1.93 /video -
Grok Imagine 1.5 Lite xAI $0.029 /second -
Wan 2.6 Flash Alibaba $0.043 /second -
Grok Imagine 1.5 xAI $0.011 /second -
Gemini Omni Google -- -
LTX 2.5 Fast Lightricks $0.086 /second -
Vidu Q3 Vidu $0.149 /second -
MiniMax H3 MiniMax $0.072 /second -
Vidu Q4 Preview Vidu $0.051 /second -
Veo 3.1 Google $0.290 /second