Can anyone help me with the syntax of the Next Leg API call module?
I can’t map the Next Leg “Generate and Image” imageUrls array directly into the rest of the scenario because the cdn Midjourney serves from is protected by CloudFlare and they don’t allow servers to access it.
I’m trying to iterate the imageUrls array from the Next Leg “Generate an Image” module, then get each of the upscaled images individually as values to map into the remainder of the scenario.
If you know enough to answer this question, you probably saw what was wrong with my Next Leg API call module already, but for thoroughness, this is the result:
Sorry if this is noob, I only speak “tourist Python.”
Hi @Dinostyles
Your URL mapped in “Make An API Call” module is wrong. This URL should be from Next Leg API documentation depends upon your request end point.
Please define your goal of the scenario so we can provide you the solution.
If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel
2 Likes
Thanks Msquare! I appreciate you coming to the rescue. My goal is to map the upscaled image URLs from The Next Leg “Generate an Image” module to values that a Printify module can use.
The Next Leg directed me to this endpoint, but I haven’t been able to figure out how to translate it into the module. I feel like the screenshot below is closer to the target, but it’s obviously still flawed. Assistance would be greatly appreciated.
As mentioned in my previous reply, my goal is to map the upscaled image URLs from The Next Leg “Generate an Image” module to values that a Printify module can use.
Hello there @Dinostyles
I just wanted to quickly let you know that the screenshots you shared seem to be broken and we cannot see them. Could you please reupload?
Thanks
2 Likes
Thanks for the heads up, Michaela! please find them repasted here:
2 Likes