{
"model" : "gpt-4.1",
"metadata" : {
"test" : "image_response"
},
"input" : [
{
"content" : [
{
"text" : "what is in this image?",
"type" : "input_text"
},
{
"image_url" : "https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/d\/dd\/Gfp-wisconsin-madison-the-nature-boardwalk.jpg\/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
"type" : "input_image"
}
],
"role" : "user"
}
]
}
results in:
{
"id": "resp_680bf09665008191a4dc0f9a3e66d4de0310810e8956d750",
"object": "response",
"created_at": 1745612950,
"status": "completed",
"error": null,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": null,
"model": "gpt-4.1-2025-04-14",
"output": [
{
"id": "msg_680bf0971d4c8191aa82e533673378120310810e8956d750",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [],
"text": "This image shows a wooden boardwalk or pathway running through a lush, green field or meadow. The path is surrounded by tall grass and some bushes. In the background, there are more trees and vegetation under a bright blue sky with scattered clouds. The scene looks peaceful and is likely taken during spring or summer."
}
],
"role": "assistant"
}
],
"parallel_tool_calls": true,
"previous_response_id": null,
"reasoning": {
"effort": null,
"summary": null
},
"service_tier": "default",
"store": true,
"temperature": 1.0,
"text": {
"format": {
"type": "text"
}
},
"tool_choice": "auto",
"tools": [],
"top_p": 1.0,
"truncation": "disabled",
"usage": {
"input_tokens": 1118,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens": 63,
"output_tokens_details": {
"reasoning_tokens": 0
},
"total_tokens": 1181
},
"user": null,
"metadata": {
"test": "image_response"
}
}
When I then list the input items for this response:
{
"object": "list",
"data": [
{
"id": "msg_680bf09665488191a98769dd8ef8c8b70310810e8956d750",
"type": "message",
"status": "completed",
"content": [
{
"type": "input_text",
"text": "what is in this image?"
},
{
"type": "input_image",
"detail": "auto",
"file_id": null,
"image_url": null
}
],
"role": "user"
}
],
"first_id": "msg_680bf09665488191a98769dd8ef8c8b70310810e8956d750",
"has_more": false,
"last_id": "msg_680bf09665488191a98769dd8ef8c8b70310810e8956d750"
}
I believe it to be an error, that "image_url": null
instead of the Wikipedia URL.