Click below to download Unity SDK:
GameAIfy_release_v1.0.4.unitypackage (21.0 KB)
Please read below for more information:
GameAIfy Unity SDK
GameAIfy UnitySDK is designed for integrating GameAIfy into your Unity projects.
1. How to Import the Package
-
Import the Package:
- Either double-click the
.unitypackage
file to open the import window - Or go to the Unity Editor menu Assets → Import Package → Custom Package and select the package.
- Either double-click the
-
Install/Upgrade Dependencies:
Click the Install/Upgrade button to download any required dependencies, then press the Import button to complete the package import. -
Verify Import:
After a successful import, you should see a new GameAIfy folder under your Assets directory. -
Configure API Keys:
Open Window → GameAIfy → Settings from the Unity Editor’s top menu.
Enter your issued API Key and Secret Key from GameAIfy, then click Save. -
Generate Assets:
You can now create images by navigating to Window → GameAIfy → Generate Assets.
2. How to Use the GameAIfy Package
-
Select a Model:
Click the Select Model First button to choose the desired Lora model that best fits the image style you want to generate. -
Enter Positive Prompt:
Type your desired prompt into the Positive Prompt text box.Tip: Use the Random button to generate a random prompt that suits the selected model.
-
Generate the Image:
Press the Generate button to start image creation. -
Optional Settings for Enhanced Images:
To further refine your image generation, you can:- Use the Negative Prompt to exclude unwanted elements such as low-quality details or inserted text.
- Add a Reference Image by dragging and dropping an image; this will guide the generation process.
- Adjust the Image Count to specify how many images to generate at once.
- Choose the Aspect Ratio (Portrait, Landscape, or Square) that suits your needs.