gemini: genie-4 page states Output video as resolution/fps, not a duration range — parse throws, will fail the whole Gemini spec sync #697
What happens#
Since 22:15 UTC on 2026-11-19, the Gemini models poll has logged:
gemini model page: unreadable Output video limit "1280x720 (720p, 16:9, 24 fps), 240 video output tokens per frame (5,7…"(jobmodels-poll`)
Google added a new model page, https://aistudio.google.com/docs/models/genie-4.md. Genie 4 is a real-time interactive world model on the Interactions API (interactions.connect with world_setup and user_action events). It streams video for as long as the session lasts. Its Limits row states a frame size and token rate, not a duration:
**Output video** 1280x720 (720p, 16:9, 24 fps), 240 video output tokens per frame (5,760 tokens/sec)
parsePageOutputVideo (src/server/providers/gemini-features.ts:417-431) accepts only Ns-Ms and throws on anything else.
How far the throw reaches#
- Models poll: model pages load through
tryDocs, so onlygenie-4's page facts becomeunavailable. The throw is reported every poll. - Daily spec sync (worse):
geminiVideoEndpoints(src/server/providers/gemini-video.ts:183-211) reads every model page thathttps://aistudio.google.com/docs/video.mdlinks, and that guide now linksmodels/genie-4. The parse runs inside a baremapConcurrentcall, so the throw rejectsfetchSpec(gemini.ts:283-294). The whole Gemini spec sync then fails on the next shard: the Discovery spec and the Omni video schema are not refreshed either.
Fix#
- Teach the parser this second shape: a resolution, fps and token-rate limit with no duration range. That is a stated fact: a real-time stream, not a fixed-length clip. Don't call it unreadable, and don't invent a duration.
geminiVideoEndpointsbuilds the duration-enum create endpoint only for models with anNs-Msrange. A streamed model such asgenie-4gets no fixed-duration schema. Either build the correct streaming schema from the Interactions spec, if it publishes one, or add a named warning (genie-4: real-time stream, no fixed-duration create schema). Never skip it silently.- A shape the parser does not know should still throw. Scope that throw to the one page in the spec sync, so that one new page cannot fail the Discovery spec and every other video model. It should still be reported, for example as a warning or an
ingest_failednaming the page. - Decide
genie-4's activity from what the page states: it outputs video. - Add tests with the live
genie-4.mdas a fixture. Cover parse, poll and spec sync, plus a page with an unknown limit shape.
tombeckenham assignedtombeckenham
tombeckenham linked this to #698
tombeckenham closed this
Sign in to join this conversation.