# REST Resource: projects.videoThumbnails

## Resource: VideoThumbnail

Information about a video thumbnail.

| JSON representation |
|---|
| ``` { "name": string, "expression": { object (`https://developers.google.com/earth-engine/reference/rest/v1beta/Expression`) }, "videoOptions": { object (`https://developers.google.com/earth-engine/reference/rest/v1beta/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions`) }, "fileFormat": enum (`https://developers.google.com/earth-engine/reference/rest/v1beta/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat`), "grid": { object (`https://developers.google.com/earth-engine/reference/rest/v1beta/PixelGrid`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name representing the video thumbnail, of the form "projects/\*/videoThumbnails/\*\*" (e.g. "projects/earthengine-legacy/videoThumbnails/"). |
| `expression` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1beta/Expression`)`` The expression to compute. Must evaluate to an ImageCollection. |
| `videoOptions` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1beta/projects.locations.videoThumbnails#VideoThumbnail.VideoOptions`)`` Options for the animation. |
| `fileFormat` | ``enum (`https://developers.google.com/earth-engine/reference/rest/v1beta/projects.locations.videoThumbnails#VideoThumbnail.VideoFileFormat`)`` The output encoding in which to generate the resulting video thumbnail. Currently only GIF is supported. |
| `grid` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1beta/PixelGrid`)`` An optional pixel grid describing how the images computed by `expression` are reprojected and clipped. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/earth-engine/reference/rest/v1beta/projects.videoThumbnails/create` | Creates an ID that can be used to render an image containing an animation of multiple images from a collection. |
| ### `https://developers.google.com/earth-engine/reference/rest/v1beta/projects.videoThumbnails/getPixels` | Computes an image showing the result of a computation. |