-
Notifications
You must be signed in to change notification settings - Fork 149
Midjourney blend #34
Comments
That's a nice feature. When it will be implemented I will come back to this issue. |
Hi, |
I meant implemented in my repository. |
你好,globals文件的配置信息在哪里可以获取到呢 |
makes sense :) |
How to get SALAI_TOKEN? |
I keep having the same 400 error |
@zhaoleigithub @SergioLopezMaldonado @Xs1937 Please manage to not ask questions unrelated to the issue where they are posted. For instance, the current issue is still opened for a futur feature implementation. |
About Blend, I was stuck on a key step, which was that when I sent a request, if I used consistent parameters, it would go into a network error state after a short time, so that I could not send the content. Here is my interpretation of Blend. There are two parts of the parameters that need to be modified, one in payload.data.options and the other in payload.data.application The argument to command.attachments, nonce is useless and this is how I write my request:
There are a few things I suspect are wrong here, the first is the session id and version parameters, obviously they should have a fixed value, but I find that sending requests after a while changes the value, I'm not sure why, because blend doesn't have any developer documentation The second one is attachments, which obviously contains a parameter to upload filename, which is supposed to be one of the things that discord returns. I tried the url of the image, and in an experiment it worked, I thought it would work But now obviously I can't run it properly, if you do, I hope to have a chance to receive a reply. If you need my library, I have fork out a branch, if you need I can talk to you privately. |
@yuexdang "id":JUST SECRET i think this is interaction.id of midjourney bot , but i have no idea of how to get it . |
@yuexdang its a very specific issue, if you want to put a link to something functional in a github repository about the issue or make a pull request, feel free to do it, but don't talk about more general stuff here please. |
So sorry about that , I promise I will never do that. |
In my test , It just like a fixed value.I'm not sure about that but we can used it temporary. |
I'm going to work next week on this project and perhaps add all new features of MidJourney |
Appreciate it, waiting on this. |
There was an important problem. After a discord conversion, we couldn't get the upload filename variable, so we couldn't send the request properly when forging it |
hi @yuexdang, how did you do this? Did you mean you used another valid upload_filename value or you were able to put in a URL somehow? I am stuck here as well because as far as I can tell there is no way to get the upload_filename. (note I am trying to implement /describe not /blend, but its the same problem) |
This problem has been solved First obtain the image link, then transfer the image link to google.api. When transferring, the image name sent is filename, and the content obtained after transferring includes upload_ filename For detailed information, please refer to the issue below: |
Hi,
This is an excelent pierce of code!
Would it be possible to add the midjourney Blend command to the API?
https://docs.midjourney.com/docs/blend
The text was updated successfully, but these errors were encountered: