Overview
Grok Imagine Video 1.5 animates reference images into short videos using a text prompt. Use this page when you already have one or more source images and want prompt-guided motion, camera movement, or scene changes.Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
This minimal request submits an image-to-video task and returns ataskId.
taskId; you need it to poll for the final result.
Poll for result
resultJson after state becomes success:
Request body
Image-to-video
mode field is optional on this endpoint. If omitted, APIXO uses image-to-video.
Parameters
string
default:"async"
Result delivery mode. Omit this field or use
async for polling with statusTask, or use callback for webhook delivery.string
Required when
request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.object
required
Grok Imagine Video 1.5 input parameters.
Response format
Submit task response
POST /generateTask/grok-imagine-video-1-5 returns a task ID when the task is accepted:
integer
API status code.
200 means the task was accepted.string
Human-readable status message.
string
Unique task identifier used with the status endpoint.
Status response fields
string
Unique task identifier.
string
Current task state:
processing, success, or failed.string
JSON string containing generated video URLs in
resultUrls. Present when state is success.string
Machine-readable failure code. Present when
state is failed.string
Human-readable failure message. Present when
state is failed.integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion.
integer
Processing duration in milliseconds when available.
Webhook callback mode
Use callback mode when your backend should receive the final result automatically instead of polling.code, message, and data. Successful callbacks include the final state and resultJson. See Webhooks for delivery requirements and retry behavior.
Billing
Grok Imagine Video 1.5 is billed per second. The selectedresolution determines the per-second unit price, and the submitted duration determines the billable seconds.
Formula:
Latency and polling
Grok Imagine Video 1.5 tasks are asynchronous. Actual latency may vary by prompt complexity, source image accessibility, duration, resolution, route queue load, and provider-side processing time.
Result URLs are temporary. Download and store important outputs promptly after task completion.
Rate limits and concurrency can vary by account, API key, and route. If you receive
429, slow down requests and retry with backoff. For account-level details, see System APIs.
Errors and troubleshooting
HTTP errors
Validation notes
Task failure codes
failCode is generated from APIXO’s mapped provider error. Common values include:
See Error Codes for the full error reference.