ImageGenerator
Concrete implementations of this protocol must provide a
generate_image method that takes a string prompt as
input and returns a PIL Image object.NOTE: Current implementation does not allow you to edit a previously existing image. Parameters:
Instance Methods
cache_key
This key can be used to store and retrieve generated images based on the prompt.
Parameters:
Returns:
generate_image
Parameters:
Returns: