Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: Accessing Midjourney via third-party tools or scripting is strictly forbidden and is grounds for a permanent ban. #222

Open
jeffcrouse opened this issue Aug 21, 2023 · 7 comments

Comments

@jeffcrouse
Copy link

jeffcrouse commented Aug 21, 2023

Just a warning that using this to access Midjourney could result in being blocked or permanently banned. I found this out the hard way.
blocked_01
blocked_02_edit

@alexhawkins
Copy link

alexhawkins commented Aug 22, 2023

@jeffcrouse post your client code when you call Imagine. This portion here const client = new Midjourney({ ServerId: <string>process.env.SERVER_ID, ChannelId: <string>process.env.CHANNEL_ID, SalaiToken: <string>process.env.SALAI_TOKEN, HuggingFaceToken: <string>process.env.HUGGINGFACE_TOKEN, SessionId: <string>process.env.SALAI_TOKEN, Debug: true, Ws: true, });

@jeffcrouse
Copy link
Author

Thanks, @alexhawkins -- but what does this accomplish? How does it make you immune to the MidJourney terms of service?
I assume you need to sign up for the HUGGINGFACE_TOKEN at https://huggingface.co ?

@mahdikiani
Copy link

what is client code?

@JKamsker
Copy link

#233
Fixes this by using a better method than huggingface.
until then use npm midjourney-jk and specify ReplicateToken(https://replicate.com/) instead of HuggingfaceToken

@jeffcrouse
Copy link
Author

I still wish someone could explain how this gets around the fact that “accessing Midjourney via third-party tools or scripting is strictly forbidden and is grounds for a permanent ban.”
Is it somehow not using the official Midjourney or…

@JKamsker
Copy link

JKamsker commented Sep 15, 2023

@jeffcrouse basically it is a discord bot disguised as user, so it can use bot commands as if it were an actual human.

Mj has recently released a captcha to test if users were actually human, but all it does is "hey, what is in this picture? Dog, duck, dragon or a man?" The way to get around it is simply using visual ai(in my case blip2) to find the correct answer.

This is all against the tos of discord and mj, but where is the fun in sticking to the rules? :D

@jeffcrouse
Copy link
Author

jeffcrouse commented Sep 15, 2023

@JKamsker thanks for the explanation. I am aware that this particular module uses uses the Discord API to interact with MJ -- I just wasn't sure if these HuggingFace and Replicate methods were a workaround for the TOS.
I'm hardly a stickler for the rules, but I'm trying to determine if it's viable to use this in a commercial project. In other words: is there a way around the existing MJ TOS. It seems that the answer is "no".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants