Generate a video
vids_create_videoGenerate a 3-15 s clip with sound and speech (Gemini Omni 1.2 Flash): from text alone, from a startImage the clip opens on, or from up to 3 references in all (referenceImage_1..3 images and avatar_1..3 voiced avatars). Name each reference in the prompt as @referenceImage_1 or @avatar_1, and write an avatar's spoken lines in the prompt. Uses the clip's seconds from the account's monthly allowance. A job: waits up to ~50 s, then returns the jobid for vids_get_job. POST /videos.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The Google Vids account email. Optional: by default the account holding the inputs, or one with a free slot and allowance left. | ||
| prompt | Yes | What happens in the clip, including any spoken lines; may carry @referenceImage_N / @avatar_N markers. | |
| avatar_1 | No | An avatarId from vids_create_avatar or vids_list_avatars: keeps its look and speaks in its own voice. | |
| avatar_2 | No | A second avatarId. | |
| avatar_3 | No | A third avatarId. | |
| duration | No | Clip length in seconds (default 8), 3-15. | |
| resolution | No | 720p or 1080p (the same allowance either way; 1080p takes about twice as long). | |
| startImage | No | The image the clip opens on (not with references or avatars): an assetId from vids_upload_asset, or an image mediaId from vids_create_image. | |
| aspectRatio | No | landscape or portrait. | |
| referenceImage_1 | No | A person, object or place to show: an assetId from vids_upload_asset, or an image mediaId from vids_create_image. | |
| referenceImage_2 | No | A second reference: an assetId from vids_upload_asset, or an image mediaId from vids_create_image. | |
| referenceImage_3 | No | A third reference: an assetId from vids_upload_asset, or an image mediaId from vids_create_image. |