---
title: "Add Animated GIFs to Video | Rendley SDK Docs"
description: "Render animated GIFs with transparency on the video canvas. Ideal for stickers, memes, animated overlays and looping decorative elements."
url: https://docs.rendley.com/sdk/getting-started/clips/gif/
---

# GIF clips

The [GifClip](https://docs.rendley.com/sdk/api-reference/classes/GifClip.html) renders animated GIFs and is the go-to choice for stickers and other animated visual elements that need transparency.

## Create a GIF clip

```
const mediaId = await Engine.getInstance()
  .getLibrary()
  .addMedia("https://example.com/sticker.gif");

await layer.addClip({
  mediaDataId: mediaId,
  startTime: 0,
});
```

## Playback speed

GIFs support speed changes the same way videos do:

```
gifClip.setPlaybackSpeed(2); // twice as fast
gifClip.setPlaybackSpeed(0.5); // half speed
```

See [Playback Speed & Fades](https://docs.rendley.com/sdk/getting-started/playback-speed/) for the full range and caveats.

## Wrap mode

Control what happens after the animation reaches its end:

```
import { WrapModeEnum } from "@rendley/sdk";

gifClip.setWrapMode(WrapModeEnum.REPEAT); // loop
gifClip.setWrapMode(WrapModeEnum.PING_PONG); // reverse and replay
gifClip.setWrapMode(WrapModeEnum.CLAMP); // freeze on the last frame
gifClip.setWrapMode(WrapModeEnum.EMPTY); // disappear
```

## What to read next

- **[Image clips](https://docs.rendley.com/sdk/getting-started/clips/image/)** place stills and overlays.
- **[Lottie clips](https://docs.rendley.com/sdk/getting-started/clips/lottie/)** play After Effects animations.
- API reference: [`GifClip`](https://docs.rendley.com/sdk/api-reference/classes/GifClip.html).

[Previous pageSVG clips](https://docs.rendley.com/sdk/getting-started/clips/svg/) [Next pageLottie clips](https://docs.rendley.com/sdk/getting-started/clips/lottie/)
