Skip to content
Source
Sign inSign up
TanStack/schemas

Gemini image models: _links.schema points at the image activity, schema is filed under chat (404) #756 (GitHub #755)

Opentombeckenham opened this issue 0 comments
tombeckenhamcommented

The model record for a Gemini image model names activity: "image" and schemaEndpointId: "v1beta/models/{modelsId}:generateContent", but the request schema for that endpoint is filed only under the chat activity. So the record's own _links.schema is a 404.

Example, gemini-3.1-flash-lite-image (checked 2026-11-26):

  • GET /v1/models/gemini/gemini-3.1-flash-lite-image -> _links.schema.href = /v1/schemas/gemini/image/v1beta/models/%7BmodelsId%7D%3AgenerateContent
  • GET /v1/schemas/gemini/image/v1beta/models/%7BmodelsId%7D%3AgenerateContent?kind=input -> 404
  • GET /v1/schemas/gemini/chat/v1beta/models/%7BmodelsId%7D%3AgenerateContent?kind=input -> 200

Expected: a model's _links.schema resolves. Either serve the generateContent schema under image for the models whose activity is image, or make the record link to where the schema is filed.

Why it matters: a client that loads a model's request schema from its own record (the OpenStory model gateway does) cannot load any Gemini image model, so they cannot be run.

  1. tanstack-source added labelsbug

Sign in to join this conversation.