GithubHelp home page GithubHelp logo

sandarutharuneth / midjourney-bot Goto Github PK

View Code? Open in Web Editor NEW
230.0 6.0 53.0 84 KB

A opensource Discord Midjourney bot for all AI lovers. No more paywalls to AI. Enjoy your AI Art freedom with us

Home Page: https://openjourneybot.com

License: BSD 3-Clause "New" or "Revised" License

JavaScript 100.00%
midjourney midjourney-bot ai ai-art-generator discord-bot discord-js js open-source discord-midjourney-bot free-midjourney

midjourney-bot's Introduction

Discord Midjourney Bot

A opensource Discord Midjourney bot for all AI lovers. No more paywalls to AI. Enjoy your AI Art freedom with us

Invite Openjourney Bot => Click Here

Trusted and enjoyed by more than 9000+ servers

2023 summary

Our Partners

Here are our current partners on the Openjourney bot.

  • Prodia - All the image generating resources
  • Replicate - Upscaling and Face restoration algorithms

Cutting Edge Features

These are the features that makes you wanna use our bot. Check it out!

  • Text to Image
  • Image to Text
  • Image to Image
  • Logo generation
  • SDXL Model access
  • Face Swap ( Swap faces )
  • Face IP ( Headshot Generation )
  • Controlnet ( Turn your sketches into a image )
  • Image clarification ( Fix blurred images )
  • Remove Background with AI
  • Image Transformation / Replication
  • Face Restoration ( gfpgan )
  • Super Upscaling up to 8K
  • Fully advanced customizable image generations
  • Llama 2 & 3 language model access ( From META Inc )
  • Customizable canvas sizes ( Square, Portrait, Landscape )

Like To Support?

Note

We are actively looking for Partnerships/Investors to our Openjourney Project. If you are willing to be a part of this amazing journey, please contact us via the contact methods below.

Donate Us:

sandarudev

Are You a Blogger?

Note

We are more than happy for you to try and review our product on the internet. Contact our team for more information. We would be pleased to provide you further details about our product.

Discord Server


Installation

Warning

First Make sure you have Node v18+ or higher version to run the bot

1 Clone the repository

GitHub

git clone https://github.com/sandarutharuneth/midjourney-bot

2 Fill your Token and other dependencies at config.json

{
    "TOKEN": "BOT TOKEN",
    "API": "YOUR REPLICATE API KEY",
    "CLIENTID": "YOUR BOT ID",
    "OWNER": ["YOUR ID"]
}

3 Get your Replicate API

4 Allow all Intents

  • Visit Discord devloper portal and turn on all the intents

5 Install dependencies

npm i

6 Start the bot

node .

Run

On your discord server use slash command /imagine to get results Ex: /imagine: anime landscape, genshin impact style

Common Issues

Caution

Replicate changed their platform on how free users can use their service since I made this bot. Now, after a few API requests, you have to add a valid payment method to continue using Replicate.

If you enjoy our work, please consider giving a start to the repository ⭐️

Usage

Personal Usage

You can use our code without any credits for your personal project

Public Usage

Note

You must keep the credits and must mention this repository or links to code authors @sandarutharuneth, @Dex-404 Or we will issue a DMCA for the code. Please respect the code authours and keep the credits.

©️ Project Razer

midjourney-bot's People

Contributors

amajayasinghe avatar sandarutharuneth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

midjourney-bot's Issues

issue

image
image
image
image

When I call discord, I use /imagine prompt: neon light sign in design of face | of gorgeous goddess | detailed gorgeous face | precise lineart | intricate | realistic | studio quality | cinematic | luminescence | character design | concept art | highly detailed | illustration | digital art | digital painting, the error is as follows, how to solve it? replicate has no call record, and the apikey is available

issue

what version of node are you using?
image

TypeError: Cannot read properties of undefined (reading 'model')


█▀█ █▀█ █▀█ ░░█ █▀▀ █▀▀ ▀█▀ █▀█ ▄▀█ ▀█ █▀▀ █▀█
█▀▀ █▀▄ █▄█ █▄█ ██▄ █▄▄ ░█░ █▀▄ █▀█ █▄ ██▄ █▀▄


[HANDLER - EVENTS] Loaded a file : interactionCreate
[HANDLER - EVENTS] Loaded a file : ready


[HANDLER - SLASH] Loaded a file : imagine
[HANDLER - SLASH] Loaded a file : ping

[HANDLER - SLASH] Slash commands has been registered successfully to all the guilds


[READY] XXX#12323 is up and ready to go.

[ANTI - CRUSH] Unhandled Rejection : TypeError: Cannot read properties of undefined (reading 'model')

Error Expected a string primitive

ValidationError > s.string
  Expected a string primitive

  Received:
  | [ 'https://replicate.delivery/pbxt/smvaiCdA2oq2LxgliSLpXTlxG0aXQaBXHGzMon35MXleSxcIA/out-0.png' ]

    at StringValidator.handle (C:\Users\danil\OneDrive\Desktop\midjourney-bot-1.3\node_modules\@sapphire\shapeshift\dist\index.js:1710:70)
    at StringValidator.parse (C:\Users\danil\OneDrive\Desktop\midjourney-bot-1.3\node_modules\@sapphire\shapeshift\dist\index.js:207:88)
    at ButtonBuilder.setURL (C:\Users\danil\OneDrive\Desktop\midjourney-bot-1.3\node_modules\@discordjs\builders\dist\index.js:639:34)
    at Object.run (C:\Users\danil\OneDrive\Desktop\midjourney-bot-1.3\src\slashCommands\information\imagine.js:39:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Client.<anonymous> (C:\Users\danil\OneDrive\Desktop\midjourney-bot-1.3\src\events\client\interactionCreate.js:43:9)

Cant keep open

Good afternoon, I have a problem when executing the program. After a few minutes it closes automatically, leaving no closing error.

Sorry for my bad english. Thanks!

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.