Get Call API issues

Hello Guys,

I run a website called paintbyprompt.com it generates images for users to print on products.

Here’s how the image generation works, i use image generation API’s to first call a POST prediction on one page and a GET call to retrieve the image generation on the following page.

In terms of collections, I create a “current image” on the first page after the api call is made, in addition to the “current image” I also create an “archive image” these images hold the data from the api call. The “current image” receives all the data from the api call while the archive image receives all the data from the “current image”. The “archive image” is then used to handle the following api GET call that retrieves the image link on the following page. (DISCLAIMER: if I could use just the current image throughout the entire process I would but when I first made this website that didn’t work.)

Here’s my issue. I’ve been working to include an edit image option for a long time with times where I have had successes in the past the quality of the image generation wasn’t up to par. I’ve finally found an api and generation model, flux context that provides awesome generation.

In the past I would just do the same thing I always have, use the archive image info as the data from the post prediction api call. Then retrieve the new information and update the archive image with the new links from the get call.

But for some reason I’m not receiving the get call to retrieve the new links. What’s even worse is that when I first did this, things were working but, when I tried to test it again the next day it just wasn’t. When I go the website I generate the images from I can see that the request has been made and processed but for whatever reason I’m not getting that data back to be able to update the results page. Is there anything simple that could be the issue?

I’ve since tried, just creating completely new image records instead of updating the previously create images and have had the same issues. Both routes worked initially and then just stopped , the initial requests all go through but the get call to retrieve that info has just been so up and down. Any ideas or potential solutions? Thank you

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.