Skip to content

Label speech and image generation models in the registry - #120

Merged
szweibel merged 1 commit into
mainfrom
agent/model-capability-labels
Oct 14, 2026
Merged

szweibel merged 1 commit into
mainfrom
agent/model-capability-labels

Conversation

@szweibel

Copy link
Copy Markdown
Collaborator

Change

The Gateway is adding its first text-to-image model (cail-gateway#188), and text-to-speech rows already appear in the catalog. The registry rendered both badly:

  • raw capability IDs with no icon;
  • "Context limit: Not published";
  • "Token prices not published", even though Workers AI prices these models per image tile or audio minute.

This change:

  • Names and adds icons for text-to-image ("Image generation") and text-to-speech ("Speech generation").
  • Omits the absent context figure for speech and image models.
  • Shows "Not priced per token" for those models.
  • Updates the page intro to "Compare capabilities, context limits, and token prices".

Verification

  • bun run check passes under the pinned Bun 1.4.2: audit clean, lint, astro check, build.
  • tests/models_page_browser.py passes 8/8 and tests/accessibility_browser.py passes 5/5 (axe WCAG A/AA) against a local Wrangler preview of this build.
  • The model-page test gains an unpriced FLUX.1 schnell row with no context length. It asserts "Image generation", "Not priced per token", and no context figure.
  • A screenshot of the filtered image cards was checked by eye.

🤖 Generated with Claude Code

The Gateway catalog is about to publish its first text-to-image model, and
text-to-speech rows already appear. Both showed raw capability IDs without
icons, an empty "Context limit: Not published" figure, and "Token prices not
published" although Workers AI prices them per image tile or audio minute.
Name and illustrate both capabilities, omit the absent context figure for
speech and image models, and say they are not priced per token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@szweibel
szweibel force-pushed the agent/model-capability-labels branch from 6f5b46b to 6561e69 Compare October 14, 2026 00:49
@szweibel
szweibel merged commit 3803c93 into main Oct 14, 2026
4 checks passed
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.

1 participant