Coder Social home page Coder Social logo

leonardo.ai's Introduction

leonardo.ai

This is a FastApi to connecting to Leonardo A.I to run a discord bot, html, GUI application... in this Case, we are connecting a discord Bot.

look through the files, you will see where to add your API, Channel Id's and Bot Token.

This API / Discord Bot support Alchemy, Prompt Magic 3, High resolution, expanded domain and some other settings You can generate up to 8 images with this API to your discord channel.

Styles are also supported, you can sepcify and style and the bot will add the keywords. ( --s ) Aspect ratios are also supported 1:1 and 16:9 ( you can add more if you need, its easy to add additional ) ( --ar )

Example prompt simple prompt : !generate a cute kitten

Example prompt with srtyles and aspect ratio : !generate a cute kitten --s disney --ar 16:9

You need both to run, the fastapi and the discord bot, the discord bot connects to the fastapi ( main.py ) Enjoy ...

here is a preview video :

https://youtu.be/9Et26_lqx40

leonardo.ai's People

Contributors

raymerjacque 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.