Skip to content

Fix Runware model labels and categorization#203

Merged
timoncool merged 1 commit intomainfrom
devin/1762226795-fix-model-labels-and-categories
Nov 4, 2025
Merged

Fix Runware model labels and categorization#203
timoncool merged 1 commit intomainfrom
devin/1762226795-fix-model-labels-and-categories

Conversation

@devin-ai-integration
Copy link
Copy Markdown

Fix Runware model labels and categorization

Summary

Fixes two major issues with the Runware model catalog:

  1. Google Imagen models were displaying as google:1@1, google:1@2, etc. instead of proper names like "Imagen 3", "Imagen 3 Fast"
  2. Many models were miscategorized as "Other" despite having architecture data available from the bundle (e.g., SDXL models should be grouped as "SDXL" not "Other")

Solution:

  • Added architecture field to ApiInfo type to preserve raw architecture data from the Runware bundle
  • Updated extraction pipeline to normalize architecture strings to user-friendly modelType values (e.g., "sdxl" → "SDXL", "flux1d" → "FLUX")
  • Derived proper labels for 6 Google Imagen models from their descriptions
  • Updated UI's getModelType() function to use the populated modelType field first before falling back to pattern matching

Results:

  • 122 models total (85 image, 36 video, 1 audio)
  • 113/122 models (92.6%) now have modelType populated
  • "Other" category reduced from many models to only 9
  • Google models now show proper names: "Imagen 3", "Imagen 3 Fast", "Imagen 4 Ultra", "Imagen 4 Preview"
  • SDXL models properly categorized under "SDXL" family

Review & Testing Checklist for Human

Risk Level: Yellow - Data changes affecting user-facing model names and categorization

  • Verify Google Imagen labels are correct - Check that the derived names make sense:

    • google:1@1 → "Imagen 3"
    • google:1@2 → "Imagen 3 Fast"
    • google:2@1 → "Imagen 4 Preview"
    • google:2@2 → "Imagen 4 Ultra"
    • google:2@3 → "Google Image Fast"
    • google:4@1 → "Google Image Fast"
  • Test model categorization in UI - Open the model picker and verify:

    • Google models show proper names (not google:X@Y)
    • SDXL models appear under "SDXL" category (not "Other")
    • "Other" category contains ~9 models (reasonable count)
    • Major families like FLUX, Ideogram, Kling are properly grouped
  • Spot-check model generation - Try generating with a few different model types to ensure nothing broke

Notes

  • Changes are data-only (added fields, updated labels) - no logic changes to generation
  • The 9 models without modelType will fall back to pattern matching in getModelType() and may appear in "Other" - this is expected
  • Architecture data comes from the official Runware playground bundle extraction

Session: https://app.devin.ai/sessions/5388bb693ed44ffb8aa537d7f4e7c79d
Requested by: Ilya Timonin (@timoncool)

- Add architecture field to ApiInfo type for raw architecture data from bundle
- Update convert script to normalize architecture to modelType (FLUX, SDXL, Imagen, etc.)
- Update merge script to preserve architecture and modelType fields
- Fix Google Imagen model labels (google:1@1 → 'Imagen 3', etc.) by deriving from descriptions
- Update UI getModelType() to use modelType field first before pattern matching
- Apply pruning to remove 18 non-working models with 0 calls
- Result: 122 models (85 image, 36 video, 1 audio) with 92.6% modelType coverage
- Reduces 'Other' category from many models to only 9 models
- SDXL models now properly categorized instead of appearing in 'Other'

Fixes issue where Google models showed as 'google:1@1' instead of proper names
and many models were miscategorized as 'Other' despite having architecture data.

Co-Authored-By: Ilya Timonin <timoncool@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
videosos Ready Ready Preview Comment Nov 4, 2025 3:35am

@timoncool timoncool merged commit 8542056 into main Nov 4, 2025
7 of 8 checks passed
@timoncool timoncool deleted the devin/1762226795-fix-model-labels-and-categories branch November 4, 2025 03:35
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