Code Monkey home page Code Monkey logo

ai-horde-godot-addon's Introduction

Stable-Horde-Client-Addon

A Godot addon for using the Stable Horde from Godot. It allows games to utilize free dynamic image generations using Stable Diffusion on a crowdsourced cluster.

Adding this Plugin will provide you with a StableHordeClient Node and class. This Node provides exported variables to fill in with the kind of generation you want to achieve from Stable Diffusion

API Key

While you can use this plugin anonymously, by using the api_key '0000000000', depending on the load on the horde, this can take a while. If you generate a unique api_key for yourself you can use it to join the horde with your own PC and receive kudos for generating for others, which will increase your priority on the horde.

Generating

When you call the generate function, it will use the exported variables you've provided to send the generation to the Stable Horde and wait for the reply.

You can also send an ad-hoc bypass prompt or parameters to the generate function, which will override the exported variables. When the generation is complete, The StableHordeClient will convert the image data into textures and send them with its images_generated signal. You can afterwards also find them again in its latest_image_textures and all_image_textures arrays.

Demo

Run this project using the Demo scene. Press the button to keep generating new images into the grid.

You can also try out Lucid Creations which is my fully-fledged client using this addon.

ai-horde-godot-addon's People

Contributors

db0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.