v1
latestOpenAPI 3.1.02026-07-2661513.6 KBCreate video task
Create an asynchronous text-to-video or image-to-video task. Use JSON when there are no reference images and multipart/form-data when reference images are present.
post/videos
Request body
Example request
{
"model": "gemini-veo31",
"prompt": "Waves crashing on rocks, cinematic slow motion",
"seconds": "6",
"size": "1280x720"
}Response
Queued video task
Example response
{
"id": "video_task_id",
"status": "queued"
}