image

The image function allows you to easily and quickly generate images using AI, with no restrictions!

Properties:

  • prompt — a description of what you want to see in the image, provided to the AI.

Example usage:

from litegpt import LiteGPT

# Initializing the LiteGPT object and creating an image
bot = LiteGPT()
print(bot.image("make sexy cat girl in anime style"))

Thus, the image function provides a simple way to generate images based on your request, giving you complete freedom in creating visual content.

Last updated