Operations and limits
The reviewed offerings are
grok-imagine-video and grok-imagine-video-1.5-preview in Xai-Grok-1. Use only currently available operations in Model Square.
Reference media, image input, audio controls and advanced actions are outside this contract.
Submit
Poll and download
SetTASK_ID to the returned id. Pending states are queued and in_progress. Stop at completed or failed.
completed, download with authentication:
id and result_url fields. Do not parse the upstream request_id or video.url envelope.
Errors and billing
Billing uses verified output seconds at the selected resolution. Follow-ups keep the original task’s group and price. Confirmed failures release reservations; missing final usage can leave settlement pending. Check required fields and limits on400. An unfinished download returns 400; an expired result returns 410. Keep the existing task after a timeout or submission_uncertain. See shared video errors.