This is a minimal HTML/CSS/JS demo app showcasing how to use the Sogni Creatures API and the Sogni SDK to generate adorable AI creatures.
- Simple form with dropdowns (animal, color, personality) to craft the prompt.
- Generates images via the
creatures-api.sogni.aiendpoint. - Maintains a “history” of generated images, letting you revisit them.
- Backend: You’ll need the Sogni Creatures API running locally or accessible online.
- Clone this repository (or download the zip).
- Open
index.htmlin your web browser. - Modify
script.jsif you want to point to a different endpoint (if you’re running the API elsewhere). - Use the dropdowns to pick an animal, color, and personality—then click Generate Creature!
Feel free to experiment, extend, or integrate this example into your own projects!
This project is licensed under the terms of the MIT License.