Skip to content
Scenario - OneDrive...
 
Notifications
Clear all

Scenario - OneDrive and Upscale with Midjourney

6 Posts
2 Users
0 Reactions
4 Views
AutomationMagics
(@automationmagics)
Posts: 3
Active Member
Topic starter
 

Hello,

I'm encountering an issue while setting up a workflow to download photos from a specific OneDrive folder and then upscale them using Midjourney via UserAPI.AI.

I've successfully logged into OneDrive and connected to UserAPI.

Step 1:
OneDrive (Watch Files/Folders)

Step 2:
OneDrive (Download a file)

The workflow functions correctly up to this point.

Step 3:
This is where I'm facing a problem. I attempted to connect to UserAPI.AI and make an API call. I used the following URL: https://api.userapi.ai/midjourney/v2/upscale

However, the workflow stalls at this module. The subsequent 4th module, 'Upscale,' requires a hash, which I'm unable to generate.

Could someone please assist me by providing guidance on how to configure this UserAPI connection to download files from a specified OneDrive folder, upscale them, and then save them to a different folder within OneDrive?

Thank you for your assistance.

 
Posted : 22/01/2025 5:32 pm
XenoMax
(@xenomax)
Posts: 17
Active Member
 

I haven't used that specific module, but if you're utilizing callin.io's API Call modules, you typically only need to input the endpoint, not the complete URL for the API endpoint you wish to use. The initial part of the URL is already provided; you just need to enter, for instance, /v2/upscale.

It usually indicates what you need to enter near the field, so it's best to check that first.

 
Posted : 22/01/2025 11:55 pm
AutomationMagics
(@automationmagics)
Posts: 3
Active Member
Topic starter
 

Thank you for your response. I've already tried several approaches: using the full address, just /v2/upscale, and even only upscale.

Each attempt results in a 404 error. The connection to the UserAPI account and synchronization are successful.

However, for the UserAPI Upscale module, I need to generate a "hash," which requires the UserAPI Connection module to be in place.

I looked for guidance on the UserAPI website, but the documentation for this module is quite limited (practically non-existent). There's no direct contact information available, and the callin.io chatbot itself couldn't assist with this scenario or provide help with errors related to these modules.

:frowning:

 
Posted : 23/01/2025 11:08 am
XenoMax
(@xenomax)
Posts: 17
Active Member
 

The hash originates from a prior Midjourney task, such as Imagine, Blend, and Describe. The Describe function accepts a URL for the image, allowing you to utilize a Describe module initially. Subsequently, you can extract the Hash from its response and supply it to the Upscale function.

 
Posted : 23/01/2025 2:16 pm
AutomationMagics
(@automationmagics)
Posts: 3
Active Member
Topic starter
 

Thank you for the details, but we are already aware of that.

Our inquiry is specifically about the feasibility of downloading photos from OneDrive and directly uploading them to Upscale Midjourney.

We understand how to set up a workflow where Midjourney generates images from prompts and then upscales them, but that is not the objective for this particular scenario.

The primary requirement is to have generated images placed in a OneDrive folder. From there, UserAPI should retrieve them and send them for upscaling. This approach is preferred because we manually create and select the prompts and images, filtering for the best ones. We only wish to upscale these selected images.

 
Posted : 23/01/2025 3:11 pm
XenoMax
(@xenomax)
Posts: 17
Active Member
 

The API documentation indicates this isn't feasible, as the Upscale endpoint does not accept a file directly. You'll need to utilize a different module first that does accept files, and then obtain the hash.

 
Posted : 23/01/2025 3:13 pm
Share: