grok-imagine-video-1.5-fast

by xAIVideo

Grok Imagine Video 1.5 Fast API by xAI on TTAPI supports text-to-video generation. Generate non-official 6 to 30 second clips with prompt, aspect-ratio, and resolution controls.

InputPrompttext
Models1available
FlowAsyncresult URL
Price9 quota6-second price not listed
Example clip2:3 portrait preview
Example clip

two anime friends laughing together on a sunlit snowy city street, warm backlight, falling snow, handheld close-up

Text to video · Non-official · 6s · 1168 × 1728 · 2:3 portrait · 24 fps
Examples

Prompt to video, in context

01 · Woman on the phoneT2V
Text-to-video · no reference image
Prompt

This is a scene from a movie, she is having a conversation on the phone with a man, she speaks and pauses to listen then talks again. Her tone is hesitant then determined. She’s walking around slowly and talking on the phone. They are talking about a meetup on Thursday to discuss details.

02 · SkateboardersT2V
Text-to-video · no reference image
Prompt

The guy in the middle starts skateboarding slowly, then goes faster, then is going very fast. The camera follows his face from the side in a documentary coming-of-age style. He laughs and says, “I told you bro, this will be the best summer!” Sound: cars passing by, skateboard wheels on pavement, and two other teenagers laughing.

03 · Game characterT2V
Text-to-video · no reference image
Prompt

The character is showing off her fighting moves, no music.

Capabilities

What you can build with grok-imagine-video-1.5-fast

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-1.5-fast results that can be displayed, stored, or passed into downstream workflows.

Pricing

Per-action, in quota

Usage is metered in quota by model, action, and output settings.

Non-official fixed pricingOfficial pricing
DurationPriceUnit
10 seconds9 quota/ clip
>10 to 20 seconds20 quota/ clip
>20 to 30 seconds30 quota/ clip
API request

grok-imagine-video-1.5-fast operations and request fields

Use the endpoint below with your TTAPI key and the request fields shown.

GeneratePOST
/grok/generations

Submit a non-official Grok video task with video_length, resolution_name, reference images, and an optional callback.

Official reference
First framePOST
/grok/generations

Anchor the opening image on 1.5 Fast or 1.5 with first_frame.

Official reference
Last framePOST
/grok/generations

Anchor the ending image on 1.5 Fast or 1.5 with last_frame.

Official reference
First and last framePOST
/grok/generations

Specify the opening and ending images on 1.5 Fast or 1.5.

Official reference
KeyframesPOST
/grok/generations

Pin up to 4 images at interior timestamps on 1.5 Fast or 1.5.

Official reference
POSThttps://api.ttapi.io/grok/generations

Headers

TT-API-KEYstringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

promptstringrequired

Generation prompt. Base, 1.5, and Lite accept up to 4,096 characters; 1.5 Fast supports longer prompts.

modelenumoptional

Defaults to grok-imagine-video-1.5-fast. Also supports grok-imagine-video, grok-imagine-video-1.5, and grok-imagine-video-1.5-lite.

aspect_ratioenumoptional

Defaults to 16:9. Supported: 2:3, 3:2, 1:1, 9:16, and 16:9.

video_lengthstringoptional

Defaults to 10. Fast supports 6–30 seconds; base, 1.5, and Lite support 1–15 seconds. Base supports up to 15 seconds with one image and up to 10 with multiple images.

resolution_nameenumoptional

Defaults to 720p. 480p and 720p work across all models; 1080p is supported by 1.5 and Lite. Lite 1080P is upscaled from 720P.

refer_imagesstring[]conditional

Reference-image URLs. Fast accepts up to 7; base accepts multiple. The 1.5 reference workflow uses one image; other 1.5 workflows use text or explicit frame controls.

first_framestringoptional

First-frame image URL. Supported by 1.5 Fast, 1.5, and Lite in the first-frame workflow.

last_framestringoptional

Last-frame image URL. Supported by 1.5 Fast and 1.5. Use the same image for first_frame and last_frame to create a loop effect.

reference_audiosobject[]optional

Voice-character objects for narration or dubbing, each containing voice_id. Accepts up to 3 entries.

hook_urlstringoptional

Callback URL notified when the job completes or fails; otherwise retrieve the result through Fetch.

keyframesobject[]conditional

Required for keyframe-to-video on 1.5 Fast or 1.5. Up to 4 entries with image: { url } and timestamp_s. Timestamps must be inside the clip and at least 1/3 second apart; can be combined with first_frame and last_frame.

Open the official TTAPI documentation
Integrate

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-1.5-fast","prompt":"two anime friends laughing together on a sunlit snowy city street","aspect_ratio":"2:3","video_length":"6","resolution_name":"720p","first_frame":"https://example.com/first-frame.jpg","last_frame":"https://example.com/last-frame.jpg","reference_audios":[{"voice_id":"luna"}]}'