Unless I’m doing something wrong - I send off an image_gen request through API which works great (or at least, used to work great) - and I get the partials back like this:
Thanks for raising this. I am also seeing the same behavior. We receive the interim partial events, but the image_generation_call.completed event never arrives. It looks like a recent change on the API side rather than an implementation issue.
We used to rely on the completed event as well, and it seems to have stopped appearing. Our code has not changed, so this might be a current bug in the event stream. Hopefully OpenAI can confirm.
While you’re at it - if you don’t mind - can you check that initial event surrounding the image_generation. Can’t remember exactly which one, but I do know that it was something like 15-20 seconds to get that initial indication that yes, the model is generating an image.
In other words, the ChatGPT “starting up” seems to happen WAY sooner than API…not sure if thats intentional or not, but if there’s a way to send it sooner…
I’m still encountering this bug (model: gpt-4o-mini).
I’m receiving two partial images but never a response.image_generation_call.completed event.
In the response.output object, the image status is always “generating”.
Can you confirm the fix is deployed ?
EDIT: I did upgrade the openai nodejs SDK to 6.9.1, model to gpt-5-nano, same bug
I haven't been able to repro anymore, but perhaps my settings aren't correct! Would you mind sharing your repro steps? e.g. model, tools, prompt, streaming status, etc.