What Can the Grok Video API Do
- Generate videos from prompts via the Grok Generations API
- Query asynchronous task results via the Grok Fetch API
Commonly Used Grok Video API Interfaces
| Usage Scenario | API |
|---|---|
| Text-to-video | Grok Generations API |
| Query task results | Grok Fetch API |
Recommended Access Process
- First call the Grok Generations API to submit the main generation task.
- If the task is executed asynchronously, use the Grok Fetch API to poll for results.
Why Access Grok Video API via TTAPI
- Access Grok and other AI video models through one unified gateway
- More unified authentication, billing, and task query processes
Specific Examples
Grok video generation supports multi-image reference mode. By passing in up to 7 reference images, it can effectively ensure high consistency of characters, scenes, composition and style, and greatly improve the quality of continuous shots and story-based videos.
Generation Rules:
- Single reference image: The video aspect ratio adapts to the reference image size and restores the original composition;
- Multiple reference images: The video aspect ratio is determined by user-set parameters, unified output specifications, convenient for post-editing and assembly.
1. New User Exclusive Gift
After successful registration, new users will automatically receive 30 points, which can be used to call 15 image-related interfaces for free, and experience Grok core functions at zero cost.
2. How to Get API Key
Log in to the platform backend: https://dashboard.ttapi.io/login, enter the personal center, and you can view the exclusive API Key, which is the core credential for subsequent API calls.
3. Example Parameter Description
- 1.I first generated several anime character images via image generation, you can also go to Grok Image Generation for details
Sample image URLs:['https://i-blog.csdnimg.cn/img_convert/85867b54ebc8e7355cf86d422d9f0f07.jpeg','https://cdn.ttapi.io/grok/2026-03-24/6f2d9aa6e3e54c819ccd8070738cafdc.jpg']
Prompt: Anime, spring scenery, a person and a cat walking together in a beautiful landscape
I chose 15s duration, ratio is 16:9, you can set it freely
Let's watch the final video Click to View(Interested friends can click to watch, the quality is really great!!!)
Summary
- Supports text-to-video + single/multi-reference image video generation
- Generates 20+ seconds short videos at a time, suitable for AI short dramas, footage, promotional videos
- Supports up to 7 reference images to control character/scene/composition consistency
- Single-image mode: Video aspect ratio automatically follows the reference image
- Multi-image mode: Video aspect ratio is generated according to your set aspect_ratio parameter, convenient for standardized output
- Suitable for AI short drama storyboards, continuous shots generation (multi-images ensure consistency)
- Image to dynamic video, product display, creative short video production
For more information, please Click Here 🫡
Top comments (0)