Good day,
I have a problem with building a scenario that is supposed to download photos from a specified folder on OneDrive and then enlarge them using Midjourney via UserAPI.AI.
I am logged into OneDrive and connected to UserAPI.
1 step:
OneDrive (Watch Files/Folders)
2 step:
OneDrive (Download a file)
And up to this point the scenario works.
3 step…
And here I have a problem, what should happen next. I tried to connect to UserAPI.AI Make an API Call. In the URL I entered https://api.userapi.ai/midjourney/v2/upscale
And on this module the scenario does not want to proceed (the next 4th module is Upscale, where you have to provide a hash, which does not generate for me).
Can someone help and suggest how to configure this UserAPI connection to download files from a specified folder on OneDrive, enlarge them and then save them to another folder on OneDrive?
I’ve not used that particular module but if you are using Make an API Call modules, usually you only need to type in the endpoint, not the whole URL for the API endpoint you want to use. The initial part of the URL is already added for you, you just need to type in, for example, /v2/upscale
It normally tells you around the field what you need to enter, so just check that first.
Thank you for your answer, but I have already tested in various ways: full address, only /v2/upscale and even just upscale.
Every time I get error 404. Just connecting to UserAPI account and synchronization is done.
And for UserAPI Upscale module I need to generate “hash”, which will not pass without UserAPI Connection module.
I searched on UserAPI website how to do it, but documentation of this module is poor (practically non-existent), there is no contact to them, and AI Make.com chatbot itself cannot do this scenario or even help with errors in these modules
The hash comes from a previous Midjourney task, like Imagine, Blend, and Describe. Describe takes a URL for the image, so you could use a Describe module first, then take the Hash from that response and pass it to Upscale.
However, we are asking about the fact itself, whether it is possible to download photos from OneDrive and upload them somehow directly to Upscale Midjourney.
We can create a scenario where Midjourney will generate photos from prompts and then enlarge them for us, but that is not our goal in this scenario.
The main thing is that we have generated photos that we want to place on OneDrive folder, from which UserAPI is to take them and pass them to Upscaling. And we want to work like this, because we create prompts and photos ourselves, and then filter them and choose the best ones. And we only want to upscale such photos.
The API documentation suggests this isn’t possible, it doesn’t accept a file for the Upscale endpoint, you have to use another module first that does accept it and get the hash