API Hop Docs
Grok Imagine Video 1.5 Video Generation
Grok Imagine Video 1.5 asynchronous requests, limits, billing units, and job polling.
https://api.apihop.ai/v1/video-generationsConcurrency limit
AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.
POST /v1/video-generations Availability
Availability depends on your API Hop API Key. Submit a request only when GET /v1/models returns its exact model ID: grok-imagine-video-1.5. Documentation does not enable access.
Request Parameters
Send JSON with Authorization: Bearer YOUR_APIHOP_API_KEY and Content-Type: application/json.
model and a non-empty string prompt are required. seconds accepts an integer or integer string and defaults to 6. Omit stream or set it to false. Unsupported fields and conflicting aliases are rejected.
Grok Imagine Video 1.5
| model | seconds | resolution | images | audios |
|---|---|---|---|---|
grok-imagine-video-1.5 | 6-15 | 720p | 0-7 | Unsupported |
Grok prompts may contain at most 1,200 characters. aspect_ratio defaults to 16:9; 9:16 is also accepted. images is an array of HTTP(S) URLs or PNG, JPEG, or WebP base64 data URIs. Audio references are not supported.
Grok Request Example
{
"model": "grok-imagine-video-1.5",
"prompt": "A slow pan across a mountain lake",
"seconds": "6",
"resolution": "720p",
"aspect_ratio": "16:9"
}Grok Billing
Grok Imagine Video 1.5 is billed per request. See Pricing for published rates. Do not multiply Grok's per-request price by video duration.
Job Status and Results
An accepted request returns HTTP 202, data.jobId as a decimal string, and data.status: "PENDING". Preserve the ID as a string. Poll GET /v1/jobs/{id} with a key from the same account every 5-10 seconds. PENDING, CONNECT, and PROCESSING are non-terminal. On COMPLETED, read video URLs from data.outputResult.result[].url; each URL is a string. Stop polling on FAILED or CANCELLED. If submission times out or a job remains processing, check the existing job and account usage before retrying; another POST can create another charged task.
The platform does not provide permanent storage for generated videos. As soon as the task completes and returns the results, download the videos and save them to your own device or storage. Do not use the returned video links as long-term storage addresses.