Skip to main content
Use Grok video generation with a text prompt. Floodgate returns a public task ID and a compatible task view for status checks.

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

Set TASK_ID to the returned id. Pending states are queued and in_progress. Stop at completed or failed.
After completed, download with authentication:
Use Floodgate’s 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 on 400. An unfinished download returns 400; an expired result returns 410. Keep the existing task after a timeout or submission_uncertain. See shared video errors.