DEV Community

lekun
lekun

Posted on

Grok API: Multi-Image Reference Video Generation

What Can the Grok Video API Do

Commonly Used Grok Video API Interfaces

Usage Scenario API
Text-to-video Grok Generations API
Query task results Grok Fetch API

Recommended Access Process

  1. First call the Grok Generations API to submit the main generation task.
  2. 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

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)