uppy/packages/@uppy/image-generator
Prakash d7aaab7ad1
@uppy: upgrade dev deps (#6315)
addresses #6297

I'll raise another PR which would include deps which require code
changes
2026-06-02 10:48:58 +08:00
..
src
CHANGELOG.md [ci] release (#6087) 2025-12-04 12:19:08 +01:00
LICENSE
package.json @uppy: upgrade dev deps (#6315) 2026-06-02 10:48:58 +08:00
README.md
tsconfig.build.json
tsconfig.json
turbo.json

@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.