Is there a way to retrieve real‑time progress (e.g. 0%–100%) when generating images via the OpenAI Image API?
Partial images can be set at 1 to 3. 3 meaning it will stream more updates until the final image is sent. Its not a percentage though, its the actual picture like in chatGPT.
response = create_client_response(
“gpt-4.1”,
system_prompt,
combined_input,
conversation_history,
tools=[
{
“type”: “web_search”
},
{
“type”: “code_interpreter”,
“container”: {“type”: “auto”}
},
{
“type”: “image_generation”,
“partial_images”: 3 # Required for streaming with image_generation
}
],