DallETool
Description
This tool is used to give the Agent the ability to generate images using the DALL-E model. It is a transformer-based model that generates images from textual descriptions. This tool allows the Agent to generate images based on the text input provided by the user.Installation
Install the crewai_tools packageExample
Remember that when using this tool, the text must be generated by the Agent itself. The text must be a description of the image you want to generate.Code
DallETool
class. For example:
Code
client.images.generate
method from the OpenAI API. For more information on the parameters,
please refer to the OpenAI API documentation.