AI DevKit
Glitch9 Inc.Glitch9 DocsDiscordIssues
  • Introduction
    • AI DevKit 3.0
    • Update Logs
    • Troubleshooting
      • ❗Issues After Updating AIDevKit?
      • ❗The type or namespace name 'Newtonsoft' could not be found
      • ❗Build Error: The name 'UnityMenu' does not exist in the current context
      • ❗Model 'modelName' not found
      • ❗The model `model name` does not exist or you do not have access to it
      • ❗The type or namespace name 'AndroidJavaObject' could not be found
      • ❗The type or namaspace name 'Plastic' does not exist
      • ❗Build Error: The name 'Asset Database' does not exist in the current context
      • ❗'ModelData.Create(Provider, string, UnixTime?, string)': not all code paths return a value
      • ⚠️ Timeout Issues
      • ⚠️ Receiving a “HTTP/1.1 400 Bad Request” Error?
    • FAQ
      • My OpenAI API free trial has ended or is inactive.
  • Quick Start
    • Get API Keys
      • OpenAI API Key Guide
      • Google API Key Guide
      • ElevenLabs API Key Guide
    • Text Generation
    • C# Object Generation
    • Image Generation
    • Sound Effect Generation
    • Text to Speech (TTS)
    • Speech to Text (STT)
    • Voice Changer
    • Audio Isolation
  • Pro Features
    • Generation Menu
      • Code Generators
        • C# Script Generator
        • Unity Component Generator
    • Editor Chat
    • Editor Vision (TTI, ITI)
    • Editor Speech (TTS)
    • Management Tools
      • Prompt History Viewer
      • AI Model Manager
      • TTS Voice Manager
      • OpenAI File Manager
      • OpenAI Assistant Manager
      • ElevenLabs Voice Library
  • Assistants API (OpenAI)
    • How it works
    • Creating custom functions
    • Creating assistants API
  • Advanced API Supports
    • OpenAI API
      • 💬Chat completions
      • 🖼️Image operations
      • 🗣️Text to speech
      • 🎙️Speech to text
        • Recording real-time in Unity
      • 💾Files
      • 🔎Embeddings
      • 🛡️Moderations
      • ⚙️Fine-tuning
    • Google API
      • 📝System instructions
      • 💬Text generation
      • ⚙️Fine-tuning
      • ▶️Fucntion calling
      • 🔎Embeddings
      • 🛡️Safety
      • 💻Code execution
    • ElevenLabs API
  • Legacy Documents
    • AI DevKit 1.0 - 2.0
      • AI DevKit 2.0
      • AI DevKit 1.0
      • Preperation
      • Event Handlers
      • Scriptable Toolkits
        • Chat Streamer
        • Image Generator
        • Voice Transcriber
        • Voice Generator
      • Editor Tools
Powered by GitBook
On this page
  • Accessing EditorDALL·E
  • Generating Images
  • Editing and Variations
  • Practical Applications
  • Tips for Effective Image Generation
  • Best Practices
  1. Pro Features

Editor Vision (TTI, ITI)

PreviousEditor ChatNextEditor Speech (TTS)

Last updated 10 months ago

This feature is only available in the Pro version.

EditorDALL·E provides Unity developers with the capability to generate images directly within the Unity Editor using OpenAI's DALL·E model. This tool is ideal for creating concept art, textures, and other visual assets based on textual descriptions.

Accessing EditorDALL·E

To access EditorDALL·E, navigate through Tools > Glitch9 > OpenAI > EditorDALL·E in the Unity Editor. This will open the EditorDALL·E window where you can start generating images.

Generating Images

Inputting Your Prompt

  1. Prompt Field: Enter a descriptive text prompt for the image you wish to generate in the prompt field.

  2. Model Selection: Choose a DALL·E model version that suits your needs (e.g., DALL·E 2 for broader support or DALL·E 3 for specific features).

  3. Image Characteristics: Adjust settings like image size, quality, and style to customize the output according to your project requirements.

Generating the Image

Click the "Generate Textures" button to initiate the image generation process based on your prompt and settings. The tool will then communicate with OpenAI's servers to generate images, which will be displayed within the EditorDALL·E window upon completion.

Editing and Variations

  • Image Selection: Select an image from the generated results to use as the basis for edits or variations.

  • Edit Prompt: For editing an existing image, enter a new prompt describing the changes you want to make.

  • Generate Edit: Click the "Generate Edit" button to apply your modifications to the selected image.

  • Generate Variation: To explore different variations of the selected image, use the "Generate Variation" button without changing the prompt.

Practical Applications

  • Concept Art: Quickly generate visual ideas and concepts based on descriptive prompts.

  • Game Assets: Create unique textures, backgrounds, and other assets for your game projects.

  • Story Illustration: Illustrate scenes and characters from your game's narrative.

Tips for Effective Image Generation

  • Descriptive Prompts: The more detailed and descriptive your prompt, the more accurately DALL·E can generate your intended image.

  • Experimentation: Don't hesitate to experiment with different prompts, settings, and models to achieve the best results.

  • Use of Results: Generated images can be directly imported into your Unity project as assets for use in your games or applications.

Best Practices

  • API Usage Awareness: Keep an eye on your usage of the OpenAI API to manage costs and stay within rate limits.

  • Content Sensitivity: Be mindful of the content you generate, ensuring it aligns with community guidelines and is appropriate for your audience.

  • Backup Your Work: Regularly save and backup generated images and settings to prevent loss of work.