Generated output — this is a static snapshot rendered from .vibekb/. The .vibekb/ content is the source of truth. See Reference for provenance.

Queue workers

Song and lyric analysis

Queue workers call Gemini text model to produce structured Song DNA JSON from band, song, and lyrics.

Implemented Verified from source System

In one sentence

Gemini Flash analyzes the song into a fixed JSON schema (themes, mood, palette, camera, etc.) used to build the image prompt.

Current behavior

Lyrics are truncated (e.g. 16,000 chars). The parallel v3 worker sends analysis requests with curl_multi. Failures mark the item failed. Older sequential workers include JSON repair retries.

Models (from worker constants)

  • Text: gemini-2.0-flash-exp
  • Endpoint: Google Generative Language generateContent

Related functionality