OpenAI Playground: the generated images disappear once the generation is finished
OpenAI Developer Community
May 2, 2026
You already got a great example above, but I’m just filling in with docs that may be useful for you and for others who have the same question.
Image generation guide: https://developers.openai.com/api/docs/guides/image-generation
Migrate to Responses: https://developers.openai.com/api/docs/guides/migrate-to-responses
From what I understand, if you want OpenAI-hosted image generation/editing in a conversational or multi-turn workflow, the Responses API is the better fit.
Discussion in the ATmosphere