Giter Club home page Giter Club logo

beyond-infinity's Introduction

๐Ÿ’Ž NovelAI streaming telegram bot service with monetization system ๐Ÿ‘‘

Setup

Install .NET 7.0
Set GOOGLE_APPLICATION_CREDENTIALS, FIRESTORE_PROJECT_ID and TELEGRAM_BOT_TOKEN env
execute dotnet run
Complete! โœจโœจโœจ

About ๐Ÿ‘‘, its direct of Anlas in your novel ai account, according to this, distribute between users more carefully

For using payment order set up TELEGRAM_PAYMENT_CURRENCY (USD, EUR and etc) and TELEGRAM_PAYMENT_PROVIDER_TOKEN (getting in bot father in payment menu)

Configuration database (optional, you can use local json file, but adapter need implement)

Create google cloud account and set up Cloud Firestore
Create collection nai in root of firestore
Add document chats and insert array with data name, its array of telegram IDs chat (private or public)
Add document novalai and insert field Token with your NovelAI account JWT token (expires of 2 week, and getting from Network Tab when execute promt in ImageGeneration tab in novelai.net)
Add document owner and insert field id, its id of your telegram account

For auth with firebase, goo gle to getting ServiceAccount JSON key

Commands

/balance

  • View the balance of your ๐Ÿ‘‘ and ๐Ÿ’Ž

/sfwp 1girl, beer

  • Generation of portrait sfw pictures, eats ~6 ๐Ÿ’Ž /sfwl 1girl, beer
  • The same thing, only landscape orientation
  • Also eats ~6 ๐Ÿ’Ž

/nsfwp 1girl, nipples, naked, nude, etc

  • NSFW image generation, portrait orientation, price ~18 ๐Ÿ’Ž
    /nsfwl 1girl, nipples, naked, nude, etc
  • The same thing, only landscape orientation

/variations 1girl

  • It will generate 10 variations of your promt, the price is 450 ๐Ÿ’Ž
    /enhance
  • Reply to result, generate a variation with low noise, produce an upscale of 1.5 times, the price is 14 ๐Ÿ‘‘ and 36 ๐Ÿ’Ž

/img2imgp 1girl, beer

  • We throw off the image without compression and replay it, provide the promt
  • You can also specify power:0.2 and noise:0.5 at the end of the promt
  • Price 13 ๐Ÿ’Ž and 11 ๐Ÿ‘‘

/pay_crown

  • Pay the dude your ๐Ÿ‘‘ ๐Ÿ‘‘ ๐Ÿ‘‘ , we reply to the right dude and write the amount /pay_crystal
  • The same thing, but we pay ๐Ÿ’Ž ๐Ÿ’Ž ๐Ÿ’Ž

/exhange 200

  • Exchange 200 crystals ๐Ÿ’Ž for 10 crowns ๐Ÿ‘‘

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.