module

AI::Provider::ImageModel::V3

Image Model V3 interface.

Implement this module to create an image generation model provider.

Instance methods

do_generate(options : CallOptions) : Result

Generates an array of images.

Source
max_images_per_call

Limit of how many images can be generated in a single API call. Return nil for models that do not have a limit.

Source
model_id

Provider-specific model ID for logging purposes.

Source
provider

Name of the provider for logging purposes.

Source
specification_version

Returns the specification version.

Source