Module image_generation

Module image_generation 

Source
Available on crate feature image only.
Expand description

Everything related to core image generation abstractions in Rig. Rig allows calling a number of different providers (that support image generation) using the ImageGenerationModel trait.

Structs§

ImageGenerationRequest
An image generation request.
ImageGenerationRequestBuilder
A builder for ImageGenerationRequest. Can be sent to a model provider.
ImageGenerationResponse
A unified response for a model image generation, returning both the image and the raw response.

Enums§

ImageGenerationError

Traits§

ImageGeneration
ImageGenerationModel
ImageGenerationModelDyn