Open SaschaHeyer opened 10 months ago
Error: SalaiToken are required at (node_modules/midjourney/libs/midjourney.js:16:18)
.env.example
SALAI_TOKEN="mytoken" SERVER_ID="myserverID" CHANNEL_ID="mychannelID" SESSION_ID="" HUGGINGFACE_TOKEN="myFaceToken" IMAGE_PROXY="image proxy url here" WS=true
Yes. Would be nice to automate getting the token. I was thinking might be able to make a chrome plugin that could grab it and send it to a endpoint?
@codsw I don't think you understand his question. He knows where to put the token. But when it expires it gives a error. So looking for a way to automate getting the token from a web browser.
try this fix. it's working for me - https://github.com/erictik/midjourney-api/pull/256/files
the code that reproduces this issue or a replay of the bug
/
Describe the bug
The token that is generated in the browser obviously expires and leads to the following error
Does someone have an intelligent idea on how to update the token automatically?
error log
/