# @uppy/image-generator

> AI-powered image generation for Uppy

Latest version **2.0.0** (published 2026-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @uppy/image-generator
pnpm add @uppy/image-generator
yarn add @uppy/image-generator
bun add @uppy/image-generator
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-08-26 |
| First published | 2025-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 34.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30974 |
| Maintainers | kvz, tim-kos, mifi, uppydev |
| Keywords | file uploader, upload, uppy, uppy-plugin, ai, image generation |

## Links

- npm: https://www.npmjs.com/package/@uppy/image-generator
- Repository: https://github.com/transloadit/uppy
- Homepage: https://uppy.io
- Issues: https://github.com/transloadit/uppy/issues
- npm.io page: https://npm.io/package/@uppy/image-generator

## Dependencies (2)

- [preact](https://npm.io/package/preact.md) ^10.29.2
- [@uppy/transloadit](https://npm.io/package/@uppy/transloadit.md) ^6.0.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-08-26
- 1.0.0 — 2025-12-04

## README

# @uppy/image-generator

<img src="https://uppy.io/img/logo.svg" width="120" alt="Uppy logo: a smiling puppy above a pink upwards arrow" align="right">

[![npm version](https://img.shields.io/npm/v/@uppy/image-generator.svg?style=flat-square)](https://www.npmjs.com/package/@uppy/image-generator)
![CI status for Uppy tests](https://github.com/transloadit/uppy/workflows/Tests/badge.svg)
![CI status for Companion tests](https://github.com/transloadit/uppy/workflows/Companion/badge.svg)
![CI status for browser tests](https://github.com/transloadit/uppy/workflows/End-to-end%20tests/badge.svg)

**[Read the docs](https://uppy.io/docs/image-generator)** |
**[Try it](https://uppy.io/examples/)**

Uppy is being developed by the folks at [Transloadit](https://transloadit.com),
a versatile file encoding service.

## Example

```js
import Uppy from '@uppy/core'
import ImageGenerator from '@uppy/image-generator'

const uppy = new Uppy()
  .use(ImageGenerator, {
    assemblyOptions: async (prompt) => {
      const res = await fetch(`/assembly-options?prompt=${encodeURIComponent(prompt)}`)
      return res.json()
    }
  })
```

## Installation

```bash
$ npm install @uppy/image-generator
```

Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Edgly. In that case `Uppy` will attach itself to the global
`window.Uppy` object. See the
[main Uppy documentation](https://uppy.io/docs/#Installation) for instructions.

## Documentation

Documentation for this plugin can be found on the
[Uppy website](https://uppy.io/docs/image-generator).

## License

[The MIT License](./LICENSE).

---
_Source: https://npm.io/package/@uppy/image-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
