ImageGeneratorgenerate_image
method that takes a string prompt as
input and returns a PIL Image object.Name | Description |
---|---|
*args | |
**kwargs |
Name | Description |
---|---|
prompt | A string describing the desired image. Type: str |
Type | Description |
---|---|
str | A unique string that can be used as a cache key. |
Name | Description |
---|---|
prompt | A string describing the desired image. Type: str |
Type | Description |
---|---|
PIL.Image.Image | A PIL Image object representing the generated image. |