mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-14 13:27:13 +00:00
The vision API rejects image/svg+xml, so SVGs were silently skipped during Gemini captioning — leaving 97% of icons/logos undescribed. This caused asset utilization as low as 3.8% on SVG-heavy sites (Huly, Raycast). Now sends SVG source code as text to Gemini, which reads the XML structure and describes what it renders. Truncates SVGs >10KB to keep token costs low. Tested on Huly: 2/52 → 37/52 assets described (3.8% → 71%).