Flux API

Has anyone had any luck running API calls to Replicate for Flux image generation? I’m aware that we have the Replicate integration, however that’s not working to POST/GET the image generation. I’m able to generate the image with a POST request, however when attempting to get the response, I only get back a {} error.

Any suggestions?

What Flux model are you using? Have you turned on billing for your Replicate account?

I’ve tried with both the Flux-Dev and Flux-Schnell models. I have a paid account. It works for me flawlessly in Postman using the same settings.

I’ve tried a workaround using Zapier. There I am able to get the file url back in the GET request but even when I add a step to send it back to my Glide Table via an EDIT request it doesn’t send the URL to the table/column. It works in testing but not in production.

Can’t wrap my head around it.

Are you trying to use the Black Forest versions of those models? There seems to be a missing parameter in the identifier that could be causing the issue.

I would suggest using Fal’s API.

1 Like

Thanks! This actually works perfectly. I like the sync_mode. You don’t have to make an additional call to retrieve the actual image url. Not to mention that it’s super fast!

1 Like

Thank you so much Rob. As always!

I think they had a partnership with Flux, I actually used their dev trial version for like 2 weeks and it was working very well. Glad it worked for you.