From 327599bc3d158b08e8c7381d0004d6324dae85ef Mon Sep 17 00:00:00 2001 From: lif <1835304752@qq.com> Date: Thu, 18 Dec 2025 00:10:53 +0800 Subject: [PATCH] docs: use smaller image URL in vision example Fixes #2776 The original image URL (1599px) was too large and caused a 400 error when the API tried to download it. Changed to a smaller 640px version which works correctly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8050a4cd6..ce69ac0280 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ With an image URL: ```python prompt = "What is in this image?" -img_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/2023_06_08_Raccoon1.jpg/1599px-2023_06_08_Raccoon1.jpg" +img_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d5/2023_06_08_Raccoon1.jpg/640px-2023_06_08_Raccoon1.jpg" response = client.responses.create( model="gpt-4o-mini",