Image Generator

by alexdepario in Addons


Image Generator Addon Documentation

Introduction

The Image Generator addon is a tool designed to generate images from prompts using the Playground V2.5 API. This addon allows Blender users to create images based on textual prompts, providing a convenient way to explore generative models and create visual content directly within Blender.

Installation

  1. Download the Addon: Obtain the addon file (image_generator.zip) from the source where you acquired it.

  2. Open Blender: Launch Blender on your computer.

  3. Access Preferences: Go to Edit > Preferences in Blender.

  4. Install Addon: Navigate to the Add-ons tab and click on the Install... button at the top right corner.

  5. Select Addon File: Choose the image_generator.zip file you downloaded earlier and click Install Add-on.

  6. Activate Addon: Once installed, search for "Image Generator" in the search bar, then enable the checkbox next to the addon to activate it.

  7. Save Preferences: Click Save Preferences to apply the changes and close the preferences window.

Usage

Interface Overview

After installing and activating the addon, you will find the Image Generator panel in the View3D sidebar under Image Generator.

Generating Images

  1. Open Image Generator Panel: In Blender, navigate to the View3D sidebar and locate the Image Generator panel.

  2. Enter Prompt: Input your desired prompt in the "Prompt" field. This text will serve as the basis for generating the image.

  3. Advanced Options: Optionally, you can expand the "Advanced Options" section to specify a negative prompt or toggle the use of a negative prompt.

  4. Generate Image: Click the "Generate Image" button to initiate the image generation process.

  5. View Generated Image: Once the image is generated, it will be displayed in Blender's image editor. You can view and manipulate the image as needed.

Saving Images

  1. Temporary Directory: The generated image is saved in Blender's temporary directory by default.

  2. Permanent Storage: If you wish to save the image permanently, right-click on the image in the image editor and select "Save As..." to choose a destination on your computer.

Troubleshooting

If you encounter any issues while using the Image Generator addon, please refer to the following troubleshooting steps:

  1. Check Internet Connection: Ensure that your computer is connected to the internet, as the addon requires an internet connection to access the Playground V2.5 API.

  2. Review Error Messages: If you receive any error messages, read them carefully to identify the cause of the issue. Error messages may provide clues on how to resolve the problem.

  3. Update Blender/Addons: Make sure you are using the latest version of Blender and that the addon is up to date. Updates may include bug fixes and improvements.

  4. Contact Support: If you are unable to resolve the issue on your own, feel free to contact the addon developer or seek assistance from the Blender community for further support.