---
title: "Image caption animated icon"
description: "Image caption animated icon (AI · Creation). The picture is read, then a two-line caption is typed beneath it and stays written."
canonical: https://generativeicons.com/icons/image-caption/
---

# Image caption animated icon

The picture is read, then a two-line caption is typed beneath it and stays written.

- Id: `image-caption`
- Category: AI · Creation
- Search terms: alt text, image description, describe image, describe photo, auto caption, caption generator, image to text, photo caption, picture description
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/image-caption.lottie (dotLottie, 10969 bytes, sha256 6cb9cb5810f16ae7df72b5ab3e7f12ea607b37c6299d0fbf0a4da71999bcfc4c)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add image-caption
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/image-caption.mjs';

export function ImageCaptionIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/image-caption.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/image-caption/ · https://generativeicons.com/api/icons/image-caption
