This extension allows you to generate textures within the Unity Editor using the OpenAI API.
Select Window -> Package Manager -> Install package from git URL...
and enter the following URL to install:
https://github.com/tkada/unity_openai_texture.git
- Open the window from the menu:
Tools -> OpenAI -> Shader Creator
. - Enter your OpenAI API key in the
API KEY
field. - Enter a prompt describing the image you want to generate in the
Prompt
field, then click theCreate Texture
button to generate the image. - To save the generated image, click the
Save Texture
button.
Model
: Select the AI model to use.Size
: Specify the resolution of the generated image.Number of generations
: Specify the number of images to generate.