Issue Using OpenAI image-generation API

Hi everyone,

I want to use the OpenAI Image generation API in bubble. Basic calls to generate images are ok.

Now I want to use this one:

My goal is to send 4 images to generate 1 image, following OpenAI API docs.
And ChatGPT tells me it’s impossible to do that in Bubble.

Is it true? Is there a turn around?

What’s the way to accomplish that?

Thank you very much for your time.

I still didn’t find the way to do that :grimacing: that’s frustrating. Am I missing something obvious here?

Bubble might not handle multiple images with open ai, so it’s best to merge them outside first, then send that in.

Just copy the example as curl and import by curl to create call in bubble api connector.

ok so this limitation is real. I’ll have to build it through n8n. well, what a bummer. thanks for the info!

I do not believe this issue is real…I think the issue is not forming the call properly…perhaps trying to copy and paste the curl response would work if tried, or just put into the currently empty [] a number so image[] is not just used multiple times, you use instead image [0], image [1] etc…at least that is how I send multiple images for other api providers

EDIT: i stopped working on that for a few days, tried again the solution above and it finally worked. Thank you veyr much @boston85719


i tried to do that (sending image[0], image [1] etc… but it didn’t work.

When you send multiple images for other api providers, you send them individually through 4 inputs or inside only 1 input? OpenAI Api accepts only 1 inputs of 4 images, can’t send 4 images individually

Hey, could you post a screenshot of your API connector showing how you solved it? Working on the same thing and wondering how you set up image [0], image [1], etc… Thanks!