6s previewgrok-imagine-video
Non-official Grok video generation with text-to-video, image-to-video, multiple reference images, 1–15 second duration, and 720P output.
6s previewPrompt to video, in context
a joyful panda rides a roller coaster through a green park, fast motion, wide-angle close-up
- Workflow
- Text to video
- Channel
- Non-official
- Duration
- 6s
- Frame size
- 1168 × 1728
- Aspect ratio
- 2:3 portrait
- Frame rate
- 24 fps
Panda coaster ride
A playful panda rushes through a bright park ride with energetic forward motion and a wide-angle perspective.
What you can build with grok-imagine-video
Prompt driven generation
Submit a concise prompt and get production-ready video output through one TTAPI job.
Core controls only
Keep integration simple with prompt, model, output settings, and callback handling.
Async result flow
Use polling or webhook callbacks so long-running generations do not block your UI.
Ready for product UI
Return grok-imagine-video results that can be displayed, stored, or passed into downstream workflows.
Per-action, in quota
Usage is metered in quota by model, action, and output settings.
grok-imagine-video operations and request fields
Use the endpoint below with your TTAPI key and the request fields shown.
/grok/generationsSubmit a non-official Grok video task.
Official reference/grok/fetchRetrieve a non-official Grok video result.
Official reference/grok/extensionsExtend a non-official Grok video.
Official referenceHeaders
TT-API-KEYstringrequiredYour TTAPI API key.
Content-TypestringrequiredUse application/json.
Body
modelenumoptionalgrok-imagine-video-1.5-fast, grok-imagine-video-1.5, or grok-imagine-video.
promptstringrequiredScene and motion prompt.
aspect_ratioenumoptional2:3, 3:2, 1:1, 9:16, or 16:9.
video_lengthstringoptional6–30 seconds for 1.5 Fast; 1–15 seconds for the base and 1.5 models.
resolution_nameenumoptionalFast: 480p/720p; base: documented as 720p-only; 1.5: 480p/720p/1080p.
refer_imagesstring[]conditionalFast accepts up to 7 references; base accepts one or more; 1.5 requires exactly one image.
hook_urlstringoptionalCallback URL for job completion.
From key to first result
Copy the resolved endpoint, authentication headers, and request body for this model.
curl --request POST \
--url https://api.ttapi.io/grok/generations \
--header 'TT-API-KEY: $TTAPI_KEY' \
--header 'Content-Type: application/json' \
--data '{"model":"grok-imagine-video","prompt":"a joyful panda rides a roller coaster through a green park","aspect_ratio":"2:3","video_length":"6","resolution_name":"720p"}'