uppy/packages/@uppy/image-generator
2026-06-22 01:40:32 +05:30
..
src refactor(core): merge @uppy/provider-views into core via ./provider-views export 2026-06-22 01:40:32 +05:30
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 refactor(core): merge @uppy/provider-views into core via ./provider-views export 2026-06-22 01:40:32 +05:30
README.md Introduce @uppy/image-generator (#6056) 2025-12-03 11:59:52 +01:00
tsconfig.build.json refactor(core): merge @uppy/utils into core via ./utils export 2026-06-22 01:40:25 +05:30
tsconfig.json refactor(core): merge @uppy/provider-views into core via ./provider-views export 2026-06-22 01:40:32 +05:30
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.