claude-code - 💡(How to fix) Fix [Bug] Claude 4.7 Opus does not support high resolution images [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49307Fetched 2026-04-17 08:44:58
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1renamed ×1

Error Message

[{"error":"Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.21.content.35.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"},"request_id":"req_011Ca7pmN3mjXmbPFjFMu3E4"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:52701)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:13:03.970Z"}]

Code Example

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.21.content.35.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011Ca7pmN3mjXmbPFjFMu3E4\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52701)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:13:03.970Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description I'm using opus 4.7 which you guys say that supports high resolution images, well it doesn't

<img width="2686" height="348" alt="Image" src="https://github.com/user-attachments/assets/03193ebc-98f8-42f7-8bc5-9d2a41e43212" />

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.111
  • Feedback ID: d0c8a4a3-b2ea-4774-89c3-2107f00d90a5

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.21.content.35.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011Ca7pmN3mjXmbPFjFMu3E4\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52701)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T17:13:03.970Z"}]

extent analysis

TL;DR

The issue is likely due to the image dimensions exceeding the maximum allowed size for multi-image requests, and resizing the image to be within the 2000-pixel limit may resolve the issue.

Guidance

  • Verify that the image dimensions are indeed exceeding the 2000-pixel limit by checking the image properties or using an image editing tool.
  • Consider resizing the image to be within the allowed limits before attempting to process it with opus.
  • Check the opus documentation to see if there are any configuration options or workarounds for handling high-resolution images.
  • Review the error message to ensure that the issue is not related to other factors, such as an invalid request or incorrect base64 encoding.

Example

No code example is provided as the issue is related to image dimensions and opus configuration, rather than code syntax.

Notes

The issue may not be directly related to the opus version, as the error message suggests that the problem is with the image dimensions. Additionally, the opus documentation should be consulted to determine the exact requirements and limitations for image processing.

Recommendation

Apply workaround: Resize the image to be within the 2000-pixel limit before processing it with opus, as this is the most straightforward solution to resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING