cURL
Gemini
Gemini Video Generation API
Submit an asynchronous Gemini Video API generation job and use the returned jobId to fetch the result.
POST
cURL
Video generation is asynchronous. After a successful submission, use the returned
jobId with the Video Fetch API.Authorizations
You can obtain your API key from the TTAPI Dashboard.
Body
application/json
Video prompt
Example:
"A cinematic shot of a futuristic city at sunset"
Video model. Currently only omni-flash is supported.
Available options:
omni-flash Video aspect ratio
Available options:
16:9, 9:16 Example:
"16:9"
Reference media URLs. Image URLs and video URLs are supported; blank strings are ignored.
Example:
[
"https://cdn.ttapi.io/example/reference-image.png",
"https://cdn.ttapi.io/example/reference-video.mp4"
]Callback URL for completion or failure notifications
Example:
"https://example.com/callback"
Last modified on June 5, 2026