Shows how to leverage commodity text-to-image generative AI services through REST calls, using RIDE’s common web services system.
Leverages RIDE’s Generative AI and Image Generation Interfaces which implement OpenAI DALL-E and Stability AI Stable Diffusion.
If you wish to use the ExampleImageGeneration scene and related web services, you must update your local RIDE config file (ride.json). Please back-up any local changes to the file, including your terrain key. Next, restore your Config to default using the corresponding option in the Config debug menu at run-time, then reapply any customization and terrain key. Refer to the Config File page within Support for more information.
The ExampleImageGeneration scene utilizes a customizable UI and interchangeable service providers through canvas, scripts and prefabs. Explore the objects in the Hierarchy view for the scene inside the Unity editor and source via the API documentation.
The main script is ExampleImageGeneration.cs in the same folder.