ReadonlyspecificationThe image model must specify which image model interface version it implements. This will allow us to evolve the image model interface and retain backwards compatibility. The different implementation versions can be handled as a discriminated union on our side.
ReadonlyproviderName of the provider for logging purposes.
ReadonlymodelProvider-specific model ID for logging purposes.
ReadonlymaxLimit of how many images can be generated in a single API call. Can be set to a number for a fixed limit, to undefined to use the global limit, or a function that returns a number or undefined, optionally as a promise.
Generates an array of images.
Heroku image generation model implementation compatible with AI SDK v5.
This model integrates the Heroku Inference Image Generation API with the Vercel AI SDK. It currently supports the
stable-image-ultramodel.Remarks
herokukey.