Realistic image generation is now possible with the latest AI developments. Now image generation is just a prompt away. If you are looking for ways to give the capability of image generation to your users then you will learn how to do it in this article.
Before we begin the tutorial make sure you have an OpenAI API and Sage AI Writer plugin. Once you fulfill these requirements then you are all set. The steps are easy to follow and don’t require any technical know-how.
Steps to Add an AI Image Generator
- Go to Sage AI Writer and then click on the Chatbot menu item from your WordPress admin panel.
- Here under the Chatbot tab, click on the plus ( + ) icon to add a new chatbot.
- The first thing you should do after adding the chatbot is to set its name. The name can be set under Chatbot Settings -> Main Settings.
- Now under Mode change it to Image instead of text. Doing this will instruct the chatbot to generate image-based responses instead of text-based ones.
- Now under API settings, you will have the option to set the model to either Dall-E 3 or Dall-E 2. Dall-E 3 is the most recent model released by OpenAI. You can also enable HD image generation for Dalle-3. However, Dall-E 2 is very limited in terms of quality.
- Now under Appearance settings, you can make it a popup-type chatbot. If you do so, then it will open with the click of an icon. You can set the icon as well as enable the option to set it to full screen.
- To further customize the chatbot you can change the ‘Personalized Text’ settings. We have detailed documentation for all the AI chatbot settings which you can refer to in case you need any help.
- Now click on the ‘Update’ button to save your image generator chatbot changes. All the changes will be visible instantly in the live preview itself.
- Now copy the shortcode for the chatbot and display it wherever you like.
The images generated using the chatbot, when clicked open in a new tab, and then users can save it.
However, if you want to generate images for your site then I will recommend you use the image generator provided in the backend. With the image generator, you can generate up to 10 images in one go. The generated images can also be saved in the media library which can be then used in blog posts or pages.