uppy/packages/@uppy/image-generator
Mikael Finstad 4869bdbecb
Pr6342 merged (#6379)
Co-authored-by: Prakash <qxprakash@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-19 13:50:05 +02:00
..
src Pr6342 merged (#6379) 2026-07-19 13:50:05 +02:00
CHANGELOG.md [ci] release (#6087) 2025-12-04 12:19:08 +01:00
LICENSE Introduce @uppy/image-generator (#6056) 2025-12-03 11:59:52 +01:00
package.json Pr6342 merged (#6379) 2026-07-19 13:50:05 +02:00
README.md Introduce @uppy/image-generator (#6056) 2025-12-03 11:59:52 +01:00
tsconfig.build.json Pr6342 merged (#6379) 2026-07-19 13:50:05 +02:00
tsconfig.json Pr6342 merged (#6379) 2026-07-19 13:50:05 +02:00
turbo.json Introduce @uppy/image-generator (#6056) 2025-12-03 11:59:52 +01:00

@uppy/image-generator

Uppy logo: a smiling puppy above a pink upwards arrow

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

Read the docs | Try it

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Example

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

$ npm install @uppy/image-generator

Alternatively, you can also use this plugin in a pre-built bundle from Transloadits CDN: Edgly. In that case Uppy will attach itself to the global window.Uppy object. See the main Uppy documentation for instructions.

Documentation

Documentation for this plugin can be found on the Uppy website.

License

The MIT License.