Skip to content

docs(gemini): image_url is not supported — it returns 422 - #35

Merged
0xGhostCasper merged 1 commit into
mainfrom
casper/gemini-image-unsupported
Sep 6, 2026
Merged

docs(gemini): image_url is not supported — it returns 422#35
0xGhostCasper merged 1 commit into
mainfrom
casper/gemini-image-unsupported

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

Signed-out Gemini accepts the upload and then refuses to answer about it — PERMISSION_DENIED from its own generate call — so the API now 422s image asks immediately instead of charging ~100 s and a browser render for a request that cannot succeed.

The parameter stays on the type (removing it would break callers); only the JSDoc changes, and it now points at chatgpt.ask, which does answer about a picture.

Version 0.43.0 → 0.43.1. See scrape-badger/scrapebadger#1614.

Signed-out Gemini accepts the upload and then refuses to answer about it
(PERMISSION_DENIED from its own generate call), so scrapebadger now 422s
image asks immediately instead of charging for a request that cannot
succeed. The parameter stays on the type — removing it would break
callers — but the JSDoc no longer promises an answer. chatgpt.ask takes
an image and answers about it.

See scrape-badger/scrapebadger#1614.
@0xGhostCasper
0xGhostCasper merged commit aa93cd8 into main Sep 6, 2026
4 checks passed
@0xGhostCasper
0xGhostCasper deleted the casper/gemini-image-unsupported branch September 6, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants