---
title: "Image | Frame"
description: "API Documentation"
url: "https://www.contentstack.com/docs/developers/apis/image-delivery-api/frame"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-06-02"
---

# Image | Frame

## Frame

The frame parameter fetche the first frame from an animated GIF (Graphics Interchange Format) file that comprises a sequence of moving images.

To extract the first frame from the following animated GIF: {GIF\_name}, try the following query:

### Fetch first frame

**GET** `/assets/{stack_api_key}/{asset_uid}/{file_uid}/filename.gif?environment={environment_name}&frame={frame_value}`

##### Additional Notes

1.  The frame parameter only supports animated GIF file format.
2.  Currently, the frame parameter can only fetch the first frame from an animated GIF.

**Note:** Check out the [limitations](/docs/developers/apis/image-delivery-api#limitations-with-optimizing-image) that are applicable here.

#### Query Parameters

- **frame** (optional)
  Enter the frame number to fetched for the animated GIF. You can only fetch the first frame, for e.g. 1.

The format of this parameter is: frame={frame\_value}
- **environment** (required)
  Enter the environment scoped to your delivery token.